Löve window movment much slower on linux than on windows?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Löve window movment much slower on linux than on windows?

Post by bartbes »

I can confirm:
Compiz + Windowed + !Nvidia = undefined behaviour
The !Nvidia part is personal experience, don't know if others have this as well.
User avatar
ido
Prole
Posts: 26
Joined: Mon Mar 16, 2009 10:34 am

Re: Löve window movment much slower on linux than on windows?

Post by ido »

OK , i checked it with another openGL application ("pong2") and it's not löve specific.

One thing I've noticed, since pong2 captures the mouse cursor when it isn't paused (thus rendering the user unable to move the window most of the time) the movement bug was not really obvious - had not I looked for it specifically I would probably not have noticed it!

Maybe do the same with löve? Or at least provide an option to do the same?

-Ido.
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Löve window movment much slower on linux than on windows?

Post by rude »

You can do that with:

love.system.grabInput( true )
User avatar
Merkoth
Party member
Posts: 186
Joined: Mon Feb 04, 2008 11:43 pm
Location: Buenos Aires, Argentina

Re: Löve window movment much slower on linux than on windows?

Post by Merkoth »

With my Ati card things get ever weirder: if you move the window, only the decorator gets moved but not the window content (while dragging). It keeps updating the game, only at the wrong place, until you release the window. It's not pretty, but isn't critical at all.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Löve window movment much slower on linux than on windows?

Post by bartbes »

See, I can blame ATI!! I want my Nvidia back! (I really should go to the store, before my warranty expires)
User avatar
SiENcE
Party member
Posts: 806
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: Löve window movment much slower on linux than on windows?

Post by SiENcE »

Ati's OpenGL Drivers are crap. They are sometimes 200% slower than the nvidia ones.
JamesGecko
Prole
Posts: 8
Joined: Sat Jan 31, 2009 7:10 pm

Re: Löve window movment much slower on linux than on windows?

Post by JamesGecko »

This is mainly an issue with composite on Linux in general. Most Linux gamers know to disable Compiz or Strange Things And/Or Reduced Performance Will Happen.

Supposedly a solution is on the way with DRI2, which will make the composite manager aware of other OpenGL applications. Until then, just leave a note in your readme file telling people to disable desktop effects.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Löve window movment much slower on linux than on windows?

Post by bartbes »

Well, since I have the possibility to praise Nvidia (again), allow me:
I never had such problems with the Nvidia drivers, maybe they already did check, or maybe it just handled it much more effective.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 14 guests