Text unreadable in game screens

Insert here your troubles, infos and request about YSoccer's technical questions.
Post Reply
balbo
Someone..
Posts: 5
Joined: Tue Mar 09, 2010 12:11 pm

Text unreadable in game screens

Post by balbo »

Ubuntu 8.04
game v. 0.75

I was eager to test the game, but I never made it to kick-off. After the initial screen, the text becomes totally unreadable. The same happens in other screens too, and I couldn't figure out how to fix it. I don't know if I'm missing some libraries (don't know where the required libs are listed anyway) or what's causing this text distortion. I haven't had graphics issues in other games (direct rendering: Yes), and it's a Pentium 4 box, so this shouldn't be any performance issue either.

Any help is appreciated. I can post whatever output you need.

I have a screenshot of this too, but how can I attach it to this message (if at all)?
Massimo32
Chapman's successor
Chapman's successor
Posts: 852
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Re: Text unreadable in game screens

Post by Massimo32 »

balbo wrote:Ubuntu 8.04
game v. 0.75

I was eager to test the game, but I never made it to kick-off. After the initial screen, the text becomes totally unreadable. The same happens in other screens too, and I couldn't figure out how to fix it. I don't know if I'm missing some libraries (don't know where the required libs are listed anyway) or what's causing this text distortion. I haven't had graphics issues in other games (direct rendering: Yes), and it's a Pentium 4 box, so this shouldn't be any performance issue either.
What's your video card?
balbo wrote: Any help is appreciated. I can post whatever output you need.

I have a screenshot of this too, but how can I attach it to this message (if at all)?
You may put a link to an image hosted on another site.
balbo
Someone..
Posts: 5
Joined: Tue Mar 09, 2010 12:11 pm

Post by balbo »

Here's some hardware info:

Code: Select all

  *-display UNCLAIMED
                description: VGA compatible controller
                product: UniChrome Pro IGP
                vendor: VIA Technologies, Inc.
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 01
                width: 32 bits
                clock: 66MHz
                capabilities: vga_controller bus_master cap_list
                configuration: latency=64 mingnt=2

01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)

then glxinfo:
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control, 
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: VIA Technology
OpenGL renderer string: Mesa DRI UniChrome 20060710 x86/MMX/SSE2
OpenGL version string: 1.2 Mesa 7.0.3-rc2
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_ARB_point_parameters, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_window_pos, 
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_minmax, 
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, 
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_histogram, 
    GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset, 
    GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture, 
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, 
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array, 
    GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos, GL_NV_blend_square, 
    GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format, 
    GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp, 
    GL_SGIS_texture_lod

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x22 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x23 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0  0  0  0  0  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 Slow
0x2b 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 Slow
0x2c 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 Slow
0x47 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon
Here's the screenshot:
Image

Hope that helps.
Massimo32
Chapman's successor
Chapman's successor
Posts: 852
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Post by Massimo32 »

Which driver are you using? Have you tried to run the game under Windows?

Probably you know this page already:

https://help.ubuntu.com/community/UniChrome
balbo
Someone..
Posts: 5
Joined: Tue Mar 09, 2010 12:11 pm

Post by balbo »

Massimo32 wrote:Which driver are you using? Have you tried to run the game under Windows?

Probably you know this page already:

https://help.ubuntu.com/community/UniChrome
I don't know the terminal command to find the driver info. I haven't gone to Windows. I'd rather stay away from that mess.

As far as VIA graphics troubles explained in that ubuntu link, I haven't noticed any when playing some 3d games in wine. I don't remember testing any linux games w/ 3d with this P4 box. I can look into that though, check that VIA link and new driver, as long as I know what driver I'm supposedly using now. Does this line from my glxinfo reveal anything?

Code: Select all

OpenGL renderer string: Mesa DRI UniChrome 20060710 x86/MMX/SSE2 
Thanks for helping.
Massimo32
Chapman's successor
Chapman's successor
Posts: 852
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Post by Massimo32 »

If you have this file:

/etc/X11/xorg.conf

the driver should be specified inside a "Device" section.

If don't have it, probably you're using openchrome:

https://help.ubuntu.com/community/OpenChrome
balbo
Someone..
Posts: 5
Joined: Tue Mar 09, 2010 12:11 pm

Post by balbo »

My xorg.conf doesn't have any specific lines for drivers and stuff, and I haven't manually inserted anything there (since everything has worked otherwise). I tried reconfiguring that file in case it might help me solve the graphics issue, but no change in the game screen fonts. Anyway, I then tested the game on two other ubuntu machines, one w/ an old NVIDIA card and the other having integrated Intel video. The text was readable (and the game playable) in both cases, so looks like the VIA card is at fault.

I do have a couple used video cards available (NVIDIA and some old Radeon), but both are incredibly noisy, and I don't feel like plugging in either of them. My other test machine (integrated Intel) is also available, but direct rendering is an issue there (such an old box, intel driver with its limitations and glxinfo for that one shows lots of "Slow" warnings), and the game did freeze after I scored a goal.

I suppose I'll try finding and installing that VIA driver next, so long as it won't totally mess with the graphics of my system.

Veering off topic now, is there any team data pack available? I did check some thread at the forum and followed a link, but that turned out to be a dead end. If I got the game working, it'd be great to have some teams there too. Sure they could be manually created, but I'd rather check this option first.
Massimo32
Chapman's successor
Chapman's successor
Posts: 852
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Post by Massimo32 »

balbo wrote: Veering off topic now, is there any team data pack available? I did check some thread at the forum and followed a link, but that turned out to be a dead end. If I got the game working, it'd be great to have some teams there too. Sure they could be manually created, but I'd rather check this option first.
You can find a data pack here but it's rather old:
http://yodasoccer.sourceforge.net/forum ... .php?t=172
balbo
Someone..
Posts: 5
Joined: Tue Mar 09, 2010 12:11 pm

Post by balbo »

It turned out just as I feared: installing the proprietary via driver seriously messed with the graphics, and one fine mess it sure was.

So I downloaded the driver package (for my chipset and ubuntu version) from the via site and read the instructions and after some hedging, went to install it, and what do you know, NO direct rendering whatsoever (even after reboots and new logins). To top it all, uninstalling it properly and reverting to the openchrome driver (after needed changes in xorg.conf) didn't bring me back to the level I had before. A frantic search for answers yielded nothing, removing and reinstalling plenty of libgl-, libsdl- and other seemingly relevant graphics libraries made no difference, and desperation set in.

So, before a fresh install of the whole thing, I decided to reinstall the latest kernel that had been contaminated by that dysfunctional via module. After reboot, glxinfo finally looked the way it was before. Obviously, your game won't run now without those graphical distortions, but I'm done trying. Better luck next year, I guess.

Thanks for your help, and good luck with your project.
Massimo32
Chapman's successor
Chapman's successor
Posts: 852
Joined: Wed Dec 29, 2004 1:14 pm
Location: Turin, Italy

Post by Massimo32 »

balbo wrote: Thanks for your help, and good luck with your project.
Thank you ;)
Post Reply