Sample Header Ad - 728x90

Select GPU for OpenGL

1 vote
1 answer
259 views
I have two GPUs connected to my archlinux system, an AMD and a nVidia. The screens are connected to the AMD one, and when I run an OpenGL application, it uses the AMD driver. When using Vulkan, you can specify which driver to use, by specifying the VK_ICD_FILENAMES envvar. Is is possible to specify which driver to use when using OpenGL? I would like to be able to select the nVidia card for some tasks.
Asked by jjcasmar (353 rep)
Jan 2, 2023, 08:14 AM
Last activity: May 29, 2025, 08:27 PM