webaverse / metachromium-bin

Metachromium binary release
0 stars 1 forks source link

Metachromium picks wrong GPU #15

Open marcjordan opened 4 years ago

marcjordan commented 4 years ago

I have a gaming laptop with 2 video cards in it (Intel UHD Graphics 630, and NVIDIA Geforce RTX 2070). I have the NVIDIA control panel set to prefer the high-performance graphics engine, but Metachromium picks the Intel card by default. I need to set an exception in the NVIDIA control panel to force it to render on the 2070 in order for apps to render in SteamVR. Is there a way it could pick the same GPU as SteamVR reliably?

JaredMonkey commented 4 years ago

The code does not do actually anything new with device selection, so this is probably a question for Chrome and unfortunately they do not support OpenVR at all anymore :(. You might be able to find something in the command line flags or in the chrome://flags but as far as I remember it's not a decision made by anything in our code, it's deeper in chrome. Another random guess is maybe setting xrCompatible: true on the GL context might make a difference.