Does anyone know how to launch an application using open source nvdia driver using terminal?

I know how to launch an application with hardware acceleration when using proprietary NVidia driver using terminal.

NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia firefox

But how to do the same with open source driver?

1 Like
$ switcherooctl list
Device: 0
  Name:        Intel Corporation HD Graphics 630
  Default:     yes
  Environment: DRI_PRIME=pci-0000_00_02_0

Device: 1
  Name:        NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile]
  Default:     no
  Environment: DRI_PRIME=pci-0000_01_00_0

$ switcherooctl launch -g 1 chromium-freeworld

https://www.mankier.com/1/switcherooctl

2 Likes

DRI_PRIME=1 firefox

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.