zsnes on embedded linux machine

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
zezami
New Member
Posts: 3
Joined: Wed Sep 29, 2004 10:34 am

zsnes on embedded linux machine

Post by zezami »

I have a VIA epia5000 embedded system and have installed linux 2.4.27 on it.

I'm using uClibc and have installed all libs necessary for zsnes (png, sdl, etc). It compiles just fine but when im going to run it it just says "Could not set mode 512x448".

I have support for the VIA gfx and sound card added in my kernel.

Also, i've tried zsnes on another machine (same compile) using gentoo. zsnes started on that machine, but then i just got to a screen saying "press ''z'' to continue" but nothing happened when i did, nor did any other key or anything at all work.

Any ideas how to get things going?
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

Are you using X, or not? Did you compile SDL for SVGAlib?
[u][url=http://bash.org/?577451]#577451[/url][/u]
zezami
New Member
Posts: 3
Joined: Wed Sep 29, 2004 10:34 am

Post by zezami »

im not using x.. the emb. system is going to be on a 64mb DOM so there's not enough space for X.

Not sure if i compiled SDL for svgalib. I only ran the ./configure make and make install in my toolchain. (gcc uclibc binutils).
Noxious Ninja
Dark Wind
Posts: 1271
Joined: Thu Jul 29, 2004 8:58 pm
Location: Texas
Contact:

Post by Noxious Ninja »

I forget if you actually have to configure SDL for it. Try just installing SVGAlib and see if that works.
[u][url=http://bash.org/?577451]#577451[/url][/u]
zezami
New Member
Posts: 3
Joined: Wed Sep 29, 2004 10:34 am

Post by zezami »

can't seem to install svgalib for some reason with in my toolchain.. works fine without it (glibc etc) though..

i've installed directfb though but it's still not working..
the problem seems to be that SDL cannot find the video driver.
I've tried some other programs using sdl aswell and it just says it cannot find the videodriver.

I found on the SDL website that it tries to use the X11 driver as default, and that u shoudl set the environment variabnle SDL_VIDEODRIVER="{directfb|svgalib|etc}"
but it makes no difference.. i still get the same "cannot find videodriver" error :(
Jagasian
Rookie
Posts: 16
Joined: Fri Oct 15, 2004 3:10 pm

Post by Jagasian »

Is the EPIA 5000 going to be fast enough to emulate the SNES at a decent framerate, without a high frame skip? I own an EPIA 5000, used it as a desktop for a while and now use it in my 24 hour a day file server. They are great little boards, but they are not very good performers, especially with regards to gaming.

By the way, have you tried LinuxBIOS? It works on the EPIA 5000. Basically it lets you replace your VIA BIOS with an embedded version of Linux. One great feature is that you can boot in about 4 seconds! You can also get away with using a harddisk because LinuxBIOS is installed on your flash BIOS chip, but considering that you probably want to store tons of ROMs, that aspect probably isn't important to you.
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

Jagasian wrote:By the way, have you tried LinuxBIOS? It works on the EPIA 5000. Basically it lets you replace your VIA BIOS with an embedded version of Linux. One great feature is that you can boot in about 4 seconds!
Now, if only boards would implement a 3GB flash chip used strictly for the OS, and Microsoft made an OS which supported it. That would be something. :wink:
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
darklegion
New Member
Posts: 5
Joined: Fri Oct 22, 2004 1:40 pm

Post by darklegion »

You'll have to compile SDL again I'm afraid...I don't think sdl checks to see if svgalib is installed so you'll have to tell it to check for it:

Code: Select all

 ./configure --help | less 
Also check the output after you have run configure to make sure that it picked it up....if not you have to tell it exactly where svgalib is installed.



zezami wrote:can't seem to install svgalib for some reason with in my toolchain.. works fine without it (glibc etc) though..

i've installed directfb though but it's still not working..
the problem seems to be that SDL cannot find the video driver.
I've tried some other programs using sdl aswell and it just says it cannot find the videodriver.

I found on the SDL website that it tries to use the X11 driver as default, and that u shoudl set the environment variabnle SDL_VIDEODRIVER="{directfb|svgalib|etc}"
but it makes no difference.. i still get the same "cannot find videodriver" error :(
Post Reply