Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60589 - [mesa] + libva/libvdpau(/vlc) more sensical optdeps
Attached to Project:
Arch Linux
Opened by Tom Yan (tom.ty89) - Thursday, 25 October 2018, 22:05 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:26 GMT
Opened by Tom Yan (tom.ty89) - Thursday, 25 October 2018, 22:05 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:26 GMT
|
DetailsDescription:
1. libva-mesa-driver should be an optdep of libva like libva-intel-driver 2. mesa-vdpau should be an optdep of libvdpau 3. both libva-mesa-driver and mesa-vdpau can be dropped from mesa's optdeps 4. libva-vdpau-driver should probably be dropped from libva's optdeps; we may even want to throw it out of our repo, together with libvdpau-va-gl 5. intel-media-driver should probably be added as an optdep of libva 6. No idea why vlc optdeps on libva-intel-driver and libva-vdpau-driver Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:26 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/mesa/issues/4
Saturday, 25 November 2023, 20:26 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/mesa/issues/4
None of the following is too radical or strange - opengl/es (thanks Laurent) and opencl - have been doing it for a while.
Individual steps prefix shows current status:
- Missing: Create a virtual driver package, one for each API: vaapi, vdpau
- Missing: For each API/frontend, add the respective optdepend of the virtual foo_driver
- Almost: Update API/frontend users to _not_ (opt)depend on the driver, but the API/frontend library
- Almost: No drivers depend() on the frontend. They all makedepend() on it.
- Optional: add a meta package for intel and amd akin to the nvidia one. It pulls all the respective vendor vaapi, vdpau, opengl/es, opencl drivers.
- Unrelated: libva-vdpau-driver and libvdpau-va-gl are unmaintained but working drivers. There is no reason to remove them for the time being
If you agree, making it a proper TODO under https://archlinux.org/todo/ is an option.
Happy to provide help - provide patches or otherwise.
vaapi, drivers - libva-vdpau-driver, libva-intel-driver, intel-media-driver, libva-mesa-driver
- all drivers but mesa - demote libva to makedepends, provides=(libva-driver)
Side note: the intel-media-driver is special on a number of levels, it seems to link against libva.so so we'll need to keep the "depends=libva" for the time being.
- libva - remove all drivers from optdepends, use optdepends=(libva-driver) instead
- vlc, kodi, ovenmediaengine, obs-studio, others(?) - remove all drivers from make/"hard"/opt depends, use depends=libva instead
vdpau, drivers - nvidia-utils, libvdpau-va-gl, mesa-vdpau
- all drivers but mesa - demote libvdpau to makedepends, provides=(vdpau-driver)
- libvdpau - add optdepends=(vdpau-driver)
https://mastransky.wordpress.com/2023/01/31/firefox-va-api-and-nvidia-on-fedora-37/
https://fedoraproject.org/wiki/Firefox_Hardware_acceleration
https://aur.archlinux.org/packages/libva-nvidia-driver
- the unofficial nvidia driver from elFarto should probably be picked to community - vote on the AUR?
- aside: should probably finish my upstream MR for ^^
- libva-vdpau-driver being old/whatever - open separate bug?
- proper dependency handling - this bug
- [1] optdepend on some drivers, instead of the virtual driver
- [2] makedepend on some drivers, instead of the virtual driver or frontend alone
- [3] drivers do not provide the virtual driver
- [4] drivers hard-depend on frontend when they should not
frontend libva, virtual driver libva-driver
- 1 - libva, obs-studio, vlc, ovenmediaengine
- 2 - kodi
- 3 - libva-intel-driver, intel-media-driver, libva-vdpau-driver
- 4 - libva-intel-driver
frontend lib32-libva, virtual driver lib32-libva-driver
- 1 - lib32-libva
- 3 - lib32-libva-intel-driver, lib32-libva-vdpau-driver
- 4 - lib32-libva-intel-driver, lib32-libva-vdpau-driver
frontend libvdpau, virtual driver vdpau-driver
- 1 - libvdpau
- 2 - kodi
- 3 - libvdpau-va-gl, nvidia-utils
- 4 - libvdpau-va-gl (should be testdeps only)
frontend lib32-libvdpau, virtual driver lib32-vdpau-driver
- 1 - lib32-libvdpau
- 3 - lib32-nvidia-utils