Bug 225321

Summary: invert (window) effect does not work
Product: [Plasma] kwin Reporter: spamfang1199
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description spamfang1199 2010-02-02 23:01:03 UTC
Version:            (using KDE 4.3.4)
Compiler:          gcc 4.3.2-2 
OS:                Linux
Installed from:    Debian testing/unstable Packages

The invert (window) effect does not work. When trying to activate it, a notification appears, saying it cant be activated. This bugs me since KDE 4.1.

I have a Radeon 9600XT with 256 vram and an AthlonXP 1800+ with 2gb ram.

Here are the relevant parts of my xorg.conf:

Section "Screen"
	Identifier	"Default Screen"
	Device		"ati9600xt"
	Monitor		"Configured Monitor"
	DefaultDepth	24
Option "AddARGBGLXVisuals" "true" #

	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Device"
	Identifier	"ati9600xt"
	Driver		"fglrx"
	BusID		"PCI:1:0:0"

Option "AllowGLXWithComposite" "True" 
Option      "VideoOverlay" "on"
Option      "OpenGLOverlay" "off"
EndSection
Comment 1 lucas 2010-02-03 03:38:05 UTC
Please go to System Settings -> Desktop -> Advanced, enable direct rendering then restart KWin from a terminal/krunner with:

KWIN_DIRECT_GL=1 kwin --replace &

Hopefully this will give you pixel shader support in fglrx which in turn will allow you to use the invert effect.
Comment 2 spamfang1199 2010-02-03 17:40:27 UTC
Direct rendering was activated all the time. But I turned it off and on again to see, whether your tips work. Unfortunately, when i enter "KWIN_DIRECT_GL=1 kwin --replace &" in a console, my window decorations with the buttons for closing, maximizing & co. vanish. I cannot use the desktop anymore, cannot switch between applications, as everything seems frozen. So i have to restart X (ctrl+alt+backspace). "Invert" still wont work.
Comment 3 Martin Flöser 2010-02-28 12:45:16 UTC

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