Hello!
Please consider the following bug report:
- Hardware: MSI Stealth GS66 12UGS
- OS: Arch linux
- Installed nvidia driver version: 510.54
$ uname -a
Linux afro 5.16.14-arch1-1 #1 SMP PREEMPT Fri, 11 Mar 2022 17:40:36 +0000 x86_64 GNU/Linux
$ pacman -Qi nvidia
Name : nvidia
Version : 510.54-7
Description : NVIDIA drivers for linux
Architecture : x86_64
Licenses : custom
Groups : None
Provides : NVIDIA-MODULE
Depends On : linux nvidia-utils=510.54 libglvnd
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 27.54 MiB
Packager : Jan Alexander Steffens
Build Date : Fri 11 Mar 2022 06:06:49 PM WET
Install Date : Thu 17 Mar 2022 11:16:07 AM WET
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] (rev ff)
USER STORY:
When activating the nvidia drivers version 510.54-7, following the procedure below, the display freezes and the machine stops responding to the keyboard, however it is still possible to ssh into the machine.
All works well when running with nvidia drivers version 470xx-dkms (470.103.01-1).
STEP 1:
$ optimus-manager --status
Optimus Manager (Client) version 1.4
Current GPU mode : integrated
GPU mode requested for next login : no change
GPU at startup : integrated
Temporary config path: no
STEP 2:
$ optimus-manager --switch nvidia
A GPU switch from integrated to nvidia is pending.
Log out and log back in to apply.
ERROR : cannot get current display manager name : No display-manager.service file found
Switching to mode : nvidia
Please logout all graphical sessions then log back in to apply the change.
STEP 3:
$ prime-switch
[7] INFO: # Xorg pre-start hook
[7] INFO: Previous state was: {âtypeâ: âpending_pre_xorg_startâ, ârequested_modeâ: ânvidiaâ, âcurrent_modeâ: âintegratedâ}
[7] INFO: Requested mode is: nvidia
modinfo: ERROR: Module acpi_call not found.
[703] INFO: Available modules: [ânouveauâ, âbbswitchâ, ânvidiaâ, ânvidia_drmâ, ânvidia_modesetâ, ânvidia_uvmâ]
[703] INFO: Unloading modules [ânouveauâ] (if loaded)
[706] INFO: Loading module bbswitch
[709] INFO: Setting GPU power to ON via bbswitch
[1985] INFO: Loading module nvidia
[2663] INFO: Loading module nvidia_drm
( ** KERNEL OOPS / DISPLAY FREEZES / NO RESPONSE TO KEYBOARD ** )
The dmesg log attached highlights the following lines:
(âŠ)
[ 1197.825369] BUG: kernel NULL pointer dereference, address: 0000000000000048
[ 1197.825370] #PF: supervisor write access in kernel mode
[ 1197.825371] #PF: error_code(0x0002) - not-present page
[ 1197.825372] PGD 0 P4D 0
[ 1197.825374] Oops: 0002 [#1] PREEMPT SMP NOPTI
(âŠ)
Also, please find attached:
- nvidia-bug-report_before_loading_nvidia_driver.log.gz
- nvidia-bug-report_after_hang.log.gz
nvidia-bug-report.log.gz (1.1 KB)
dmesg_after_hang.log (173.8 KB)
nvidia-bug-report_before_loading_nvidia_driver.log.gz (68.9 KB)
Regards,
FM