Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
We do often include affiliate links to earn us some pennies. See more here.

For some time now, the GNOME desktop has had the ability to launch specific games and applications using a more powerful GPU if you're in a multi-GPU environment and now it's advancing further.

In GNOME, when the ability to launch using a dedicated GPU was added back in 2016 you were able to right click on something and then see this menu (using switcheroo-control):

The freedesktop "Desktop Entry Specification" has since been updated, with a brand new option named "PrefersNonDefaultGPU". If that is present in a .desktop launcher file for a game or application and set true, it will then automatically use your more powerful GPU.

Since you might not always want that, the right click switcheroo menu will now have the option to use your integrated GPU if it's all hooked up nicely.

It's not a huge change overall but obviously a very welcome one, there's plenty of games and applications that simply work better (or at all) on a dedicated GPU and this is one of those little paper-cut style issues that can just make the Linux experience better overall. It's already been merged into the GNOME desktop for a future release as noted by developer Bastien Nocera in a blog post.

Hat tip to nuublz.

Article taken from GamingOnLinux.com.
27 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
18 comments Subscribe

fagnerln 6 May 2020
How good is this feature with old hybrid AMD notebook? It's an A6 with some HD6000, I don't remember well
adibuyono 6 May 2020
Never saw those "launch with discrete graphic card" until I install Pop! OS 20.04
Leeo97one 6 May 2020
You need to install this in order to see the launch option on GNOME Shell: https://gitlab.freedesktop.org/hadess/switcheroo-control

AUR: https://aur.archlinux.org/packages/switcheroo-control/


Last edited by Leeo97one on 6 May 2020 at 6:12 pm UTC
mcphail 6 May 2020
I package a few games. I'm not sure whether to add this to the .desktop files. Would it be seen as user-hostile if I was making this default decision for users? Most of the games I package would run satisfactorily on integrated graphics but might be better on a dedicated gpu.
Dragunov 7 May 2020
How good is this feature with old hybrid AMD notebook? It's an A6 with some HD6000, I don't remember well

The A6 series laptops did not have a discrete graphics card, those were the APU's integrated graphics.

I have an old Dell Inspirion with an A6-6310 APU that I've been using since 2014. Its starting to show its age, but I don't game on it.
Haha. Nice stealth shout-out to SweetHome3D. That program is an amazing example of Java portability done right (surprising us all).

I keep feeling like I should be using a proper CAD program, but SweetHome is just so damn versatile if you are designing a house...
Samsai 7 May 2020
I package a few games. I'm not sure whether to add this to the .desktop files. Would it be seen as user-hostile if I was making this default decision for users? Most of the games I package would run satisfactorily on integrated graphics but might be better on a dedicated gpu.
There are laptop configurations where the dGPU is functionally slower than the iGPU. My laptop for example is like that, the iGPU and dGPU are rated at just about equal performance but either due to thermal issues (single, shared heatpipe) or other overhead the dGPU consistently under-performs. On the other hand though, these kinds of systems are basically broken designs, so they may not be worth working around.

If you are unsure then relying on the default behaviour where GNOME optionally allows launching games using the dGPU is probably fine.


Last edited by Samsai on 7 May 2020 at 4:36 am UTC
gradyvuckovic 7 May 2020
We definitely need more of this kind of thing.

Freedesktop is a great org, and it's something that should be more significant on Linux, I would love to see it's position elevated even higher.

Standards and specifications are great and I would love to see more focus on getting common behaviours written into open specifications and standards. Desktop environments can offer better features and more consistent user experiences across Linux with standards and specifications to agree upon. Stuff like this just makes life easier for everyone involved, we need to see more of it.
fagnerln 7 May 2020
How good is this feature with old hybrid AMD notebook? It's an A6 with some HD6000, I don't remember well

The A6 series laptops did not have a discrete graphics card, those were the APU's integrated graphics.

I have an old Dell Inspirion with an A6-6310 APU that I've been using since 2014. Its starting to show its age, but I don't game on it.

I sold my old notebook to a cousin, but I'm just curious because I'm waiting a good support to recommend Ubuntu to him.

