** Description changed:

  Ubuntu crashes after connecting an external display, in this case a TV, to my 
laptop's HDMI port and logs out. After logging back in, the HDMI port seem to 
be disabled, as nothing happens when unplugging the cable and plugging it back 
in.
  Some extra info I can provide:
  - It's a Lenovo Legion laptop with an HDMI port connected directly to an RTX 
3070ti
- - My nVidia driver version is 580.82.09
+ - My nVidia driver version is 580.95.05
  - The CPU is intel and it has its own Intel GPU
  - Before crashing, the Terminal opens and displays this error:
  [ 174.246XXX] nvidia-modeset: ERROR: GPU:0: Failed to query display engine 
channel state: 0x0000c67d:0:0:0x00000062 (This line repeats numerous times with 
those XXX different each line, until next line appears and Ubuntu logs out)
  [ 174.967589] nvidia-modeset: ERROR: GPU:0: Timed out waiting for core 
channel idle.
  - The same TV works if connected via USB-C
  - I found only one post on the internet from someone who had the same error 
and "fixed it" by rolling back to nVidia driver version 580.82.09 
(https://forum.endeavouros.com/t/lenovo-legion-laptop-nvidia-drivers-580-95-05-tv-screen-freezes-the-system/75600/3)
  - It's no necessary for me to detail the steps to reproduce since there is 
only one step: plug an HDMI cable
  
  No LSB modules are available.
  Description:  Ubuntu 24.04.3 LTS
  Release:      24.04
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: xorg 1:7.7+23ubuntu3
  ProcVersionSignature: Ubuntu 6.14.0-29.29~24.04.1-generic 6.14.8
  Uname: Linux 6.14.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.driver.nvidia.capabilities.fabric-imex-mgmt:
-  DeviceFileMinor: 4323
-  DeviceFileMode: 256
-  DeviceFileModify: 1
+  DeviceFileMinor: 4323
+  DeviceFileMode: 256
+  DeviceFileModify: 1
  .proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
  .proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
  .proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.suspend: suspend hibernate resume
  .proc.driver.nvidia.suspend_depth: default modeset uvm
  .proc.driver.nvidia.version:
-  NVRM version: NVIDIA UNIX x86_64 Kernel Module  580.95.05  Tue Sep 23 
10:11:16 UTC 2025
-  GCC version:  gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
+  NVRM version: NVIDIA UNIX x86_64 Kernel Module  580.95.05  Tue Sep 23 
10:11:16 UTC 2025
+  GCC version:  gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Dec 21 20:42:04 2025
  DistUpgraded: Fresh install
  DistroCodename: noble
  DistroVariant: ubuntu
  DkmsStatus:
-  nvidia/580.95.05, 6.14.0-29-generic, x86_64: installed
-  nvidia/580.95.05, 6.14.0-37-generic, x86_64: installed
+  nvidia/580.95.05, 6.14.0-29-generic, x86_64: installed
+  nvidia/580.95.05, 6.14.0-37-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
-  Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] [8086:46a6] (rev 0c) 
(prog-if 00 [VGA controller])
-    Subsystem: Lenovo Alder Lake-P GT2 [Iris Xe Graphics] [17aa:3aef]
-  NVIDIA Corporation GA104M [Geforce RTX 3070 Ti Laptop GPU] [10de:24e0] (rev 
a1) (prog-if 00 [VGA controller])
-    Subsystem: Lenovo GA104M [Geforce RTX 3070 Ti Laptop GPU] [17aa:3aef]
+  Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] [8086:46a6] (rev 0c) 
(prog-if 00 [VGA controller])
+    Subsystem: Lenovo Alder Lake-P GT2 [Iris Xe Graphics] [17aa:3aef]
+  NVIDIA Corporation GA104M [Geforce RTX 3070 Ti Laptop GPU] [10de:24e0] (rev 
a1) (prog-if 00 [VGA controller])
+    Subsystem: Lenovo GA104M [Geforce RTX 3070 Ti Laptop GPU] [17aa:3aef]
  InstallationDate: Installed on 2025-09-23 (89 days ago)
  InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
  MachineType: LENOVO 82RF
  ProcEnviron:
-  LANG=en_US.UTF-8
-  PATH=(custom, no user)
-  SHELL=/bin/bash
-  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.14.0-29-generic 
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/08/2024
  dmi.bios.release: 1.57
  dmi.bios.vendor: LENOVO
  dmi.bios.version: J2CN57WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76479 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Legion Y9000P IAH7H
  dmi.ec.firmware.release: 1.57
  dmi.modalias: 
dmi:bvnLENOVO:bvrJ2CN57WW:bd01/08/2024:br1.57:efr1.57:svnLENOVO:pn82RF:pvrLegionY9000PIAH7H:rvnLENOVO:rnLNVNB161216:rvrSDK0T76479WIN:cvnLENOVO:ct10:cvrLegionY9000PIAH7H:skuLENOVO_MT_82RF_BU_idea_FM_LegionY9000PIAH7H:
  dmi.product.family: Legion Y9000P IAH7H
  dmi.product.name: 82RF
  dmi.product.sku: LENOVO_MT_82RF_BU_idea_FM_Legion Y9000P IAH7H
  dmi.product.version: Legion Y9000P IAH7H
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.122-1~ubuntu0.24.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 25.0.7-0ubuntu0.24.04.2
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.5
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2ubuntu0.1

