
Like the title says, basically.
I've seen a couple of threads on getting ZSNES (yes, I can spell it, and no, I'm not going to ask for ROMs) running on Red Hat and Fedora distributions, and thought I'd add what I've been able to do, i.e. I got it ... "half" running, and see if I can't get any advice on how to get it to work better on my setup.
When I originally tried to install ZSNES using GCC, I followed the instructions in the readme, and got the "no available video device" error, so I read the FAQ, googled the site, and read this thread, this thread, this, and this thread.
This is what I did to get ZSNES running:
Following Nach's comment in this thread, I uninstalled SDL (you'll cry when you see the list of dependencies to be removed) so I could reinstall from source code and configure it manually to use SVGAlib. I may not have needed to do this, however, as I'm still a nub. I found out that SVGAlib is not installed by default on Fedora Core 5, so I installed it and its dev package through Yumex - the GUI for the Yum package manager. When compiling SDL, I found another unsatisfied dependency - GCC started complaining about glu.h being missing. Apparently, Fedora removed the mesa-libGLU-devel package, I have no idea why. Once those dependencies were satisfied, SDL compiled normally, and ZSNES compiled and ran on Fedora Core.
- Uninstall SDL.
- Install SVGAlib and SVGAlib-devel.
- install mesa-libGLU-devel with the command
Code: Select all
# yum -y install mesa-libGLU-devel
- configure and install SDL with
Code: Select all
$ ./autogen.sh $ make $ su # make install
Code: Select all
# svn co https://svn.bountysource.com/zsnes/trunk/ zsnes
# exit
$ cd /$YOUR_ZSNES_FOLDER/src
$ ./autogen.sh
$ su
# make
# make install
Anyway, I believe that will get ZSNES running on Fedora Core 5, and possibly Red Hat as well. On a single-screen setup with no proprietary video drivers. Unfortunately, I don't fancy messing about with my video driver setup at the moment, so I'm not able to confirm whether or not it will run - It runs on my machine, but there are a few problems with it:
- When I run ZSNES, I have to run it as root, or I get the "could not set (whatever)-GL video mode" error. I think this is because the mesa-libGLu-devel package installed with root as the owner, and I need to change the permissions.
- When ZSNES runs, I lose dual-screen, and instead have two copies of the same fullscreen. It gives me crazy "your videocard just died" artefacts if I try to run it in any windowed mode.
- When I quit ZSNES, my Xserver dies - I get artefacts on a totally incomprehensible screen.
The important info for my system (I think. Please ask me if you need anything else):
- 2.6.17-1.2187_FC5 (i686)
- Athlon 64 3800+
- 7900GT
- nVidia driver
- TwinView
Oops:
- ZSNES_1_42 WIP