• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

drm-next-kmod screen tearing?

scottro

Daemon

Thanks: 401
Messages: 1,179

#4
All videos? Have you tried as a different user? What version of FreeBSD? Have you tried drm-stable?
As has been said, more information would be useful. If one is a beginner, it's not always plain what information is needed, but that's one of the purposes of forums like these, so people can learn. :)

To get the version, run uname -a and post that output. If running CURRENT, use the GENERIC-no-debug kernel. And so on. (We can keep guessing, buti giving us more information will, as the old customer service adage goes, from back when customer service was a thing, Help us help you.
 

ILUXA

Aspiring Daemon

Thanks: 328
Messages: 534

#5
What GPU your're using, i-bsd?
If you use intel integrated graphics,
it is possible to try the following,
add Option "TearFree" "true"
to Device section of /etc/X11/xorg.conf:
Code:
Section "Device"
        Identifier  "Card0"
        Driver "intel"
        Option "AccelMethod" "sna"
        Option "TearFree" "true"
EndSection
AccelMethod should be sna to make TearFree option work.
 

i-bsd

Member

Thanks: 6
Messages: 44

#6
X1 Carbon 6th gen. Intel HD using drm-next-kmod on 11.2BETA2 for those asking.

But I just realize that I've been using 'vesa' and not 'intel'.

Installed the intel driver which has eliminated screen tearing but now X is significantly slower while using compton (e.g. 1 second delay when opening a new urxvt terminal). I'm guessing this is an issue with drm-next and not my system which should easily handle this.
 

Tulkas

New Member


Messages: 1

#7
I'm seeing a very similar effect when i use drm-next-kmod. Perhaps it is worth a try to install drm-stable-kmod instead which does a great job on my Lenovo T450.
 

tankist02

Well-Known Member

Thanks: 30
Messages: 284

#8
On XFCE I had to disable Compositing to get rid of tearing when playing videos. On Mate I could not completely get rid of tearing - some was always present.
 

i-bsd

Member

Thanks: 6
Messages: 44

#10
Yeah I'm still getting poor performance with drm-next with and without compton running. Vesa driver ran exceptionally well (but I just can't watch movies without tearing).

So my choice is either: a) fast computer and good productivity or b) smooth videos.
 

ILUXA

Aspiring Daemon

Thanks: 328
Messages: 534

#11
If you use intel integrated graphics, you got few options to try:

1. Use modesetting driver, add this to /etc/X11/xorg.conf and restart Xorg:
Code:
Section "Device"
        Identifier  "Card0"
        Driver "modesetting"
        Option "AccelMethod" "glamor"
EndSection
2. Use intel driver (x11-drivers/xf86-video-intel should be installed) with "SNA" acceleration,
add this to /etc/X11/xorg.conf and restart Xorg:
Code:
Section "Device"
        Identifier  "Card0"
        Driver "intel"
        Option "AccelMethod" "sna"
        Option "TearFree" "true"
EndSection
3. Use intel driver (x11-drivers/xf86-video-intel should be installed) with "UXA" acceleration,
add this to /etc/X11/xorg.conf and restart Xorg:
Code:
Section "Device"
        Identifier  "Card0"
        Driver "intel"
        Option "AccelMethod" "uxa"
EndSection
 

ILUXA

Aspiring Daemon

Thanks: 328
Messages: 534

#13
Maybe you're right and it won't work. I forgot, that he uses "X1 Carbon 6th gen",
personally I didn't try to use these drivers and acceleration methods with "6th gen",
but I tried to use it with graphics/drm-next-kmod and it's working fine,
nevertheless I suggest to try it.
 

i-bsd

Member

Thanks: 6
Messages: 44

#14
Tried all the above methods. Still not 100% what it should be.

Whether using intel, modesetting or vesa, I either get major performance issues or video tears. Have tried loads of different compton, mpv, xorg, .Xresources options and in the end, I think I have to conclude that it's an issue with my new hardware.

Problem is I haven't tested it with Windows or Linux so I have no idea what to compare it to but it's an 8th gen Core i7 and should be lightning fast (all I'm doing is running 3 urxvt terminals and a firefox browser in i3).

Still a great laptop for FreeBSD - just not optimized yet but I'm sure that someone will get on it before long.
 

abishai

Aspiring Daemon

Thanks: 127
Messages: 555

#15
Are your user has access to /dev/drm ? You can easily check with mpv if you have acceleration (it complains in console).
 
Top