I am trying to set this up for 3rd time - spent one more day today, without much success. Have an impression that I am missing something small, could someone please advise.
I have Lenovo P50 with intel and NVidia M1000M cards.
Internal P50 display is connected to intel ‘card’. I created xorg.conf with active nvidia, inactive intel like in README, started X server on :1, it starts fine, but display does not turn on (i see backlight is off). I can switch vts between :0 or text consoles but once I am arriving to vt there :1 should be I see black screen.
In xrandr --listproviders I see:
Provider 0: id: 0x2af cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 0 name:NVIDIA-0
Provider 1: id: 0x43 cap: 0x2, Sink Output crtcs: 3 outputs: 1 associated providers: 0 name:modesetting
I can xrandr --setprovidersource modesetting NVIDIA-0, but xrandr --auto doesn’t work afterwards (invalid parameter attributes)
Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
eDP-1-1 connected (normal left inverted right x axis y axis)
3840x2160 60.00 + 59.98 59.97
And list of the modes. None having ‘*’, so mode seems not set.
I am using latest 5.2 kernel, latest (435.21) nvidia drivers and fairly recent fully up-to-date debian testing with xorg (1.20.4) and intel drivers (2.99.917+git20190815).
Nothing suspicios in /var/log/Xorg.1.log, no errors. Both modesetting and nvidia drivers load well. Modesetting sees my eDP-1-1, query EDID and sees all modes from internal display.
What could this be? Any idea how to debug it?
Thanks in advance