Video init error! Help_me!


[kr at ayumi kr]$ dgen /mnt/win/Emulator/gens/roms/j_pond2.smd
sdl: Couldn’t init SDL: No available video device!
main: Couldn’t initialize graphics!
[kr at ayumi kr]$

Please help me, lads!
I have installed SDL under RedHat 8.0, but are unable to access programs that
uses SDL due to this error-messy as listed above my head here…

I’ve also read the SDL-FAQ only to discover that I don’t have anything like
`setenv’ installed :frowning: What am I supposed to do?

I also tried running sdl-config, but that one only respond in Greek :-/

I have tried running the programs as both root and whatnot, but it just won’t
do the trick.

Please help me!!

Sincerely,
/Kristoffer Relling
@Kristoffer_Relling

Here’s the first of many silly questions to come. Are you running X or
a Frame Buffer?

RobertOn Sat, 2003-02-15 at 07:43, Kristoffer Relling wrote:


[kr at ayumi kr]$ dgen /mnt/win/Emulator/gens/roms/j_pond2.smd
sdl: Couldn’t init SDL: No available video device!
main: Couldn’t initialize graphics!
[kr at ayumi kr]$

Please help me, lads!
I have installed SDL under RedHat 8.0, but are unable to access programs that
uses SDL due to this error-messy as listed above my head here…

I’ve also read the SDL-FAQ only to discover that I don’t have anything like
`setenv’ installed :frowning: What am I supposed to do?

I also tried running sdl-config, but that one only respond in Greek :-/

I have tried running the programs as both root and whatnot, but it just won’t
do the trick.

Please help me!!

Sincerely,
/Kristoffer Relling
krelling at c2i.net


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Do you run the program under X?On Sat, Feb 15, 2003 at 02:43:08PM +0100, Kristoffer Relling wrote:


[kr at ayumi kr]$ dgen /mnt/win/Emulator/gens/roms/j_pond2.smd
sdl: Couldn’t init SDL: No available video device!
main: Couldn’t initialize graphics!
[kr at ayumi kr]$

Please help me, lads!
I have installed SDL under RedHat 8.0, but are unable to access programs that
uses SDL due to this error-messy as listed above my head here…


Ivan Stankovic, @Ivan_Stankovic

Yay! Have mercy!
I’m running under X.

/KristofferOn Saturday 15 February 2003 14:53, Robert Diel wrote:

Here’s the first of many silly questions to come. Are you running X or
a Frame Buffer?

Robert

have you tried the old, setting SDL_VIDEODRIVER=dga or
SDL_VIDEODRIVER=x11? This specifies which video driver that SDL should
be using.
RobertOn Sat, 2003-02-15 at 09:25, Kristoffer Relling wrote:

On Saturday 15 February 2003 14:53, Robert Diel wrote:

Here’s the first of many silly questions to come. Are you running X or
a Frame Buffer?

Robert

Yay! Have mercy!
I’m running under X.

/Kristoffer


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Please help me, lads!
I have installed SDL under RedHat 8.0, but are unable to access programs that
uses SDL due to this error-messy as listed above my head here…

How did you install it? Did you install the RPM or build from source?
If you built from source, do you have the X11 development files installed?
If not, you need to install them and then reconfigure and rebuild SDL.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Ok! As of writing-time I’m checking this out … nope!
It gives me the same cruel error.

What I just did was:On Saturday 15 February 2003 23:05, Robert Diel wrote:

have you tried the old, setting SDL_VIDEODRIVER=dga or
SDL_VIDEODRIVER=x11? This specifies which video driver that SDL should
be using.
Robert


set SDL_VIDEODRIVER=dga
dgen /mnt/win/Emulator/gens/j_pond2.smd

…that one failed so I also tried SDL_VIDEODRIVER=x11…failed

Did I misunderstand?
I slightly remember this command/utility called `setenv’, but I don’t have
that one installed on this RedHat 8.0.

/Kristoffer

I downloaded:On Sunday 16 February 2003 03:40, Sam Lantinga wrote:

Please help me, lads!
I have installed SDL under RedHat 8.0, but are unable to access programs
that uses SDL due to this error-messy as listed above my head here…

How did you install it? Did you install the RPM or build from source?
If you built from source, do you have the X11 development files installed?
If not, you need to install them and then reconfigure and rebuild SDL.


SDL-1.2.5-1.src.rpm (installed its tar.gz into usr/local/src/ and
compiled/installed it)

SDL-devel-1.2.5-1.i386.rpm (installed it)

I dunno whether or not I have the X11-devel-files at all – in any case; where
can I download for them?

Also, as mentioned earlier I don’t have this `setenv’-chap installed which
resulted in that I were unable to follow the SDL-FAQ on this topic.
I’ve been searching for it, but it seems to me that no one has it available
for download.

/Kristoffer

setenv is used with the tcsh if I remember correctly and can easily be
substituted with export in bash which is the default shell installed
with red hat 8. so typing “export SDL_VIDEODRIVER=x11” will accomplish
the same thing.

RobertOn Sun, 2003-02-16 at 06:58, Kristoffer Relling wrote:

On Sunday 16 February 2003 03:40, Sam Lantinga wrote:

Please help me, lads!
I have installed SDL under RedHat 8.0, but are unable to access programs
that uses SDL due to this error-messy as listed above my head here…

How did you install it? Did you install the RPM or build from source?
If you built from source, do you have the X11 development files installed?
If not, you need to install them and then reconfigure and rebuild SDL.

I downloaded:

SDL-1.2.5-1.src.rpm (installed its tar.gz into usr/local/src/ and
compiled/installed it)

SDL-devel-1.2.5-1.i386.rpm (installed it)

I dunno whether or not I have the X11-devel-files at all – in any case; where
can I download for them?

Also, as mentioned earlier I don’t have this `setenv’-chap installed which
resulted in that I were unable to follow the SDL-FAQ on this topic.
I’ve been searching for it, but it seems to me that no one has it available
for download.

/Kristoffer


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

I downloaded:

SDL-1.2.5-1.src.rpm (installed its tar.gz into usr/local/src/ and
compiled/installed it)

SDL-devel-1.2.5-1.i386.rpm (installed it)

That’s your problem. You need to install the binary RPM, not the source RPM.
Grab it from the download page.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sweet! Knowledge is power!
I managed to solve my problem – What I had to do was to install some
X11-stuff and reinstall the SDL-package and compile it after I had deleted
some files that had been left alone from my previous attempt getting things
to work.

Voila! As all of a sudden everything works out perfectly.

Please forgive me for being such a pain in the arse :slight_smile:

Sincerely,
/KristofferOn Sunday 16 February 2003 17:25, Robert Diel wrote:

setenv is used with the tcsh if I remember correctly and can easily be
substituted with export in bash which is the default shell installed
with red hat 8. so typing “export SDL_VIDEODRIVER=x11” will accomplish
the same thing.

Robert