You are not logged in.

#1 2021-02-28 10:22:21

disdaarchacc
Member
Registered: 2021-02-28
Posts: 4

[screen tearing] xf86-video-intel or compositor?

hey folks. i have a cozy minimal openbox setup on an nvidia optimus(skylake+nvidia mx150) laptop. it's currently rocking on mesa+prime-run flawlessly. however the screen tears on scrolling in gedit or firefox and playing videos in mpv.

google tells me there's two possible solutions: installing xf86-video-intel and add "tearfree" option to config file(but it has performance downsides) or just go with a compositor(not sure if it's a real solution)

how'd you deal with the tearing issue guys?

cheers

Offline

#2 2021-02-28 10:29:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,346

Re: [screen tearing] xf86-video-intel or compositor?

I'd personally go with a compositor, xf86-video-intel is not well maintained and has a bunch of other potential issues. The standard modesetting driver is also better tested and confirmed to be working with prime-run than xf86-video-intel

Offline

#3 2021-02-28 10:32:47

disdaarchacc
Member
Registered: 2021-02-28
Posts: 4

Re: [screen tearing] xf86-video-intel or compositor?

V1del wrote:

I'd personally go with a compositor, xf86-video-intel is not well maintained and has a bunch of other potential issues. The standard modesetting driver is also better tested and confirmed to be working with prime-run than xf86-video-intel

which compositor, if you don't mind me asking

Offline

#4 2021-02-28 10:40:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,346

Re: [screen tearing] xf86-video-intel or compositor?

I use KDE/Kwin so don't have much experience with other standalone options, but picom is an often mentioned option here

Offline

#5 2021-02-28 13:08:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,595

Re: [screen tearing] xf86-video-intel or compositor?

nb. that xrender cannot really sync to vblank, picom offers a hybrid mode where the vblank signal is obtained via glx and the painting is done in render but I doubt that's reliable.
xcompmgr is render only.

"tearfree" will ultimately require more than a compositor, the client must not send a torn image.
for mpv try

mpv -vo=gpu --video-sync=display-resample ~/certainlynotaporn.mp4

Offline

Board footer

Powered by FluxBB