Ok, i found something.
When i launch the laptop, i must to launch manually “startx”. When i launch this command, i have a black screen and i saw on internet that it’s normal.
1- So, i open a second tty and i launch “xrandr -d :0 --lisproviders”
Providers: number : 2
Provider 0: id: 0x2bf cap: 0x0 crtcs: 4 outputs: 3 associated providers: 0 name:NVIDIA-0
Provider 1: id: 0x46 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:Intel
I must to add “-d :0” else i have the message “Can’t open display”
2- I check which monitor is active by “xrandr -d :0”
Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
HDMI-0 disconnected primary (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
3- When i want to launch “xrandr --setprovideroutputsource Intel NVIDIA-a”, i have this error :
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 ()
Value in failed request: 0x2bf
Serial number of failed request: 16
Current serial number in output stream: 17
I think i have this error because Screen 0 is set to 640x480 pixels but my laptop monitor is 1920x1080 pixels. Even if i set :
Subsection "Display"
Depth 24
Modes "1920x1080"
EndSubsection
into my xorg.conf, xrandr give 640x480…
Thanks for your help.
My laptop monitor is 1920x1080 pixels, why i have only 640x480pixels.