Cannot use HDMI on Debian and nvidia drivers are not loaded even after installation

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

Here is my bug report file

Purge bbswitch!
Use render offload:
https://download.nvidia.com/XFree86/Linux-x86_64/465.27/README/primerenderoffload.html

Don’t use the .run file installer! If you used it, uninstall using the --uninstall parameter.
After that install debian packages.

Awesome…i will do this and give you feedback asap

I disabled bbswitch and my driver now loads normally, however, following the instructions to install the prime render offload…i enter into a bootloop unless i delete the xorg file…is there something i am missing?

nvidia-bug-report.log.gz (74.1 KB)
Here is my current bugreport file…also my hdmi is still not working …if you need any code outputs please let me know…Thanks

bbswitch 20480 0 - Live 0xffffffffc3754000 (OE)

Shows bbswitch kernel module loaded, did you send the old bug report?


sudo apt purge bbswitch*

should do the trick to get rid of it.

image
just purged it…display devices still show none in the nvidia x server

also…wanted to ask, if bbswitch is gone, what does the power saving for me?..i am guessing the prime render offload?

Please post a new bug report.
And by the way… How did you install the nvidia drivers?

nvidia-bug-report.log.gz (255.0 KB)
Here is my new bug report after restarting

i installed the drivers through the official kali debian sources

Ok, finally the driver seems to be in place.

Now you need your prime configuration.
Your initial post didn’t contain much information what you want to do. Now I’m thinking you want this (display offloading):
https://download.nvidia.com/XFree86/Linux-x86_64/470.74/README/randr14.html

Found this guide (which I think is still accurate, but doesn’t cover reverse prime):

It also covers the creation of the display manager scripts.

Was any monitor connected at the time you ran the bug report?
Do you use any converter?
Didn’t seem to notice a monitor on any port:

[ 5.380] (–) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 5.380] (–) NVIDIA(0): DFP-0
[ 5.380] (–) NVIDIA(0): DFP-1
[ 5.380] (–) NVIDIA(0): DFP-2
[ 5.380] (–) NVIDIA(0): DFP-3
[ 5.380] (–) NVIDIA(0): DFP-4
[ 5.380] (–) NVIDIA(0): DFP-5
[ 5.381] (II) NVIDIA(G0): NVIDIA GPU NVIDIA GeForce RTX 2060 (TU106-A) at PCI:1:0:0
[ 5.381] (II) NVIDIA(G0): (GPU-0)
[ 5.381] (–) NVIDIA(G0): Memory: 6291456 kBytes
[ 5.381] (–) NVIDIA(G0): VideoBIOS: 90.06.59.00.60
[ 5.381] (II) NVIDIA(G0): Detected PCI Express Link width: 16X
[ 5.381] (–) NVIDIA(GPU-0): DFP-0: disconnected
[ 5.381] (–) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[ 5.381] (–) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[ 5.381] (–) NVIDIA(GPU-0):
[ 5.381] (–) NVIDIA(GPU-0): DFP-1: disconnected
[ 5.381] (–) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 5.381] (–) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 5.381] (–) NVIDIA(GPU-0):
[ 5.381] (–) NVIDIA(GPU-0): DFP-2: disconnected
[ 5.381] (–) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 5.381] (–) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[ 5.381] (–) NVIDIA(GPU-0):
[ 5.381] (–) NVIDIA(GPU-0): DFP-3: disconnected
[ 5.381] (–) NVIDIA(GPU-0): DFP-3: Internal TMDS
[ 5.381] (–) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[ 5.381] (–) NVIDIA(GPU-0):
[ 5.381] (–) NVIDIA(GPU-0): DFP-4: disconnected
[ 5.381] (–) NVIDIA(GPU-0): DFP-4: Internal TMDS
[ 5.381] (–) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[ 5.381] (–) NVIDIA(GPU-0):
[ 5.381] (–) NVIDIA(GPU-0): DFP-5: disconnected
[ 5.381] (–) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[ 5.381] (–) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock

One oddity remains in your bug report. dmesg is spammed with those messages:

[ 156.069124] Razer laptop control: Command not supported. Start Marker: 05 id: 1f Num Params: 34 Reserved: 03 Command: 0b Params: ff04000f000000dcc885d5be78ceb46b .

Never seen this. You might want to investigate and fix that.

Ah forgot…
I saw you launched something called prime-ui, couldn’t find anything about that. Guessing it’s supposed to do that above described configuration for you?

About the razer laptop control…its a kernel module i use to control my Pc(razer blade 15) fans…so i believe it might not be a problem

I didn’t connect any external display to my pc while running the script, i will do that now and send an updated one

No i do not use any converter

Also, regarding optimus, i haven’t being able to install it on my kali, instead , i installed nvidia-prime-select which doesn’t seem to do anything when i switch to intel

yes…the prime ui is supposed to replace primus

Well, I know prime-select from ubuntu. It’s a collection of scripts doing the switching of configurations between intel and nvidia (display offloading). sudo prime-select nvidia (to be sure sudo update-initramfs -u) and reboot. Should do the trick.

yea…except that i wasn’t able to do prime-select on kali(I wasn’t able to install it, no matter the ppa i checked)…so i installed nvidia-prime-select instead(which doesn’t work)image

nvidia-bug-report.log.gz (261.0 KB)
here is the report with an hdmi for external monitor connected

Update:

I was able to get my hdmi working finally by purging bbswitch and following the instructions here

downside is that my nvidia card is always on so that gives me low battery life and roaring fans

https://download.nvidia.com/XFree86/Linux-x86_64/470.74/README/dynamicpowermanagement.html

Quote from that doc:

It is important to note that the NVIDIA GPU will remain in an active state if it is driving a display. In this case, the NVIDIA GPU will go to a low power state only when the X configuration option HardDPMS is enabled and the display is turned off by some means - either automatically due to an OS setting or manually using commands like xset .

This means so far my HDMI output is provided by Nvidia, my card will always be on?

even if i have HardPMS enabled in the xorg.conf