Ubuntu 18.04 completely freezes after a few minutes of being booted

yes.

I thought it might be worth a shot.

Looking at your debug log (1) (and I’m by far not an expert reading that), I see you have Xid errors and RmInitAdapter messages:

Jan 13 10:06:15 innb02661-linux kernel: [ 36.479226] NVRM: Xid (PCI:0000:6c:00): 61, pid=1500, 0a97(2a64) 00000000 00000000
Jan 13 10:06:25 innb02661-linux kernel: [ 45.882452] NVRM: Xid (PCI:0000:6c:00): 8, pid=1475, Channel 00000008
Jan 13 11:23:39 innb02661-linux kernel: [ 4680.290400] NVRM: GPU 0000:6c:00.0: RmInitAdapter failed! (0x24:0xffff:1248)
Jan 13 11:23:39 innb02661-linux kernel: [ 4680.290449] NVRM: GPU 0000:6c:00.0: rm_init_adapter failed, device minor number 0

https://docs.nvidia.com/deploy/xid-errors/index.html

So there is a problem initializing the gpu.

You didn’t say, it’s working in windows?

Also I noticed two overlapping “OutputClass” definitions:
/usr/share/X11/xorg.conf.d/10-nvidia.conf
/usr/share/X11/xorg.conf.d/11-nvidia-prime.conf

pointing to different module paths.

Then yes, the keys are added in bios.
Thank you for the hints, I’ll look into them!
Yes, it is working fine in windows, as far as I can say. And it seems to work fine on Ubuntu if the GPU power settings are changed to “Prefer Maximum Performance”.

I have the same issue on HP ZBook Firefly 15 G7, card GP108GLM [Quadro P520] (rev a1) with X server 1.20.11 on Kubuntu 20.04. System hungs after 10-15 seconds after video card starts (It freezes on login screen using nvidia mode and after 10-15 seconds in on-demand mode) .
I tried kernels from 5.2 to 5.10 and drivers from 450 to 465.31.
I cannot gather logs using nvidia mode in prime-select since system freezes but I include nvidia-bug-report.log.gz for on-demand mode. It also prevents system from entering sleep mode in on-demand mode (see nvidia-sleep.sh process on the photo)

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

so have you solve this problem? I meet the same problem

Using version (460.67) and installing the driver with a runfile did the trick for me. I don’t remember where I downloaded the runfile, but this is a possible link:

Let me know if it works for you.

@generix
Hello) I have problems with my nvidia drivers.
I installed ubuntu 21.04 and then i installed nvidia drivers from binary package NVIDIA-Linux-x86_64-470.74.run . My GPU is nvidia geforce 3070 laptop.
The problem is: When the desktop is opened the screen is freezing after 10-20 sec and then black screen. I was making a lot of attempts to install nvidia drivers, but not success. Maybe you can help me to resolve my problem?
I attached my nvidia-bug-reportnvidia-bug-report.log.gz (109.8 KB)