Bug 32272 - Strange screen in KDE with 2.6.39-rc1 and i915
Summary: Strange screen in KDE with 2.6.39-rc1 and i915
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - Intel) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-dri-intel@kernel-bugs.osdl.org
Depends on:
Blocks: 32012
  Show dependency tree
Reported: 2011-03-30 20:14 UTC by François Valenduc
Modified: 2011-04-06 19:43 UTC (History)
4 users (show)

See Also:
Kernel Version: 2.6.39-rc1
Regression: Yes
Bisected commit-id:

KDE screen under kernel 2.6.39-rc1 (35.23 KB, image/jpeg)
2011-03-30 20:16 UTC, François Valenduc
Xorg logfile (22.15 KB, text/plain)
2011-03-30 20:17 UTC, François Valenduc

Description François Valenduc 2011-03-30 20:14:09 UTC
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 ?
Comment 1 François Valenduc 2011-03-30 20:16:30 UTC
Created attachment 52682 [details]
KDE screen under kernel 2.6.39-rc1
Comment 2 François Valenduc 2011-03-30 20:17:13 UTC
Created attachment 52692 [details]
Xorg logfile
Comment 3 François Valenduc 2011-03-31 17:13:21 UTC
A git-bisect run show that the following commit is the first bad one:

commit bcd5023c961a44c7149936553b6929b2b233dd27
Author: Dave Airlie <airlied@redhat.com>
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.
Comment 4 Chris Wilson 2011-04-05 10:03:24 UTC
KDE is mostly at fault here, not handling RandR correctly. But the kernel bug for the incorrect reporting of unknown is fixed by:

commit 6ee3b5a12740eddc5a76e130b6cc7cc64468d1f7
Author: Chris Wilson <chris@chris-wilson.co.uk>
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 <alessandro.suardi@gmail.com>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Reviewed-by: Keith Packard <keithp@keithp.com>
Comment 5 François Valenduc 2011-04-05 17:11:28 UTC
This patch indeed solves my problem.

Note You need to log in before you can comment on or make changes to this bug.