Mutter/Wayland prefers dGPU instead of iGPU - how can I change this?

Hello,

I have a Yoga Pro 9i with an Nvidia 4060 dGPU. When I run Gnome with Wayland, it seems that Gnome-Shell engages the dGPU to render the desktop:

~> nvidia-smi
Mon Nov 11 17:15:47 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01              Driver Version: 565.57.01      CUDA Version: 12.7     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   40C    P3             10W /   55W |      13MiB /   8188MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      6008      G   /usr/bin/gnome-shell                            2MiB |
+-----------------------------------------------------------------------------------------+

This seems like overkill and I would like for Gnome to use the Intel Arc iGPU, leaving the Nvidia powered off.

Any idea how Gnome decides which GPU to utilize?

1 Like

This is a bug and has been fixed a week ago. I guess this will be part of the next Gnome release.

Thank you, I will follow the bug.