Snes9x gives sub 60fps under opengl/software/Xvideo in Linux

If you're having problems with Snes9x, or think you've found a bug, this is the place to be.
User avatar
BearOso
Official GTK/Linux Porter/Dev
Posts: 460
Joined: Tue Oct 02, 2007 12:50 am

Post by BearOso »

the_randomizer wrote: I was running them, but I went into Change Desktop Background->Visual Effects and clicked "none" to make sure I wasn't running anything unnecessary. And since the drivers for the Intel GPU are old, what is the most efficacious way of updating without me slaughtering the drivers this time? I seem to have bad luck with Linux. I also made sure the vsync mode was set to "Always synchronize with vertical refresh/application chooses the minimum swap interval" under the DRI control panel. Still, maybe it's just me, but having to set it to 31540Hz seems a little extreme.
A refresh rate of 57.610hz is more extreme than that, needing a sound rate of 30713hz, which is going to sound noticeably out of pitch.

Your drivers aren't _that_ old--they're from September last year. It's just that there have been some very nice performance improvements in the very latest drivers. Unfortunately, you're not going to be able to easily update them on a binary distribution like Ubuntu. The drivers are tied into the kernel, and the kernel is tied into other driver modules, making everything difficult to change. You'll likely just have to wait until the distribution itself is updated. Of course, the Ubuntu packages are still patching to disabling page flipping, which would be a huge benefit here, so it may not be much better in the future, either.

The "xorg-edgers" PPA has better drivers, but if you aren't already familiar with PPAs or debian repositories then I wouldn't recommend it. If, on the other hand, your sole purpose is to run Snes9x then you could read up and try it.

If you're willing to deal with some video skipping with your current drivers, you can disable sound sync, enable vsync, set the input rate to 31987hz, and set the frame-skipping mode to "Automatic". That's the best you're probably going to get.
the_randomizer
Snes9x Orange Belt
Posts: 222
Joined: Sat Oct 17, 2009 4:18 am

Post by the_randomizer »

I think I'll keep sound sync on; without it, it sounds too much like Zsnes' SPC700 emulation (which I simply cannot stand listening to), and like I said before, I also disabled desktop themes, which I believe is also helping. But as to why OSS crackles/pops, I don't know. Not to mention I can't use OSS if I switch back and forth, but it's not that big of a deal. Right now I believe I have it set to 31630 or something to that effect and I don't really notice the skipping, but I need to make sure it isn't a fluke, so I'll do some more testing. Again, I apologize for putting any stress on you, but this has been a good learning experience for me when it comes to using Ubuntu. I thank you for teaching me. :D
Lisa: "I hope you all know you're sponsoring a murderous pirate!"
Sponsor: "A pirate!!? Well, that's hardly the image we need for Long John Silvers!"
Post Reply