Reply to topic

Desktop Effects Automatically Suspend As Needed

Page 1 of 1 (14 posts)

7

Votes
9

2
jlacroix
Registered Member
Posts
7
Karma
0

[IMPLEMENTED] Desktop Effects Automatically Suspend As Needed

Sun Mar 22, 2009 6:59 pm
KDE4 desktop effects look wonderful, except when you launch a 2D or 3D OpenGL application, then the application will be extremely slow. If you turn off desktop effects, the 2D or 3D OpenGL application will run normally.

I think KDE4 should notice when such an application is running, and temporarily suspend desktop effects until the program is closed, so the performance of the application isn't affected. There is a shortcut (CTRL+ALT+F12 I believe) that suspends desktop effects, but KDE4 should do that as needed without requiring the user to do anything.
User avatar sayakb
Administrator
Posts
1838
Karma
12
OS

RE: Desktop Effects Automatically Suspend As Needed

Sun Mar 22, 2009 8:20 pm
On my old laptop, I noticed that KWin disables compositing whenever it becomes very slow. I think this already is implemented, although the threshold may be adjusted accordingly.


jlacroix
Registered Member
Posts
7
Karma
0

RE: Desktop Effects Automatically Suspend As Needed

Sun Mar 22, 2009 10:18 pm
sayakb wrote:On my old laptop, I noticed that KWin disables compositing whenever it becomes very slow. I think this already is implemented, although the threshold may be adjusted accordingly.


I've never noticed such behavior, that must have been a coincidence. As far as I know there is no algorithm in KDE4 to determine when and when not to use desktop effects. There may possibly be something that determines when desktop effects aren't supported with certain hardware but that's about it.
User avatar Primoz
Idea Moderator
Posts
848
Karma
1
OS

RE: Desktop Effects Automatically Suspend As Needed

Sun Mar 22, 2009 10:21 pm
+1. It's similar to what I proposed in another idea:
http://forum.kde.org/plasma-powerdevil- ... 39033.html


Primoz, proud to be a member of KDE forums since 2008-Nov.
User avatar R_Rios
Registered Member
Posts
123
Karma
0
OS

RE: Desktop Effects Automatically Suspend As Needed

Sun Mar 22, 2009 10:53 pm
Compositing is already disabled when a fullscreen program is running.

It would be good if the user can choose which application disable compositing, though - a "Don't allow compositing" checkbox at the app's proprierities, for example.


Ceja bem vindo e esprimente a linguiça
User avatar aseigo
KDE Developer
Posts
112
Karma
2

RE: Desktop Effects Automatically Suspend As Needed

Mon Mar 23, 2009 6:09 am
in 4.3 at least, desktop effects are automatically disabled when they become too slow. i've actually seen this in action a couple times on my laptop.

note, however, that the "running more than one gl app sucks" problem is an x.org driver problem. if those drivers were properly written and the hardware even half way decent, this wouldn't even be an issue.


aseigo, proud to be a member of KDE forums since 2008-Oct.
mutlu
Registered Member
Posts
69
Karma
0
OS

RE: Desktop Effects Automatically Suspend As Needed

Mon Mar 23, 2009 4:31 pm
This is present on 4.2. A method of adjusting it would be great.
User avatar Madman
Registered Member
Posts
585
Karma
1
OS

RE: Desktop Effects Automatically Suspend As Needed

Mon Mar 23, 2009 7:00 pm
I've not noticed slow-down with 3D applications on my Gentoo box with KDE 4.2.1. I've got the latest nVidia driver and nVidia Geforce Go 6600 graphics card.

Though, if I'm running LOTS of 3D applications and perhaps using other resource-intensive programs, it'll complain when KWin effects become too slow and switch them off.


Madman, proud to be a member of KDE forums since 2008-Oct.
NuclearPeon
Registered Member
Posts
7
Karma
0

RE: Desktop Effects Automatically Suspend As Needed

Mon Mar 23, 2009 8:19 pm
I'd be content if there was a taskbar plasmoid that would automatically toggle desktop effects [when clicked]. It would save searching through system settings everytime I play certain games on Wine or Crossover.

:thumbs_up:

Last edited by NuclearPeon on Mon Mar 23, 2009 8:21 pm, edited 1 time in total.
User avatar R_Rios
Registered Member
Posts
123
Karma
0
OS

RE: Desktop Effects Automatically Suspend As Needed

Mon Mar 23, 2009 9:54 pm
NuclearPeon wrote:I'd be content if there was a taskbar plasmoid that would automatically toggle desktop effects [when clicked]. It would save searching through system settings everytime I play certain games on Wine or Crossover.

:thumbs_up:


I think this is what you want.


Ceja bem vindo e esprimente a linguiça
User avatar Brandybuck
KDE Developer
Posts
203
Karma
0
OS

RE: Desktop Effects Automatically Suspend As Needed

Tue Mar 24, 2009 4:09 pm
I have a slightly different problem, in that OpenGL screensavers do not work at all if Effects are enabled. This is on my laptop with fglrx driver. On my desktop with the open source radeon driver, everything is fine.

Obviously throttling down Effects won't work in this situation, and neither will a manual switch, but it would be nice if there were a "Turn off Desktop Effects" button in the advanced screensaver configuration.


Don't look back! (Or you might see the giants whose shoulders we stand on)
User avatar TheBlackCat
Manager
Posts
2946
Karma
8
OS

RE: Desktop Effects Automatically Suspend As Needed

Tue Mar 24, 2009 6:44 pm
Perhaps instead of turning desktop effects on or off entirely, it would scale them back as things got worse. So it could decrease the quality of the effects, turn off the effects with the worst performance penalties. That way they could keep basic things (like panel translucency and hiding, taskbar thumbnails, present windows, etc) while losing less important effects (desktop cube, snow, shift and cover application switcher, etc).


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
pembo13
Registered Member
Posts
75
Karma
0
OS

RE: Desktop Effects Automatically Suspend As Needed

Wed Mar 25, 2009 7:00 am
Why is this thread still open? The effects already auto suspend when things get slow, and you can tun on/of effects from the system settings as needed.
User avatar bcooksley
Administrator
Posts
13261
Karma
62
OS

RE: Desktop Effects Automatically Suspend As Needed

Wed Mar 25, 2009 7:12 am
This feature is already present in KDE 4.3, as effects automatically disable themselves for full screen applications ( which I assume includes the screen saver ) and when the system is encountering performance issues. If you are encountering any issues with either of these two, please file bug reports.

Idea marked as implemented.


System Settings and Device Actions KCM maintainer
Image

 

Page 1 of 1 (14 posts)

Reply to topic

Bookmarks



Who is online

Registered users: AndyW, ashmikuz, bcooksley, Bing [Bot], boemann, boudewijn, brettwmccoy, Dread Knight, Exabot [Bot], fanste, Giacomo, Google [Bot], google01103, Ignacio Serantes, kboite, manasij7479, milliams, RamonMiranda, samuelm1, snakebite, Sogou [Bot], YaCy [Bot]