#16667 closed defect (fixed)
ALSA: Failed to open "default" as output device: No such file or directory
Reported by: | mrbumpy409 | Owned by: | |
---|---|---|---|
Component: | audio | Version: | VirtualBox 5.1.20 |
Keywords: | alsa | Cc: | |
Guest type: | other | Host type: | Linux |
Description
Today my VirtualBox package was upgraded from version 5.1.18-114002~Ubuntu~xenial to 5.1.20-114628~Ubuntu~xenial. Now when I try to launch a virtual machine with the host audio driver set to "ALSA Audio Driver", I get an error message from VirtualBox with the following details:
No audio devices could be opened. Selecting the NULL audio backend with the consequence that no sound is audible. Error ID: HostAudioNotResponding Severity: Warning
The log file (attached) shows:
00:00:00.839799 ALSA: Failed to open "default" as input device: No such file or directory 00:00:00.840590 ALSA: Failed to open "default" as input device: No such file or directory 00:00:00.841414 ALSA: Failed to open "default" as output device: No such file or directory 00:00:00.842197 ALSA: Failed to open "default" as output device: No such file or directory
This is happening on both of my linux systems. Here are their details:
System 1:
- OS: KDE Neon 5.9.4 64-bit (Plasma Desktop 5.9.4, KDE Frameworks 5.33.0, Qt 5.7.1)
- CPU: Intel Core i7 930 (2.8 GHz quad-core)
- RAM: 12GB DDR3
- Video: NVIDIA GeForce GTX 970 w/ 4GB RAM (PCI Express)
- Sound Card 1: Sound Blaster Audigy 2 ZS Gold
- Sound Card 2: Echo Gina3G
- Linux Kernel: 4.8.0.46-generic
- NVIDIA video driver: 375.39
System 2:
- OS: KDE Neon 5.9.4 64-bit (Plasma Desktop 5.9.4, KDE Frameworks 5.33.0, Qt 5.7.1)
- PC: HP Pavilion m6-1035dx
- CPU/GPU: AMD A10-4600M APU with Radeon HD 7660G Graphics (using xorg radeon driver)
- RAM: 6GB DDR3 800 MHz
- Linux Kernel: 4.8.0.46-generic
Attachments (6)
Change History (25)
by , 8 years ago
Attachment: | virtualbox-alsa-fail.log added |
---|
follow-up: 2 comment:1 by , 8 years ago
I can't reproduce this issue. Can you please post your /etc/asound.conf and ~/.asoundrc if available?
comment:2 by , 8 years ago
Replying to aeichner:
I can't reproduce this issue. Can you please post your /etc/asound.conf and ~/.asoundrc if available?
I'm having the same problem.
Files /etc/asound.conf and ~/.asoundrc are missing
System 3
Linux 4.9.0-2-686-pae #1 SMP Debian 4.9.18-1 (2017-03-30) i686 GNU/Linux
Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
5.1.18-114002~Debian~stretch - everything is working!
by , 8 years ago
Attachment: | alsa-info.txt.r49qcKv02L added |
---|
by , 8 years ago
Attachment: | VBox audio problem (Raven9).log added |
---|
comment:3 by , 8 years ago
Same problem. ("VBox audio problem (Raven9).log" file)
System 4
OS: Ubuntu Linux 16.04.1 (Linux 4.8.0-46-generic #49~16.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux)
CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
RAM: 8Gb DDR3
Video: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1)
Video driver: nouveau
Sound card1: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
Sound card2: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1) [not used]
VirtualBox: 5.1.20 r114628 (Qt5.5.1) (from oracle repo)
No /etc/asound.conf or ~/.asoundrc files.
VirtualBox 5.1.18 and lower is worked fine.
by , 8 years ago
by , 8 years ago
Attachment: | VBox.log.1 added |
---|
comment:4 by , 8 years ago
Same problem ASUS laptop with intel chipset. Reverting to 5.1.18 solved the problem. No /etc/asound.conf. VBox 5.1.18 and 5.1.20 logs attached.
comment:5 by , 8 years ago
Same issue here, two systems: Linux Mint 18.1 KDE 64 bit host, AMD FX-8350, FX-9370; NVidia GeForce GTX 760, 960; 32GB RAM, HDA Nvidia audio.
Neither 5.1.20 nor testbuild 114652 solves the problem, both also have the absent mini-toolbar issues in seamelss and full screeen.
Test Build 5.1.19 r114236 works fine on all counts.
comment:6 by , 8 years ago
Hopefully fixed in the latest 5.1.x test builds (>= 114682) which you can find here.
Could you confirm? Thank you!
comment:7 by , 8 years ago
Yes, ALSA works in test build Version 5.1.21 r114683 (Qt5.6.1). Linux Mint 18.1 KDE 64 bit host, AMD FX-8350, FX-9370; NVidia GeForce GTX 760, 960; 32GB RAM, HDA Nvidia audio.
comment:8 by , 8 years ago
Same problem here on Gentoo. I backed down to 5.1.18 but left the installed Guest Additions in the Win 7 VMs at 5.1.20r114628 and that worked fine also.
Glad that you have a fix coming along.
comment:9 by , 8 years ago
The new test build doesn't do it for me... See VBox-BadMusic.log.gz with loads of log lines like:
00:02:07.004331 Audio: Warning: Mixing guest audio data of '[LUN#0] ac97.po (22050Hz, 2 Channels) (Guest)' to parent failed with VERR_BUFFER_OVERFLOW
Back to v5.1.18 for me...
comment:10 by , 8 years ago
follow-up: 12 comment:11 by , 8 years ago
I've got the same problem on vanilla up-to-date Debian 9 (Stretch). So reporting here just to confirm the issue.
I removed virtualbox-5.1_5.1.20-114628~Debian~stretch_amd64.deb (18-Apr-2017 13:21 64M) package and install the virtualbox-5.1_5.1.18-114002-Debian-stretch_amd64.deb (15-Mar-2017 18:59 64M) from http://download.virtualbox.org/virtualbox/5.1.18/ and I've got the sound back from the very same VM.
No other changes including reboot was made. The only change I've made - downgrade the deb package via apt.
~/.asoundrc file is present but didn't seem do much of a change here.
comment:12 by , 8 years ago
Replying to Longtime Linux User:
I've got the same problem on vanilla up-to-date Debian 9 (Stretch). So reporting here just to confirm the issue.
I removed virtualbox-5.1_5.1.20-114628~Debian~stretch_amd64.deb (18-Apr-2017 13:21 64M) package .../...
Well, there are test builds now (see frank's post above), so you should try these instead .
In my case, and with test build 5.1.21.114683, the sound still does not work properly (see the VBox-BadMusic.log.gz attached file)
follow-up: 15 comment:13 by , 8 years ago
dinosaur0, your problem is different. With 5.1.20 ALSA was not working for most people at all. Your log file shows that ALSA is working. All these audio-related warnings are a different problem.
comment:14 by , 8 years ago
I would like to encourage all people having this problem to test the latest 5.1.x test builds from here. The ALSA backend should work again. The sound quality is a different issue, still work in progress.
follow-up: 16 comment:15 by , 8 years ago
Replying to frank:
dinosaur0, your problem is different. With 5.1.20 ALSA was not working for most people at all. Your log file shows that ALSA is working.
ALSA is *not* working with v5.1.21 test builds: all I get is some cracking and sputtering in the loudspeaker, while v5.1.18 works like a charm !
comment:16 by , 8 years ago
Replying to dinosaur0:
Replying to frank:
dinosaur0, your problem is different. With 5.1.20 ALSA was not working for most people at all. Your log file shows that ALSA is working.
ALSA is *not* working with v5.1.21 test builds: all I get is some cracking and sputtering in the loudspeaker, while v5.1.18 works like a charm !
Again, that was not the question. At least you hear something. The 5.1.20 ALSA problem is that ALSA does not work at all, no crackling, nothing. Please read the ticket description again. I already said that the current audio crackling is a different problem.
comment:17 by , 8 years ago
Alsa and Pulse each work fine for audio I and O using VB Version 5.1.21 r115049 (Qt5.6.1) hosted by Linux Mint 18.1 KDE 64 bit host, AMD FX-8350, FX-9370; NVidia GeForce GTX 760, 960; 32GB RAM, HDA Nvidia audio.
comment:19 by , 8 years ago
Working for me with 5.1.22. Also, the several second audio delay from video seems to have been cleared up.
log file showing the alsa fail