Linux port
Moderator: ZSNES Mods
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
Sometimes the quality of any OS is dependent on the drivers and quality of the hardware that is used... Some low quality components (especially mobos) and poorly written drivers (or different drivers that cause the hardware to become "more sensitive") can cause problems hence some bad "reaction".. though that doesn't mean XP won't crash like any other OS.
-
- Lurker
- Posts: 109
- Joined: Sun Jan 30, 2005 10:06 pm
- Location: Wouldn't you like to know?
- Contact:
Anyways, shouldn't we get back on the subject of the Linux port instead of OS supremacy?
pagefault, one thing I think I mentioned as a bug before, but may or may not be just my system because of FreeBSD, is that I can't use any of the low-pass sound filters or the 8-point sound interpolation without ZSNES freezing when I go to the GUI while sound is playing and then back into the game. Removing my config files for that didn't do a thing.
pagefault, one thing I think I mentioned as a bug before, but may or may not be just my system because of FreeBSD, is that I can't use any of the low-pass sound filters or the 8-point sound interpolation without ZSNES freezing when I go to the GUI while sound is playing and then back into the game. Removing my config files for that didn't do a thing.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
I'm a computer programmer (in C++) and a future game designer.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
Since we were Windows XP bashing...
The first 2-3 days I had my XP box, I was screwing around with the screensavers. BAM. Windows crashed and restart. (this still happens to this very day)
~1.5 weeks ago.. Bought a Nyko controller, installed its drivers... opened ZSnes... BAM. Windows crashed and restart. Then I use the "Last known good config" option to revert XP back to before I installed the controller, and Windows is happy. Then after a little while I reinstalled the driver... 10-20 minutes later.. computer crashed and restarts. I'm actually suprised a basic Windows driver is actually more stable than the included drivers...
The first 2-3 days I had my XP box, I was screwing around with the screensavers. BAM. Windows crashed and restart. (this still happens to this very day)
~1.5 weeks ago.. Bought a Nyko controller, installed its drivers... opened ZSnes... BAM. Windows crashed and restart. Then I use the "Last known good config" option to revert XP back to before I installed the controller, and Windows is happy. Then after a little while I reinstalled the driver... 10-20 minutes later.. computer crashed and restarts. I'm actually suprised a basic Windows driver is actually more stable than the included drivers...
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
NSRT here.
Sure, and 98 is quick and fast when you use it right (without the internet).Metatron wrote:...And, surprise, Windows XP doesn't crash often (read: at all) if used properly either unless met with a hardware failure or a really horrible bug in software. Thus voiding your post and your argument halfway CyberBotX.
As for stopping, I myself don't get any if I let it initally sit idle after bootup for... ten seconds?
Please stop the outright general OS superiority biases (on ALL sides), they are bullshit a grand majority of the time.
Thing is, with a highly optimised Linux system, you can have all your system compiled specificly for your hardware rather than for the limiting generic 386 settings that binary distros (like debian, redhat, and windows XP) use. That alone is faster and more stable on newer hardware. So yes, you can have a stable Windows system, but Linux does the same stuff faster*.
But with that said, this is imensely off topic, so to redeem myself, here is a sugestion in the form of a question:
Was netplay in linux ever fixed (or dare I say "finaly added")?
* when done right.
I wanna learn how to play the accordian trumpet...
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
In other words you have never looked at the Linux build, since there wasn't a single official release that compiled on Linux that didn't have netplay.lunpa wrote: Was netplay in linux ever fixed (or dare I say "finaly added")?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
mine's up-to-date. Netplay causes zsnes (for me) to segfault, so for me there is play, but no net. I'll settle for 'half-implemented' 
I've made my own thread for such woes (http://board.zsnes.com/phpBB2/viewtopic ... 1040#51040). I'm just throwing my gripe with the client here.

