Inputs buffered/delayed 2.4.1

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Postby Aron Schatz » Wed May 14, 2008 8:41 pm

I did, nothing has helped yet.

I honestly don't know how to give more information. Any logs or anything I should attach?
Aron Schatz
Member
 
Posts: 11
Joined: Sat May 10, 2008 4:24 am

Postby Aron Schatz » Thu May 15, 2008 10:26 pm

You know, I'm beginning to think this might be a SDL problem.

I installed UT2004 today and the mouse and keyboard don't work in game but work in the menu (???) and the menu exhibited the same craziness of buffering as Nexuiz...

How do I go about making sure my version of SDL is fine?
Aron Schatz
Member
 
Posts: 11
Joined: Sat May 10, 2008 4:24 am

Postby Fuddl » Thu May 15, 2008 11:58 pm

i've seen probably the same problem on a friend's notebook for the first time about a year ago and it's still present (i'm talking of debian sid here, so the problem survived many versions of different software). the notebook was a core duo thingy, with a nvidia gpu.

we managed to show off the problem as far:
in the menu, we could - only sometimes, not fully reproducibly - move the mouse to the right and nothing happened with the mouse cursor on the screen. a few seconds later we moved the mouse up, but on the screen the mouse cursor moved first to the right (which apperantly was the previous movement of the mouse) and the upward movement of the mouse cursor appeared delayed on the screen.
so, the input data from the mouse wasn't dropped, but somewhat blocked and delayed.

the same thing happened in another game, sauerbraten, too, but it did not happen in all games. as far as i can remember it did not appear in quake4.

a year ago, we managed to work around that problem, but neither my friend nor me can remember what we did, sorry!!! :( (i can remember what did NOT fix it: the gl_finish-thing, telling SDL to not use the DGA mouse input data and to different linux kernel versions)
Fuddl
Member
 
Posts: 36
Joined: Sat May 06, 2006 8:59 pm
Location: Germany, Mfr

Postby Psychcf » Fri May 16, 2008 1:11 am

try moving your config to outside of your nexuiz directory. I know it seems crazy, but that did the trick for me.
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby Aron Schatz » Fri May 16, 2008 1:52 am

Fuddl: This is the EXACT same problem I'm having and I'm glad you experienced it... well, at least you fixed it somehow.

There is hope, then.

It must be a problem with SDL since if I use the GLX version and unselect the OS mouse acceleration in Nexuiz, the game is totally responsive except the mouse goes wonky (IE: goes in a direction very fast that shouldn't happen)... but it is responsive.

Now the goal of mine is to somehow debug SDL and figure out how to make it work.

Psychcf, I'll give that a show but I doubt that will work since UT2K4 does the same thing (itself being an SDL game).
Aron Schatz
Member
 
Posts: 11
Joined: Sat May 10, 2008 4:24 am

Postby Fuddl » Fri May 16, 2008 6:51 am

[TSA] Psychcf wrote:try moving your config to outside of your nexuiz directory. I know it seems crazy, but that did the trick for me.

hm... this is so trivial, that i cannot remember if we tried that or not a year ago! ;)

if i get you right, you mean that fixed the bug aron and i experience? if so, it would be very interesting, which option(s) cause(s) this problem!
Fuddl
Member
 
Posts: 36
Joined: Sat May 06, 2006 8:59 pm
Location: Germany, Mfr

Postby Psychcf » Fri May 16, 2008 12:12 pm

Fuddl wrote:if so, it would be very interesting, which option(s) cause(s) this problem!

I'm too lazy to run the diffs on the two configs, but maybe I'll do it for you :wink:
Psychcf
Forum addon
 
Posts: 1554
Joined: Sun Dec 03, 2006 11:38 pm
Location: NY, USA

Postby Rebecca » Fri May 16, 2008 1:02 pm

I always have problems with the mouse in games and emulators on my two machines when I don't set the environment variable SDL_VIDEO_X11_DGAMOUSE=0. The problems I have are a little bit different though: In my case, the mouse always jumps back to one particular point. There are more related environment variables like SDL_MOUSE_RELATIVE. It seems unlikely that those would help you since you say that your keyboard is affected as well, but I wanted to mention it anyway, just in case...
Rebecca
Member
 
Posts: 29
Joined: Thu May 08, 2008 5:31 pm

Postby Aron Schatz » Fri May 16, 2008 11:49 pm

Rebecca: GENIUS!

That env variable solved the problem in Nexuiz and UT2K4 (SDL versions). Now the mouse still has the acceleration of the OS which is totally fine for me. All the inputs are working correctly thanks to that.

I have no idea what the mouse input would have some effect on the keyboard as well, ohh well.

Thanks for the help!
Aron Schatz
Member
 
Posts: 11
Joined: Sat May 10, 2008 4:24 am

Previous

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron