E-Maculation
https://emaculation.com/forum/

sheepshavers archlinux no audio device found
https://emaculation.com/forum/viewtopic.php?f=20&t=10481
Page 1 of 1

Author:  bach [ Fri Jan 03, 2020 2:46 pm ]
Post subject:  sheepshavers archlinux no audio device found

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:
$ 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 ?

Author:  adespoton [ Fri Jan 03, 2020 6:18 pm ]
Post subject:  Re: sheepshavers archlinux no audio device found

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.

Author:  bach [ Sat Jan 04, 2020 10:55 am ]
Post subject:  Re: sheepshavers archlinux no audio device found

i am using pulse audio over alsa
i tried to run
Code:
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 ?

Author:  bach [ Sat Jan 04, 2020 11:31 am ]
Post subject:  Re: sheepshavers archlinux no audio device found

ok i managed to get sound output from sheepshavers os 9

i made that
Quote:
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:
padsp ./SheepShavers

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/