No sound in guest Windows 10, host Ubuntu 20.04

Discussions related to using VirtualBox on Linux hosts.
Post Reply
yvan02
Posts: 5
Joined: 3. Jun 2020, 18:11

No sound in guest Windows 10, host Ubuntu 20.04

Post by yvan02 »

The sound is OK in host with Pulseaudio server but not in VM.
Is this due to the connection refused to pulseaudio ? How to solve this problem ?

In log file :

00:00:01.940169 Audio: Initializing PulseAudio driver
00:00:01.943725 PulseAudio: Using v13.99.0
00:00:01.948363 PulseAudio: Failed to connect to server: Connexion refusée
00:00:01.948494 PulseAudio: Retrieving server information ...
00:00:01.948519 PulseAudio: Server information not available, skipping enumeration

Driver host : Pulseaudio
Controler : Intel Audio HD

VirtualBox 6.1.8 r137981
Ubuntu 20.04 LTS
yvan02
Posts: 5
Joined: 3. Jun 2020, 18:11

Re: No sound in guest Windows 10, host Ubuntu 20.04

Post by yvan02 »

Up
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: No sound in guest Windows 10, host Ubuntu 20.04

Post by mpack »

A zipped log will attract more attention than "up".
yvan02
Posts: 5
Joined: 3. Jun 2020, 18:11

Re: No sound in guest Windows 10, host Ubuntu 20.04

Post by yvan02 »

Here the zipped log file.
Attachments
Windows-2020-06-22-06-40-28.tar.gz
(387 Bytes) Downloaded 8 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: No sound in guest Windows 10, host Ubuntu 20.04

Post by mpack »

387 bytes? I don't know what you posted, but no way that's a zipped log. Which is strange given that you were able to excerpt from the log above.

With the VM fully shut down, right click it in the GUI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
yvan02
Posts: 5
Joined: 3. Jun 2020, 18:11

Re: No sound in guest Windows 10, host Ubuntu 20.04

Post by yvan02 »

Here the zip file.
Attachments
Vbox.log.zip
(30.64 KiB) Downloaded 7 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: No sound in guest Windows 10, host Ubuntu 20.04

Post by mpack »

00:00:01.765668 Host RAM: 3835MB (3.7GB) total, 1245MB available
...
00:00:01.930901 RamSize <integer> = 0x0000000075600000 (1 969 225 728, 1 878 MB)
00:00:01.931844 VRamSize <integer> = 0x0000000008000000 (134 217 728, 128 MB)
...
00:00:02.427559 CPUM: Physical host cores: 2
...
00:00:01.930894 NumCPUs <integer> = 0x0000000000000002 (2)
I'm amazed this VM runs at all, with both RAM and CPU being heavily overcommited.

As to the audio problem, the only indication I see is the same thing you saw:
00:01:30.572843 PulseAudio: Retrieving server information ...
00:01:30.572893 PulseAudio: Server information not available, skipping enumeration
Which I'm going to guess means some kind of audio config problem on the host, like the service is not installed at all. However a Linux person should really comment on that.
yvan02
Posts: 5
Joined: 3. Jun 2020, 18:11

Re: No sound in guest Windows 10, host Ubuntu 20.04

Post by yvan02 »

You don't help me much. The pulseaudio server works well though.
Post Reply