I recently installed Debian 9. It's all ok, the only problem that it's not detecting my monitor in hdmi port. I'm using a Dell Inspiron 15 Gaming Notebook.

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192                                                                
eDP-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm                                       
   1920x1080     60.05*+  59.93    48.04                                                                                             
   1680x1050     59.95    59.88                                                                                                      
   1600x1024     60.17                                                                                                               
   512x384       60.00                                                                                                               
   400x300       60.32    56.34                                                                                                      
   320x240       60.05                                                                                                               
DP-1 disconnected (normal left inverted right x axis y axis)                                                                         
HDMI-1 disconnected (normal left inverted right x axis y axis)

And lspci -nn | grep VGA output:

00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:591b] (rev 04)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c8c] (rev a1)

It works fine in Windows.
My debian: Linux debian 4.9.0-4-amd64 and KDE Plasma.

xrandr --listproviders ouput:

Providers: number : 1
Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:modesetting

Log Xorg Error
Warning when installing Nvidia Driver
OpenGL error

update-glx --list glx output:


Xorg.0.log without nvidia-xconfig
Xorg.0.log with nvidia-xconfig


1 Answer 1


You have a laptop with two GPUs: in NVidia terminology, this is known as Optimus Technology. The complication with that is, it is possible that some physical outputs are wired to a specific GPU only, and it may or may not be possible to switch them.

The outputs you see listed in xrandr printout are just what the CPU-integrated Intel GPU is capable of; it is possible that the DP-1 and/or HDMI-1 outputs from that GPU are left unconnected, and the external outputs are wired to the NVidia GPU instead.

This problem could be solved by configuring one of the GPUs to pass the rendered output into the other one, effectively using the secondary GPU as a sort of "expansion unit" that provides extra interfaces.

If you are using the open-source nouveau driver for the NVidia GPU, it has all the facilities for dealing with this situation any way you choose. You could then use the Intel GPU as a primary and NVidia as a secondary, with a single command like xrandr --setprovideroutputsource 1 0. That would allow you to completely disable the NVidia GPU when you are not using it, minimizing power consumption.

But if you are using the proprietary nvidia driver (nvidia-current in Debian packaging), the problem is that the proprietary driver currently has the facilities to act as in primary role only. So to get graphics to the laptop's integrated display, you would need to always have both GPUs up and running.

Please run xrandr --listproviders and edit the output into your question; that will tell whether or not the NVidia GPU is currently recognized and which options it has available regarding passing output from one GPU to another.

If the xrandr --listproviders indicates the NVidia GPU has the Sink Output capability, run xrandr --setprovideroutputsource <NVidia's number> <Intel's number> and then run xrandr without parameters again; now you should see the outputs available in the Intel GPU too. But in this configuration, you would be using the NVidia GPU as just a "dumb pass-through device", which may be silly given that it's the more powerful of your two GPUs.

  • As xrandr --listproviders just showed one output, then i didn't inserted xrandr --setprovideroutputsource <NVidia's number> <Intel's number>. As for the driver, i'm using what has come with Debian 9, so i guess it's the nouveau.
    – alphamz
    Feb 5, 2018 at 11:44
  • Okay. So whichever driver you're using, it is not recognizing the NVidia GPU at all. According to the PCI IDs, it is a GeForce GTX 1050 Ti Mobile, so it's probably too new for nouveau as it exists in Debian's current kernel. You'll need nvidia-current package from Debian's non-free repository.
    – telcoM
    Feb 5, 2018 at 11:54
  • No, not nvidia-current which provides an old driver (340) intended only for legacy hardware. Installing it will break the system. Version that support a GTX1050 are 375, 384, 387 or 390.
    – user252181
    Feb 5, 2018 at 12:37
  • And you would need to always have both GPUs up and running is wrong (and all outputs are for both cards, this isn't a desktop). The Nvidia driver does NOT enable both cards. It does provide a GUI tool - Nvidia X Server Settings - where, among many other settings, there's a profile selector to enable one or the other (reboot required). Perhaps you should have a better understanding of Nvidia graphics, Nvidia drivers and "Optimus" before answering.
    – user252181
    Feb 5, 2018 at 12:42
  • Oops, you're right. The new metapackage is nvidia-driver, which will then pull in a number of things, including nvidia-kernel-dkms and xserver-xorg-video-nvidia.
    – telcoM
    Feb 5, 2018 at 12:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .