Bug 253357 - KWin has problem detecting if effects are supported
Summary: KWin has problem detecting if effects are supported
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 256166 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-06 05:17 UTC by Nicolas Bigaouette
Modified: 2010-12-19 22:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bigaouette 2010-10-06 05:17:21 UTC
Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Since 4.5, I cannot activate effects reliably. In the window behavior/behaviour configuration panel, if I click "Activate effects", it sometimes does nothing, sometimes switch effects on, sometimes popups a message about Xorg not supporting (sorry I can't remember exactly. I think it's new to 4.5.2).
Basically, it's unreliable. I hit enable and apply a couple of times until the effects are activated and a popup is asking me if I want to keep this setting. Clicking "Deactivate/Activate effects" button does not re-active them, I need to check the box and then apply. The activate button seems to always deactivate the effects.

If I logout and login back in, effects are deactivated: the setting is not remembered.

It is as if kwin had trouble detecting if the effects should be supported or not and fails most often then not.

No special settings for specific effects: the default list of effects is used, which includes blur. Blue works on the machine (when effects are finally correctly activated)

Effects are working since KDE 4, problems came up with 4.5

Reproducible: Always

Steps to Reproduce:
-Disable effects or log out/log in back
-Check box "Activate effects"

Actual Results:  
Effects are not activated, sometimes without even message. Many tries are necessary, until next logout.

Expected Results:  
Effects are activated.
Comment 1 Nicolas Bigaouette 2010-10-06 05:20:12 UTC
Forgot to say it happens on the two computers I use:
-Dell Latitude D830 laptop: ArchLinux x86_64, kernel 2.6.35.7, Xorg 1.9, xf86-video-intel 2.12 (GMA965)
-Asus EeePC 1000 netbook: ArchLinux x86, kernel 2.6.35.7, Xorg 1.9, xf86-video-intel 2.12 (GMA945)
Comment 2 Thomas Lübking 2010-10-06 18:30:28 UTC
likely related to bug #241402
(4.5 "fixed" the checks but causes issues since mesa didn't like multiple GL contexts (if one was on a non-window drawable) )

a) disable the blur effect (just to be sure ;-)
b) what mesa version do you use? can you try >= 7.9rc2
Comment 3 Nicolas Bigaouette 2010-10-07 02:34:50 UTC
a) I've disabled the blur effect. It seems the (de)activation of effects (using ctrl+shift+F12) is reliable. I'll see in the following minutes if it really disappeared.

b) mesa 7.8.2-3. I will try mesa 7.9 soon.

I'll check bug #241402 soon.
Comment 4 Martin Flöser 2010-10-21 21:18:21 UTC
Please see http://reviewboard.kde.org/r/5643/
Comment 5 Martin Flöser 2010-11-05 17:55:14 UTC
*** Bug 256166 has been marked as a duplicate of this bug. ***
Comment 6 Riccardo Iaconelli 2010-11-06 00:12:36 UTC
On Friday 05 November 2010 17:55:15 Martin Gräßlin wrote:
> Martin Gräßlin <kde@martin-graesslin.com> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |riccardo@kde.org

Thanks ;-)


Bye,
-Riccardo
Comment 7 Rex Dieter 2010-11-08 15:38:14 UTC
I'm seeing this too, using mesa-7.9 (final), though I'd since checked "disable functionality checks", so I'll try to re-confirm again later today.
Comment 8 Martin Flöser 2010-11-10 19:21:15 UTC
SVN commit 1195271 by graesslin:

Deactivate OpenGL compositing self-check.

The self-checks have been broken for quite some time on several free drivers.
It's probably better to have them disabled.
See http://svn.reviewboard.kde.org/r/5774/
BUG: 253357
FIXED-IN: 4.5.4



 M  +8 -0      scene_opengl.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1195271
Comment 9 Martin Flöser 2010-11-10 19:22:32 UTC
SVN commit 1195272 by graesslin:

Forward port rev 1195271:

Deactivate OpenGL compositing self-check.
See http://svn.reviewboard.kde.org/r/5774/
CCBUG: 253357

 M  +8 -0      scene_opengl.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1195272