CPCWiki forum

General Category => Emulators => Topic started by: blackdalek on 14:21, 21 January 18

Title: No such device /dev/dsp CPC++ emulator
Post by: blackdalek on 14:21, 21 January 18
Thought I'd give CPC++ emulator a go...
"Computer says no..."

It draws up an empty black window, then promptly aborts with the following output in the terminal:

Code: [Select]
[LinuxPsg] Cannot open /dev/dsp (No such file or directory)
cpcpp: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.
Signal caught [6]...cleaning up
Aborted (core dumped)

Any clues how to fix this?
Running on an Ubuntu Linux system.
Title: Re: No such device /dev/dsp CPC++ emulator
Post by: arnoldemu on 14:47, 21 January 18
Thought I'd give CPC++ emulator a go...
"Computer says no..."

It draws up an empty black window, then promptly aborts with the following output in the terminal:

Code: [Select]
[LinuxPsg] Cannot open /dev/dsp (No such file or directory)
cpcpp: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.
Signal caught [6]...cleaning up
Aborted (core dumped)

Any clues how to fix this?
Running on an Ubuntu Linux system.
It's trying to enable audio.

I'm not sure which audio system it needs. Perhaps pulseaudio needs installung.


Title: Re: No such device /dev/dsp CPC++ emulator
Post by: blackdalek on 15:47, 21 January 18
Apparently that's an OSS error.

CPC++ must want to use OSS but Ubuntu ditched OSS for ALSA :(

I think I have to use padsp (redirects OSS audio devices to PulseAudio) to launch cpcpp... but I'm not sure how to use it correctly in this case.
Title: Re: No such device /dev/dsp CPC++ emulator
Post by: mahlemiut on 22:44, 21 January 18
ALSA does have OSS emulation.  On Arch, you can install the alsa-oss package, and load the snd-seq-oss, snd-pcm-oss and snd-mixer-oss kernel modules via modprobe.