SDL Applications, cursor lags if you scroll while moving.

I just installed openSUSE 11.0, and I’ve noticed a very weird bug.

It only occurs in applications that use SDL to get the mouse cursor position.

If you move the scroll wheel up, and down, while moving the cursor, cursor begins to gather a delay. The cursor will move 3 seconds after you actually moved it. It’ll also follow the movement you made one for one. Like the events are coming on a delay.

I’ve already test many SDL application, included one I coded my self to test. Games like Doom3, Quake4, and Quake Wars all appear to be effected by this. Even applications compiled for 64bit have this same problem. I’m going to try it on some other systems to see if it’s not just my rig.

This is rather annoying. I’m just wondering if anyone else is getting this same problem.

It’s rather easy to recreate, just move the cursor around in any SDL driven program, and while moving the cursor around, scroll up, and down with the mouse wheel. Even with just X, and xterm in the background, this problem occurs.

My system is:
openSUSE 11.0 X86_64
KDE 4
AMD Athlon X2 +3000
2 x Nvidia GeForce 7600GT SLi mode AFR, using “nvidia” driver from nvidia.com

Alright, I just ran a test with my slate pen top, it’s a 32 bit openSUSE 11.0, and it doesn’t have this problem.

I’ve got some more test, I’ll see what I can figure out.

Works fine on this system:
Fujitsu Stylistic
openSUSE 11.0 i386
Intel P3 Mobil O
Intel i830 using “i810” driver

It’s SLi,

AFR, SFR, is doesn’t matter, if you have SLi enabled, in any native Linux program that uses opengl, the cursor will lag if you’re moving the cursor and scroll the wheel at the same time. Great, looks like it’s Nvidia fault.

Hi there,

I’ve got the same problem.
Running openSUSE 11.0 x86_64 on Core2Duo with a Nvidia 8800 GTS.

In every native (SDL) Linux game which I start, the mouse cursor’s got a big delay. But I don’t have to scroll the wheel, it’s just all the time.
This way I can’t play any games, exept stuff in wine, which works fine as usual.

I really want to get rid of this annoying bug. Any ideas?