Screen goes blank

Bug #2069300 reported by SAIKIRAN KALLURI
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned
nvidia-graphics-drivers-535 (Ubuntu)
New
Undecided
Unassigned

Bug Description

the screen goes completely blank even though i can hear video playing,the only way i found to solve this is by pressing superkey(windows key)+L and then it turns on when i click space after locking
and now when was opening gnome-tweaks app it suddenly showed a completely white screen and asked me to log out and sign in again which changed nothing when i did logout and logged in
then i performed a restart still didt work and then i open ubuntu on wayland though it did opened iam still facing problems like glitches on display and app list automatically closing by itself and apps closing by themselves.reporting this bug hoping you will fix it.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: xorg 1:7.7+23ubuntu3
ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
Uname: Linux 6.8.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.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 535.171.04 Tue Mar 19 20:30:00 UTC 2024
 GCC version:
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 13 18:19:32 2024
DistUpgraded: Fresh install
DistroCodename: noble
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU] [10de:25ac] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU] [103c:8bd5]
 Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c2) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company Phoenix1 [103c:8bd5]
InstallationDate: Installed on 2024-06-12 (1 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: HP Victus by HP Gaming Laptop 16-s0xxx
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-35-generic root=UUID=11e2c0fa-6dcf-41c4-a953-87ba97ab014d ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg crash
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/20/2024
dmi.bios.release: 15.20
dmi.bios.vendor: Insyde
dmi.bios.version: F.20
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 8BD5
dmi.board.vendor: HP
dmi.board.version: 79.46
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 79.46
dmi.modalias: dmi:bvnInsyde:bvrF.20:bd03/20/2024:br15.20:efr79.46:svnHP:pnVictusbyHPGamingLaptop16-s0xxx:pvrType1ProductConfigId:rvnHP:rn8BD5:rvr79.46:cvnHP:ct10:cvrChassisVersion:sku8R1E6PA#ACJ:
dmi.product.family: 103C_5335M7 HP VICTUS
dmi.product.name: Victus by HP Gaming Laptop 16-s0xxx
dmi.product.sku: 8R1E6PA#ACJ
dmi.product.version: Type1ProductConfigId
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.120-2build1
version.libgl1-mesa-dri: libgl1-mesa-dri 24.0.5-1ubuntu1
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
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-2build1

Revision history for this message
SAIKIRAN KALLURI (kirankalluri888) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :
Download full text (4.0 KiB)

These nvidia drivers look really unhappy, the first trace:

[ 11.997286] ------------[ cut here ]------------
[ 11.997290] UBSAN: array-index-out-of-bounds in build/nvidia/535.171.04/build/nvidia-uvm/uvm_pmm_gpu.c:2364:28
[ 11.997293] index 0 is out of range for type 'uvm_gpu_chunk_t *[*]'
[ 11.997296] CPU: 15 PID: 2599 Comm: ollama Tainted: P O 6.8.0-35-generic #35-Ubuntu
[ 11.997298] Hardware name: HP Victus by HP Gaming Laptop 16-s0xxx/8BD5, BIOS F.20 03/20/2024
[ 11.997300] Call Trace:
[ 11.997301] <TASK>
[ 11.997305] dump_stack_lvl+0x48/0x70
[ 11.997313] dump_stack+0x10/0x20
[ 11.997315] __ubsan_handle_out_of_bounds+0xc6/0x110
[ 11.997320] split_gpu_chunk+0x13f/0x410 [nvidia_uvm]
[ 11.997346] uvm_pmm_gpu_alloc+0x2da/0x6d0 [nvidia_uvm]
[ 11.997366] phys_mem_allocate+0xac/0x230 [nvidia_uvm]
[ 11.997389] allocate_directory+0xb4/0x130 [nvidia_uvm]
[ 11.997405] ? allocate_directory+0xb4/0x130 [nvidia_uvm]
[ 11.997422] uvm_page_tree_init+0x133/0x450 [nvidia_uvm]
[ 11.997442] uvm_gpu_retain_by_uuid+0x19df/0x2b80 [nvidia_uvm]
[ 11.997461] ? __mod_memcg_lruvec_state+0xd6/0x1a0
[ 11.997468] uvm_va_space_register_gpu+0x47/0x740 [nvidia_uvm]
[ 11.997486] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997489] ? bdev_getblk+0x53/0x90
[ 11.997493] uvm_api_register_gpu+0x5a/0x90 [nvidia_uvm]
[ 11.997510] uvm_ioctl+0x1a26/0x1cd0 [nvidia_uvm]
[ 11.997526] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997528] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997530] ? xas_find+0x74/0x1e0
[ 11.997533] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997535] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997537] ? next_uptodate_folio+0xa9/0x320
[ 11.997541] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997542] ? _raw_spin_lock_irqsave+0xe/0x20
[ 11.997546] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997548] ? thread_context_non_interrupt_add+0x13a/0x250 [nvidia_uvm]
[ 11.997568] uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm]
[ 11.997584] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997586] ? do_read_fault+0x112/0x1d0
[ 11.997589] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997591] ? do_fault+0x109/0x350
[ 11.997592] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997595] uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm]
[ 11.997610] __x64_sys_ioctl+0xa0/0xf0
[ 11.997613] x64_sys_call+0x143b/0x25c0
[ 11.997616] do_syscall_64+0x7f/0x180
[ 11.997619] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997621] ? __count_memcg_events+0x6b/0x120
[ 11.997624] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997625] ? count_memcg_events.constprop.0+0x2a/0x50
[ 11.997628] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997630] ? handle_mm_fault+0xad/0x380
[ 11.997633] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997634] ? do_user_addr_fault+0x338/0x6b0
[ 11.997637] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997639] ? irqentry_exit_to_user_mode+0x7b/0x260
[ 11.997641] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997643] ? irqentry_exit+0x43/0x50
[ 11.997644] ? srso_alias_return_thunk+0x5/0xfbef5
[ 11.997646] ? exc_page_fault+0x94/0x1b0
[ 11....

Read more...

information type: Private Security → Public
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think the nvidia-uvm kernel module is quite happily going out of bounds :)

  UBSAN: array-index-out-of-bounds

What made the screen go black over a minute later might have been amdgpu's fault:

  [ 99.419092] WARNING: CPU: 9 PID: 253 at drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:221 dmub_psr_enable+0xf8/0x110 [amdgpu]

Certainly amdgpu looks like the only module actually connected to a display.

no longer affects: xorg (Ubuntu)
summary: - Xorg crash
+ Screen goes blank
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.