[Desktop-packages] [Bug 2036957] Re: [mantic] Nvidia GPU not detected using on-demand

2023-09-21 Thread Daniel van Vugt
*** This bug is a duplicate of bug 2033735 ***
https://bugs.launchpad.net/bugs/2033735

** Tags added: hybrid mantic multigpu nvidia

** This bug has been marked a duplicate of bug 2033735
   [mantic] New 6.5.0.2 kernel + Intel GPU = no HDMI

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2036957

Title:
  [mantic] Nvidia GPU not detected using on-demand

Status in gnome-shell package in Ubuntu:
  New

Bug description:
  Hi,

  Laptop: Legion with Intel + Nvidia 3070 gpu

  I reported
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2033735 but I
  realize this could be a GNOME (including gdm?) issue. That's not a
  hardware failure as W11+hdmi is working with on-demand. That's not
  Nvidia-535 related since I get the same bug using Nouveau.

  - Using Nvidia dGPU: all is ok (well, in a X11 session!)

  - Using dynamic graphics:
  --- Nvidia gpu is not listed in g-c-c system details (only Intel gpu is 
listed)
  --- App menu's option to launch with dGPU is missing
  --- HDMI monitor is not detected

  When I boot, I notice in gdm's screen that my monitor is not activated
  (full black). It is when I use Nvidia dGPU-only mode. So that's not
  only a GS stuff, as far as I can see.

  I get this related to Nvidia in logs:

  13:51:23 systemd: Started 
app-gnome-nvidia\x2dsettings\x2dautostart-3974.scope - Application launched by 
gnome-session-binary.
  13:51:14 Xorg: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 
(/dev/input/event18)
  13:51:11 systemd: Started nvidia-persistenced.service - NVIDIA Persistence 
Daemon.
  13:51:11 nvidia-persiste: Local RPC services initialized
  13:51:11 systemd: Starting nvidia-persistenced.service - NVIDIA Persistence 
Daemon...
  13:51:10 kernel: nvidia-uvm: Loaded the UVM driver, major device number 508.
  13:51:10 kernel: nvidia_uvm: module uses symbols 
nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting 
taint.
  13:51:10 kernel: [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] 
[GPU ID 0x0100] Failed to register device
  13:51:10 kernel: [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 
0x0100] Failed to allocate NvKmsKapiDevice
  13:51:10 kernel: input: HDA NVidia HDMI/DP,pcm=9 as 
/devices/pci:00/:00:01.0/:01:00.1/sound/card1/input32
  13:51:10 kernel: [drm] [nvidia-drm] [GPU ID 0x0100] Loading driver
  13:51:10 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver 
for UNIX platforms  535.104.05  Sat Aug 19 00:59:57 UTC 2023
  13:51:10 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  535.104.05  
Sat Aug 19 01:15:15 UTC 2023
  13:51:10 kernel: nvidia :01:00.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=none:owns=none
  13:51:10 kernel: nvidia :01:00.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=none:owns=none
  13:51:10 kernel: nvidia :01:00.0: enabling device ( -> 0003)
  13:51:10 kernel: nvidia-nvlink: Nvlink Core is being initialized, major 
device number 510
  13:51:09 kernel: nvidia: module license taints kernel.
  13:51:09 kernel: nvidia: module license taints kernel.
  13:51:09 kernel: nvidia: module license 'NVIDIA' taints kernel.
  13:51:09 kernel: nvidia: loading out-of-tree module taints kernel.
  13:51:09 kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-6.5.0-6-generic 
root=/dev/mapper/vgubuntu-root ro nvidia.NVreg_OpenRmEnableUnsupportedGpus=1 
quiet splash vt.handoff=7
  13:51:09 kernel: Command line: BOOT_IMAGE=/vmlinuz-6.5.0-6-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2036957/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 2036957] Re: [mantic] Nvidia GPU not detected using on-demand

2023-09-21 Thread Francois Thirioux
Here is lspci, Nvidia gpu is listed:

00:00.0 Host bridge: Intel Corporation 12th Gen Core Processor Host Bridge/DRAM 
Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 
Controller #1 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated 
Graphics Controller (rev 0c)
00:04.0 Signal processing controller: Intel Corporation Alder Lake Innovation 
Platform Framework Processor Participant (rev 02)
00:06.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 
Controller #0 (rev 02)
00:06.2 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x4 
Controller #2 (rev 02)
00:07.0 PCI bridge: Intel Corporation Alder Lake-P Thunderbolt 4 PCI Express 
Root Port #0 (rev 02)
00:0a.0 Signal processing controller: Intel Corporation Platform Monitoring 
Technology (rev 01)
00:0d.0 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 USB 
Controller (rev 02)
00:0d.2 USB controller: Intel Corporation Alder Lake-P Thunderbolt 4 NHI #0 
(rev 02)
00:14.0 USB controller: Intel Corporation Alder Lake PCH USB 3.2 xHCI Host 
Controller (rev 01)
00:14.2 RAM memory: Intel Corporation Alder Lake PCH Shared SRAM (rev 01)
00:14.3 Network controller: Intel Corporation Alder Lake-P PCH CNVi WiFi (rev 
01)
00:15.0 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C 
Controller #0 (rev 01)
00:15.1 Serial bus controller: Intel Corporation Alder Lake PCH Serial IO I2C 
Controller #1 (rev 01)
00:16.0 Communication controller: Intel Corporation Alder Lake PCH HECI 
Controller (rev 01)
00:1d.0 PCI bridge: Intel Corporation Device 51b0 (rev 01)
00:1d.1 PCI bridge: Intel Corporation Alder Lake PCI Express x1 Root Port #10 
(rev 01)
00:1f.0 ISA bridge: Intel Corporation Alder Lake PCH eSPI Controller (rev 01)
00:1f.3 Audio device: Intel Corporation Alder Lake PCH-P High Definition Audio 
Controller (rev 01)
00:1f.4 SMBus: Intel Corporation Alder Lake PCH-P SMBus Host Controller (rev 01)
00:1f.5 Serial bus controller: Intel Corporation Alder Lake-P PCH SPI 
Controller (rev 01)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [Geforce RTX 3070 
Ti Laptop GPU] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller 
(rev a1)
05:00.0 Non-Volatile memory controller: SK hynix Gold P31/BC711/PC711 NVMe 
Solid State Drive
06:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller PM9A1/PM9A3/980PRO
34:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 15)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/2036957

Title:
  [mantic] Nvidia GPU not detected using on-demand

Status in gnome-shell package in Ubuntu:
  New

Bug description:
  Hi,

  Laptop: Legion with Intel + Nvidia 3070 gpu

  I reported
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2033735 but I
  realize this could be a GNOME (including gdm?) issue. That's not a
  hardware failure as W11+hdmi is working with on-demand. That's not
  Nvidia-535 related since I get the same bug using Nouveau.

  - Using Nvidia dGPU: all is ok (well, in a X11 session!)

  - Using dynamic graphics:
  --- Nvidia gpu is not listed in g-c-c system details (only Intel gpu is 
listed)
  --- App menu's option to launch with dGPU is missing
  --- HDMI monitor is not detected

  When I boot, I notice in gdm's screen that my monitor is not activated
  (full black). It is when I use Nvidia dGPU-only mode. So that's not
  only a GS stuff, as far as I can see.

  I get this related to Nvidia in logs:

  13:51:23 systemd: Started 
app-gnome-nvidia\x2dsettings\x2dautostart-3974.scope - Application launched by 
gnome-session-binary.
  13:51:14 Xorg: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 
(/dev/input/event18)
  13:51:11 systemd: Started nvidia-persistenced.service - NVIDIA Persistence 
Daemon.
  13:51:11 nvidia-persiste: Local RPC services initialized
  13:51:11 systemd: Starting nvidia-persistenced.service - NVIDIA Persistence 
Daemon...
  13:51:10 kernel: nvidia-uvm: Loaded the UVM driver, major device number 508.
  13:51:10 kernel: nvidia_uvm: module uses symbols 
nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting 
taint.
  13:51:10 kernel: [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] 
[GPU ID 0x0100] Failed to register device
  13:51:10 kernel: [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 
0x0100] Failed to allocate NvKmsKapiDevice
  13:51:10 kernel: input: HDA NVidia HDMI/DP,pcm=9 as 
/devices/pci:00/:00:01.0/:01:00.1/sound/card1/input32
  13:51:10 kernel: [drm] [nvidia-drm] [GPU ID 0x0100] Loading driver
  13:51:10 kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver 
for UNIX platforms  535.104.05  Sat Aug 19 00: