[Linux] Skale.rh9 & Alsa libraries
|
View previous topic :: View next topic |
Author |
Message |
the_unknown_gigolo Guest
|
Posted: Mon Aug 22, 2005 8:58 pm Post subject: [Linux] Skale.rh9 & Alsa libraries |
|
|
skale doesn't want to start, shouting something about alsa
The output:
---
./Skale.rh9
This program is FREEWARE
Until version 1.0 some features has been disabled and other ones are incomplete.This is a BETA version. Use it at your own risk.
Send comments, suggestions or bugs to: bugs@skale.org
Skale official website is http:\\www.skale.org
Enjoy it!!!!!.
baktery
ALSA lib pcm_softvol.c:689:(parse_control_id) field card is not an integer
Can't init sound. Try with another configuration.
---
Some misc info:
---
ldd ./Skale.rh9
linux-gate.so.1 => (0xffffe000)
libSDL-1.2.so.0 => /emul/linux/x86/usr/lib/libSDL-1.2.so.0 (0x55583000)
libpthread.so.0 => /lib32/libpthread.so.0 (0x555dd000)
libstdc++.so.5 => /emul/linux/x86/usr/lib/libstdc++.so.5 (0x5562f000)
libm.so.6 => /lib32/libm.so.6 (0x556e2000)
libc.so.6 => /lib32/libc.so.6 (0x55705000)
libdl.so.2 => /lib32/libdl.so.2 (0x5581f000)
libasound.so.2 => /emul/linux/x86/usr/lib/libasound.so.2 (0x55823000)
libX11.so.6 => /emul/linux/x86/usr/lib/libX11.so.6 (0x558d3000)
libXext.so.6 => /emul/linux/x86/usr/lib/libXext.so.6 (0x5599d000)
/lib/ld-linux.so.2 (0x55555000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32/libgcc_s.so.1 (0x559ab000)
---
---
I'm actually using gentoo:
emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.du.se/pub/os/gentoo http://linuv.uv.es/mirror/gentoo/ http://gentoo.inf.elte.hu/"
LANG="fr_FR@euro"
LC_ALL="fr_FR@euro"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnowex X a52 aac acpi alsa amd64 avi bash-completion berkdb bitmap-fonts bzip2 cdb cddb cdparanoia cdr crypt cups dga dri dts dvd dvdr eds encode esd fam ffmpeg flac flash foomaticdb fortran ftp gif gimp glut gnome gpm gstreamer gtk gtk2 gtkhtml imap imlib ipv6 java javascript jpeg ladcca live lm_sensors lzw lzw-tiff mad matroska mikmod mime ming mng mozcalendar mozsvg mp3 mpeg ncurses network nls nvidia ogg oggvorbis opengl pam pdflib perl png python quicktime readline real samba sasl scanner sdl sharedmem smartcard spell ssl symlink tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wmf xine xml2 xmms xpm xv xvid xvidix zlib linguas_fr userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
---
---
Soft:
Alsa version: 1.0.9b
Skale version: latest
---
Hard:
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: ASUSTeK Computer Inc.: Unknown device 812a
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 201
Region 0: I/O ports at e800
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
---
It's the first time i try to use skale and it seems nice on the paper. But i don't understand why you do only distribute an old redhat 9 dynamically linked binary and not anything sexier that could take care of newer third-parties applications improvements: ask someone to compile it for you if you don't have much time. A 64 bit edit would be a fancy move too.
thanks a lot. |
|
Back to top |
|
|
st3vie Skale Administrator
Joined: 13 Nov 2002 Posts: 641 Location: Beverwijk, The Netherlands
|
Posted: Mon Aug 22, 2005 9:44 pm Post subject: |
|
|
hmm, two weeks ago i had a similar problem, with another sound program though, or even maybe in startup,so i don't think it's really Skale related... anyway;
i removed /etc/asound.state, and made it new through i also had to set some volume levels again and unmute them, and i restarted the service Code: | /etc/init.d/alsasound restart |
perhaps this will work for you as well?
-st3vie |
|
Back to top |
|
|
the_unknown_gigolo Guest
|
Posted: Tue Sep 20, 2005 10:42 pm Post subject: |
|
|
nope
does not seem to be related to alsa configuration; i'm _almost convinced_ (only hypthetical) that it has to be a problem with either the 32bit emulation layer or alsa libraries version linkings.
i've recently decided to update alsa to 1.0.10_rc1 and it segfaulted on skale startup; as a second test I downgraded to alsa 1.0.8: same segfault.
Now I'm back with my current alsa revision 1.0.9b, i still have the same output described in my previous post and no segfault here.
Nota: kernel 2.6.13.2 or 2.6.12.9 patched with the usual gentoo specific stuff (gentoo-sources). Alsa compiled as module using via82xx driver, soundcore compiled-in.
Alsa works perfectly with other applications (audacity, ardour w/ jack, xine).
I'm out of luck and out of any fresh ideas to test...
Does anyone is able to use Skale under a system compiled for x86_64 and with the SDL 32bit emulation layer?
cheers |
|
Back to top |
|
|
the_unknown_gigolo Guest
|
Posted: Wed Sep 21, 2005 6:24 am Post subject: |
|
|
I recompiled alsa and setup my system to be able to use both plain alsa AND oss emulation layer through alsa: now skale launches and can output sound. In short: it works! Really odd since skale uses SDL framework to play music and SDL_AUDIODRIVER='alsa' on my machine.
I doubt it has really something to do w/ oss nor skale but perhaps reconfiguring my whole system via gentoo portage in combination with some new 'use' flags fixed some stuff... magic or voodoo i don't know but i'm now pleased.
cheers everyone. Let's go and rush playing some with skale until I break it again.... |
|
Back to top |
|
|
the_unknown_gigolo Guest
|
Posted: Wed Sep 21, 2005 6:28 am Post subject: |
|
|
I found out some things to do and not to do:
SDL_AUDIODRIVER='alsa' in fact hangs skale but
SDL_AUDIODRIVER='dsp' is just fine.
My mistake about the last post, now it's clearer: no alsa with skale, only oss. Too bad. |
|
Back to top |
|
|
st3vie Skale Administrator
Joined: 13 Nov 2002 Posts: 641 Location: Beverwijk, The Netherlands
|
Posted: Wed Sep 21, 2005 10:46 am Post subject: |
|
|
glad you got it to work! Strange though, i thought SDL would use alsa when available. Did you have problems with sound in other SDL applications?
There are some nice small SDL games in Portage to try it out.
anyways, happy tracking!
-st3vie |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|