FS#80057 - [nvidia-utils] add flatpak extension
Attached to Project:
Arch Linux
Opened by Andreas Schneider (aksdb) - Sunday, 22 October 2023, 20:14 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 24 November 2023, 00:10 GMT
Opened by Andreas Schneider (aksdb) - Sunday, 22 October 2023, 20:14 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 24 November 2023, 00:10 GMT
|
Details
When using flatpak, some packages require GL or Vulkan
support, which typically requires the accompanying packages
to be installed on host _and_ in flatpak. In case of nvidia
drivers that is quite ugly, since their blobs are quite
large and installing them twice (or even four times when
using 32bit) is quite excessive.
There is a better solution though. Flatpak allows the host system to create an extension (basically a definition of where to find what) which is then exposed to the flatpaks sandbox. This can be used to reuse the host nvidia libraries without having to install them another time. See also: https://blog.tingping.se/2018/08/26/flatpak-host-extensions.html It would be nice having this either included with the nvidia package right away, or (preferably I guess) having a small optional package (nvidia-flatpak?) that includes the flatpak extension. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 24 November 2023, 00:10 GMT
Reason for closing: Won't fix
Additional comments about closing: See my last comment. I'm not against this but I don't really see a unified story here for packages of this type and also I think this can easily be fixed by an auxiliary AUR package for users that desire this.
Friday, 24 November 2023, 00:10 GMT
Reason for closing: Won't fix
Additional comments about closing: See my last comment. I'm not against this but I don't really see a unified story here for packages of this type and also I think this can easily be fixed by an auxiliary AUR package for users that desire this.
[1] https://github.com/negativo17/nvidia-driver/pull/57