Debian Bullseye Second monitor cannot detected

nvidia-bug-report.log.gz (267.9 KB)
Hello, I have been tried many solutions even in the forum. But none of them could help me. When i install nvidia-driver then nvidia-xconfig (will create file on etc/X11/xorg.conf then i restart. I will have only second monitor but
primary laptop monitor is turn into black with _ flashing. Can somebody help me ?

`

lshw -c video

`

WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: TU106M [GeForce RTX 2060 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:173 memory:c5000000-c5ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:4000(size=128) memory:c4000000-c407ffff
*-display
description: VGA compatible controller
product: CometLake-H GT2 [UHD Graphics]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list
configuration: driver=i915 latency=0
resources: irq:143 memory:c3000000-c3ffffff memory:a0000000-afffffff ioport:5000(size=64) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

`

lspci |grep VGA

`

00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU106M [GeForce RTX 2060 Mobile] (rev a1)

`

xrandr --listproviders

`
Providers: number : 2
Provider 0: id: 0x48 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 6 associated providers: 0 name:modesetting
Provider 1: id: 0x291 cap: 0x2, Sink Output crtcs: 4 outputs: 3 associated providers: 0 name:NVIDIA-G0

`

xorg.conf

`

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 460.32.03

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 “nvidia”
VendorName “NVIDIA Corporation”
EndSection

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

i tried setprovider but error like this

xrandr --setprovideroutputsource modesetting NVIDIA-G0

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 35 (RRSetProviderOutputSource)
Value in failed request: 0x291
Serial number of failed request: 16
Current serial number in output stream: 17

|I have same problem. Nitro 5, gtx 1650ti, AN515-44. No have solution :(

Please delete /etc/X11/xorg.conf and set kernel parameter
nvidia-drm.modeset=1
After reboot, the internal screen should work. Running
xrandr --setprovideroutputsource NVIDIA-G0 modesetting
should enable the external monitor.
Furthermore, there seems to be an issue with your ethernet controller, please set kernel parameter
pci=noaer

Dear friends,

I am also having the same issue. I have a L340 ideapad from Lenovo. I have the exact same description as follows:

Hello, I have been tried many solutions even in the forum. But none of them could help me. When i install nvidia-driver then nvidia-xconfig (will create file on etc/X11/xorg.conf then i restart. I will have only second monitor but
primary laptop monitor is turn into black with _ flashing.

For my computer, I present the following information:

lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 3 GB Max-Q] (rev a1)

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x43 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 1 associated providers: 0 name:modesetting
Provider 1: id: 0x248 cap: 0x2, Sink Output crtcs: 4 outputs: 1 associated providers: 0 name:NVIDIA-G0

xrandr --setprovideroffloadsink NVIDIA-G0 modesetting

X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 34 (RRSetProviderOffloadSink)
Value in failed request: 0x248
Serial number of failed request: 16
Current serial number in output stream: 17

I already set nvidia-drm.modeset=1 in Kernel.

There is no progress and I can’t use HDMI. Can someone help me please?? I went through lots of pages and follow several recommendations but anything didn’t worked.