I'm pretty sure that it have discrete GPU, on windows is possible to set to use the iGPU, dGPU or hybrid crossfire, which when the game support CrossFire works really well, improving a lot the performance
Shmerl 7 May 2020
The next step is up to NVidia to get their Optimus Support on Linux in order and more out of the box. Without the requirement for 3rd party tools or patched XOrg servers... x.x

That likely will never happen, until Nvidia will start upstreaming their kernel driver and follow all DRM/KMS upstream requirements.

There was some speculation that Nvidia's "open source announcement" could be about their plans to do it. But so far it didn't happen.


Last edited by Shmerl on 7 May 2020 at 4:59 pm UTC
Lanz 8 May 2020
Helloooooooo KDE.
adibuyono 8 May 2020
I package a few games. I'm not sure whether to add this to the .desktop files. Would it be seen as user-hostile if I was making this default decision for users? Most of the games I package would run satisfactorily on integrated graphics but might be better on a dedicated gpu.
There are laptop configurations where the dGPU is functionally slower than the iGPU. My laptop for example is like that, the iGPU and dGPU are rated at just about equal performance but either due to thermal issues (single, shared heatpipe) or other overhead the dGPU consistently under-performs. On the other hand though, these kinds of systems are basically broken designs, so they may not be worth working around.

If you are unsure then relying on the default behaviour where GNOME optionally allows launching games using the dGPU is probably fine.

Sound like Asus X550DP 😂
Samsai 8 May 2020
I package a few games. I'm not sure whether to add this to the .desktop files. Would it be seen as user-hostile if I was making this default decision for users? Most of the games I package would run satisfactorily on integrated graphics but might be better on a dedicated gpu.
There are laptop configurations where the dGPU is functionally slower than the iGPU. My laptop for example is like that, the iGPU and dGPU are rated at just about equal performance but either due to thermal issues (single, shared heatpipe) or other overhead the dGPU consistently under-performs. On the other hand though, these kinds of systems are basically broken designs, so they may not be worth working around.

If you are unsure then relying on the default behaviour where GNOME optionally allows launching games using the dGPU is probably fine.

Sound like Asus X550DP 😂
HP Notebook 13 or whatever. Got it because it had a hybrid GPU setup I could test for GOL with an APU + AMD GPU combo. At the time most laptop choices were Intel + Nvidia and I have no interest in buying an Nvidia card.
adibuyono 8 May 2020
I package a few games. I'm not sure whether to add this to the .desktop files. Would it be seen as user-hostile if I was making this default decision for users? Most of the games I package would run satisfactorily on integrated graphics but might be better on a dedicated gpu.
There are laptop configurations where the dGPU is functionally slower than the iGPU. My laptop for example is like that, the iGPU and dGPU are rated at just about equal performance but either due to thermal issues (single, shared heatpipe) or other overhead the dGPU consistently under-performs. On the other hand though, these kinds of systems are basically broken designs, so they may not be worth working around.

If you are unsure then relying on the default behaviour where GNOME optionally allows launching games using the dGPU is probably fine.

Sound like Asus X550DP 😂
HP Notebook 13 or whatever. Got it because it had a hybrid GPU setup I could test for GOL with an APU + AMD GPU combo. At the time most laptop choices were Intel + Nvidia and I have no interest in buying an Nvidia card.

I see.. Your case is similar to my Asus X550DP. It come with AMD A10-5750, Dual Graphic HD8650G + HD8670M.
I have been hunting a way to use discrete graphic card on Linux but ended up with no easy solution. At the end, i find out that the dGPU is just very slight better than the iGPU, but it came with a great cost. A lot of x550dp user ended up with dying GPU due to overheat. Luckily I moved to Linux after few months purchasing it and find no way to active the dGPU.
I wonder why the manufactures implant a dGPU if it's perform almost similar to iGPU.
Samsai 8 May 2020
I package a few games. I'm not sure whether to add this to the .desktop files. Would it be seen as user-hostile if I was making this default decision for users? Most of the games I package would run satisfactorily on integrated graphics but might be better on a dedicated gpu.
There are laptop configurations where the dGPU is functionally slower than the iGPU. My laptop for example is like that, the iGPU and dGPU are rated at just about equal performance but either due to thermal issues (single, shared heatpipe) or other overhead the dGPU consistently under-performs. On the other hand though, these kinds of systems are basically broken designs, so they may not be worth working around.

If you are unsure then relying on the default behaviour where GNOME optionally allows launching games using the dGPU is probably fine.

Sound like Asus X550DP 😂
HP Notebook 13 or whatever. Got it because it had a hybrid GPU setup I could test for GOL with an APU + AMD GPU combo. At the time most laptop choices were Intel + Nvidia and I have no interest in buying an Nvidia card.

I see.. Your case is similar to my Asus X550DP. It come with AMD A10-5750, Dual Graphic HD8650G + HD8670M.
I have been hunting a way to use discrete graphic card on Linux but ended up with no easy solution. At the end, i find out that the dGPU is just very slight better than the iGPU, but it came with a great cost. A lot of x550dp user ended up with dying GPU due to overheat. Luckily I moved to Linux after few months purchasing it and find no way to active the dGPU.
I wonder why the manufactures implant a dGPU if it's perform almost similar to iGPU.
The original purpose of those setups was to use Crossfire between the APU and the dGPU to get higher performance. Obviously on Linux Crossfire was never really a thing, so it's not relevant to us. Technically Vulkan could make use of such setups but it's debatable if game devs will actually bother.
adibuyono 8 May 2020
I package a few games. I'm not sure whether to add this to the .desktop files. Would it be seen as user-hostile if I was making this default decision for users? Most of the games I package would run satisfactorily on integrated graphics but might be better on a dedicated gpu.
There are laptop configurations where the dGPU is functionally slower than the iGPU. My laptop for example is like that, the iGPU and dGPU are rated at just about equal performance but either due to thermal issues (single, shared heatpipe) or other overhead the dGPU consistently under-performs. On the other hand though, these kinds of systems are basically broken designs, so they may not be worth working around.

If you are unsure then relying on the default behaviour where GNOME optionally allows launching games using the dGPU is probably fine.

Sound like Asus X550DP 😂
HP Notebook 13 or whatever. Got it because it had a hybrid GPU setup I could test for GOL with an APU + AMD GPU combo. At the time most laptop choices were Intel + Nvidia and I have no interest in buying an Nvidia card.

I see.. Your case is similar to my Asus X550DP. It come with AMD A10-5750, Dual Graphic HD8650G + HD8670M.
I have been hunting a way to use discrete graphic card on Linux but ended up with no easy solution. At the end, i find out that the dGPU is just very slight better than the iGPU, but it came with a great cost. A lot of x550dp user ended up with dying GPU due to overheat. Luckily I moved to Linux after few months purchasing it and find no way to active the dGPU.
I wonder why the manufactures implant a dGPU if it's perform almost similar to iGPU.
The original purpose of those setups was to use Crossfire between the APU and the dGPU to get higher performance. Obviously on Linux Crossfire was never really a thing, so it's not relevant to us. Technically Vulkan could make use of such setups but it's debatable if game devs will actually bother.
Wow.. I see.. Thanks, learn a lot today
Cyba.Cowboy 8 May 2020
You need to install this in order to see the launch option on GNOME Shell: https://gitlab.freedesktop.org/hadess/switcheroo-control

AUR: https://aur.archlinux.org/packages/switcheroo-control/

It seems to be included with Ubuntu 20.04 LTS ("Focal Fossa"), because I discovered this by accident earlier tonight (I didn't even know there was options to force usage of the dedicated graphics under a right-click menu!)... Of course, my new laptop is rubbish for gaming, despite the NVIDIA chip, so it's of little use to me. :-(
mihaib 11 May 2020
The next step is up to NVidia to get their Optimus Support on Linux in order and more out of the box. Without the requirement for 3rd party tools or patched XOrg servers... x.x

I lost hope this will ever happen a long time a go...
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.
Buy Games
Buy games with our affiliate / partner links: