Skip to content

Why is Gala using my dedicated GPU? #2947

Open

Description

@thesupertechie

What Happened?

Gala is rendering the desktop environment on NVIDIA, which should not happen. No other desktop on hybrid mode (which eOS presumably is on) renders the entire desktop environment on NVIDIA.

Steps to Reproduce

Run Pantheon on a system with a dedicated graphics card.

Expected Behavior

The DE runs on Intel graphics to save battery life, and only apps that request the dGPU should run on it. Running the WM on a dGPU is a waste of battery life. I've attached output from nvidia-smi in the Log Output section.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

Sun Oct  4 10:29:48 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 610.57.04              KMD Version: 610.57.04     CUDA UMD Version: 13.3     |
+-----------------------------------------+------------------------+----------------------+
| 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   35C    P3             14W /   40W |      12MiB /   8188MiB |      7%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2334      G   /usr/bin/gala                             2MiB |
+-----------------------------------------------------------------------------------------+

Hardware Info

HP ENVY Laptop 16-h1055cl

The dGPU is an NVIDIA GeForce 4060 Laptop GPU

Activity

  1. leolost2605 commented on Oct 4, 2026

    @leolost2605
    Member

    Can you send the output of switcherooctl list?
    Gala doesn't select any GPU so this would be a mutter/somewhere else bug.

  2. thesupertechie commented on Oct 4, 2026

    @thesupertechie
    Author

    Sure, it's:

    Device: 0
      Name:        Intel Corporation Raptor Lake-P [Iris Xe Graphics]
      Default:     yes
      Environment: DRI_PRIME=pci-0000_00_02_0
    
    Device: 1
      Name:        NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile]
      Default:     no
      Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions