The product group for WSL actively monitors questions over at
https://github.com/microsoft/WSL#readme
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm running RViz and gazebo via the windows subsystem for linux(ubuntu 18.04). My laptop has intel integrated graphics and a nvidia gpu and most of the time will automatically switch to use the more powerful nvidia gpu as required. This isn't the case when using GUI apps through WSL; is there a way to force WSL to use the gpu over the integrated graphics?
The product group for WSL actively monitors questions over at
https://github.com/microsoft/WSL#readme
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
Hi there,
Yes, you can force an app to use the dedicated GPU. You must be running Windows 10 1809 or later for this to work.
-Open the Settings app and go to the System group of settings.
-Select the Display tab and scroll down.
-Click the ‘Graphic Settings‘ option.
-On the Graphics Settings screen, open the ‘Choose an app to set preference‘ dropdown.
-Select the type of app you want to set the GPU use for; Classic app for desktop apps, and Universal app for UWP or Store apps.
-Once selected, click the Browse button and select the app. Click the ‘Options‘ button under the app once it has been added.
-In the window that opens, select ‘High Performance‘ and click ‘Save‘.
--If the reply is helpful, please Upvote and Accept it as an answer--