Public bug reported:

On Ubuntu 24.04 with hybrid AMD iGPU + NVIDIA RTX 4060 Laptop GPU, PRIME
on-demand is enabled and switcheroo exposes the NVIDIA GPU as an offload
device, but nvidia-smi cannot communicate with the NVIDIA driver.

  Environment:
  - Ubuntu 24.04
  - Kernel: 6.17.0-35-generic
  - PRIME mode: on-demand
  - Default GPU: AMD Raphael iGPU
  - Offload GPU: NVIDIA RTX 4060 Laptop GPU
  - NVIDIA driver: 580.159.03
  - GNOME on Xorg/GDM

  Current behavior:
  - prime-select query returns: on-demand
  - switcherooctl list shows AMD as the default GPU and NVIDIA as the offload 
GPU
  - NVIDIA kernel modules are loaded
  - /dev/nvidia* nodes exist
  - nvidia-smi fails with:
    "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA 
driver."

  Related desktop/portal crash:
  - A related xdg-desktop-portal-gnome SIGSEGV was filed as Bug #2157672.
  - Around the same session, GDM/Xorg logged NVIDIA display configuration 
failures:
    "NVIDIA(G0): Failed to set the display configuration"
    and mode setting failed with "Insufficient permissions".
  - The portal crash occurred during OBS screen/window capture after a hybrid 
GPU session rebuild.

  Expected behavior:
  - In PRIME on-demand mode, the NVIDIA offload GPU should be usable by NVIDIA 
tools and applications.
  - nvidia-smi should communicate with the driver or report a clear 
runtime-power/offload limitation instead of failing as if the driver is 
unavailable.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: nvidia-driver-580 580.159.03-0ubuntu0.24.04.1
ProcVersionSignature: Ubuntu 6.17.0-35.35~24.04.1-generic 6.17.13
Uname: Linux 6.17.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Jun 20 05:44:05 2026
InstallationDate: Installed on 2026-02-07 (132 days ago)
InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
SourcePackage: nvidia-graphics-drivers-580
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nvidia-graphics-drivers-580 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2157674

Title:
  PRIME on-demand exposes NVIDIA offload GPU but nvidia-smi cannot
  communicate with driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2157674/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to