You are not logged in.
Hi Arch forums,
I just got a new i5 8600K / UHD integrated intel configuration, installed Arch and it seems that I can chose between choppy video playback in general with no tear, with Intel drivers and
/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection
Or generally better video playback but heavy tearing if i remove the intel xf86-video-intel and just fall back to the modesetting driver.
I use mpv / smplayer to test.
I've tried stuff from this article https://www.phoronix.com/scan.php?page= … hics&num=1 to no avail, read through the wiki, installed all necessary HW acceleration packages...
Any ideas?
Tnx!
Offline
Fall back to the modesetting driver and set up a proper compositor that has concepts of fullscreen redirection/suspension and similar to prevent tearing.
Which output method from mpv are you using?
Last edited by V1del (2018-05-18 10:36:59)
Offline
While using modesetting, all output methods seem to produce the same result.
My guess is VDPAU / VAAPI would / should work best?
Any ideas on how to setup a proper compositor to work with AwesomeVM? Compton?
Thanks for the reply!
Edit:
The tearing isn't only in fullscreen / it's always visible, even while scrolling in browsers.
I'm using AwesomeVM with no DEs.
Last edited by v3d (2018-05-18 11:24:30)
Offline
Yes compton for example. Intel only has relevant VAAPI support, but afaik mpv implements that quite well.
Regarding scrolling: Yes, that's the normal case, however if you run something that is fullscreen and does it's own tearing prevention, you wouldn't want the compositor to add on top of that. Properly implemented compositor can suspend and resume on demand. TearFree will simply apply it's logic all the time to the whole screen, which will have undesired slowdowns if it isn't necessary.
Last edited by V1del (2018-05-18 11:34:01)
Offline
Hmm when I install compton and set unredir-if-possible = false; as stated in the wiki, the tearing isn't there but the whole system is choppy with random one second freezes.
Last edited by v3d (2018-05-18 12:51:43)
Offline
OK, so after a bit of tinkering I managed to get everything working more or less acceptably.
This is my compton.conf it might come in handy to someone:
backend = "glx";
paint-on-overlay = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
vsync = "opengl-swc";
no-dock-shadow = true;
no-dnd-shadow = true;
Also with compton enabled, Chromium seems to have random lock ups, which is very weird - swithced to Firefox.
Offline
@v3d, have you tried Intel GuC/HuC/DMC firmware?
The setup instruction is here:
https://wiki.archlinux.org/index.php/In … re_loading
For more information about intel graphics firmare:
https://01.org/zh/linuxgraphics/downloads/firmware
also, for mpv, you need to config
vo=gpu
hwdec=vaapi
vd-lavc-dr=yes
Last edited by enihcam (2018-05-27 06:00:24)
Offline
Haven't tried that, it's working now witch compton.
Will try!
Last edited by v3d (2018-06-01 16:35:45)
Offline