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-sdk] f45: Register org.freedesktop.Platform.GL extension point for NVIDIA drivers
Date: Wed, 07 Oct 2026 17:15:41 GMT [thread overview]
Message-ID: <179139334163.1.12192485708256849555.flatpaks-flatpak-sdk-e6c1d0316d02@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : flatpaks/flatpak-sdk
Branch : f45
Commit : e6c1d0316d02ff5acc3d2083d9ec3eae7f865b11
Author : Kalev Lember <klember@redhat.com>
Date : 2021-12-08T10:55:47+01:00
Stats : +13/-0 in 1 file(s)
URL : https://src.fedoraproject.org/flatpaks/flatpak-sdk/c/e6c1d0316d02ff5acc3d2083d9ec3eae7f865b11?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 cdc321c..9b5f13a 100644
--- a/container.yaml
+++ b/container.yaml
@@ -14,6 +14,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
@@ -28,5 +38,8 @@ flatpak:
mv -f /usr/bin/flatpak-xdg-email /usr/bin/xdg-email
mv -f /usr/bin/flatpak-xdg-open /usr/bin/xdg-open
+ # 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-10-07 17:15 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=179139334163.1.12192485708256849555.flatpaks-flatpak-sdk-e6c1d0316d02@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