hybrid GPU: secondary screen stays black in git tree
while running in hybrid GPU under the following stack:
- mesa: master at a5053ba27e
- mutter: master at 70fcf745
- gnome-shell: master at 0b51ead00
- gnome-shell-extensions: master at ae65a82 (not strictly necessary but to keep dpkg happy)
with the following basic setup:
-[0000:00]-+-00.0 Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5910]
+-01.0-[01]----00.0 NVIDIA Corporation GP106M [GeForce GTX 1060]
Linux uini 4.14.0-3-amd64 #1 SMP Debian 4.14.13-1 (2018-01-14) x86_64 GNU/Linux (buster/sid)
with the dGPU powered up (echo ON > /proc/acpi/bbswitch
) and started prior to opening a session (servicectl stop gdm3.service ; modprobe nouveau ; servicectl start gdm3.service
) and with an external monitor plugged into the dGPU's HDMI port after starting nouveau but before starting a GNOME Shell session:
Expected:
- the desktop is extended on both screens as instructed
Actual result:
- the external monitor remains blank, even though the mouse pointer can be moved there.
Note: the journal is constantly filled with entries like:
févr. 06 12:13:22 uini gnome-shell[5852]: Failed to blit shared framebuffer: One or more argument values are invalid.
févr. 06 12:13:22 uini gnome-shell[5852]: Failed to set CRTC mode 1920x1080: Aucun fichier ou dossier de ce type (no file or directory of that type)
1920x1080 is the appropriate resolution of the external monitor
Note2: this was functionning properly under mutter+gnome-shell 3.27.1 and mesa 0.18.0rc3
will now try to look what happens when mesa OR mutter+gnome-shell are reverted to the 0.18.0rc3 or 3.27.1 version, respectively.