PDA

View Full Version : linux kernel/nvidia driver performance


ancient
05-11-2009, 02:04 PM
i wonder if any other linux players ever stumbled over this...

it seems i am stuck to kernel 2.6.24.3 since in ever newer kernel/driver release i tried (sadly not all drivers will work with any kernel) the performance in etqw has decreased. i lost most of my statistics i collected on various combinations (driver/kernel), so currently i only have the stats of my nr.1 kernel/driver compared against recent kernels/drivers.

my major problem is not the decrease in performance but the game stops being smooth (even though framerate is still decent). it starts hmm like to "stutter", (in ms range)...

maybe some other linux player can help shed some light on this :)

155.8 fps | fps5.ndm | 173.14.12 | 2.6.24.3
127.4 fps | fps5.ndm | 180.29 | 2.6.29
127.7 fps | fps5.ndm | 180.51 | 2.6.29.1

vsync: must be off in nvidia-settings and ingame
etqw-rthread v1.6
r_useThreadedRenderer "2"
com_unlock_timingMethod "0"
com_unlockFPS "1"

other kernels & drivers tested with but statistic data/combinations lost
none of them got close to nr. 1 in list.
2.6.24.7
2.6.25.18
2.6.25.6
2.6.26.6
2.6.27
2.6.27.5
2.6.27-rc6
2.6.28
2.6.28.4
2.6.28.5
2.6.28.7
2.6.29
2.6.29.1

NVIDIA-Linux-x86-173.14.12-pkg1.run
NVIDIA-Linux-x86-177.80-pkg1.run
NVIDIA-Linux-x86-177.82-pkg1.run
NVIDIA-Linux-x86-180.18-pkg1.run
NVIDIA-Linux-x86-180.22-pkg1.run
NVIDIA-Linux-x86-180.29-pkg1.run
NVIDIA-Linux-x86-180.51-pkg1.run

additional kernel settings used (sysctl.conf)
kernel.sched_wakeup_granularity_ns=10000000
kernel.sched_batch_wakeup_granularity_ns=10000000
kernel.sched_min_granularity_ns=1000000
kernel.sched_latency_ns=10000000
kernel.sched_features=29
kernel.sched_compat_yield=0

lickinghoney
06-02-2009, 05:50 PM
Yes, I have the same problem. The game is unplayable, but it used to be snappy (Ubuntu 7.10 was last normal one) and not feel so heavy with keyboard&mouse actions. It's like there is twice as much bloat, shit gets delayed or skipped.

I've tried tons of different tweaks, like replacing game's own libraries:
libCgx86.so
libgcc_s.so.1
libjpeg.so.62
libSDL-1.2.id.so.0
libstdc++.so.6
with symbolic links, different xserver options, disable evdev, replace alsa with oss (https://help.ubuntu.com/community/OpenSound), switch to different cpu governor, test other schedulers:
echo anticipatory > /sys/block/sda/queue/scheduler
... and only thing that helped a bit was purging pulseaudio, but the game still feels choppy.