Direct access to GPU memory from within sandbox

Winnie Poon winniepoon_home at hotmail.com
Mon Sep 30 17:46:12 UTC 2019


thanks for your reply Michael.  I've also read discussion about installing Nvidia driver inside flatpak.  Is this another way to access the GPU memory without punching hole?



https://askubuntu.com/questions/1114324/why-do-i-need-to-install-nvidia-driver-for-flatpak-applications
[https://cdn.sstatic.net/Sites/askubuntu/img/apple-touch-icon@2.png?v=c492c9229955]<https://askubuntu.com/questions/1114324/why-do-i-need-to-install-nvidia-driver-for-flatpak-applications>
Why do I need to install Nvidia driver for Flatpak applications?<https://askubuntu.com/questions/1114324/why-do-i-need-to-install-nvidia-driver-for-flatpak-applications>
When I want to install an application from flatpak repository, it shows that flatpak also needs to install Nvidia driver. I've read about Flatpak in the flatpak documentation web site and it seems to have sandbox system and applications can only run in an isolated environment:
askubuntu.com


________________________________
From: Michael Gratton <mike at vee.net>
Sent: September 27, 2019 6:24 PM
To: Winnie Poon <winniepoon_home at hotmail.com>
Cc: flatpak <flatpak at lists.freedesktop.org>
Subject: Re: Direct access to GPU memory from within sandbox

On Sat, 28 Sep, 2019 at 00:15, Winnie Poon
<winniepoon_home at hotmail.com> wrote:
> would like to know if direct access to GPU memory is possible from
> within the sandbox?  Any information or documentation on this you
> could point me to?

AFAIK currently you need to punch a hole in the sandbox using
`--device=dri`. Apps using WebKitGTK do this to support hardware
accelerated rendering, for example.

//Mike

--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190930/049c8fc0/attachment.html>


More information about the Flatpak mailing list