With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
If you have any trouble with SG, this is the place to ask.

Moderator: Pardner

jerky mouse on linux

Postby CRAZYHOSE » Sat Feb 28, 2009 6:16 pm

Hi,

For some reason motion seems to be jerky. Ive enabled mouse smoothing, and adjusted the sensitivity, but I still get this jerkyness, and If I move the mouse slowley, sometimes it wont respond for a second or 2, then start moving in small jerky motions again.

I've tried another FPS (sauerbraten), and its mouse movement is smooth, so I dont think theres a problem with drivers. the CPU is at 100% for both SG and saubraten (but again saubraten mouse is smooth, even when theres a lot happening on screen).

Ive also tried SG on 'fastest', but its still at 100% (actually I dont notice a difference in jerky motion between 'highest' and 'fastest' quality).

system is 2.6 celeron, 768 RAM, 256MB video card, running slackware 12.1.

Is there anything I can try? Is there an error console in game?
CRAZYHOSE
Pistolero
 
Posts: 27
Joined: Sat Feb 28, 2009 1:42 pm



Postby nraven » Sun Mar 01, 2009 12:46 am

try starting it from a terminal and do "export SDL_VIDEO_X11_DGAMOUSE=0" right befor you execute the game
nraven
Drifter
 
Posts: 9
Joined: Fri Jan 02, 2009 6:35 am



Postby /dev/random » Sun Mar 01, 2009 1:48 am

And if that doesn't help, try the same with the ioQuake version of SG.
User avatar
/dev/random
Smokin' Amigo!
 
Posts: 410
Joined: Thu Jan 22, 2009 1:58 pm



Postby CRAZYHOSE » Sun Mar 01, 2009 6:19 pm

Tried "export SDL_VIDEO_X11_DGAMOUSE=0", unfortunately it doesnt work.

Whats the ioQuake version ?
.

++DYNAMITE EXPERT FOR HIRE,MINES,MURDERS++
CRAZYHOSE
Pistolero
 
Posts: 27
Joined: Sat Feb 28, 2009 1:42 pm



Postby /dev/random » Mon Mar 02, 2009 11:32 pm

Take a look at this. For me it compiled well and solved my mouse-problems :)
User avatar
/dev/random
Smokin' Amigo!
 
Posts: 410
Joined: Thu Jan 22, 2009 1:58 pm



Postby CRAZYHOSE » Tue Mar 03, 2009 1:57 am

/dev/random,

I looked through the other thread, did you mean issue this in the SG root folder? :

Code: Select all
svn checkout https://smokinguns.svn.sourceforge.net/svnroot/smokinguns/branches/1.1 smokinguns-1.1


It seemed to update to version 136 (if I remember), but my mouse still doesnt track properly.

Or did you mean carry out the 'export' option ?
.

++DYNAMITE EXPERT FOR HIRE,MINES,MURDERS++
CRAZYHOSE
Pistolero
 
Posts: 27
Joined: Sat Feb 28, 2009 1:42 pm



Postby sparcdr » Tue Mar 03, 2009 3:33 am

You only need to checkout not export.
sparcdr
SG Team
 
Posts: 334
Joined: Wed Jun 13, 2007 3:41 pm



Postby CoolHand » Tue Mar 03, 2009 4:52 am

I was having problems on my Linux box with my mouse until I switched from my wife's wireless mouse to a wired laser mouse... All of a sudden I started playing a lot better :lol:
CoolHand
Pistolero
 
Posts: 49
Joined: Sat Aug 23, 2008 3:16 am



Postby sparcdr » Tue Mar 03, 2009 5:25 am

Oh... great ;-)
sparcdr
SG Team
 
Posts: 334
Joined: Wed Jun 13, 2007 3:41 pm



Postby CRAZYHOSE » Tue Mar 03, 2009 1:06 pm

sparcdr, Yes I did the checkout.

Coolhand, its funny because my wireless mouse seems to track slightly better than my wired mouse :!:
.

++DYNAMITE EXPERT FOR HIRE,MINES,MURDERS++
CRAZYHOSE
Pistolero
 
Posts: 27
Joined: Sat Feb 28, 2009 1:42 pm



Postby sparcdr » Tue Mar 03, 2009 7:49 pm

It's funny but not surprising. The high end Logitech wireless MX mice have a high DPI resolution. One of the better wired mice besides the white Microsoft IntelliPoints (With 800dpi tracking) is the IBM travel mice (Not sure if they make them anymore).
sparcdr
SG Team
 
Posts: 334
Joined: Wed Jun 13, 2007 3:41 pm



Postby /dev/random » Wed Mar 04, 2009 4:07 pm

Download the code with svn checkout, run make and wait. Then copy ./build/release-linux-i386./smokinguns.i386 into your SG-folder. Create a small shellscript which does the export SDL and launches your newly created SG.
User avatar
/dev/random
Smokin' Amigo!
 
Posts: 410
Joined: Thu Jan 22, 2009 1:58 pm



Postby CRAZYHOSE » Wed Mar 04, 2009 6:55 pm

/dev/random wrote:Download the code with svn checkout, run make and wait. Then copy ./build/release-linux-i386./smokinguns.i386 into your SG-folder.


Thanks /dev/random, Mouse is now fixed 8)

/dev/random wrote:Create a small shellscript which does the export SDL and launches your newly created SG.


what is 'SDL'?
.

++DYNAMITE EXPERT FOR HIRE,MINES,MURDERS++
CRAZYHOSE
Pistolero
 
Posts: 27
Joined: Sat Feb 28, 2009 1:42 pm



Postby /dev/random » Thu Mar 05, 2009 2:59 pm

Never mind about SDL if the mouse already works. :D




I need a small startscript which looks like this (just in case you're curious ;) )

Code: Select all
#!/bin/sh
export SDL_VIDEO_X11_DGAMOUSE=0

metacity --replace &

./smokinguns.i386 $* +nosplash

compiz --replace gconf &
gtk-window-decorator --replace &


This code simply tells SG that I don't have a DGA-Mouse (I'm using evdev as a driver). Then it activates Metacity, launches SG and when SG quits it restores Compiz again. The reason for this is, that Compiz just won't work with any fullscreen games for me. So I simply disable it while playing and restore it afterwards :)
User avatar
/dev/random
Smokin' Amigo!
 
Posts: 410
Joined: Thu Jan 22, 2009 1:58 pm



Postby CRAZYHOSE » Thu Mar 05, 2009 5:06 pm

/dev/random wrote:
Code: Select all
#!/bin/sh
./smokinguns.i386 $* +nosplash



I think I will do this also 8)

Thanks again /dev/random & all for your help.

Im off to do some shootin! :D
.

++DYNAMITE EXPERT FOR HIRE,MINES,MURDERS++
CRAZYHOSE
Pistolero
 
Posts: 27
Joined: Sat Feb 28, 2009 1:42 pm




Return to Doc's Office

Show Sidebar
Show Sidebar

User Control Panel

cron