Page 1 of 1

sheepshavers archlinux no audio device found

Posted: Fri Jan 03, 2020 2:46 pm
by bach
Hello,

i'm new here. Thank you for the great work you've made !
I am on archlinux and i manage to compile sheepshavers from macemu repository with --enable-sdl-video --enable-sdl-audio, launch and install Mac Os 9
My probleme is that i have no sound from OS9
My sound setup is working well through archlinux but sheepshavers is saying

Code: Select all

$ sudo ./SheepShaver
SheepShaver V2.4 by Christian Bauer and Mar"c" Hellwig
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
Reading ROM file...
WARNING: Cannot open audio: No available audio device
WARNING: No audio device found, audio output will be disabled.
selected Ethernet device type slirp
Detected CPU features: MMX SSE SSE2 SSE3 SSSE3
PowerPC CPU emulator by Gwenole Beauchesne
i can figure out how to resolve that for know.
any clue, advice ?

Re: sheepshavers archlinux no audio device found

Posted: Fri Jan 03, 2020 6:18 pm
by adespoton
Are you using ALSA on Arch, or do you have it set up to use PulseAudio or something else?

SDL-Audio is specifically looking for ALSA. You may need to do some tweaking there.

Re: sheepshavers archlinux no audio device found

Posted: Sat Jan 04, 2020 10:55 am
by bach
i am using pulse audio over alsa
i tried to run

Code: Select all

sudo padsp ./SheepShavers
without success

i also tried sheepshavers compiled without sdl-audio but with the same results

would you have an idea of what tweaks ?

Re: sheepshavers archlinux no audio device found

Posted: Sat Jan 04, 2020 11:31 am
by bach
ok i managed to get sound output from sheepshavers os 9

i made that
Set memory access
Due to a change in how programs in Linux are allowed to use memory, before using SheepShaver you need to set a variable in the file
/etc/sysctl.conf
Add this line: vm.mmap_min_addr = 0
restarted

and launched sheepshavers (compiled withour sdl) with padsp but without sudo

Code: Select all

padsp ./SheepShavers