Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 11 guests | Time: 08:27
Mouse-Bug in OpenGL games Xorg 1.4/7.3
paldo Support Forum    paldo    General Discussion
Reply Reply   Subscribe Topic Subscribe Topic
5 posts found.
 Mouse-Bug in OpenGL games Xorg 1.4/7.3
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Well I found out that the Xorg 1.4/7.3 has a mouse-bug in OpenGL-games like enemy territory Quake-Wars or tremulous. It's a cos of xserver and x11. Using the stable version of paldo it works cos of the old xorg 1.3/7.2.

What can we do to fix that also in testing?

btw. the mouse jumps like creasy in the games.
Profile   Private Message   E-Mail
Created: 2007-10-26 01:58
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Mouse-Bug in OpenGL games Xorg 1.4/7.3
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
What packages do I have to downgrade to have xserver 1.3 and xorg 7.2 back in testing branch?
Profile   Private Message   E-Mail
Created: 2007-10-28 15:24
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Mouse-Bug in OpenGL games Xorg 1.4/7.3
Administrator
 
 
 
Posts: 426
Registered: 2004-09-09
At least xorg-server and xf86-input-*, possibly also inputproto, xi, and maybe even xf86-video-*

You could also try whether it works with xorg-server 1.4 and the "mouse" driver instead of "evdev". You might need to change /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi for that.
Profile   Private Message   Web
Created: 2007-10-28 15:34
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Mouse-Bug in OpenGL games Xorg 1.4/7.3
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
your tip fixed it. it is evdev. I changed it to mouse and it worked.

... is there a way to create a script for disabling evdev for mouse and using mouse instead during the game and switch back after the game?
Profile   Private Message   E-Mail
Created: 2007-10-28 16:06 | Modified: 2007-10-28 16:33 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: Mouse-Bug in OpenGL games Xorg 1.4/7.3
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I found a new way to fix the problem:

You have to execute this cmd before starting a game using sdl:

Code[In neuem Fenster öffnen]
export SDL_VIDEO_X11_DGAMOUSE=0


For games like Quake4, tremulous, Cube, Sauerbraten, AssaultCube ...

It must be runned in the same terminal as you execute the binary file with.

Might help also:

Code[In neuem Fenster öffnen]
export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0


Example:

Code[In neuem Fenster öffnen]
#!/bin/sh
#Xorg-Fix
export SDL_VIDEO_X11_DGAMOUSE=0

./tremulous.x86
Profile   Private Message   E-Mail
Created: 2008-03-28 23:19 | Modified: 2008-03-29 00:05 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a