I did a fresh install of Debian 12 on my laptop.
SecureBoot always became disabled.
My laptop hardwares are as follows:
KERNEL : 6.1.0-37-amd64
CPU : Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Core)
GPU : 00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1)
ENVIRONMENT : GNOME
I successfully installed the nvidia-driver package which i downloaded from NVIDIA’s website. Before i installed i was able to use my laptop’s main monitor and other external monitor. After install my laptop’s monitor working only at grub, and all the other time i am using second monitor. Even if i plug out the second monitor still laptop giving me black screen.
Setup and environment information
All commands and output provided below were ran with the external monitor connected to the laptop.
Output for xrandr
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
HDMI-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95 + 144.00* 119.99
2560x1080 59.94
1920x1080 60.00 59.94 50.00
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1440 60.00
1280x1024 75.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 59.94
640x480 75.00 59.94 59.93
Output for xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 1 associated providers: 0 name:NVIDIA-0
Output for xrandr --listmonitors
Monitors: 1
0: +*HDMI-0 2560/597x1440/336+0+0 HDMI-0
Output for inxi -G
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA TU116M [GeForce GTX 1660 Ti Mobile] driver: nvidia
v: 575.64
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
loaded: nvidia gpu: i915 resolution: 2560x1440
API: OpenGL v: 4.6.0 NVIDIA 575.64 renderer: NVIDIA GeForce GTX 1660 Ti
with Max-Q Design/PCIe/SSE2
Output for sudo lshw -c video
*-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:151 memory:a2000000-a2ffffff memory:90000000-9fffffff memory:a0000000-a1ffffff ioport:4000(size=128) memory:a3000000-a307ffff
*-display
description: VGA compatible controller
product: CoffeeLake-H GT2 [UHD Graphics 630]
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
logical name: /dev/fb0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
resources: irq:142 memory:a4000000-a4ffffff memory:80000000-8fffffff ioport:5000(size=64) memory:c0000-dffff
Output for lsmod | grep nvidia
nvidia_uvm 1810432 40
nvidia_drm 118784 51
nvidia_modeset 1732608 29 nvidia_drm
nvidia 11476992 1030 nvidia_uvm,nvidia_modeset
drm_kms_helper 212992 5 bochs,drm_vram_helper,drm_display_helper,nvidia_drm,i915
drm 614400 59 drm_kms_helper,bochs,drm_vram_helper,drm_display_helper,nvidia,drm_buddy,drm_ttm_helper,nvidia_drm,i915,ttm
video 65536 4 dell_wmi,dell_laptop,i915,nvidia_modeset
What I have tried
set kernel parameter
nvidia-drm.modeset=1
and reboot, then run
xrandr --setprovideroutputsource NVIDIA-G0 modesetting && xrandr --auto
Reply from terminal: Could not find provider with name NVIDIA-G0
