Author Topic: No such device /dev/dsp CPC++ emulator  (Read 923 times)

0 Members and 1 Guest are viewing this topic.

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 227
  • Country: au
  • Fraser
  • Liked: 96
  • Likes Given: 289
No such device /dev/dsp CPC++ emulator
« 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.
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2274
  • Likes Given: 3478
Re: No such device /dev/dsp CPC++ emulator
« Reply #1 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.


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 227
  • Country: au
  • Fraser
  • Liked: 96
  • Likes Given: 289
Re: No such device /dev/dsp CPC++ emulator
« Reply #2 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.
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

Offline mahlemiut

  • CPC6128
  • ****
  • Posts: 291
  • Country: nz
  • Liked: 147
  • Likes Given: 53
Re: No such device /dev/dsp CPC++ emulator
« Reply #3 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.
- Barry Rodewald
Amstrad CPC, Sharp X68000, Neo Geo Pocket, and Neo Geo AES system leader at HARP
http://www.homeactionreplay.org/