Gens included in current 2.12b ebuild will not use SDL. When starting from a terminal window and loading a ROM, I see this error: $ SDL: Audio timeout - buggy audio driver? (disabled) audio: Bad file descriptor The ROM loads without audio Reproducible: Always Steps to Reproduce: 1. Use existing 2.12b ebuild from portage: "emerge gens" (currently 2.12b) 2. Start gens from command-line with a user in the 'games' group: gens 2. Use default settings -- meaning don't configure gamepad, etc. 3. Load a ROM Actual Results: $ SDL: Audio timeout - buggy audio driver? (disabled) audio: Bad file descriptor The ROM loads with no audio Expected Results: * No warning messages about SDL missing or buggy as described in "Actual Results" section. * ROM loads and sound is heard. * First unemerged libsdl and sdl-mixer to be sure it wasn't an SDL issue. Also tried another game that uses SDL and it works fine. * Attaching a compressed log containing an strace (gens-sdl-strace.log.gz) starting gens, then opening a ROM, run til sound should be heard, close the ROM, and finally exiting the program. Information about packages installed $ eix -cn libsdl [ I] media-libs/libsdl (1.2.7-r3): Simple Direct Media Layer $ eix -cn sdl-mixer [ I] media-libs/sdl-mixer (1.2.5-r1): Simple Direct Media Layer Mixer Library [ I] x11-libs/gtk+ (2.6.2 1.2.10-r11): Gimp ToolKit + * The problem does NOT occur with gens-2.12a that's in portage. * Tried the special OpenGL versions by modifying both 2.12a and 2.12b ebuilds and downloading the tarballs from another site where they were available: http://www.telefonica.net/web2/wahwah69/gens-rc3.5-opengl.tar.gz * Attaching the ebuild that I modified to download rc3.5 to this bug report. * 'emerge info': gundam root # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 23 2005, 08:50:32)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fforce-addr -fomit-frame-pointer -fweb " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fforce-addr -fomit-frame-pointer -fweb -fvisibility-inlines-hidden " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://www.gigaload.org/gentoo.org/ http://gentoo.osuosl.org" LANG="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit X Xaw3d a52 aac aalib acpi alsa apache2 avi bash-completion canna cdr cjk cross crypt cups curl dio directfb divx4linux dvd dvdr dvdread emacs emboss encode esd exif fbcon flac foomaticdb fortran freetype freewnn gcj gdbm ggi gif gnome gnustep gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib immqt-bc ipv6 ithreads jack java jikes joystick jpeg junit libg++ libwww live lm_sensors m17n-lib mad matroska memlimit mikmod mime mmx mp3 mpeg nas ncurses network nls nptl objc ogg oggvorbis openal opengl pam pcmcia pda pdflib perl png pnp portaudio posix ppds profile pthreads python quicktime radeon readline real samba sdl skey slang soap sockets source speex spell sse sse2 ssl svg svga tcltk tcpd threads tiff truetype truetype-fonts trusted type1-fonts unicode usb v4l vcd videos wifi x86 xanim xine xinerama xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid zlib video_cards_radeon" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Created attachment 55950 [details] strace executing gens and receiving SDL error search for SDL and you will see the error message that I'm receiving
Created attachment 55951 [details] Updated ebuild that uses gens-rc3.5-opengl.tar.gz I modified the ebuild because the current 2.12b ebuild does not use the OpenGL version yet.
attach /home/andrye/.gens/gens.cfg as text/plain please.
Created attachment 55998 [details] My gens-dot-cfg As requested, here is my .gens.cfg configuration file.
Created attachment 55999 [details] My gens-dot-cfg As requested, here is my .gens.cfg configuration file.
The strace output is a bit useless, since the program creates threads with the clone() syscall, and the stracelog only follows the mainthread.
I can't reproduce this. I guess reopen if you have more information and it's still a problem.