I wanted to force run an application with nvidia graphics card

I wanted to force run an application with nvidia graphics card but the following command gave me some errors so I thought installing drivers again might solve the issue.

DRI_PRIME=1 glxinfo | grep "OpenGL renderer"                                                      (base)
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)

This parameter is for nouveau, while you have nvidia driver installed.

IIRC you need

prime-run

Check Archwiki PRIME article.


Classic xyproblem.

2 Likes

Very interesting. My nvidia can as well as nouveau.

Everything is in flux, nothing lasts. The things that have been bought in particular do not last very long.

Ya this worked.

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