force a program to use discrete gpu with opengl support

Currently on wayland with an nvidia dGPU

I generally would like to leave the gpu mode to hybrid mode to save power and occasionally run a program using the dGPU specifically. This program requires openGL support.

Is there a command I can type to start a program using the dGPU?

Apparently in windows, you can right click on desktop shortcut and "run with high performance GPU".

Wondering if this is also possible with wayland-nvidia.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论