LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Mouse disappears in native linux games (https://www.linuxquestions.org/questions/linux-games-33/mouse-disappears-in-native-linux-games-424932/)

camh 03-14-2006 10:24 PM

Mouse disappears in native linux games
 
I am having an unusual problem that I can't seem to resolve. When I play native linux games (Enemy Territory, AA:SF), the video and sound work fine and a mouse cursor does show up. However, as soon as you move the mouse; the cursor disappears.

In AA:SF it disappears instantly. In ET you can make it move if you move the mouse _very_ slowly, however, the cursor will only move down to the bottom right before vanshing from the window.

The mouse works fine in emulated games (through Cedega or wine) and in X. I have checked and am not running gdm, and there is no problem with my XF86Config-4.

Any thoughts?

Debian 3.1 - 2.6.8-2-686-smp
P4 2.8HT / 2GB RAM
Ti4200 AGP w/ Nvidia 8178 drivers
DualHead w/ Xinerama
Gnome

jkh 04-02-2006 08:00 PM

do you have to run games windowed with desktop running for any particular reason? If no then try giving your games full control of the mouse and see if that works.

edit ~/.xinitrc and # out any existing uncommented lines then add
Code:

exec *path/to/game/executable*
finally telinit to a cli runlevel so lets try
Code:

telinit 3
(you may need to switch console using ctrl+alt+F1 to F8) and run
Code:

startx
Now you may beed to be root to do some of this but remember NEVER EVER EVER run the X server as root.
If all works fine then you will know that it's just your DE not the native games. FYI never run ram and virtual memory hoggers for graphics such as games because they eat system resources and makes your games slow and even LAG.

If the above did not work then perhaps it's to do with how you set up your mouse.


All times are GMT -5. The time now is 02:42 AM.