After upgrading from xf86-video-intel-2.21.10 to 2.21.11, the external monitor I attach to my laptop (VGA1) shows only some red pixels on black background if I attach the monitor after xorg started. If the monitor is attached during boot, it works fine. On LVDS1 and on screenshots, the image is correct. Therefore, the issue seems to be the output and not the rendering. Actually, you can recognize window borders and some (originally black) text in the red pixels. The black background in the terminal emulator is displayed completely red. The issue is still present in git (commit 1445a62da8a08acd8a732176d085fd098f68cec3). Bisecting the commits between 2.21.10 and 2.21.11 locates the problem between commit 362b0dc6a3b1692b752d8f250075ccc81debfca3 (good) and commit 362b0dc6a3b1692b752d8f250075ccc81debfca3 (bad). Trying any of the commits in between results in a black screen on LVDS1 and an unusable X.
Created attachment 81988 [details] Xorg.0.log when monitor was plugged-in at boot
Created attachment 81989 [details] Xorg.0.log when monitor was plugged-in later
Created attachment 81990 [details] dmesg when monitor was plugged-in at boot time
Created attachment 81991 [details] dmesg when monitor was plugged-in later
You pasted the same commit for good/bad. Can you please verify your bisect?
They need to be drm.debug=6 dmesgs. Can you also please attach the output from intel_reg_dumper for good/bad?
(In reply to comment #5) > You pasted the same commit for good/bad. Can you please verify your bisect? Sorry, the bad commit is d7be3df2fe632bbc8e4f09709cf3cf7a5ef61015.
Created attachment 81993 [details] dmesg when monitor was plugged-in at boot time (drm.debug=6)
Created attachment 81994 [details] dmesg when monitor was plugged-in later (drm.debug=6)
Created attachment 81995 [details] [review] Always initialise the gamma ramp for a CRTC Can you please test this patch? Thanks.
(In reply to comment #10) > Created attachment 81995 [details] [review] [review] > Always initialise the gamma ramp for a CRTC > > Can you please test this patch? Thanks. Ok, that fixes the bug. Thanks.
commit ebf4517a0bb510e406795c169aa21b7cc615ed31 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jul 3 22:44:46 2013 +0100 sna: Always read back the gamma, even for a inactive CRTC Even if the CRTC is inactive, we still need to initialise the gamma tables. Reported-and-tested-by: Timo Kamph <timo@kamph.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66563 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
*** Bug 66778 has been marked as a duplicate of this bug. ***
*** Bug 67068 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.