public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kalev Lember <klember@redhat.com>
To: git-commits@fedoraproject.org
Subject: [flatpaks/flatpak-runtime] f45: Register org.freedesktop.Platform.GL extension point for NVIDIA drivers
Date: Fri, 11 Sep 2026 14:41:49 GMT [thread overview]
Message-ID: <178913770907.1.5285810122653323004.flatpaks-flatpak-runtime-6477d9068d63@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : flatpaks/flatpak-runtime
Branch : f45
Commit : 6477d9068d63158f39486c4f267421cb298d22cc
Author : Kalev Lember <klember@redhat.com>
Date : 2021-10-01T16:35:12+02:00
Stats : +13/-0 in 1 file(s)
URL : https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/6477d9068d63158f39486c4f267421cb298d22cc?branch=f45
Log:
Register org.freedesktop.Platform.GL extension point for NVIDIA drivers
This makes it possible to use the NVIDIA drivers distributed on flathub.
https://bugzilla.redhat.com/show_bug.cgi?id=1785251
---
diff --git a/container.yaml b/container.yaml
index 3d34f8e..7971be8 100644
--- a/container.yaml
+++ b/container.yaml
@@ -11,6 +11,16 @@ flatpak:
--env=GST_PLUGIN_SYSTEM_PATH=/app/lib64/gstreamer-1.0:/usr/lib64/gstreamer-1.0
--env=LD_LIBRARY_PATH=/app/lib64
--env=XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/share
+ --extension=org.freedesktop.Platform.GL=version=1.4
+ --extension=org.freedesktop.Platform.GL=directory=lib64/GL
+ --extension=org.freedesktop.Platform.GL=subdirectories=true
+ --extension=org.freedesktop.Platform.GL=no-autodownload=true
+ --extension=org.freedesktop.Platform.GL=autodelete=false
+ --extension=org.freedesktop.Platform.GL=add-ld-path=lib
+ --extension=org.freedesktop.Platform.GL=download-if=active-gl-driver
+ --extension=org.freedesktop.Platform.GL=enable-if=active-gl-driver
+ --extension=org.freedesktop.Platform.GL=autoprune-unless=active-gl-driver
+
# For applications, appstream-compose is run automatically along with other processing
# of the tree. For runtimes, we have to run it manually. flatpak-module-tools local
# builds have issues if the cleanup script outputs to stdout, hence the 1>&2
@@ -27,6 +37,9 @@ flatpak:
rm -rf /etc/flatpak-builder/
+ # Create a directory for mounting org.freedesktop.Platform.GL extension point
+ mkdir -p /usr/lib64/GL
+
touch -d @0 /usr/share/fonts /usr/share/fonts/*
fc-cache -rs
reply other threads:[~2026-09-11 14:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178913770907.1.5285810122653323004.flatpaks-flatpak-runtime-6477d9068d63@fedoraproject.org \
--to=klember@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox