You are not logged in.
Pages: 1
Topic closed
I'm simply not getting any sound at all while running zsnes, regardless of zsnes's internal sound settings. Running it in console I don't see any errors pertaining to sound (only stuff about it being unable to poll /dev/input/event, which I'm pretty sure is irrelevant). Alsa is to the best of my knowledge configured, and other applications can play sound simultaneously with each other without problems. In any case I closed everything that was using sound (to the point where using lsof | grep snd as root returned nothing), and there was still no sound out of zsnes. What else do I need to be looking at to troubleshoot this?
Offline
If, in zsnes, you go to config --> sound , is the sound enabled and the volume turned up?
In looking thru the zsnes man page, there are options to disable sound. Are there any shortcuts or anything like that that are turning them off?
Also, I noted that mine, when started from the terminal stated that the audio was opened and which driver was being used, as well as channels and rate.
HTH
Knute
Offline
if it's using sdl for audio try setting the SDL_AUDIODRIVER environment variable (refer to this page for more options)
export SDL_AUDIODRIVER=alsaif you can't get zsnes to work you should try bearoso's fantastic gtk port of snes9x. sound isn't quite as nice on some games and it's not nearly as fast, but it has such a nice/clean gui (by far the best i've seen on any emulator) and has a wide range of config options as well as netplay.
there's a PKGBUILD for it in AUR thanks to Marcel Wysocki. i've posted that PKGBUILD below along with some tweaks i've made that make it easier to update each release, specifically i just separated the emulator core and user interface version nums. other minor changes include removing the gtkglext depend and updating the project homepage.
# Contributor: Marcel Wysocki <maci@satgnu.net>
emuname=snes9x
emuver=1.51
uiver=76
pkgname=snes9x-gtk
pkgver=$emuver.$uiver
pkgrel=1
pkgdesc="GTK+ Version of snes9x, a portable Emulator for the Super Nintento Entertainment System"
url="http://code.google.com/p/snes9x-gtk/"
arch=('i686' 'x86_64')
license=('custom: snes9x')
depends=('libxtst' 'sdl' 'nasm' 'mesa' 'portaudio' 'libglade')
makedepends=(intltool)
source=(http://snes9x-gtk.googlecode.com/files/snes9x-$emuver-src-gtk-$uiver.tar.bz2)
md5sums=('ae16e8c68a116a23bcdf22fb975195f1')
build() {
# build snes9x-gtk with opengl
cd $srcdir/snes9x-$emuver-src/gtk
./configure --prefix=/usr --with-gtk --with-opengl --with-netplay --disable-warn
make || return 1
#Manually install the package
install -D -m755 snes9x-gtk $pkgdir/usr/bin/snes9x-gtk
#Install the .desktop and icon files
install -D -m644 data/snes9x.desktop $pkgdir/usr/share/applications/snes9x.desktop
install -D -m644 data/snes9x.svg $pkgdir/usr/share/pixmaps/snes9x.svg
#Install the license
install -D -m644 $srcdir/snes9x-1.51-src/doc/snes9x-license.txt $pkgdir/usr/share/licenses/snes9x-gtk/COPYING
}
# vim:set ts=2 sw=2 et:Offline
Are you using the arch-games binary package and getting this problem, or compiling it yourself?
[git] | [AURpkgs] | [arch-games]
Offline
Are you using the arch-games binary package and getting this problem, or compiling it yourself?
Built the bin32-zsnes package from the AUR (since I'm running 64-bit ARch the arch-games binary won't work).
e_tank, I tried setting the SDL_AUDIODRIVER variable and that didn't work. I don't want to switch to snes9x, though, since I have a lot of savestates that work with zsnes.
I tried compiling from the zsnes sources themselves, but that fails at the make step with a C error I don't understand.
Offline
try running the following command and post any output relating to audio/sound, might help someone find out what's wrong.
zsnes -s -ad sdl -r 6 -k 100 -v 0 -m <rom_file>when i run the above i get this
Audio Opened.
Driver: Simple DirectMedia Layer output
Channels: 2
Rate: 48000Offline
try running the following command and post any output relating to audio/sound, might help someone find out what's wrong.
zsnes -s -ad sdl -r 6 -k 100 -v 0 -m <rom_file>when i run the above i get this
Audio Opened. Driver: Simple DirectMedia Layer output Channels: 2 Rate: 48000
I fail to get that Audio Opened message and ZSNES runs, as it always has done, with no sound. There's simply no message about sound at all. All I get is
Be sure to check http://www.zsnes.com/ for the latest version.
ZSNES is written by the ZSNES Team (See AUTHORS.TXT)
ZSNES comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions;
please read 'LICENSE.TXT' thoroughly before doing so.
Use ZSNES -? for command line definitions.
Starting Mouse detection.
Unable to poll /dev/input/event5. Make sure you have read permissions to it.
Unable to poll /dev/input/event8. Make sure you have read permissions to it.
Unable to poll /dev/input/event7. Make sure you have read permissions to it.
Unable to poll /dev/input/event6. Make sure you have read permissions to it.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.
ZSNES could not find any joysticks.Last edited by Eschatokyrios (2009-09-16 01:54:21)
Offline
Did you ever get this going? I'm having the exact same problem.
Offline
Are you using the "DEFAULT" SDL audio device? I don't quite remember the variable, but SDL_Output or something like that needs to equal Default for stereo sources. I'm not 100% sure how to make this work, but I used to use it for some SDL programs. I'm the maintainer of the AUR zsnes package, and I have no problems myself.
Do other SDL audio programs not play sound for you?
On a side note, arch-games was kind enough to provide a packaged version of my bin32-zsnes PKGBUILD in their x86_64 repository as well as snes9x-gtk
.
Last edited by Intrepid (2009-10-13 17:58:35)
Intrepid (adj.): Resolutely courageous; fearless.
Offline
This may be a little late, but I fixed this problem by installing lib32-libpulse
Offline
This may be a little late, but I...
Yeah, two years is a bit much. Closing
Our Policy
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed