Bug 1785251
| Summary: | Support nvidia drivers in fedora runtime | ||
|---|---|---|---|
| Product: | [Fedora] Fedora Modules | Reporter: | Alexander Larsson <alexl> |
| Component: | flatpak-runtime | Assignee: | Owen Taylor <otaylor> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | klember, otaylor |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | flatpak-runtime-f35-3520211208094748.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-12-18 00:20:48 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Alexander Larsson
2019-12-19 13:57:47 UTC
Additionally we need to configure libglvnd to find the json files in the extension. With the above example they will appear as: /usr/lib/GL/glvnd/egl_vendor.d/10_nvidia.json It seems like the default libglvnd looks in /usr/share/glvnd/egl_vendor.d and /etc/glvnd/egl_vendor.d, and fedora choses the one in /usr for packaging its drivers, leaving the other for sysadmin overrides. Since there is no sysadmin overrides in flatpak we can use this by making the /etc/glvnd a symlink to /usr/lib/GL/glvnd which will then be filled in by the extension. You also need something similar for vulkan and opencl: [📦 org.mozilla.Firefox ~]$ ls /usr/lib/GL/OpenCL/vendors/ /usr/lib/GL/vulkan/icd.d/ /usr/lib/GL/OpenCL/vendors/: nvidia.icd /usr/lib/GL/vulkan/icd.d/: nvidia_icd.json OK, this should be now done in https://src.fedoraproject.org/modules/flatpak-runtime/c/6477d9068d63158f39486c4f267421cb298d22cc?branch=f35 and https://src.fedoraproject.org/modules/flatpak-runtime/c/b7e47ff416c0e4b3ab46d7c5e8d2e7876565c17f?branch=f35 FEDORA-FLATPAK-2021-1142ccc92e has been submitted as an update to Fedora 35 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2021-1142ccc92e FEDORA-FLATPAK-2021-1142ccc92e has been pushed to the Fedora 35 Flatpaks testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2021-1142ccc92e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-FLATPAK-2021-1142ccc92e has been submitted as an update to Fedora 35 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2021-1142ccc92e FEDORA-FLATPAK-2021-1142ccc92e has been pushed to the Fedora 35 Flatpaks testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2021-1142ccc92e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-FLATPAK-2021-1142ccc92e has been pushed to the Fedora 35 Flatpaks stable repository. If problem still persists, please make note of it in this bug report. |