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
ido
Prole
Posts: 26
Joined: Mon Mar 16, 2009 10:34 am

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

Post by ido »

Hi,

I tried running löve 0.5 on the latest ubuntu (on a pretty beefy/new laptop), and it seems that moving the window

1. produces "tearing" - i have to move other windows on top of where the löve window was to get rid of the "residue"
2. takes a huge amount of cpu

I tried doing the same on windows (on a more or less equivalent laptop) and that doesn't happen.

Anyone have a clue what's going on? I have 3d acceleration and everything working in ubuntu.

-Ido.
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 »

Maybe you're using desktop effects? I get flicker when 3d desktop effects are on. (only with this ATI card, not with my broken NVIDIA one)
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 »

I think there are the default desktop effects that ubuntu enables upon installation.

Problem is, since this is the default value I can't just tell users to turn it off...

is there a solution to this problem?

EDIT: the video card is a built-in intel one.
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 haven't found one, but there might be.

EDIT: (posting during your edit) don't know about Intel drivers, but I don't expect them to be great.
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 »

I'll try it without desktop effects when i get home and see if it fixes it.

Still shouldn't be (all) intel's fault since other apps (also ones using opengl and/or sdl) don't have this problem.
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 know, I have it with LÖVE and FooBilliard (don't ask).
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 »

Have you tried setting vsync = true in game.conf?

CPU: LÖVE will take 100% of one core unless you call love.timer.sleep( ms ) at some point in the main loop.
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 »

rude: i will try when i get home.

re: cpu - i did that, i was talking about cpu usage while dragging the window, not general cpu usage.
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 »

Oh, ok.

I don't think vsync = true will solve that problem, then. I remember tearing being a problem with Compiz a year ago (or so), not just with LÖVE, but with videos and stuff as well. The only thing that helped was disabling it.

The other OpenGL programs you've tested, were they windowed 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 »

I don't remember, will take a look in several hours.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests