Could not init SDL_VIDEO: No available video device

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Could not init SDL_VIDEO: No available video device

Post by Kaze »

Code: Select all

This is LOVE 0.5.0 (Salted Nuts).

INIT love.filesystem [PhysFS]
INIT love.graphics [OpenGL/DevIL/FreeType]
Could not init SDL_VIDEO: No available video device
QUIT love.graphics [OpenGL/DevIL/FreeType]
QUIT love.filesystem [PhysFS]
:cry:

Oops, wrong forum. :o
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Could not init SDL_VIDEO: No available video device

Post by bartbes »

You might want to start by saying what OS you use.
Some thing I came up with:
Windows
  • Video driver doesn't support it
Linux
  • No permissions
  • DISPLAY environment variable not set
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Could not init SDL_VIDEO: No available video device

Post by Kaze »

bartbes wrote: Linux
  • No permissions
  • DISPLAY environment variable not set
Tried both.
Ubuntu 8.10.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Could not init SDL_VIDEO: No available video device

Post by bartbes »

Ok if DISPLAY is really set to :0 (the default X11 screen) answer the following questions:
  • Have you compiled from source? If so have you got the X11 dev files?
  • Can you run other X programs from the same console? (I guess you ran it from console)
  • Have you tried 'xhost +localhost'?
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Could not init SDL_VIDEO: No available video device

Post by Kaze »

bartbes wrote:Ok if DISPLAY is really set to :0 (the default X11 screen) answer the following questions:
  • Have you compiled from source? If so have you got the X11 dev files?
  • Can you run other X programs from the same console? (I guess you ran it from console)
  • Have you tried 'xhost +localhost'?
No
Don't know
Yes
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Could not init SDL_VIDEO: No available video device

Post by bartbes »

Kaze wrote: Don't know
The idea was that you'd test it.
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Could not init SDL_VIDEO: No available video device

Post by Kaze »

bartbes wrote:
Kaze wrote: Don't know
The idea was that you'd test it.
I'm new to Linux. :cry:
What's X? :|
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Could not init SDL_VIDEO: No available video device

Post by bartbes »

OK, X is the graphical thingy, every screen etc is drawn on X.
You might know you have a desktop environment (like Gnome or KDE), however even that is run on X.
Basically: X is the program on which all programs with a GUI work.
You might be able to recognize an empty X screen when you boot your pc, when it's empty it's background is totally covered with grey dots, and the mouse pointer is a cross.

That's enought introduction to X.
So when I said if you were able to run other X programs, I meant something like firefox (any program with a GUI will do).

BTW, there is a way to open it with Nautilus/Konqueror/whatever you use for opening files. As you have said you have ubuntu, that means you have Gnome, which means you have Nautilus (which is basically a clone of the 'explorer' found in windows).

If you don't understand something, please ask. The linux (and especially the ubuntu) community doesn't mind to help. (Yeah, I'm using ubuntu too)
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Could not init SDL_VIDEO: No available video device

Post by Kaze »

Okay, I understand.
I ran firefox from terminal and it worked fine, and I can't run love from nautilus/gnome either.
User avatar
osgeld
Party member
Posts: 303
Joined: Sun Nov 23, 2008 10:13 pm

Re: Could not init SDL_VIDEO: No available video device

Post by osgeld »

just wondering what kind of video card do you have and did you install any drivers for it (or are you using what ubuntu installed when you set the system up)
Post Reply

Who is online

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