FS#73041 - [qemu] faulty audio driver handling
Attached to Project:
Arch Linux
Opened by Toolybird (Toolybird) - Wednesday, 15 December 2021, 19:49 GMT
Last edited by David Runge (dvzrv) - Saturday, 19 February 2022, 20:08 GMT
Opened by Toolybird (Toolybird) - Wednesday, 15 December 2021, 19:49 GMT
Last edited by David Runge (dvzrv) - Saturday, 19 February 2022, 20:08 GMT
|
Details
As of qemu-6.2.0 the meaning of the "--audio-drv-list"
configure switch has changed[0]. Whereas it used to mean
"build these audio drivers" (at build time) it now means
"which audio drivers to try if -audiodev is not used" (ie.
at runtime if using legacy audio methods)[1].
The result of this means that the audio driver modules are now included in the qemu-headless package which is not the intention. Recommendation: 1. Drop "--audio-drv-list" in both places in the PKGBUILD 2. Add this to the headless configuration: --disable-alsa --disable-jack --disable-oss --disable-pa --disable-sdl I've tested the above in my personal build and it does the right thing. [0] https://lists.nongnu.org/archive/html/qemu-devel/2021-10/msg03058.html [1] https://lists.nongnu.org/archive/html/qemu-devel/2021-11/msg00672.html |
This task depends upon
Closed by David Runge (dvzrv)
Saturday, 19 February 2022, 20:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with qemu 6.2.0-2
Saturday, 19 February 2022, 20:08 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with qemu 6.2.0-2
Now that large portions of QEMU are built in a modular fashion, including all the UI stuff, it should be possible to get rid of the headless package altogether. Afterall, GTK and SDL etc are the "heads" which theoretically could be made optional. I plan to run some build tests and will come up with a proposal in a separate report if it proves viable.
I have been contemplating the proper split of the package already, but did not have more time to look into it yet (planned to do something with the release of 6.2.0).
It seems Fedora has achieved it in a relatively clean fashion already.
David, do you want to take care of the modularizing qemu build?
LGTM
Will do! Not sure if I can get to it this week still though. Will be traveling a bit. However, I already had some rough idea of how to approach it, which would also allow us to close down some of the related tickets.