I am using the i915 driver and I have a very strange screen with KDE under kernel 2.6.39-rc1. The wallpaper is replaced by a black screen, there is no KDE menu bar and the desktop icons don't show up.
I am using gentoo and KDE 4.4.5 but the problem also occurs in Debian (also with KDE 4.4.5).
Does anybody have an idea about what's happening ?
Created attachment 52682 [details]
KDE screen under kernel 2.6.39-rc1
Created attachment 52692 [details]
A git-bisect run show that the following commit is the first bad one:
Author: Dave Airlie <firstname.lastname@example.org>
Date: Mon Mar 14 14:17:55 2011 +1000
drm/i915: disable opregion lid detection for now.
If I revert it, the problem doesn't occur.
KDE is mostly at fault here, not handling RandR correctly. But the kernel bug for the incorrect reporting of unknown is fixed by:
Author: Chris Wilson <email@example.com>
Date: Thu Mar 24 13:26:43 2011 +0000
drm/i915/lvds: Always return connected in the absence of better information
The LVDS connector should default to connected. We tried our best to
verify the claims of the BIOS that the hardware exists during init(),
and then during detect() we then try to verify that the panel is open.
In the event of an unsuccessful query, we should then always report
that the LVDS panel is connected. This was only the case for gen2/3,
later generations leaked the return value from the panel probe instead.
Reported-and-tested-by: Alessandro Suardi <firstname.lastname@example.org>
Signed-off-by: Chris Wilson <email@example.com>
Reviewed-by: Keith Packard <firstname.lastname@example.org>
This patch indeed solves my problem.