I have:
openSUSE 11.2 (x86_64)
Linux 2.6.31.5-0.1-desktop x86_64
4.3.1 (KDE 4.3.1) “release 6”
Intel(R) Pentium(R) D CPU 3.00GHz 2 Cores
2 GB RAM
G96 [GeForce 9500 GT]
When I run a rather simple game like Warzone2100 or ufoai the games are slow.
When I run PlayOnLinux it alerts me, that 3D Accelerations is not present and advices to install and enable it.
# glxgears
*** NOTE: Don't use glxgears as a benchmark.
OpenGL implementations are not optimized for frame rates >> 60fps,
thus these numbers are meaningless when compared between vendors.
26149 frames in 5.0 seconds = 5229.795 FPS
26276 frames in 5.0 seconds = 5255.118 FPS
26317 frames in 5.0 seconds = 5263.219 FPS
26332 frames in 5.0 seconds = 5266.285 FPS
26340 frames in 5.0 seconds = 5267.950 FPS
27050 frames in 5.0 seconds = 5409.951 FPS
44442 frames in 5.0 seconds = 8888.295 FPS
31624 frames in 5.0 seconds = 6324.800 FPS
44871 frames in 5.0 seconds = 8974.118 FPS
34426 frames in 5.0 seconds = 6882.938 FPS
23962 frames in 5.0 seconds = 4792.241 FPS
30563 frames in 5.0 seconds = 6112.471 FPS
29821 frames in 5.0 seconds = 5964.130 FPS
^C^
Shoud I wait here anything? I pressed ctrl+c after some time the gear was working.
# nvidia-xconfig
Using X configuration file: "/etc/X11/xorg.conf".
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
grep -Ei "ee|gl|nvidia" /var/log/Xorg.0.log
Current Operating System: Linux 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(**) |-->Screen "Screen[0]" (0)
/usr/share/fonts/Speedo,
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules//extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
(II) NVIDIA GLX Module 190.53 Wed Dec 9 16:27:33 PST 2009
(II) Loading extension GLX
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib64/xorg/modules/linux//libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
(II) Loading extension XFree86-DRI
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules//drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) NVIDIA dlloader X Driver 190.53 Wed Dec 9 15:39:50 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Jan 02 20:39:01 NVIDIA(0): Enabling RENDER acceleration
(II) Jan 02 20:39:01 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Jan 02 20:39:01 NVIDIA(0): enabled.
(II) Jan 02 20:39:02 NVIDIA(0): NVIDIA GPU GeForce 9500 GT (G96) at PCI:1:0:0 (GPU-0)
(--) Jan 02 20:39:02 NVIDIA(0): Memory: 1048576 kBytes
(--) Jan 02 20:39:02 NVIDIA(0): VideoBIOS: 62.94.36.00.00
(II) Jan 02 20:39:02 NVIDIA(0): Detected PCI Express Link width: 4X
(--) Jan 02 20:39:02 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Jan 02 20:39:02 NVIDIA(0): Connected display device(s) on GeForce 9500 GT at PCI:1:0:0:
(--) Jan 02 20:39:02 NVIDIA(0): BenQ G2220HD (CRT-1)
(--) Jan 02 20:39:02 NVIDIA(0): BenQ G2220HD (CRT-1): 400.0 MHz maximum pixel clock
(II) Jan 02 20:39:02 NVIDIA(0): Assigned Display Device: CRT-1
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1600x1024"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1600x1000"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1440x900"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1366x768"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1360x768"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1280x800"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1280x768"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1280x600"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "1024x600"; removing.
(WW) Jan 02 20:39:02 NVIDIA(0): No valid modes for "768x576"; removing.
(II) Jan 02 20:39:02 NVIDIA(0): Validated modes:
(II) Jan 02 20:39:02 NVIDIA(0): "1920x1080"
(II) Jan 02 20:39:02 NVIDIA(0): "1680x1050"
(II) Jan 02 20:39:02 NVIDIA(0): "1400x1050"
(II) Jan 02 20:39:02 NVIDIA(0): "1600x900"
(II) Jan 02 20:39:02 NVIDIA(0): "1280x1024"
(II) Jan 02 20:39:02 NVIDIA(0): "1280x960"
(II) Jan 02 20:39:02 NVIDIA(0): "1152x864"
(II) Jan 02 20:39:02 NVIDIA(0): "1280x720"
(II) Jan 02 20:39:02 NVIDIA(0): "1024x768"
(II) Jan 02 20:39:02 NVIDIA(0): "800x600"
(II) Jan 02 20:39:02 NVIDIA(0): "640x480"
(II) Jan 02 20:39:02 NVIDIA(0): Virtual screen size determined to be 1920 x 1080
(--) Jan 02 20:39:02 NVIDIA(0): DPI set to (101, 101); computed from "UseEdidDpi" X config
(--) Jan 02 20:39:02 NVIDIA(0): option
(==) Jan 02 20:39:02 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(II) do I need RAC? No, I don't.
(II) Jan 02 20:39:02 NVIDIA(0): Initialized GPU GART.
(II) Jan 02 20:39:02 NVIDIA(0): Setting mode "1920x1080"
(II) Loading extension NV-GLX
(II) Jan 02 20:39:02 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Jan 02 20:39:02 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(WW) NVIDIA(0): Option "CalcAlgorithm" is not used
(WW) NVIDIA(0): Option "PreferredMode" is not used
(II) Initializing extension GLX
(II) config/hal: Adding input device ImPS/2 Logitech Wheel Mouse
(**) ImPS/2 Logitech Wheel Mouse: always reports core events
(**) ImPS/2 Logitech Wheel Mouse: Device: "/dev/input/event1"
(II) ImPS/2 Logitech Wheel Mouse: Found 3 mouse buttons
(II) ImPS/2 Logitech Wheel Mouse: Found x and y relative axes
(II) ImPS/2 Logitech Wheel Mouse: Found scroll wheel(s)
(II) ImPS/2 Logitech Wheel Mouse: Configuring as mouse
(**) ImPS/2 Logitech Wheel Mouse: YAxisMapping: buttons 4 and 5
(**) ImPS/2 Logitech Wheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "ImPS/2 Logitech Wheel Mouse" (type: MOUSE)
(**) ImPS/2 Logitech Wheel Mouse: (accel) keeping acceleration scheme 1
(**) ImPS/2 Logitech Wheel Mouse: (accel) filter chain progression: 2.00
(**) ImPS/2 Logitech Wheel Mouse: (accel) filter stage 0: 20.00 ms
(**) ImPS/2 Logitech Wheel Mouse: (accel) set acceleration profile 0
(II) ImPS/2 Logitech Wheel Mouse: initialized for relative axes.
(II) XKB: reuse xkmfile /var/lib/xkb/compiled/server-D378AD8F86E560F712A83EE36E4E5E92C595B9BD.xkm
(II) config/hal: Adding input device Sleep Button
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event3"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(II) XKB: reuse xkmfile /var/lib/xkb/compiled/server-D378AD8F86E560F712A83EE36E4E5E92C595B9BD.xkm
(II) XKB: reuse xkmfile /var/lib/xkb/compiled/server-D378AD8F86E560F712A83EE36E4E5E92C595B9BD.xkm
There we can see:
(II) NVIDIA GLX Module 190.53 Wed Dec 9 16:27:33 PST 2009
(II) Loading extension GLX
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/lib64/xorg/modules/linux//libfglrxdrm.so
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
(II) Loading extension XFree86-DRI
I was using and ATI card in the past and made many manipulations when trying to make it work correctly. Maybe this is the reason and the heritage of that ATI card.
I was told to comment everythyng about fglrx in /etc/X11/xorg.conf but there is nothing about it there:
I don’t really use games, though those I do, including some under wine - all work well, better in fact than in windows which seems incredible.
Try disabling desktop effects if you have them enabled. And you run a terminal with top
start a game so you can still see the terminal and see what you get in the processes - maybe it will hint at the problem