NVIDIA GeForce GTX 1050 Ti - Debian 10 buster - No HDMI detected

Hello, all.

I’m experiencing an issue similar to the one reported here https://devtalk.nvidia.com/default/topic/1050970/linux/nvidia-gtx1050ti-not-recognizing-second-monitor-hdmi-/. However, the answer at the same link is suited to a Linux Mint distribution and I cannot find a similar solution in Debian.

I have an optimus system running Debian 10 (buster). I installed the NVIDIA proprietary driver through the .run file, version 435.21. My problem is that the HDMI is not recognized and so any secondary monitor connected through it. Also, I cannot find any information that is relevant to this purpose that at the same time doesn’t brake my system.

The command

lpsci | egrep 'VGA|3D'

gives me the following

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)

while the command

xrandr --listproviders

gives

Providers: number : 1
Provider 0: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel

Also, my xorg.config file looks like this

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "intel"
    VendorName    "Intel Corporation"
    BusID	  "PCI:0:2:0"
EndSection

Section "Device"
	Identifier	"Device1"
	Driver		"nvidia"
	VendorName	"NVIDIA Corporation"
	BusID		"PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Any help, please?

Please see this:
Optimus Howto
There’s also a link to script for Debian/Gnome

Not sure if this helps, but you have no screens or servers that reference the Device1 (your NVIDIA graphics Device)

It seems like this may be a laptop that is set up with build in Intel graphics for the Laptop pane and NVIDIA graphics for an external monitor. Is that right?

If you are only connecting monitors to the NVIDIA card, then you need to swap out the “Device0” reference in the Screen section (named “Screen0”) to “Device1”.

Like this:

Section "Screen"
    Identifier     "Screen0"
    Device         "Device1"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection