Too slowly on Linux, but runs on Windows, on the same machine

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
Too slowly on Linux, but runs on Windows, on the same machineewsg02/28/2009 - 11:33

Hi,

I am trying the World of Goo Demo, and would like to know, please, if someone could help me.

I have an AMD Semprom 2800 MHZ with 512 Mb DDR SDRAM memory, with 2 partitions, one running Windows XP SP2 and another running Ubuntu Linux 8.04.

On this machine, on Windows, I can run World of Goo perfectly. But, when I go to the Ubuntu partition, the game simply becomes so slowly that it is impossible to play.

Someone has some idea of how to solve this issue?

P.S.: my graphic card is "on-board", and I can run WoG on Windows, but not on Ubuntu, as I have said above. On the same machine. :)

Re: Too slowly on Linux, but runs on Windows, on the same machinekosmi02/28/2009 - 12:35

Do you have composition effects running (Compiz, etc)? Output from 'glxinfo' command may be usefull.

Re: Too slowly on Linux, but runs on Windows, on the same machineSoultaker02/28/2009 - 13:28

This is probably either due to Desktop Effects being enabled (which often interferes with high-performance rendering in OpenGL applications) or a lack of high-performance drivers being installed. In the latter case, you should be able to go to System > Administration > Hardware Drivers and activate one of the proprietary drivers.

Re: Too slowly on Linux, but runs on Windows, on the same machineewsg02/28/2009 - 14:28

Hello,

Thank you all! :)

So, I have no proprietary drivers in use, and I think that Compiz is not activated.

Below is the output of the "glxinfo" command:

Quote:
glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
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_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.3-rc2)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_program,
    GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters,
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
    GL_EXT_shared_texture_palette, 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_env_dot3, GL_EXT_texture_lod_bias,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
    GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
    GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
    GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays

  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 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0  0 0 None
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16  0 0 None
0x4f 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon


Thank you again. :)

Re: Too slowly on Linux, but runs on Windows, on the same machineSoultaker02/28/2009 - 15:42

[quote author=ewsg link=topic=1559.msg10361#msg10361 date=1235849321]
So, I have no proprietary drivers in use, and I think that Compiz is not activated.

Quote:
glxinfo [..]
direct rendering: No


That's your problem right there. You need to activate a proprietary driver to get direct rendering capability.

Re: Too slowly on Linux, but runs on Windows, on the same machinekosmi02/28/2009 - 16:10

That 'direct rendering: No' is source of your claim 'Too slowly on Linux', so first make sure that Compiz is turned off:
metacity --replace &

And then if 'glxinfo' says 'direct rendering: Yes' you can play WoG, otherwise for being able to help you any further,
we must first know which graphic chip you use ???. If you don't exactly know which is, just give output from:

cat /var/log/Xorg.0.log|grep hdr

Re: Too slowly on Linux, but runs on Windows, on the same machineewsg03/01/2009 - 09:09

Hello,

Thank you all for your help.

But, I don't know what I have to do here. :(

Below is the output of the "cat /var/log/Xorg.0.log|grep hdr" command:

Quote:
cat /var/log/Xorg.0.log|grep hdr
(II) PCI: 00:00:0: chip 1039,0761 card 1019,0131 rev 01 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1039,0002 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 1039,0965 card 0000,0000 rev 48 class 06,01,00 hdr 80
(II) PCI: 00:02:5: chip 1039,5513 card 1019,0131 rev 01 class 01,01,80 hdr 00
(II) PCI: 00:02:7: chip 1039,7012 card 1019,1880 rev a0 class 04,01,00 hdr 00
(II) PCI: 00:03:0: chip 1039,7001 card 1019,0131 rev 0f class 0c,03,10 hdr 80
(II) PCI: 00:03:1: chip 1039,7001 card 1019,0131 rev 0f class 0c,03,10 hdr 00
(II) PCI: 00:03:2: chip 1039,7001 card 1019,0131 rev 0f class 0c,03,10 hdr 00
(II) PCI: 00:03:3: chip 1039,7002 card 1019,0131 rev 00 class 0c,03,20 hdr 00
(II) PCI: 00:04:0: chip 1039,0190 card 1039,0191 rev 00 class 02,00,00 hdr 00
(II) PCI: 00:06:0: chip 1039,000a card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 1039,000a card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:08:0: chip 1039,0183 card 1019,0131 rev 01 class 01,01,85 hdr 00
(II) PCI: 00:0a:0: chip 13f0,0200 card 13f0,0201 rev 31 class 02,00,00 hdr 00
(II) PCI: 00:18:0: chip 1022,1100 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:1f:0: chip 1039,0004 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 01:00:0: chip 1039,6330 card 1039,6330 rev 03 class 03,00,00 hdr 00


Thank you all, again, for your help. :)

Re: Too slowly on Linux, but runs on Windows, on the same machineSoultaker03/01/2009 - 10:43

[quote author=ewsg link=topic=1559.msg10373#msg10373 date=1235916592]
Thank you all for your help.
But, I don't know what I have to do here. :(
You are using Ubuntu right? If you open the System menu, then Administration, and then Hardware Drivers, what options do you have? If there is a proprietary driver there, you should activate it (try the latest version if you have to choose).

Re: Too slowly on Linux, but runs on Windows, on the same machineewsg03/01/2009 - 11:47

Hi,

So, I have not any option there.

There is no any proprietary driver listed. :(

The message that appears is:

Quote:
There is no proprietary drivers being used on your system


Last modified Sun, 03/01/2009 - 14:01 by ewsg
Re: Too slowly on Linux, but runs on Windows, on the same machinekosmi03/01/2009 - 14:52

You have ECS motherboard with SiS chipset and your integrated on-board graphic chip is also SiS based.

You have accelerated ddx (2D/video) via xserver-xorg-video-sis driver, but i'm not clearly sure about Mesa/DRI/DRM supporting your hardware with accelerated OpenGL driver? It seems that they only support SiS 300 series, but your is from SiS 315 series and that seems to be not supported:(. Later chips from SiS is supported only by propertiary driver who provide only ddx:(... So i doubt that you can have 3D, but anyway i can be wrong and you can tried to enable DRI in /etc/X11/xorg.conf and see if that will enable OpenGL for you (glxinfo>look for direct rendering: yes) or attach /var/log/Xorg.0.log:
Section "Device"<br /> Driver "sis"<br /> Option "DRI" "on"

Another option is: if you have AGP/PCIE slot on your motherboard, just add some card from ATI or NVIDIA and WoG and other games will start and work many times better.

Re: Too slowly on Linux, but runs on Windows, on the same machineewsg03/01/2009 - 17:07

Hi,

Thank you.

I will try another graphic card. :)