Find the answer to your Linux question:
Results 1 to 9 of 9
Hey guys, I've installed half life 2 with steam successfully under wine and can get into the game itself fine, but it's running at an unplayably slow speed. I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jun 2006
    Posts
    150

    Half Life 2 Running *very* slowly under wine


    Hey guys,

    I've installed half life 2 with steam successfully under wine and can get into the game itself fine, but it's running at an unplayably slow speed. I have an ATI 200M Radeon Xpress graphics card with 128 megs of memory (shared with my ram) in my laptop and it ran fine under windows with 384 megs of memory dedicated to ram. I recently added in another gig of ram, so ram shouldn't be a problem. As for the processor I'm running an AMD sempron 3300+, which might be the issue, but with the rate the game is going even on the lowest visual quality settings, I think I have deeper issues. Further evidence is that the native linux game Nexiuz has similliar speed issues. I was recently trying to develop a few OpenGL programs of my own, and in the tutorial they had you check /var/log/Xorg.0.log for lines denoted (EE). I found this:

    Code:
    (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
    (EE) AIGLX: reverting to software rendering
    This doesn't look very promising. Here's my glxinfo on verbose.

    Code:
    alaric@ubuntu:~$ LIBGL_DEBUG=verbose glxinfo
    name of display: :0.0
    libGL: XF86DRIGetClientDriverName: 8.34.8 fglrx (screen 0)
    libGL: OpenDriver: trying /usr/lib/dri/fglrx_dri.so
    libGL: XF86DRIGetClientDriverName: 8.34.8 fglrx (screen 0)
    drmOpenByBusid: busid is PCI:1:5:0
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 4, (OK)
    drmOpenByBusid: drmOpenMinor returns 4
    drmOpenByBusid: drmGetBusid reports PCI:1:5:0
    Can't open configuration file /etc/ati/fglrxrc: No such file or directory.
    Can't open configuration file /etc/drirc: No such file or directory.
    Can't open configuration file /home/alaric/.drirc: No such file or directory.
    Can't open configuration file /etc/ati/fglrxrc: No such file or directory.
    Can't open configuration file /etc/drirc: No such file or directory.
    Can't open configuration file /home/alaric/.drirc: No such file or directory.
    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_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: ATI
    client glx version string: 1.3
    client glx extensions:
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
        GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
        GLX_ATI_pixel_format_float, GLX_ATI_render_texture
    GLX version: 1.2
    GLX extensions:
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
        GLX_ARB_multisample
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: RADEON XPRESS Series
    OpenGL version string: 2.0.6334 (8.34.8)
    OpenGL extensions:
        GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array,
        GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program,
        GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
        GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters,
        GL_ARB_point_sprite, GL_ARB_shader_objects, GL_ARB_shading_language_100,
        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_float, GL_ARB_texture_mirrored_repeat,
        GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, GL_ARB_vertex_blend,
        GL_ARB_vertex_buffer_object, GL_ARB_pixel_buffer_object,
        GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
        GL_ARB_draw_buffers, GL_ATI_draw_buffers, GL_ATI_envmap_bumpmap,
        GL_ATI_fragment_shader, GL_ATI_separate_stencil,
        GL_ATI_texture_env_combine3, GL_ATI_texture_float,
        GL_ATI_texture_mirror_once, GL_ATI_vertex_streams,
        GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route,
        GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra,
        GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
        GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
        GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_object,
        GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
        GL_EXT_rescale_normal, GL_EXT_secondary_color,
        GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
        GL_EXT_texgen_reflection, GL_EXT_texture3D,
        GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
        GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
        GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
        GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
        GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
        GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_blend_square,
        GL_NV_occlusion_query, GL_NV_texgen_reflection, GL_SGI_color_matrix,
        GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
        GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, 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
    ----------------------------------------------------------------------
    0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x2c 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x2d 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x2e 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x30 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x31 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x32 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x33 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x34 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x35 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x36 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x37 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x38 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x39 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x3a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x3b 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x3c 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x3d 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x3e 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x3f 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x40 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x41 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x42 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x43 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x44 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x45 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x46 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x47 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x48 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x49 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x4a 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x4b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x4c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x4d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x4e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x4f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x50 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x51 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x52 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x53 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x54 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x55 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x56 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x57 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x58 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x59 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x5a 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x5b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x5c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
    0x5d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x5e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 None
    0x5f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x60 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x61 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x62 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    I'm running KUbuntu 7.04 with both KUbuntu and Wine fully updated. Am I right in thinking that I need a different graphics driver? I used the restricted-manager program (not native under kubuntu) to install the ATI driver, is something else wrong?

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    I would maybe recomend using cedega rather than wine. This is more aimed directly at games. Yes, it is supposedly a 'pay-for' peice of software, but iirc, the CVS version is a free version, so if you didn't want to download the full version somehow, you could just get the CVS version from the transgaming website i believe.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Linux User abhishek456's Avatar
    Join Date
    Dec 2006
    Posts
    470
    Further evidence is that the native linux game Nexiuz has similliar speed issues
    did you got your vedio drivers installed properly.

    grep "Driver" /etc/X11/xorg.conf
    post the output here
    life is the greatest opportunity that the nature had given you

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie
    Join Date
    Jun 2006
    Posts
    150
    Sorry about the really slow response time guys, but I've been trying to get a new xbox 360 :P. They're definitely of M$ quality (broke within 30 days). Here's my grepped x11.conf

    Code:
            Driver          "kbd"
            Driver          "mouse"
            Driver          "synaptics"
    #       Driver          "wacom"
    #       Driver          "wacom"
    #       Driver          "wacom"
            Driver          "fglrx"

  6. #5
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    Quote Originally Posted by Alaric View Post
    I've been trying to get a new xbox 360 :P. They're definitely of M$ quality (broke within 30 days).
    I wouldn't agree. You've been unlucky there. Mine's still going strong and i got mine just before Christmas last year. Had ONE problem where i got the red ring of death, but that was cos the plug worked its way loose on the power strip it's plugged into. Pushed that back in properly, and all ok

    As for the problem... what sort of rates do you get from glxgears? In a terminal run "glxgears" and leave it running for a minute or so.
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  7. #6
    Linux Newbie
    Join Date
    Jun 2006
    Posts
    150
    windowed I get great frame rates, but when I switch it into full screen it's so bad that it crashes after a couple seconds.

    Code:
    alaric@ubuntu:~$ glxgears
    3579 frames in 5.0 seconds = 715.736 FPS
    1262 frames in 5.1 seconds = 246.247 FPS
    42 frames in 5.3 seconds =  7.873 FPS

  8. #7
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Your problem is really simple indeed, you need to disable AIGLX in order to get fglrx working, add this to the end of your xorg.conf
    Code:
    Section "Extensions"
            Option          "Composite"     "0"
    EndSection
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  9. #8
    Linux Newbie
    Join Date
    Jun 2006
    Posts
    150
    umm... I went to put it in and this is exactly what I found pre-edit.

    Code:
    # /etc/X11/xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf(5) manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "Files"
    	Fontpath	"/usr/share/fonts/X11/misc"
    	Fontpath	"/usr/share/fonts/X11/cyrillic"
    	Fontpath	"/usr/share/fonts/X11/100dpi/:unscaled"
    	Fontpath	"/usr/share/fonts/X11/75dpi/:unscaled"
    	Fontpath	"/usr/share/fonts/X11/Type1"
    	Fontpath	"/usr/share/fonts/X11/100dpi"
    	Fontpath	"/usr/share/fonts/X11/75dpi"
    	# path to defoma fonts
    	Fontpath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    EndSection
    
    Section "Module"
    	Load		"i2c"
    	Load		"bitmap"
    	Load		"ddc"
    	Load		"dri"
    	Load		"extmod"
    	Load		"freetype"
    	Load		"glx"
    	Load		"int10"
    	Load		"vbe"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"kbd"
    	Option		"CoreKeyboard"
    	Option		"XkbRules"	"xorg"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"us"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option		"Device"	"/dev/input/mice"
    	Option		"Protocol"	"ImPS/2"
    	Option		"ZAxisMapping"	"4 5"
    	Option		"Emulate3Buttons"	"true"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Synaptics Touchpad"
    	Driver		"synaptics"
    	Option		"SendCoreEvents"	"true"
    	Option		"Device"	"/dev/psaux"
    	Option		"Protocol"	"auto-dev"
    	Option		"HorizScrollDelta"	"0"
    EndSection
    
    #Section "InputDevice"
    #	Driver		"wacom"
    #	Identifier	"stylus"
    #	Option		"Device"	"/dev/input/wacom"
    #	Option		"Type"		"stylus"
    #	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
    #EndSection
    
    #Section "InputDevice"
    #	Driver		"wacom"
    #	Identifier	"eraser"
    #	Option		"Device"	"/dev/input/wacom"
    #	Option		"Type"		"eraser"
    #	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
    #EndSection
    
    #Section "InputDevice"
    #	Driver		"wacom"
    #	Identifier	"cursor"
    #	Option		"Device"	"/dev/input/wacom"
    #	Option		"Type"		"cursor"
    #	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
    #EndSection
    
    Section "Device"
    	Identifier	"ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE)"
    	Driver		"fglrx"
    	Busid		"PCI:1:5:0"
    EndSection
    
    Section "Monitor"
    	Identifier	"Generic Monitor"
    	Option		"DPMS"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"ATI Technologies Inc ATI Radeon XPRESS 200M 5955 (PCIE)"
    	Monitor		"Generic Monitor"
    	Defaultdepth	24
    	SubSection "Display"
    		Depth	1
    		Modes		"1280x800"
    	EndSubSection
    	SubSection "Display"
    		Depth	4
    		Modes		"1280x800"
    	EndSubSection
    	SubSection "Display"
    		Depth	8
    		Modes		"1280x800"
    	EndSubSection
    	SubSection "Display"
    		Depth	15
    		Modes		"1280x800"
    	EndSubSection
    	SubSection "Display"
    		Depth	16
    		Modes		"1280x800"
    	EndSubSection
    	SubSection "Display"
    		Depth	24
    		Modes		"1280x800"
    	EndSubSection
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
      screen "Default Screen"
    	Inputdevice	"Generic Keyboard"
    	Inputdevice	"Configured Mouse"
    	#	InputDevice     "stylus"	"SendCoreEvents"
    	#	InputDevice     "cursor"	"SendCoreEvents"
    	#	InputDevice     "eraser"	"SendCoreEvents"
    	Inputdevice	"Synaptics Touchpad"
    EndSection
    
    Section "DRI"
    	Mode	0666
    EndSection
    
    Section "Extensions"
    	Option		"Composite"	"0"
    EndSection
    not such an easy fix after all...

  10. #9
    Just Joined! vexx's Avatar
    Join Date
    Aug 2007
    Posts
    4
    my hl 2 worked almost perfect with wine...tho i have a GF 6800

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •