I did a fresh install of Debian 11 (Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux) on my Omen 15 (15-en0xxx) laptop.
SecureBoot is currently disabled in my UEFI settings to ensure my issue is not related to unsigned software issues.
My laptop configuration is as follows:
Code: Select all
KERNEL : 5.10.0-21-amd64
CPU : AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000GHz
GPU : NVIDIA GeForce GTX 1660 Ti Mobile
ENVIRONMENT : GNOME 3.38.6
The problem is that when I plug in my second monitor, Debian does not detect this monitor at all and nothing is displayed on this monitor. This issue is present on both the HDMI port of my laptop and when using the Thunderbolt-to-DVI adapter I used to use when I had windows installed.
The nvidia-settings utility does detect the monitor correctly (both over HDMI and DVI-Adapter - see photo) but still nothing is displayed on the monitor and it is not visible in debian settings.
Monitor is visible in nvidia-settings
The monitor and cable are confirmed working both by plugging in to another laptop and the GRUB bootloader cursor is displayed during the GRUB "phase" on the laptop with the issue. Once linux boots the monitor seems to lose connection and is no longer usable from within the linux installation.
Setup and environment information
All commands and output provided below were ran with the external monitor connected to the laptop.
Output for xrandr
Code: Select all
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 144.00*+ 60.00
1680x1050 144.00
1280x1024 144.00
1440x900 144.00
1280x800 144.00
1280x720 144.00
1024x768 144.00
800x600 144.00
640x480 144.00
Code: Select all
Providers: number : 2
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 1 associated providers: 0 name:Unknown AMD Radeon GPU @ pci:0000:06:00.0
Provider 1: id: 0x1f7 cap: 0x2, Sink Output crtcs: 4 outputs: 5 associated providers: 0 name:NVIDIA-G0
Code: Select all
Monitors: 1
0: +*eDP 1920/344x1080/194+0+0 eDP
Code: Select all
Graphics:
Device-1: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] driver: nvidia
v: 470.161.03
Device-2: AMD Renoir driver: amdgpu v: kernel
Device-3: Luxvisions Innotech Limited HP Wide Vision HD Camera type: USB
driver: uvcvideo
Display: x11 server: X.Org 1.20.11 driver: loaded: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~144Hz
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.0-21-amd64 LLVM 11.0.1)
v: 4.6 Mesa 20.3.5
Code: Select all
*-display
description: VGA compatible controller
product: TU116M [GeForce GTX 1660 Ti Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:102 memory:fb000000-fbffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
*-display
description: VGA compatible controller
product: Renoir
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:06:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: driver=amdgpu latency=0
resources: irq:51 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:d000(size=256) memory:fc500000-fc57ffff
Code: Select all
nvidia_drm 73728 2
nvidia_modeset 1204224 4 nvidia_drm
nvidia 35516416 107 nvidia_modeset
drm_kms_helper 278528 2 amdgpu,nvidia_drm
drm 626688 13 gpu_sched,drm_kms_helper,nvidia,amdgpu,nvidia_drm,ttm
I have ran the nvidia-xconfig utility and rebooted. This generated an xorg.conf and my external monitor worked as expected. The built-in monitor of my laptop did however no longer present output (simply a black screen with a single static cursor in the top-left corner). This is not a solution to my problem.
Removing /etc/X11/xorg.conf and rebooting resulted in the built-in monitor of my laptop working again, but now the external monitor is again not working and not detected by debian settings (but, as before, visible in nvidia-settings).
I've also ran
Code: Select all
xrandr --setprovideroutputsource NVIDIA-G0 modesetting
Code: Select all
Could not find provider with name modesetting