Hyper V Ubuntu 20.04 (No Sound)

Associate
Joined
24 Mar 2018
Posts
1,439
Location
Brighton
Anybody got sound to work on Windows 11 Hyper V Ubuntu VM, I've tried a few scenarios but to no avail.
TPM Enabled
Secure boot Enabled
Bitlocker Enabled

Or is this just for Windoze as normal ?
Last time I played with VM's was Virtual Box which was ok but they sound allways had latency etc etc...
lag... blah,blah
 
Associate
OP
Joined
24 Mar 2018
Posts
1,439
Location
Brighton
Ok I got it working very well with......
This https://www.nakivo.com/blog/install-ubuntu-20-04-on-hyper-v-with-enhanced-session/
And This https://gist.github.com/rkttu/35ecab5604c9ddc356b0af4644d5a226#file-readme-txt

Code:
systemctl --user status pulseaudio.service

    Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-10-16 13:54:00 BST; 1min 23s ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 1181 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/[email protected]/pulseaudio.service
             └─1181 /usr/bin/pulseaudio --daemonize=no --log-target=journal

Oct 16 13:54:00 Test-Virtual-Machine systemd[1175]: Starting Sound Service...
Oct 16 13:54:00 Test-Virtual-Machine systemd[1175]: Started Sound Service.
Oct 16 13:54:11 Test-Virtual-Machine pulseaudio[1181]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000m>
~
systemctl --user restart pulseaudio.service

 pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-10-16 13:59:32 BST; 3s ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 2661 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/[email protected]/pulseaudio.service
             └─2661 /usr/bin/pulseaudio --daemonize=no --log-target=journal

Oct 16 13:59:32 Test-Virtual-Machine systemd[1175]: Stopping Sound Service...
Oct 16 13:59:32 Test-Virtual-Machine systemd[1175]: pulseaudio.service: Succeeded.
Oct 16 13:59:32 Test-Virtual-Machine systemd[1175]: Stopped Sound Service.
Oct 16 13:59:32 Test-Virtual-Machine systemd[1175]: Starting Sound Service...
Oct 16 13:59:32 Test-Virtual-Machine pulseaudio[2661]: sink_process_msg: not running
Oct 16 13:59:32 Test-Virtual-Machine pulseaudio[2661]: close_send:
Oct 16 13:59:32 Test-Virtual-Machine systemd[1175]: Started Sound Service.



cp /usr/share/gdm/default.pa ~/.config/pulse/
 
Last edited:
Back
Top Bottom