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

Fullscreen mode flickering with compositing

Tags: None
(comma "," separated)
Massimiliano
Registered Member
Posts
10
Karma
0
OS
Hello,
I'm experiencing the issue well described in this topic:
viewtopic.php?f=66&t=85772

Vortex375 wrote:In order to provide "dekstop effects" (i.e. transparency, fading windows and the like) windows are not drawn directly on the screen. Instead they first draw their contents into a so-called off-screen pixmap. Then kwin copies that pixmap onto the screen. By doing this, kwin "knows" the contents of each window and can provide effects like transparency. That procedure is called redirecting and compositing.

However, since those additional steps slow down your system they are automatically disabled when a window is displayed full-screen. Since there isn't anything that shows on top or below the window, composition is not needed. That way you can view full-screen video without any slowdown.

However, as soon as something shows on top of the full-screen window (like a menu or popup) kwin has to switch to compositing mode again. Every time it switches, it causes a short flicker.


My problem is the following:
- with the compositing disabled for fullscreen windows, any "graphical" event like a mouse move or an application notify causes the screen to flicker. During video playback this is really annoying.
- with the compositing enabled for fullscreen windows the video isn't smooth enough and this is quite noticeable when there are fast sequences.

Now, I have an nVidia GTS450 with the nVidia proprietary drivers so I don't think I lack GPU power or driver support, so this is actually a problem.

Any suggestion on how to fix this?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Did you enable "Suspend desktop effects for full screen windows" in System Settings > Desktop Effects > Advanced?

The flickering with compositing disabled is probably not the fault of KDE. Which video player are you using?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Massimiliano
Registered Member
Posts
10
Karma
0
OS
Ok, actually I'm experiencing the problem with VLC and Totem, but not with Dragon Player. Maybe it's an issue linked to GTK apps?

I experience the flickering with compositing enabled and the "Suspend desktop effects for full screen windows" option enabled. So the problem is the "transition" from the fullscreen to the normal mode, I think.

bcooksley wrote:Did you enable "Suspend desktop effects for full screen windows" in System Settings > Desktop Effects > Advanced?

The flickering with compositing disabled is probably not the fault of KDE. Which video player are you using?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Which Phonon backend do you have selected in System Settings? I suspect you probably have GStreamer selected. VLC probably causes the flicker when it's popup which allows you to change playing position/stop/etc hides.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

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