sheepshavers archlinux no audio device found

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
bach
Space Cadet
Posts: 8
Joined: Fri Jan 03, 2020 11:04 am

sheepshavers archlinux no audio device found

Post 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 ?
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: sheepshavers archlinux no audio device found

Post 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.
bach
Space Cadet
Posts: 8
Joined: Fri Jan 03, 2020 11:04 am

Re: sheepshavers archlinux no audio device found

Post 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 ?
bach
Space Cadet
Posts: 8
Joined: Fri Jan 03, 2020 11:04 am

Re: sheepshavers archlinux no audio device found

Post 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
Post Reply