4

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:

Flatpak Sandbox

I have two questions:

  1. Is Nvidia driver needed to be used inside the sandbox? Why flatpak applications need to have Nvidia driver when we have Nvidia driver installed on our system. Isn't the main graphical driver responsible for drawing on the screen at last? If flatpack driver works separably due to the sandbox system, how it works alongside with the main driver?

  2. Does flatpak Nvidia driver replace the driver that is installed on my system?

3

Flatpak applications run in a sandboxed environment, where they can't access the outside world. That's why a separate copy of the driver needs to be installed.

Due to the fact it's sandboxed, it won't replace the system driver. It just supplements it.

| improve this answer | |
  • Thanks for your time. I want to know more, Isn't the main graphical driver responsible for drawing on the screen at last? If flatpack driver works separably due to the sandbox system, how it works alongside with main driver? – ICE Mar 24 '19 at 16:57
  • @ICE They both work together, parts of the driver are in userspace and parts in kernel land. – kirbyfan64sos Mar 25 '19 at 0:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.