You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I launch Blender via Flatpak on my nVidia Optimus laptop Blender correctly detects my nVidia card and it's CUDA abilities, but it doesn't actually use the nVidia GPU for rendering the viewport (notice that there's nothing in the output of nvidia-smi in the first screenshot):
If I try to manually start blender with the Optimus/Prime environment variables:
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia flatpak run org.blender.Blender
Read prefs: /home/john/.var/app/org.blender.Blender/config/blender/3.2/config/userpref.blend
Error! Unsupported graphics card or driver.
A graphics card and driver with support for OpenGL 3.3 or higher is required.
The program will now close.
However, when I start the non-flatpak version, it works correctly:
__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia ./blender
Read prefs: /home/john/.config/blender/3.2/config/userpref.blend
/run/user/1000/gvfs/ non-existent directory
Saved session recovery to '/tmp/quit.blend'
Blender quit # this is just me closing the window
Flatpak
Like I said, blender flatpak works, and it sees my nVidia card:
Notice the GPU usage on my radeon iGPU vs the nVidia GPU.
Non-flatpak
However, when running the non-flatpak version with the Optimus/Prime env variables, I get buttery smooth performance, and the viewport rendering is offloaded to my nVidia card:
Is this a bug? or missing how to launch the flatpak correctly so that the viewport will use my nVidia GPU?
The text was updated successfully, but these errors were encountered:
When I launch Blender via Flatpak on my nVidia Optimus laptop Blender correctly detects my nVidia card and it's CUDA abilities, but it doesn't actually use the nVidia GPU for rendering the viewport (notice that there's nothing in the output of
nvidia-smi
in the first screenshot):If I try to manually start blender with the Optimus/Prime environment variables:
However, when I start the non-flatpak version, it works correctly:
Flatpak
Like I said, blender flatpak works, and it sees my nVidia card:
Notice the GPU usage on my radeon iGPU vs the nVidia GPU.
Non-flatpak
However, when running the non-flatpak version with the Optimus/Prime env variables, I get buttery smooth performance, and the viewport rendering is offloaded to my nVidia card:
Is this a bug? or missing how to launch the flatpak correctly so that the viewport will use my nVidia GPU?
The text was updated successfully, but these errors were encountered: