Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] GUI hangs after NVIDIA driver install

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
salihmsa
Posts: 2
Joined: 2023-06-04 15:23

[Software] GUI hangs after NVIDIA driver install

#1 Post by salihmsa »

I’ve recently installed Debian 11 Linux on a HP Omen laptop with an Intel i7 processor and an NVIDIA GeForce RTX 3060.

I have installed the 530.41.03 driver (for Linux Kernel 5.10.0-23, at least according to uname -r) using the appropriate run-file downloaded from the official website. I made sure I disabled* the nouveau driver and that the nvidia drivers are running (checked using lsmod).

This can be confirmed by a functioning nvidia-smi which reports the driver number and what applications are using it.

The problem is my GUI - Cinnamon on lightdm using xorg (installed by graphical installer ISO) - is no longer functionality; on boot, the page just hangs so I’m restricted to console mode (i.e. Ctrl+Alt+F* except F7).

Lightdm according to systemctl is active & running, consistently across boots, and the xorg process is also alive.

I’m just not sure why the system isn’t working. I’d appreciate any help and I’d be happy to supply additional information

*This was done by creating a file in the /etc/modprobe.d directory, with the following contents:

blacklist nouveau
options nouveau modeset=0

Aki
Global Moderator
Global Moderator
Posts: 2816
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 68 times
Been thanked: 382 times

Re: [Software] GUI hangs after NVIDIA driver install

#2 Post by Aki »

Hello,

Welcome to the forum.

Could you send more information about your computer ? You can use the following commands (information is anonymous):

Code: Select all

su -l -c "apt install inxi"
inxi -c0 -Fxxxrz > inxi.log
You can report in a follow-up message the contents of the file named inxi.log using code tags [1]

---
[1] https://www.phpbb.com/community/help/bbcode#f2r1
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

salihmsa
Posts: 2
Joined: 2023-06-04 15:23

Re: [Software] GUI hangs after NVIDIA driver install

#3 Post by salihmsa »

Hi, I've attached the information below

Code: Select all

System:    Kernel: 5.10.0-23-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Console: tty 1 DM: LightDM 1.26.0 
           Distro: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: HP product: OMEN by HP Laptop 16-b0xxx v: N/A serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: HP model: 88FD v: 86.39 serial: <filter> UEFI: AMI v: F.23 date: 09/29/2021 
Battery:   ID-1: BAT0 charge: 63.5 Wh condition: 63.5/83.0 Wh (76%) volts: 12.8/11.6 model: HP Primary type: Li-ion 
           serial: <filter> status: Full cycles: 131 
CPU:       Info: 8-Core model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP arch: N/A rev: 1 L2 cache: 24 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 73728 
           Speed: 922 MHz min/max: 800/4600 MHz Core speeds (MHz): 1: 922 2: 777 3: 801 4: 801 5: 800 6: 801 7: 765 8: 899 
           9: 799 10: 800 11: 780 12: 800 13: 801 14: 949 15: 801 16: 801 
Graphics:  Device-1: Intel vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 0000:00:02.0 chip ID: 8086:9a60 
           class ID: 0300 
           Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] vendor: Hewlett-Packard driver: nvidia v: 530.41.03 
           bus ID: 0000:01:00.0 chip ID: 10de:2560 class ID: 0300 
           Device-3: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo bus ID: 3-6:3 chip ID: 04f2:b735 
           class ID: fe01 serial: <filter> 
           Display: server: X.org 1.20.11 driver: loaded: nvidia tty: 320x90 
           Message: Advanced graphics data unavailable in console. Try -G --display 
Audio:     Device-1: Intel vendor: Hewlett-Packard driver: sof-audio-pci bus ID: 0000:00:1f.3 chip ID: 8086:43c8 
           class ID: 0401 
           Device-2: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 0000:01:00.1 chip ID: 10de:228e 
           class ID: 0403 
           Sound Server: ALSA v: k5.10.0-23-amd64 
Network:   Device-1: Intel driver: iwlwifi v: kernel port: 5000 bus ID: 0000:00:14.3 chip ID: 8086:43f0 class ID: 0280 
           IF: wlo1 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel 
           port: 3000 bus ID: 0000:2d:00.0 chip ID: 10ec:8168 class ID: 0200 
           IF: eno1 state: down mac: <filter> 
Bluetooth: Device-1: Intel type: USB driver: btusb v: 0.8 bus ID: 3-14:4 chip ID: 8087:0026 class ID: e001 
           Report: ID: hci0 state: down address: <filter> 
