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:
I have two questions:
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?
Does flatpak Nvidia driver replace the driver that is installed on my system?
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.