You are not logged in.

#1 2018-05-18 10:12:27

v3d
Member
Registered: 2018-05-18
Posts: 5

Video choppy on i58600K / UHD integrated intel

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! smile

Offline

#2 2018-05-18 10:28:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,248

Re: Video choppy on i58600K / UHD integrated intel

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

#3 2018-05-18 11:21:26

v3d
Member
Registered: 2018-05-18
Posts: 5

Re: Video choppy on i58600K / UHD integrated intel

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

#4 2018-05-18 11:31:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 5,248

Re: Video choppy on i58600K / UHD integrated intel

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

#5 2018-05-18 12:51:21

v3d
Member
Registered: 2018-05-18
Posts: 5

Re: Video choppy on i58600K / UHD integrated intel

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

#6 2018-05-18 18:18:40

v3d
Member
Registered: 2018-05-18
Posts: 5

Re: Video choppy on i58600K / UHD integrated intel

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

#7 2018-05-27 05:59:12

enihcam
Member
From: Internet
Registered: 2009-12-20
Posts: 191

Re: Video choppy on i58600K / UHD integrated intel

@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

#8 2018-06-01 16:35:32

v3d
Member
Registered: 2018-05-18
Posts: 5

Re: Video choppy on i58600K / UHD integrated intel

Haven't tried that, it's working now witch compton.

Will try!

Last edited by v3d (2018-06-01 16:35:45)

Offline

Board footer

Powered by FluxBB