mouse scroll

mouse scroll

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

mouse scroll

Post by albator »

Weird thing is when I am scrolling to zoom using the mouse, the scroll zoom does not always apply. It hangs for a few tenth until 1 sec. It is completely random. Sometimes it does not happen for 30 sec, but it is pretty annoying.

NB: I used exact same config with windows and experience no problems
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: mouse scroll

Post by jK »

On windows it uses OS messages, while under linux & mac it relies on SDL (which sucks hell).
User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

Re: mouse scroll

Post by albator »

Is there anyway to improve that behavior from the user point of view ? Changing setting etc... or is that a lost cause ?
Also does all the Linus Games (like FPS) have the same problems ? Any chance it will be change one day ? I mean will it be change in linux ?

I like to have the feed back of all the linux player to see how they handled that thing
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: mouse scroll

Post by dansan »

I don't have that problem in no game in Linux.

Here are some ideas:

Try to lower simultaneous sounds (SL->settings->ExpMode->Audio tab->16 sounds max). Sound is a common problem in Linux.

Check your hard disk activity. Spring hangs, when it cannot write its log (e.g. disk spin down)..... not your case with zooming though....

Spring+ATI+Linux doesn't work to good. Maybe try with lowest gfx settings, to see if problem persists, and if fixed, slowly move up until problem returns.

Do you have that problem in other games? Nice mouse-ctrl game based on SDL is "chromium-bsu" (http://chromium-bsu.sourceforge.net/). Interesting may also be "Nexuiz", as it comes (in my install) with a GLX and a SDL starter. Not sure if those use only different gfx, or also different input....

Do you have those lags also when you scroll in Firefox?
User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

Re: mouse scroll

Post by albator »

dansan wrote:Try to lower simultaneous sounds (SL->settings->ExpMode->Audio tab->16 sounds max). Sound is a common problem in Linux.
32 -> 16 : change nothing

I use really low gpu setting (fps 300) at start with my old i5

"chromium-bsu" : i was talking about mouse wheel scrolling actually, I use keyboard for side scrolling.

I use chromium-browser and closing it does not fix anything

Tx for your help anyway
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: mouse scroll

Post by dansan »

albator wrote:"chromium-bsu" : i was talking about mouse wheel scrolling actually, I use keyboard for side scrolling.

I use chromium-browser and closing it does not fix anything
chromium-bsu (http://www.reptilelabour.com/software/chromium/) is a game that is built with of SDL (a media/game library). I had the idea, that you might see if SDL-input has a problem on your side. But then again in chromium-bsu you doesn't use the mouse-wheel, so not the best test... it's a nice game anyway :D
User avatar
albator
Posts: 866
Joined: 14 Jan 2009, 14:20

Re: mouse scroll

Post by albator »

My Mouse scroll completly died. Looks like is was hardware related :D
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: mouse scroll

Post by hoijui »

did you try to open the mouse and clean it yet?
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: mouse scroll

Post by dansan »

albator wrote:My Mouse scroll completly died. Looks like is was hardware related :D
lol - I love this - sometimes it happens that I'm at the point of recompiling my kernel because "there's no sound", just to realize that I had the earphones plugged in :D
Post Reply

Return to “Linux”