Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-04-09 22:08:29

gnychis
Member
Registered: 2021-02-25
Posts: 7

Graphics tearing with modesetting and compositor

Hi all, I'm getting a lot of tearing with the modesetting driver on my X1 Carbon 6th gen.

System:    Host: x1carbon Kernel: 4.19.0-16-amd64 x86_64 bits: 64 Desktop: Xfce 4.12.4 Distro: Debian GNU/Linux 10 (buster) 
Machine:   Type: Laptop System: LENOVO product: 20KHCTO1WW v: ThinkPad X1 Carbon 6th serial: <root required> 
           Mobo: LENOVO model: 20KHCTO1WW v: SDK0J40697 WIN serial: <root required> UEFI: LENOVO v: N23ET71W (1.46 ) 
           date: 02/20/2020 
Battery:   ID-1: BAT0 charge: 38.8 Wh condition: 56.0/57.0 Wh (98%) 
CPU:       Quad Core: Intel Core i7-8650U type: MT MCP speed: 1090 MHz min/max: 400/4200 MHz 
Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa resolution: 2560x1440~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.3.6 
Network:   Device-1: Intel Ethernet I219-LM driver: e1000e 
           Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi 
Drives:    Local Storage: total: 953.87 GiB used: 26.06 GiB (2.7%) 
Info:      Processes: 252 Uptime: 5d 18h 06m Memory: 15.42 GiB used: 4.89 GiB (31.7%) Shell: bash inxi: 3.0.32 

I've tried using compositor with and without vertical blank.  Does anyone have any suggestions on what I should try?

Offline

#2 2021-04-09 23:41:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,023

Re: Graphics tearing with modesetting and compositor

It doesn't look like its been added yet. There is this patch as part of this open merge request.

You seem to be using an older kernel and an older version of Xfce (possibly a stable distro?). Does using the intel driver cause you other problems?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2021-04-10 03:56:55

gnychis
Member
Registered: 2021-02-25
Posts: 7

Re: Graphics tearing with modesetting and compositor

ah yes, it was window flickering white when switching workspaces: https://forum.xfce.org/viewtopic.php?pid=62281#p62281 that's what made me go from Intel to Modesetting

Offline

#4 2021-04-10 03:56:59

CwF
Member
Registered: 2018-01-28
Posts: 290

Re: Graphics tearing with modesetting and compositor

check your man for options

man intel

...in there you should see
"       Option "TearFree" "boolean"
you can add the option to /etc/X11/xorg.conf.d/20-intel.conf
or at /usr/share/X11/xorg.conf.d/

Section "OutputClass"
    Identifier  "Intel Graphics"
    MatchDriver “intel”
    Driver  “intel”
    Option  "AccelMethod" "uxa"
    Option  "TearFree"  "true"
EndSection

you need to check for options on your generation, something like this should work

Offline

#5 2021-04-10 14:32:14

gnychis
Member
Registered: 2021-02-25
Posts: 7

Re: Graphics tearing with modesetting and compositor

I'm able to get tearfree with Intel, but I was hoping for it with modesetting!

Offline

Board footer

Powered by FluxBB