This forum has been archived. All content is frozen. Please use KDE Discuss instead.

suspend desktop effects/fullscreen games not working

Tags: None
(comma "," separated)
User avatar
yossarianuk
Registered Member
Posts
26
Karma
0
Hi.

The 'suspend desktop effects for fullscreen windows' doesn't appear to have any effects on full screen games.

If I disable desktop effects completely and run a game I usually get 30-50% more fps.

I have check and unchecked the 'suspend desktop effects for fullscreen windows' option whilst desktop effects is running and it results in the same (lower) speed.

Some games like quake wars are not actually playable unless I disable
desktop effects (the same as compiz)

Should the option disable desktop effects for fullscreen games ?

As a work-around I can make a script that does

qdbus org.kde.kwin /KWin org.kde.KWin.toggleCompositing
./game
qdbus org.kde.kwin /KWin org.kde.KWin.toggleCompositing

- this works but in 2011 it would be good if this occured automatically (after all if your playing a fullscreen games having desktop effects running is just a waste (as you can't see any effects whilst your playing a game))
- Also it seems silly that I have to write a script for every single game I want to play..

Specs:-
Kde 4.6.2
Geforce 8500 (nvidia driver 270.41.06)
Arch Linux (amd64)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This might be because KWin leaves it's textures on the card when temporarily suspending, but not when fully disabling effects. I remember a blog post (likely by Martin) in regard to this behaviour changing...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
mahen
Registered Member
Posts
50
Karma
0
OS
I'm pretty confused by this as well.

Disabling compositing for fullscreen apps clearly doesn't work as expected and clearly not as the same option under Compiz (unredirect fullscreen).

*Some* titles seem to have their FPS halved even when this is ticked. It definitely helps for others.

Manually disabling compositing, on the other hand, really makes everything perfectly smooth.

There is another problem, because, except when direct rendering is *unticked*, windowed opengl apps are also slow / not synced properly, except if all other windows are closed.

There is definitely something wrong with opengl, kwin & synchronization...

PS : meanwhile I made a script which disables compositing and starts the game passed as parameter


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]