I've made my own thread for such woes (http://board.zsnes.com/phpBB2/viewtopic ... 1040#51040). I'm just throwing my gripe with the client here.
I wanna learn how to play the accordian trumpet...
-
- Lurker
- Posts: 109
- Joined: Sun Jan 30, 2005 10:06 pm
- Location: Wouldn't you like to know?
- Contact:
You know, I'm not sure if it's just my system's video card or if it's FreeBSD's OpenGL support or even if it's just ZSNES, but if I use any OpenGL video modes, the video is very, very slow, but if I use one of the few non-OpenGL modes, it runs perfectly fine. Anything I should try to get OpenGL video to run better?
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
I'm a computer programmer (in C++) and a future game designer.
-
- Dark Wind
- Posts: 1271
- Joined: Thu Jul 29, 2004 8:58 pm
- Location: Texas
- Contact:
-
- Lurker
- Posts: 109
- Joined: Sun Jan 30, 2005 10:06 pm
- Location: Wouldn't you like to know?
- Contact:
I guess I didn't have any other OpenGL apps, so I installed one called Xracer. And it ran just as slowly as ZSNES did. So that has to rule out ZSNES from the list of culprits for OpenGL problems. So it's either my video card or FreeBSD itself. Wish there was some other way to test it, but I don't have another 3D video card to put in my system.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
I'm a computer programmer (in C++) and a future game designer.
Maybe you didn't set up DRI correctly, and it's running in software mode.CyberBotX wrote:I guess I didn't have any other OpenGL apps, so I installed one called Xracer. And it ran just as slowly as ZSNES did. So that has to rule out ZSNES from the list of culprits for OpenGL problems. So it's either my video card or FreeBSD itself. Wish there was some other way to test it, but I don't have another 3D video card to put in my system.
-
- Lurker
- Posts: 109
- Joined: Sun Jan 30, 2005 10:06 pm
- Location: Wouldn't you like to know?
- Contact:
How would I go about checking if that's the case? In my xorg.conf file, I have the GLX and DRI modules loaded. I also had to disable the omitting of the DGA extension because of VMware. I do understand what you are trying to get at, but I don't know how to check for software or hardware rendering.
[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
I'm a computer programmer (in C++) and a future game designer.
Code: Select all
glxinfo | grep rendering
With an ATI card, you can either use the Direct Rendering Infrastructure (DRI), or get ATI's binary linux drivers. Many people say the binary drivers suck, and they probably do, but there is no open source driver which fully supports the R300 series of ATI cards. Though there is an effort to produce such an open source work: http://r300.sourceforge.net/.
If you don't have a card that new, DRI will provide an appropriate interface between your video card and any software (like OpenGL) that can make effective use of it.
This wiki is a very good place to start learning about DRI: http://dri.freedesktop.org/wiki/.
For nvidia cards, you don't really have a choice. There is no open source project that provides 3D acceleration for nvidia-based GPUs. However, nvidia's binary drivers are excellent. Nvidia packages their linux binary in some sort of compressed executable (".run"). [They previously use RPMs, which was annoying because it did not support all distributions.] Nvidia also documents their driver thoroughly. Try these links:
http://www.nvidia.com/object/linux_disp ... -7174.html
ftp://download.nvidia.com/XFree86/Linux ... README.txt
One of the aspects of Gentoo that I love is that it's very easy to install the nvidia driver. "emerge nvidia-glx" (which pulls in nvidia-kernel if it's not installed already), and then update xorg.conf .
With nvidia cards, you shouldn't have the "DRI" module loaded in your X server. With ATI cards, you need "DRI" and "GLX" (for OpenGL) support. "GLX" needs to be referencing the original X11 code for ATI systems, though, and not the nvidia binaries (which it will unless you accidently installed them).
Another important thing to keep in mind is that with linux DRI has a kernel-side module which must be built/loaded. I don't know how this works with *BSD systems, but the DRI wiki should cover it.
This HOWTO is a little bit outdated, but it might help with setting up ATI support:
http://bluszcz.jabberpl.org/radeon_dri_howto.txt
In any case, there's a ton of information out there about this. Google for terms more specific to your problems and you'll get less generic results.
If you don't have a card that new, DRI will provide an appropriate interface between your video card and any software (like OpenGL) that can make effective use of it.
This wiki is a very good place to start learning about DRI: http://dri.freedesktop.org/wiki/.
For nvidia cards, you don't really have a choice. There is no open source project that provides 3D acceleration for nvidia-based GPUs. However, nvidia's binary drivers are excellent. Nvidia packages their linux binary in some sort of compressed executable (".run"). [They previously use RPMs, which was annoying because it did not support all distributions.] Nvidia also documents their driver thoroughly. Try these links:
http://www.nvidia.com/object/linux_disp ... -7174.html
ftp://download.nvidia.com/XFree86/Linux ... README.txt
One of the aspects of Gentoo that I love is that it's very easy to install the nvidia driver. "emerge nvidia-glx" (which pulls in nvidia-kernel if it's not installed already), and then update xorg.conf .
With nvidia cards, you shouldn't have the "DRI" module loaded in your X server. With ATI cards, you need "DRI" and "GLX" (for OpenGL) support. "GLX" needs to be referencing the original X11 code for ATI systems, though, and not the nvidia binaries (which it will unless you accidently installed them).
Another important thing to keep in mind is that with linux DRI has a kernel-side module which must be built/loaded. I don't know how this works with *BSD systems, but the DRI wiki should cover it.
This HOWTO is a little bit outdated, but it might help with setting up ATI support:
http://bluszcz.jabberpl.org/radeon_dri_howto.txt
In any case, there's a ton of information out there about this. Google for terms more specific to your problems and you'll get less generic results.
-
- Lurker
- Posts: 109
- Joined: Sun Jan 30, 2005 10:06 pm
- Location: Wouldn't you like to know?
- Contact:
Thanks a lot, Kagerato, that worked.
I had an Nvidia GeForce 4, and luckily for me, FreeBSD has a port for the nvidia driver and it works great. ^_^

