Enhanced OpenGL driver support in flatpak
Bastien Nocera
hadess at hadess.net
Sat Feb 18 13:42:16 UTC 2017
On Tue, 2017-02-07 at 09:52 +0100, Alexander Larsson wrote:
> On Mon, 2017-02-06 at 11:36 +0100, Alexander Larsson wrote:
> >
<snip>
> Then install the new runtime:
>
> $ flatpak install gnome-buildbot org.freedesktop.Platform
>
> Take note of the output from this. It should install the basic
> runtime
> (org.freedesktop.Platform/x86_64/1.4) as well as a subset of the
> translations for it (org.freedesktop.Platform.Locale/x86_64/1.4), but
> it will also install any GL drivers from the repo that matches
> what flatpak thinks is the active one. In my case it installs
> org.freedesktop.Platform.GL.nvidia-375-26 to match the 375.26
> nvidia driver that is loaded on the host. You can list the
> drivers that flatpak thinks is active with "flatpak --gl-drivers".
I've been looking all over, and can't for the life of me find the
sources for those NVidia extensions. The only thing I could find is the
old make-nvidia-image.sh
<snip>
> To test the driver you can install and run glxinfo:
>
> $ flatpak install gnome-buildbot org.freedesktop.GlxInfo
> $ flatpak run org.freedesktop.GlxInfo
>
> Which should give some output. This app also contains all the mesa
> demos, so you can run e.g.:
>
> $ flatpak run --command=glxgears org.freedesktop.GlxInfo
I should make a Flatpak of https://github.com/hadess/glarea-example :)
Cheers
More information about the xdg-app
mailing list