** Description changed:

  Ubuntu crashes after connecting an external display, in this case a TV, to my 
laptop's HDMI port and logs out. After logging back in, the HDMI port seem to 
be disabled, as nothing happens when unplugging the cable and plugging it back 
in.
  Some extra info I can provide:
  - It's a Lenovo Legion laptop with an HDMI port connected directly to an RTX 
3070ti
  - My nVidia driver version is 580.95.05
  - The CPU is intel and it has its own Intel GPU
- - Before crashing, the Terminal opens and displays this error:
+ - Before crashing, the screen goes black and displays this error:
  [ 174.246XXX] nvidia-modeset: ERROR: GPU:0: Failed to query display engine 
channel state: 0x0000c67d:0:0:0x00000062 (This line repeats numerous times with 
those XXX different each line, until next line appears and Ubuntu logs out)
  [ 174.967589] nvidia-modeset: ERROR: GPU:0: Timed out waiting for core 
channel idle.
  - The same TV works if connected via USB-C
  - I found only one post on the internet from someone who had the same error 
and "fixed it" by rolling back to nVidia driver version 580.82.09 
(https://forum.endeavouros.com/t/lenovo-legion-laptop-nvidia-drivers-580-95-05-tv-screen-freezes-the-system/75600/3)
  - It's no necessary for me to detail the steps to reproduce since there is 
only one step: plug an HDMI cable
  
  No LSB modules are available.
  Description:  Ubuntu 24.04.3 LTS
  Release:      24.04
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: xorg 1:7.7+23ubuntu3
  ProcVersionSignature: Ubuntu 6.14.0-29.29~24.04.1-generic 6.14.8
  Uname: Linux 6.14.0-29-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.driver.nvidia.capabilities.fabric-imex-mgmt:
   DeviceFileMinor: 4323
   DeviceFileMode: 256
   DeviceFileModify: 1
  .proc.driver.nvidia.capabilities.gpu0: Error: path was not a regular file.
  .proc.driver.nvidia.capabilities.mig: Error: path was not a regular file.
  .proc.driver.nvidia.gpus.0000.01.00.0: Error: path was not a regular file.
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.suspend: suspend hibernate resume
  .proc.driver.nvidia.suspend_depth: default modeset uvm
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  580.95.05  Tue Sep 23 
10:11:16 UTC 2025
   GCC version:  gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Dec 21 20:42:04 2025
  DistUpgraded: Fresh install
  DistroCodename: noble
  DistroVariant: ubuntu
  DkmsStatus:
   nvidia/580.95.05, 6.14.0-29-generic, x86_64: installed
   nvidia/580.95.05, 6.14.0-37-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, if not too technical
  GraphicsCard:
   Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] [8086:46a6] (rev 0c) 
(prog-if 00 [VGA controller])
     Subsystem: Lenovo Alder Lake-P GT2 [Iris Xe Graphics] [17aa:3aef]
   NVIDIA Corporation GA104M [Geforce RTX 3070 Ti Laptop GPU] [10de:24e0] (rev 
a1) (prog-if 00 [VGA controller])
     Subsystem: Lenovo GA104M [Geforce RTX 3070 Ti Laptop GPU] [17aa:3aef]
  InstallationDate: Installed on 2025-09-23 (89 days ago)
  InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
  MachineType: LENOVO 82RF
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.14.0-29-generic 
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 01/08/2024
  dmi.bios.release: 1.57
  dmi.bios.vendor: LENOVO
  dmi.bios.version: J2CN57WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76479 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Legion Y9000P IAH7H
  dmi.ec.firmware.release: 1.57
  dmi.modalias: 
dmi:bvnLENOVO:bvrJ2CN57WW:bd01/08/2024:br1.57:efr1.57:svnLENOVO:pn82RF:pvrLegionY9000PIAH7H:rvnLENOVO:rnLNVNB161216:rvrSDK0T76479WIN:cvnLENOVO:ct10:cvrLegionY9000PIAH7H:skuLENOVO_MT_82RF_BU_idea_FM_LegionY9000PIAH7H:
  dmi.product.family: Legion Y9000P IAH7H
  dmi.product.name: 82RF
  dmi.product.sku: LENOVO_MT_82RF_BU_idea_FM_Legion Y9000P IAH7H
  dmi.product.version: Legion Y9000P IAH7H
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.122-1~ubuntu0.24.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 25.0.7-0ubuntu0.24.04.2
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.12-1ubuntu1.5
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:22.0.0-1build1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1build1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2ubuntu0.1

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

Title:
  Ubuntu crashes and logs out after connecting an HDMI cable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/2136963/+subscriptions


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

Reply via email to