Page 1 of 2

[Solved] Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 10:41 am
by Zulli4n
Hey everyone,

I've just installed Löve 0.9.0 on my computer (Ubuntu 13.10, 86_64x, Nvidia GTX 560 Ti), but I can't run it, it give me this error :

Code: Select all

zulli4n@zulli4n-pc:~$ love
Could not set video mode: No OpenGL support in video driver
Error: [string "boot.lua"]:322: Could not set window mode
stack traceback:
	[C]: in function 'assert'
	[string "boot.lua"]:322: in function <[string "boot.lua"]:233>
	[C]: in function 'xpcall'
Could not set video mode: No OpenGL support in video driver
(Same result if I try to launch any .love file, or any folder, obviously.)

Since I can't find anything about it after few hours of search, I now come to you and ask for your help. =(

I don't really know what kind of informations I can give...
-I've installed the libsdl2 we can find here (the "Raring" series, "Saucy" isn't in the list...).
-I also tried to compile the Löve sources myself, same result.
-I've tried differents Nvidia drivers : nvidia-319, nvidia-319-update, and Nouveau (the open-source one).

I don't really know what else I can try. If you guys have any idea...Thanks.

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 2:32 pm
by veethree
Tried installing the ppa from the home page?

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 2:43 pm
by Zulli4n
Yup. Everything seems to be ok, and up-to-date.

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 5:39 pm
by veethree
Zulli4n wrote:Yup. Everything seems to be ok, and up-to-date.
Well the error seems to speak for itself, your driver doesn't have openGL support, and löve uses opengl, hence the error. Do you have another OS installed along side ubuntu? if so does löve work on that?

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 5:51 pm
by Zulli4n
Yeah, but still, this error is weird, since I have no problem with OpenGL applications usually. (For exemple, glxgears can run without any problem)

I had Windows 7 x64 before, Löve used to work perfectly. Same GPU, just Windows Nvidia driver obviously.

EDIT : And Glmark2 works too.

Code: Select all

OpenGL Information
    GL_VENDOR:     NVIDIA Corporation
    GL_RENDERER:   GeForce GTX 560 Ti/PCIe/SSE2
    GL_VERSION:    4.3.0 NVIDIA 319.60

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 6:03 pm
by veethree
Weird indeed. Have you tried 0.8.0? Perhaps this has something to do with 0.9.0.

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 6:08 pm
by ryanleesipes
I'm on 13.10 and I haven't had any issues. Try uninstalling and reinstalling love.

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 6:29 pm
by Zulli4n
Well. I've uninstalled Löve 0.9.0, then installed 0.8.0. It works.

Right after, I uninstall everything and make a clean installation of Löve 0.9.0 : Same problem.

So, yeah, the problem comes from the version 0.9.0. Still a problem, since I don't want to use 0.8.0... =(


Just some details :

Code: Select all

zulli4n@zulli4n-pc:~/projets/löve$ sudo apt-cache policy love
love:
  Installé : 0.8.0-6ubuntu1
  Candidat : 0.9.0ppa4
 Table de version :
     0.9.0ppa4 0
        500 http://ppa.launchpad.net/bartbes/love-stable/ubuntu/ saucy/main amd64 Packages
 *** 0.8.0-6ubuntu1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
So, 0.8.0-6ubuntu1 works, 0.9.0ppa4 doesn't.

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 6:46 pm
by slime
Do other programs which use SDL 2 (e.g. Steam's Big Picture mode) work for you?

It sounds like SDL might be being built without GLX support on your system, for some reason.

Re: Can't launch Löve 0.9.0 on Ubuntu 13.10

Posted: Tue Jan 14, 2014 6:49 pm
by Zulli4n
Just tried it, Steam's Big Picture works perfectly.