video and switching windows causing flickering
Submitted by Sanjeev Kumar Sharma
Assigned to Default DRI bug account
Description
my xorg flickers a small amount, temporarily, when focus moves from one window to another. This happens both when I use alt-tab to cycle through windows or mouse between windows.
What this flicker looks like:
When switching windows the flickering is very short and then ends after the switch is done.
When playing full screen video or the video player window enlarged to more than half the screen size, parts of the picture (an actor's eyes or the timestamp) very quickly show up in other parts of the screen, and parts of other windows show up in the video player window. with a full screen video player only parts of the playing video show up in other parts of the screen.
with google chrome/chromium pictures of the various windows I have open flashing on screen in different places for very short times.
The flickering is constant and massive with some applications:
- chrome with one tab - a little flickering when switching to chrome
- chrome with many tabs - lots of flicker with occasional quiet times
- chrome playing video (youtube) much worse than 2, with occasional quiet times with little flicker
- various video programs - flickering only in full screen or when the window covers most of the screen. When the window is small (say less than 1/4 of the total screen size) there's zero to little flicker unless I'm doing one of the other flicker-inducing acts.
mpv
vlc
mplayer
with these applications below the flickering is only when moving the pointer onto and off the window. If the pointer is in the window there's no flickering.
firefox (with or without video, regardless of video size, regardless of full screen video)
This began after a recent reboot - unfortunately I can't blame the most recent kernel upgrade because I did not restart my machine for several weeks - I don't know which kernel (or library or xorg) upgrade this started with
my system information
$uname -a
Linux fed2sam 4.8.8-200.fc24.x86_64 #1 (closed) SMP Tue Nov 15 19:41:51 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$Xorg -version
X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: 4.7.9-200.fc24.x86_64 Current Operating System: Linux fed2sam 4.8.8-200.fc24.x86_64 #1 (closed) SMP Tue Nov 15 19:41:51 UTC 2016 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.8.8-200.fc24.x86_64 root=LABEL=fed2_slash ro rhgb quiet LANG=en_CA.utf8 Build Date: 15 November 2016 04:39:46AM Build ID: xorg-x11-server 1.18.4-5.fc24 Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version.
Other programs that maybe relevant
Sawfish
xfce (using mostly for panels, application dock / start menu / pager / window list) - the panels are set to always auto-hide - setting them to never auto-hide made no difference
video card
product: Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]
monitor aoc u2868pqu, displayport