Ask Your Question
0

xorg flickering with some applications - chrome, mpv

asked 2016-11-21 08:42:45 -0500

sksharma gravatar image

updated 2016-11-23 07:30:26 -0500

hhlp gravatar image

my xorg flickers a small amount, temporarily when the mouse moves from one window to another.

This flickering looks like pictures of the various windows I have open flashing on screen in different places for very short times.

The flickering is constant and massive when some applications run:

  • chrome (a little flickering most of the time chrome is focused, much worse when playing video),
  • mpv (only in full screen)
  • vlc (full screen only)

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)
  • mplayer (at all - not in full screen, not in non- full screen)

    uname -a Linux fed2sam 4.8.8-200.fc24.x86_64 #1 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 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.

This began today - 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

Any ideas on what could be happening here?

UPDATE: OK, it looks like mplayer in full screen produces this effect as well. I have no idea why a couple of times I tested it earlier it did not flicker, but now it is.

edit retag flag offensive close merge delete

Comments

submitted as a bug to the xorg bugzilla - looks like some kind of sync loss with video.

here's what it looks like

https://www.youtube.com/watch?v=YBg5j...

https://www.youtube.com/watch?v=V1xZl...

https://www.youtube.com/watch?v=cvsMA...

sksharma gravatar imagesksharma ( 2016-11-22 14:52:41 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-23 06:52:19 -0500

sksharma gravatar image

copying from

https://bugs.freedesktop.org/show_bug...

solution:

OK - running 20 minutes with zero visible flicker.

Hope this is not a heisenbug that will come back 10 minutes after I post this

solution: cvt generated modeline, run xrandr to get the name of your output port (here DisplayPort-0)

Modeline "3840x2160_50.00"  587.00  3840 4144 4560 5280  2160 2163 2168 2225 -hsync +vsync

xrandr --newmode "3840x2160_50.00"  587.00  3840 4144 4560 5280  2160 2163 2168 2225 -hsync +vsync
xrandr --addmode DisplayPort-0 "3840x2160_50.00" 
xrandr --output DisplayPort-0 --mode "3840x2160_50.00"
edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-11-21 08:42:45 -0500

Seen: 527 times

Last updated: Nov 23 '16