Bug 225321 - invert (window) effect does not work
Summary: invert (window) effect does not work
Status: RESOLVED DUPLICATE of bug 173556
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 23:01 UTC by spamfang1199
Modified: 2010-02-28 12:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***