Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Virt-Manager in rootfull+init dbox "crashes" sound for other apps #1417

Closed
nunix opened this issue May 27, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@nunix
Copy link

nunix commented May 27, 2024

Describe the bug
When starting virt-manager from a rootfull+init dbox, the USB audio devices are no more accessible from other apps, such as Chrome or Brave browsers (installed as flatpak).

To Reproduce

  • Create a new rootfull+init dbox:
distrobox create --name virt --root --init
  • Install virt-manager and dependencies:
sudo zypper in +pattern:kvm_server +pattern:kvm_tools qemu-spice virtiofsd qemu-hw-display-virtio-gpu
sudo usermod -aG kvm,libvirt $USER
# [Optional] export the desktop app
distrobox-export --app virt-manager
  • Create a test VM with all the defaults (it doesn´t need to be started aftwerards)
  • Exit dbox and stop it:
exit
distrobox stop --root virt
  • Start a web app that requires sound (i.e. meet.google.com)
  • Open virt-manager (from the desktop icon if exported, or from the CLI inside the dbox)

RESULTS: the running app (i.e. meet.google.com) has no more access to sound devices.

Expected behavior
The sound devices should remain available to the running apps.

Logs
N/A and specific logs can be provided on-demand.

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod? Podman
  • Which version or podman, docker or lilipod? 5.0.3
  • Which version of distrobox? 1.7.2.1
  • Which host distribution? Aeon
  • How did you install distrobox? installed by default

Additional context
I have a workaround: my audio devices are all USB, and if I remove the USB redirection from the VMs configuration, I don't have this issue.

@nunix nunix added the bug Something isn't working label May 27, 2024
@89luca89
Copy link
Owner

Fixed by commit a537dff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants