Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine 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.
Post Reply
User avatar
Raj
Prole
Posts: 15
Joined: Sun Nov 05, 2017 3:40 pm

Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by Raj »

A game that is running flawlessly in windows is EXTREMELY UNPLAYABLY SLOW(barely moving) in Ubuntu 14.04. I can't understand what's going on. No problem with the coding.
Last edited by Raj on Fri Nov 17, 2017 10:11 am, edited 2 times in total.
User avatar
erasio
Party member
Posts: 118
Joined: Wed Mar 15, 2017 8:52 am
Location: Germany

Re: Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by erasio »

How are you running the game on Linux?

Is it on different machines?

Did you make sure your graphics card is being used on Linux?
User avatar
Raj
Prole
Posts: 15
Joined: Sun Nov 05, 2017 3:40 pm

Re: Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by Raj »

@erasio
The same way I am running it on windows, using zerobrane studio.

No, it's on the same machine.

I have the intel integrated graphics card. I did some researching and found out Ubuntu comes with Intel drivers by default.

No idea why is this happening.
grump
Party member
Posts: 947
Joined: Sat Jul 22, 2017 7:43 pm

Re: Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by grump »

Raj wrote: Fri Nov 17, 2017 5:49 am A game that is running at 60 fps and 17 milliseconds delta time is not working in Ubuntu 14.04 (getting 0.1 millisecond delta time), the sprites are not moving at all.
0.1 ms delta time means it's running fast, not slow. Right? My guess is no vsync and your code can't handle that.
No problem with the coding.
Ah, okay.
KayleMaster
Party member
Posts: 234
Joined: Mon Aug 29, 2016 8:51 am

Re: Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by KayleMaster »

Maybe he meant 0.1 s.
User avatar
Raj
Prole
Posts: 15
Joined: Sun Nov 05, 2017 3:40 pm

Re: Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by Raj »

@grump oh, you are absolutely right. I have to edit my question. But I don't know why this crazy stuff is happening. I mean seriously there is no problem with the coding, since it runs fine on windows at 60 frames per second flawlessly. But here in Ubuntu, it moves 1 pixel in 3 seconds. Very strange. Also even if vsync was disabled, I would see tearing and stuff but it won't get this much messed up. Idk.
User avatar
Raj
Prole
Posts: 15
Joined: Sun Nov 05, 2017 3:40 pm

Re: Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by Raj »

Problem solved. version conflict.
sphyrth
Party member
Posts: 260
Joined: Mon Jul 07, 2014 11:04 am
Contact:

Re: Love2D is UNPLAYABLY slow in Ubuntu 14.04 but runs fine on windows

Post by sphyrth »

Nice to have a Rubber Duck.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot] and 10 guests