Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora mainly, but I am open to others.
Posts: 273
Rep:
No sound/Zsnes/Ubuntu 8.04
I'm not sure why, but whenever I try to install Zsnes sound does not work. No matter whether I run it as root or as a regular sound doesn't work. When I run it from the command line, I get an error (I'll post later as I am at work right now) saying something along the lines of it not being able to access alsa. That command seems to happen only when I run it as a regular user from the terminal. When I run it as sudo it doesn't come up.
If anyone has any idea why this might happen, please let me know. I'll post the exact error later.
Thanks in advance,
Brandon
Edit: this happens when I install Zsnes from the Ubuntu repositories. I can't exactly compile it because there are certain things that need to be installed (libpng, sdl) and Ubuntu doesn't seem to find them.
When I installed Zsnes in Fedora (it was compiled) everything worked great. Not sure what's wrong with the .deb package.
Last edited by BallsOfSteel; 05-20-2008 at 02:47 PM.
Distribution: Fedora mainly, but I am open to others.
Posts: 273
Original Poster
Rep:
I appear to not be get any errors when opening up zsnes from the command line as sudo or a regular user. Not sure what the problem is. It even says it opens up alsa and the audio channels just fine. No sound comes out though.
Sound is enabled through Zsnes, speakers are on and plugged in and volume is up.
I tried it and it worked. I'm running Mageia GNU/Linux. This may apply to all distributions because the file that must be edited is in the user's Home folder.
First, close ZSNES if it is open.
You must edit the following configuration file for ZSNES: /home/yourname/.zsnes/zsnesl.cfg (Replace the text yourname with your real username.)
You can open zsnesl.cfg using gEdit Text Editor.
Search for a line that should read: libAoDriver="auto"
Edit the line so that it reads: libAoDriver="sdl"
Save the file and close it.
Open ZSNES and you should have the sound working. The configuration forces ZSNES to use SDL.
I hope this information helps. Please, pass it on to other forums where you may be registered.
Last edited by tmarrero1234; 11-03-2011 at 02:45 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.