GUI hangs after NVIDIA driver install

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 - 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, withe following contents:

blacklist nouveau
options nouveau modeset=0

nvidia-bug-report.log.gz (384.2 KB)

Hi there @salih.msa

this behavior usually happens if the Max-Q functionality, or previously called “Optimus” is not set up correctly. Which can easily happen on Debian systems. And the log you provided also points into that direction, since the NVIDIA GPU does not get connected to any Display device. There is also this:

[   39.359284] nvidia: module verification failed: signature and/or required key missing - tainting kernel

Are you using secure boot? If so you need to authorize the driver kernel module or disable secure boot.

To start with I recommend going through the Debian specific guidelines how to handle Optimus and see if that helps.

Best of success!