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.
Löve window movment much slower on linux than on windows?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- 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?
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)
Re: Löve window movment much slower on linux than on windows?
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.
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.
- 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?
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.
EDIT: (posting during your edit) don't know about Intel drivers, but I don't expect them to be great.
Re: Löve window movment much slower on linux than on windows?
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.
Still shouldn't be (all) intel's fault since other apps (also ones using opengl and/or sdl) don't have this problem.
- 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?
I know, I have it with LÖVE and FooBilliard (don't ask).
Re: Löve window movment much slower on linux than on windows?
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.
CPU: LÖVE will take 100% of one core unless you call love.timer.sleep( ms ) at some point in the main loop.
Re: Löve window movment much slower on linux than on windows?
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.
re: cpu - i did that, i was talking about cpu usage while dragging the window, not general cpu usage.
Re: Löve window movment much slower on linux than on windows?
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?
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?
Re: Löve window movment much slower on linux than on windows?
I don't remember, will take a look in several hours.
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests