Hey all I have just migrated my workstation from Fedora 33 to Fedora 34 silverblue.
I got my GPU successfully passed through and my XML migrated. Everything seems good. Two/three blockers I have left are
-
Audio
-
Looking-glass
-
/dev/shm reservation
The last two seem easily obtainable but what I’m struggling with is audio. This is mostly because I’m not entrierly familiar with Pipewire just yet
<qemu:commandline>
<qemu:arg value='-device'/>
<qemu:arg value='ich9-intel-hda,bus=pcie.0,addr=0x1b'/>
<qemu:arg value='-device'/>
<qemu:arg value='hda-micro,audiodev=hda'/>
<qemu:arg value='-audiodev'/>
<qemu:arg value='pa,id=hda,server=unix:/tmp/pulse-socket'/>
</qemu:commandline>
My old configuration needs some tweaking in order to work with pipewire-pulse. I have tried…
<qemu:arg value="-device"/>
<qemu:arg value="usb-audio,audiodev=usb,multi=on"/>
<qemu:arg value="-audiodev"/>
<qemu:arg value="pa,id=usb,server=/run/user/1000/pulse/native,out.mixing-engine=off"/>
<qemu:env name="PIPEWIRE_RUNTIME_DIR" value="/run/user/1000"/>
To no avail. I get
error: Failed to start domain 'win10-lg'
error: internal error: qemu unexpectedly closed the monitor: pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Does anyone have a working pipewire/any audio passthrough configuration on silverblue?
I would like to try Jack but that change hasn’t yet made it to 34 (Tree - rpms/qemu - src.fedoraproject.org)
Interested to hear anyone’s thoughts. Once this block is finished im going to see if I can get looking-glass-client pushed to flathub since /dev/shm support was recently added
EDIT:
In-case anyone is interested here’s my current os-tree config
[root@anthonys-fedora-workstation qemu]# rpm-ostree status -v
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: inactive
Deployments:
ostree://fedora:fedora/34/x86_64/silverblue
Version: 34.20210512.0 (2021-05-12T05:19:28Z)
BaseCommit: 12f85a0d59d262b5d128305de5634215e71c17c2dc2464f5669aa877085b5b43
├─ repo-0 (2021-04-23T10:47:57Z)
├─ repo-1 (2021-05-12T04:51:18Z)
└─ repo-2 (2021-05-12T04:53:26Z)
Commit: 34aeeaf353c795d798bfaf5cd8d355f06e0c4c4cc7e6f8200be3ed4b8ffb739f
├─ fedora-cisco-openh264 (2021-02-23T00:49:00Z)
├─ fedora (2021-04-24T09:52:40Z)
├─ updates (2021-05-12T05:27:39Z)
└─ updates-archive (2021-05-12T06:21:00Z)
Staged: yes
StateRoot: fedora
GPGSignature: 1 signature
Signature made Wed 12 May 2021 01:19:33 AM EDT using RSA key ID 1161AE6945719A39
Good signature from "Fedora <[email protected]>"
SecAdvisories: FEDORA-2021-0d26f8a9f3 Critical firefox-88.0.1-1.fc34.x86_64
Upgraded: xen-libs 4.14.1-7.fc34 -> 4.14.2-1.fc34
xen-licenses 4.14.1-7.fc34 -> 4.14.2-1.fc34
Downgraded: firefox 88.0-8.fc34 -> 88.0.1-1.fc34
LayeredPackages: fedora-workstation-repositories libvirt-daemon-config-network libvirt-daemon-kvm qemu-kvm virt-install
virt-manager
Initramfs: --add-drivers 'vfio vfio-pci vfio_iommu_type1 vfio_virqfd'