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 » Mon Mar 16, 2009 12:15 pm

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 » Mon Mar 16, 2009 12:59 pm

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 » Mon Mar 16, 2009 1:01 pm

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 » Mon Mar 16, 2009 1:02 pm

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 » Mon Mar 16, 2009 1:12 pm

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 » Mon Mar 16, 2009 1:54 pm

I know, I have it with LÖVE and FooBilliard (don't ask).

User avatar
rude
Administrator
Posts: 1051
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 » Mon Mar 16, 2009 2:21 pm

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 » Mon Mar 16, 2009 2:25 pm

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: 1051
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 » Mon Mar 16, 2009 2:43 pm

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 » Mon Mar 16, 2009 2:48 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests