Bug 254954

Summary: Screen Edges configuration causes KDE to hang
Product: [Plasma] kwin Reporter: Georg Grabler <ggrabler>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: asraniel, kwin-bugs-null
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Georg Grabler 2010-10-22 13:37:34 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

Hi there,

System environment: 
-- chipset: i945GM (45GM)
-- system architecture: i686
-- xf86-video-intel: 2.13.0
-- xserver: 1.8.2 (xorg-server)
-- mesa: 7.8.2
-- libdrm: 2.4.22
-- kernel: 2.6.36
-- Linux distribution: Chakra Linux
-- Machine or mobo model: Dell Latitude E5500
-- Display connector: VGA (+ laptop screen, dual head)

Problem description:
I know that there are problems with the intel drivers at all, but most of them should be fixed in 2.6.36 release. Anyway, I get a strange "hang" of KDE when I configure the screen edges (which works), but pressing the "Apply" button, KDE completely freezes.

I can't say weather it's a KDE freeze or Intel Graphics freeze, but probably the developers (intel) need more information about what's going on there.

I filed an upstream bug (https://bugs.freedesktop.org/show_bug.cgi?id=30990) for intel as well, but I wanted to be sure that this is definitely a GPU hang and no KDE crash.

Reproducible: Always

Steps to Reproduce:
System Settings / Window Behaviour / Screen Edges
Turn some effects on / off and press Apply.

Actual Results:  
The system hangs, I can still move the mouse, but the rest of KDE (Plasma / Windows etc). is not responding on anything.

Expected Results:  
I would want it not to hang, what I really need is to check if this is a KDE bug or a Intel bug. Maybe some assistance with what the apply button is doing would be great, or how to debug it on the kde side.
Comment 1 Thomas Lübking 2010-10-22 16:07:24 UTC
it's mesa, upgrade to >= 7.9rc2

alternatively you can:
a) suspend/resume compositing around configuring everything that looks related to the WM, or
b) "export LIBGL_ALWAYS_INDIRECT=1" in ~/.xprofile (what is theoretically inferior to upgrading mesa and should be last resort or a temporary workaround only)

*** This bug has been marked as a duplicate of bug 241402 ***