[url=http://www.cyberbotx.com/]SNES Sprite Animations[/url], made by an Insane Killer Robot.
I'm a computer programmer (in C++) and a future game designer.
I'm a computer programmer (in C++) and a future game designer.
-
- Regular
- Posts: 317
- Joined: Tue Sep 14, 2004 12:48 am
- Location: In a small padded white room
- Contact:
I was going to ask for better sound support, but you've changed something in the recent WIPs. I don't know quite what it is, but it's sounds a lot better. I thought maybe I was mistaken, but I just compiled the 2004 May 05 WIP to check and there is a big difference. Probably should read that changelog thing every once in awhile...
I do have a few things I want though.
1) debugger support would be nice. I wasn't too fond of the DOS one though. I couldn't tell if you could do read/write breakpoints. It seemed like it was only PC breakpoints which I don't use very often. But maybe I was using it wrong.
2) full screen opengl aspect ratio modes. (ODR F) I'm using some windowed one right now. It works fine, but I don't like windowed mode.
3) maybe this is already possible, but I'd like the version to show the CVS date, rather than the compilation date. Maybe an option in autoconf?
4) I'd like the configure file to be included with the source distribution. You wouldn't need to include autogen.sh if you included the configure script.
I do have a few things I want though.
1) debugger support would be nice. I wasn't too fond of the DOS one though. I couldn't tell if you could do read/write breakpoints. It seemed like it was only PC breakpoints which I don't use very often. But maybe I was using it wrong.
2) full screen opengl aspect ratio modes. (ODR F) I'm using some windowed one right now. It works fine, but I don't like windowed mode.
3) maybe this is already possible, but I'd like the version to show the CVS date, rather than the compilation date. Maybe an option in autoconf?
4) I'd like the configure file to be included with the source distribution. You wouldn't need to include autogen.sh if you included the configure script.
http://jdrrant.blogspot.com/ - CODEpendent Blog
http://games.technoplaza.net/ - Emulation Goodies
http://games.technoplaza.net/ - Emulation Goodies
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Come up with a method to get the CVS date. If that even makes any sense at all.jdratlif wrote: 3) maybe this is already possible, but I'd like the version to show the CVS date, rather than the compilation date. Maybe an option in autoconf?
Please don't ask for things that are done.jdratlif wrote: 4) I'd like the configure file to be included with the source distribution. You wouldn't need to include autogen.sh if you included the configure script.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Regular
- Posts: 317
- Joined: Tue Sep 14, 2004 12:48 am
- Location: In a small padded white room
- Contact:
That of course may prove difficult. What about a configureable date? ./configure --with-version=20050404Nach wrote:Come up with a method to get the CVS date. If that even makes any sense at all.jdratlif wrote: 3) maybe this is already possible, but I'd like the version to show the CVS date, rather than the compilation date. Maybe an option in autoconf?
Ummm. It's not in http://www.ipherswipsite.com/files/zsne ... 04.tar.bz2Nach wrote:Please don't ask for things that are done.jdratlif wrote: 4) I'd like the configure file to be included with the source distribution. You wouldn't need to include autogen.sh if you included the configure script.
Perhaps you are referring to CVS? I didn't grab it from there though.
edit: I don't see it in the CVS archive either.
http://jdrrant.blogspot.com/ - CODEpendent Blog
http://games.technoplaza.net/ - Emulation Goodies
http://games.technoplaza.net/ - Emulation Goodies
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
And ipher has what to do with official source destributions? CVS isn't for code like that either.jdratlif wrote:Ummm. It's not in http://www.ipherswipsite.com/files/zsne ... 04.tar.bz2Nach wrote:Please don't ask for things that are done.jdratlif wrote: 4) I'd like the configure file to be included with the source distribution. You wouldn't need to include autogen.sh if you included the configure script.
Perhaps you are referring to CVS? I didn't grab it from there though.
edit: I don't see it in the CVS archive either.
http://prdownloads.sourceforge.net/zsne ... z?download
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- Regular
- Posts: 317
- Joined: Tue Sep 14, 2004 12:48 am
- Location: In a small padded white room
- Contact:
I don't think people should need autoconf on their system whether they are compiling from CVS, or from cvs snapshots put together by ipher.Nach wrote:And ipher has what to do with official source destributions? CVS isn't for code like that either.
http://prdownloads.sourceforge.net/zsne ... z?download
I think CVS should be for code like that, but it is your project. If you don't want to do it, then don't.
http://jdrrant.blogspot.com/ - CODEpendent Blog
http://games.technoplaza.net/ - Emulation Goodies
http://games.technoplaza.net/ - Emulation Goodies
Most projects using autoconf require autoconf when compiling from CVS. There's not much point in having automatically generated files cluttering up your CVS change history.jdratlif wrote:I don't think people should need autoconf on their system whether they are compiling from CVS, or from cvs snapshots put together by ipher.
As for the CVS snapshots, that's up to ipher to generate those files or not.
-
- Regular
- Posts: 317
- Joined: Tue Sep 14, 2004 12:48 am
- Location: In a small padded white room
- Contact:
Hmmm... Well, I don't use CVS builds very much. It's not really important; it was just a thought.anomie wrote:Most projects using autoconf require autoconf when compiling from CVS. There's not much point in having automatically generated files cluttering up your CVS change history.jdratlif wrote:I don't think people should need autoconf on their system whether they are compiling from CVS, or from cvs snapshots put together by ipher.
As for the CVS snapshots, that's up to ipher to generate those files or not.
http://jdrrant.blogspot.com/ - CODEpendent Blog
http://games.technoplaza.net/ - Emulation Goodies
http://games.technoplaza.net/ - Emulation Goodies