Strange issue with sound not working in DOSbox and also Ports
-
Hi thanks for the reply. So the Audio option in the Retropie menu doesn't work as I've disabled the on-board sound chip. I just get the following error:
On-board audio disabled or not present
Do I have to re-enable it?
I'm also noticing errors before this which show up quickly in the terminal screen:
June 20 16:30:59 lvl0: VolumeControl::Init() - Failed to Attach to default card!
June 20 16:31:00 lvl0: AudioManager error - Unable to open SDL audio: ALSA: Couldn't open audio device: No such file or directory -
@reaktor24 said in Strange issue with sound not working in DOSbox and also Ports:
Do I have to re-enable it?
No. Remove the user config file for ALSA (
$HOME/.asoundrc
) and see if you get proper audio in emulators/ports/etc. -
@mitu said in Strange issue with sound not working in DOSbox and also Ports:
@reaktor24 said in Strange issue with sound not working in DOSbox and also Ports:
Do I have to re-enable it?
No. Remove the user config file for ALSA (
$HOME/.asoundrc
) and see if you get proper audio in emulators/ports/etc.There doesn't seem to be any such file. I did find 'asound.conf' inside the 'etc' directory
Inside this there is:
defaults.pcm.card 1
defaults.ctl.card 1I also seem to have something called 'PulseAudio' installed. Not sure if that is the thing causing problems.
-
@reaktor24 said in Strange issue with sound not working in DOSbox and also Ports:
.
There doesn't seem to be any such file. I did find 'asound.conf' inside the 'etc' directory
[..]
There is no such file on a default RetroPie install - did you add it yourself ?
I also seem to have something called 'PulseAudio' installed. Not sure if that is the thing causing problems
Yeah, that can cause issues. Did you also installed it yourself ?
-
Yes I believe I installed the Pulse Audio myself a few months ago when I was getting the VolumeControl error then. I remember it did seem to fix the issue but I think I must have still been using the internal sound chip. Shall I remove these from my Retropie system?
-
@reaktor24 said in Strange issue with sound not working in DOSbox and also Ports:
Shall I remove these from my Retropie system?
Yes, you should. Both PulseAudio and the
.conf
file you mention earlier, it shouldn't be needed. After that, reboot and check that your sound works andalsamixer
can modify the volume. -
@mitu said in Strange issue with sound not working in DOSbox and also Ports:
@reaktor24 said in Strange issue with sound not working in DOSbox and also Ports:
Shall I remove these from my Retropie system?
Yes, you should. Both PulseAudio and the
.conf
file you mention earlier, it shouldn't be needed. After that, reboot and check that your sound works andalsamixer
can modify the volume.Okay I've removed the .conf file as well as the pulse folder from etc. I tried to remove the pulseaudio application but it said no such application was installed.
Still same VolumeControl errors in Retropie though.
-
@reaktor24 said in Strange issue with sound not working in DOSbox and also Ports:
Still same VolumeControl errors in Retropie though.
That's EmulationStation, not RetroPie. Do you have sound/audio in emulators/ports/Dosbox ?
For the error in EmulationStation, you need to set the right Audio settings
- Audio Card: set it to Default
- Audio Device: set it to PCM or Master and see if you still get the error.
If you still get the error, run
aplay -L
and post the output. -
output is as follows:
null
Discard all samples (playback) or generate zero samples (capture)
default
output
sysdefault:CARD=Audio
USB Audio, USB Audio
Default Audio Devicefront:CARD=Audio, DEV=0
USB Audio, USB Audio
Front Speakerssurround21:CARD=Audio, DEV=0
USB Audio, USB Audio
2.1 Surround output to Front and Subwoofer speakerssurround40:CARD=Audio, DEV=0
USB Audio, USB Audio
4.0 Surround output to Front and Rear speakerssurround41:CARD=Audio, DEV=0
USB Audio, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakerssurround50:CARD=Audio, DEV=0
USB Audio, USB Audio
5.0 Surround output to Front, Center and Rear speakerssurround51:CARD=Audio, DEV=0
USB Audio, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakerssurround71:CARD=Audio, DEV=0
USB Audio, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakersiec958:CARD=Audio, DEV=0
USB Audio, USB Audio
IEC958 (S/PDIF) Digital Audio Outputdmix:CARD=Audio, DEV=0
USB Audio, USB Audio
Direct sample mixing devicedsnoop:CARD=Audio, DEV=0
USB Audio, USB Audio
Direct sample snooping devicehw:CARD=Audio, DEV=0
USB Audio, USB Audio
Direct hardware device without any conversionsplughw:CARD=Audio, DEV=0
USB Audio, USB Audio
Hardware device with all software conversions -
You should change the Audio Device in EmulationStation's settings to one of the entries listed by
aplay
. If you the option doesn't show up in the menu, then edites_settings
directly and fill in theAudioDevice
there.front:CARD=Audio, DEV=0
USB Audio, USB Audio
Front Speakerssurround21:CARD=Audio, DEV=0
USB Audio, USB Audio
2.1 Surround output to Front and Subwoofer speakerssurround40:CARD=Audio, DEV=0
USB Audio, USB Audio
4.0 Surround output to Front and Rear speakers
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.