RAID:      Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd v: 0.6 port: 5000 bus ID: 0000:00:0e.0 
           chip ID: 8086.9a0b rev: N/A 
Drives:    Local Storage: total: 953.87 GiB used: 51.14 GiB (5.4%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: MZVL21T0HCLR-00BH1 size: 953.87 GiB speed: 63.2 Gb/s lanes: 4 
           rotation: SSD serial: <filter> rev: HPS2NGXH scheme: GPT 
Partition: ID-1: / size: 45.51 GiB used: 31.2 MiB (0.1%) fs: ext4 dev: /dev/dm-8 mapped: DEBIAN_DISK-ROOT_crypt 
           ID-2: /boot size: 918.7 MiB used: 154.1 MiB (16.8%) fs: ext4 dev: /dev/dm-0 mapped: DEBIAN_DISK-BOOT 
           ID-3: /boot/efi size: 528 MiB used: 5.8 MiB (1.1%) fs: vfat dev: /dev/nvme0n1p1 
           ID-4: /home size: 568.8 GiB used: 41.83 GiB (7.4%) fs: ext4 dev: /dev/dm-11 mapped: DEBIAN_DISK-HOME_crypt 
           ID-5: /tmp size: 1.78 GiB used: 80 KiB (0.0%) fs: ext4 dev: /dev/dm-13 mapped: DEBIAN_DISK-TMP_crypt 
           ID-6: /usr size: 273.93 GiB used: 8.47 GiB (3.1%) fs: ext4 dev: /dev/dm-10 mapped: DEBIAN_DISK-USR_crypt 
           ID-7: /var size: 13.63 GiB used: 659.2 MiB (4.7%) fs: ext4 dev: /dev/dm-12 mapped: DEBIAN_DISK-VAR_crypt 
           ID-8: /var/tmp size: 1.78 GiB used: 72 KiB (0.0%) fs: ext4 dev: /dev/dm-14 mapped: DEBIAN_DISK-VAR_TMP_crypt 
Swap:      ID-1: swap-1 type: partition size: 29.79 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-9 
           mapped: DEBIAN_DISK-SWAP_crypt 
Sensors:   System Temperatures: cpu: 41.0 C mobo: N/A gpu: nvidia temp: 36 C 
           Fan Speeds (RPM): N/A 
Repos:     Packages: apt: 2047 
           Active apt repos in: /etc/apt/sources.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
           3: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           4: deb-src http://security.debian.org/debian-security bullseye-security main contrib
           5: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           6: deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
Info:      Processes: 295 Uptime: 6h 12m wakeups: 4 Memory: 15.27 GiB used: 745.8 MiB (4.8%) Init: systemd v: 247 runlevel: 5 
           target: graphical.target Compilers: gcc: 10.2.1 alt: 10 clang: 11.0.1-2 Shell: Bash v: 5.1.4 running in: tty 1 
           inxi: 3.3.01 
Oh, and I'm not sure if this helps or not but using an old version of the kernel image seems to do nothing so I thought it might indicate an issue w/ xorg or lightdm.

CynicalDebian
Posts: 263
Joined: 2023-03-02 05:26
Location: USA
Has thanked: 50 times
Been thanked: 60 times
Contact:

Re: [Software] GUI hangs after NVIDIA driver install

#4 Post by CynicalDebian »

salihmsa wrote: I have installed the 530.41.03 driver (for Linux Kernel 5.10.0-23, at least according to uname -r) using the appropriate run-file downloaded from the official website. I made sure I disabled* the nouveau driver and that the nvidia drivers are running (checked using lsmod).
You have obtained a driver not supported by Debian.

Please read:
https://wiki.debian.org/DontBreakDebian ... ll_scripts

For information on how to properly install the propietary Nvidia Driver:
https://wiki.debian.org/NvidiaGraphicsDrivers
Be seeing you...

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: [Software] GUI hangs after NVIDIA driver install

#5 Post by sunrat »

You need firmware-misc-nonfree from the non-free section of the Debian repo.

The downloaded Nvidia driver should work (if firmware installed) but is a PITA as it needs to be reinstalled with kernel upgrades. It is far preferable to install nvidia-driver from the Debian repo though.

For that system, Bookworm would be a better choice than Bullseye; it is officially released in 5 days from now. Bookworm currently has the 525.105.17-1 driver which should work well with RTX 3060. You need non-free and non-free-firmware repos active.
https://packages.debian.org/bookworm/nvidia-driver
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply