Forums » Bugs

Mouse lag in menus in Ubuntu

Jan 21, 2010 Science link
Hi,

I am trying this game out, and I like it but there is something that annoys the hell out of me :-).

The game runs fine only in menu's (at station, inventory, etc) my mouse lags behind (when flying my mouse acts at instant). I've tried several things, like
- disabling Vsync in my nvidia driver-
- setting graphics very low (flying goes really smooth now ^^)
- settting "export SDL_VIDEO_X11_DGAMOUSE=0" in my bashrc.

At the moment when I log in my mouse is super but after playing for a while (15 min) the mouse starts to lag more badly the longer I play.

I noticed this in Ubuntu Karmic and also on the latest nightly of Ubuntu.

Is this a known issue and are there workarounds possible?
Jan 21, 2010 mr_spuck link
What's your framerate? The /fps command shows it.

Under option->interface there's an option to make the station show through the menu. Unticking that might help somewhat.
Jan 22, 2010 Science link
Yeah, my framerate seems to drop when I'm in the menu. Normally 45-60fps on flight, but 20-30fps when I dock or press M. Not showing the station on menu does not have any effect when I dock.

Should the menu really be so heavy? Maybe my graphics card is too slow? My laptop is 2 years old.

Intel duo 2 core 2.2Ghz
2 Gb memory
Nvidia Quadro 140m (256 MB)

I'm running the game on 1680x1050 or 1280x900 when I'm not at home.
Jan 22, 2010 Science link
The performance is not better on Windows, so I guess my graphics card is not enough or something... :/
Jan 22, 2010 mr_spuck link
Disabling station in menu really doesn't help anymore . funky.

According to this http://www.notebookcheck.net/NVIDIA-Quadro-NVS-140M.4216.0.html it should be comparable to my radeon hd3200 (unless there's a huge difference between desktop and mobile versions). At 1680x1050 the game is pretty sluggish for me too and I also get about half fps in station. It's all that alpha blending I guess.

Lowering the resolution will probably help most. Full scene glow would also hurt the fps pretty badly.
Jan 22, 2010 Science link
Thanks for responding, then my bad performance is not a real bug/problem. I thought my laptop would run a game that launched in 2003 with ease.

I have turned off about everything I could find in the graphics menu and I think I'll just have to get used to it or something.

I think I will buy a subscription when my 8 hour trial is over :-).
Jan 23, 2010 DivisionByZero link
Science:

I had a similar issue with VO when I started playing. The key word to search for is "overlay". That is, there are things that are drawn by the video card which are overlayed on the screen. This is what was bogging down things down on my system, which was also Ubuntu.

The way I fixed it with my intel card was to enable UXA (or EXA, can't remember which right now). Basically, the standard build of Ubuntu was using some Xorg stuff that would fall back on the older Intel system rather than use a newer one, faster one. Since you have an NVidia card, I'm a bit surprised there are any problems, but you might have to search a bit for problems with screen overlays.
Jan 23, 2010 raybondo link
Science, your video card should run VO fine. There seems to be a problem with the video drivers or what DivisionByZero said. If you turn off 'show station in menus' is it still bad? That's very strange.
Jan 28, 2010 sakuramboo link
I experienced the same problem and I fixed it by switching the Audio driver to OSS. :/
Jan 31, 2010 Captain86 link
I still believe most of the Ubuntu problems are related to pulse audio and alsa

See my last posts here which I've noticed some differenced in both sound,video,mouse,and joystick when adjusting these config.ini settings only

See my last 2 posts here:
http://www.vendetta-online.com/x/msgboard/6/22127

Anyhow I hope this helps with your mouse lag, I don't know if it's directly related but easy to try.