Forums » Linux

OpenGL performance issues

Jul 30, 2008 jlindbergh link
Hi
I just installed VO, and I think It'll be awesome once I get it working right! :)

I am having some performance issues with the game though. I'm running it on Ubuntu Hardy (compiz disabled) on a Radeon x1900 card with restricted drivers. When I start the game with default settings I get very bad framerate - totally unplayable! I'd type what I get if I knew how to do a FPS-test, but I don't. Around 5 +-3 FPS I'd say...

Anyway, I suppose there are some drivers I should or shouldn't use and I'd be happy for some guidance!

Here's my errors.log
---------------------
archive returned 0
[Wed Jul 30 23:44:06 2008] Found driver: "Open Sound System driver". Type 1, Version 8.1. Load @0x083d3fc8
[Wed Jul 30 23:44:06 2008] Instantiate address: 0xb7b8c6c0
[Wed Jul 30 23:44:06 2008] Found driver: "ALSA driver". Type 1, Version 8.1. Load @0x083d4760
[Wed Jul 30 23:44:06 2008] Instantiate address: 0xb7b74ea0
[Wed Jul 30 23:44:06 2008] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 70.0. Load @0x083d4f10
[Wed Jul 30 23:44:06 2008] Instantiate address: 0xb7a70c40
ALSA initialized: 44100Hz, 16bit stereo, 341ms latency (16 periods x 940 samples)
/dev/js0: No such file or directory
Found joystick 'Logitech Inc. WingMan Extreme Digital 3D (/dev/input/js0)'
numaxes = 6
numbuttons = 7
/dev/js1: No such file or directory
/dev/input/js1: No such file or directory
/dev/js2: No such file or directory
/dev/input/js2: No such file or directory
/dev/js3: No such file or directory
/dev/input/js3: No such file or directory
Found 1 joystick(s)
[Wed Jul 30 23:44:43 2008] Flight-Assist mode enabled.
[Wed Jul 30 23:44:43 2008] Auto-Aim enabled.

Thanks for any help.
/jl

edit: I also tried "Sauerbraten" and "Warzow", both running very smoothly on my hardware. So what's wrong with Vendetta?
Aug 04, 2008 mr_spuck link
/fps displays the framerate.

is there anything interesting in ~/.vendetta/openglinfo.log?
Aug 04, 2008 jlindbergh link
Thanks for the reply mr_spuck!
I discovered that my glxinfo indicated I was using Mesa drivers even though I had the restricted ATI drivers installed. So I spent an evening with manual re-installations of the ATI drivers, and finally got glxinfo and fglrxinfo to NOT show me I'm using Mesa drivers.
It turned out that I had to comment away some line in /etc/modprobe.d/lrm-video for the fglrx driver to be used. But now I'm all set! On to the possible joystick issues then! =)
Aug 04, 2008 mr_spuck link
It seems to see your stick at least :P

Last time I installed the packaged ati drivers on ubuntu I removed all the mesa packages first and then updated the X config file with ati-config --initial or something.

The mesa drivers don't support opengl 2 in hardware, but the game uses that by default.. so it's doing a lot of work in software, which is slow as hell. That's probably what happened. If you had disabled shaders it might have been faster.
Aug 05, 2008 jlindbergh link
Yes, the joystick worked nicely apart from some glitching on the rotational (roll) axis rendering it kinda useless. Could be the faults of an old joystick...I'll check it with jscalibrator or something later.

I came across another problem though: :(
http://www.vendetta-online.com/x/msgboard/6/19377