You are not logged in.

#1 2024-10-23 06:33:45

NeroBurner
Member
Registered: 2013-09-05
Posts: 31

Qemu 9.1.1-1 breaks virt-viewer audio output through spice

The upgrade of qemu packages from 9.1.0-2 to 9.1.1-1 broke the audio output of my Ubuntu 24.04 guest machine. Audio is routed through spice using `virt-viewer` for interaction

The related virt-manager config for the audio device looks as follows

    <sound model="ich9">
      <address type="pci" domain="0x0000" bus="0x00" slot="0x1b" function="0x0"/>
    </sound>
    <audio id="1" type="spice"/>

After the upgrade no application is found to play sound on the host.

After downgrading all qemu packages to 9.1.0-2 and restarting the VM the `virt-viewer` application plays sound again

sudo pacman -U qemu-*9.1.0-2-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package qemu-audio-alsa (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-audio-dbus (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-audio-jack (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-audio-oss (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-audio-pa (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-audio-pipewire (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-audio-sdl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-audio-spice (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-base (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-block-curl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-block-dmg (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-block-nfs (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-block-ssh (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-chardev-spice (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-common (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-desktop (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-display-qxl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-display-virtio-gpu (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-display-virtio-gpu-gl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-display-virtio-gpu-pci (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-display-virtio-gpu-pci-gl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-display-virtio-vga (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-display-virtio-vga-gl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-s390x-virtio-gpu-ccw (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-usb-host (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-usb-redirect (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-hw-usb-smartcard (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-img (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-pr-helper (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-system-x86 (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-system-x86-firmware (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-tools (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-curses (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-dbus (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-egl-headless (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-gtk (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-opengl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-sdl (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-spice-app (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-ui-spice-core (9.1.1-1 => 9.1.0-2)
warning: downgrading package qemu-vhost-user-gpu (9.1.1-1 => 9.1.0-2)

Posting because found no other issue and maybe someone knows something or somebody is helped by the info

Offline

#2 2024-10-23 11:43:41

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 657
Website

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

Is there any indication that this is an Arch Linux specific issue? I think I would just report this upstream and see what they have to say about it ..

Last edited by gromit (2024-10-23 11:43:51)

Offline

#3 2024-10-23 21:10:38

gca
Member
Registered: 2021-06-08
Posts: 63

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

UP!

I have the same problem.
For audio from web stream I need to switch between virt-manager and spice viewer. The guest vm no play sounds anymore....

Offline

#4 2024-10-24 03:42:34

Frefreak
Member
Registered: 2013-12-18
Posts: 25

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

same problem here, downgrade to 9.1.0-2 and the audio is back (win 11 guest)

Offline

#5 2024-10-25 16:52:47

mrwizardno2
Member
Registered: 2018-04-10
Posts: 1

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

Same here. Windoze 11 guest. Lesson learned, this is the last time I update between meetings on lunch break :-P

Offline

#6 2024-10-25 23:35:01

breakingspell
Member
Registered: 2024-10-25
Posts: 1

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

Hello all, I've opened an upstream report for this: https://gitlab.com/qemu-project/qemu/-/issues/2639. There's a discussion on the Looking Glass discord as well.

Offline

#7 2024-10-28 05:35:58

iavr
Member
Registered: 2024-02-07
Posts: 18

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

Same here.  Looking at the looking glass output, audio output is set up correctly:

[I]   3854734111             audio.c:159  | audio_init                     | Using AudioDev: PipeWire
[I]   3854749441                ps.c:644  | ps_connectChannel              | PLAYBACK channel connected

However, the moment I run anything that produces audio, it disconnects:

[I]   3861640088           channel.c:258  | channel_internal_disconnect    | PLAYBACK channel disconnected

A superficial glance at their codebase and what has changed from 9.1.0-2 to 9.1.1-1 suggests that the addition of line 505 in hw/audio/hda-codec.c, function hda_audio_setup(), might be the culprit?

    hda_close_stream(st->state, st);

Offline

#8 2024-11-07 22:05:56

gca
Member
Registered: 2021-06-08
Posts: 63

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

Hi all,
same result installing newer version 9.1.1-2.
I'll make rollback again... hmm

Offline

#9 2024-11-07 23:33:35

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 657
Website

Re: Qemu 9.1.1-1 breaks virt-viewer audio output through spice

Since it wasn't linked here yet, there also is a discussion about this on the bugtracker: https://gitlab.archlinux.org/archlinux/ … -/issues/7

Offline

Board footer

Powered by FluxBB