You are not logged in.

#1 2023-01-16 07:10:54

patresko
Member
Registered: 2018-10-19
Posts: 24

[SOLVED] Diagonal and horizontal screen tearing only in Firefox

Using Mozilla Firefox 108.0.2, i3 and X.

My picom configuration

Disabling picom doesn't fix the issue.

Xorg log

glxinfo

My /etc/X11/xorg.conf.d/20-intel.conf file:

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "TearFree" "true"
  Option "TripleBuffer" "true"
EndSection

No other program produces the tearing, only Firefox. (Browsing in Chromium is smooth.)
Downgrading Firerox didn't help. It is worth mentioning that I didn't have this issue for like 2 years.
It only appeared around 6 weeks ago.

Last edited by patresko (2023-01-17 06:10:51)

Offline

#2 2023-01-16 07:35:04

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

Use Wayland instead. X is fundamentally broken in respect of screen tearing.


Jin, Jîyan, Azadî

Offline

#3 2023-01-16 07:40:33

patresko
Member
Registered: 2018-10-19
Posts: 24

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

Head_on_a_Stick wrote:

Use Wayland instead. X is fundamentally broken in respect of screen tearing.

Yeah, that solved the issue, but created some of it's own issues.

I think nm-applet icon didn't display properly or at all in swaybar.

And as I mentioned, I didn't have this issue for 2 years. Therefore it should be solvable without going full wayland.

Last edited by patresko (2023-01-16 07:41:27)

Offline

#4 2023-01-16 07:43:38

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,999
Website

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

patresko wrote:

I didn't have this issue for 2 years

You did have the problem but it was being masked by picom and/or the TearFree option in your X.Org configuration. Both "fixes" are dodgy hacks that induce unbearable (for me) lag.


Jin, Jîyan, Azadî

Offline

#5 2023-01-16 07:53:45

patresko
Member
Registered: 2018-10-19
Posts: 24

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

Head_on_a_Stick wrote:

You did have the problem but it was being masked by picom and/or the TearFree option in your X.Org configuration

I see now. Maybe I should consider going full wayland after all.

Thank you for your input.

Meanwhile I'm still open to suggestions regarding fix/workaround, however dirty it is.

Offline

#6 2023-01-16 08:00:11

topcat01
Member
Registered: 2019-09-17
Posts: 274

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

I'd remove the 20-intel.conf file and use the modesetting driver instead (the default).

Offline

#7 2023-01-16 09:19:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,823

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

topcat01 wrote:

remove the 20-intel.conf file and use the modesetting driver instead

This.

Ftr: "diagonal" tearing is *not* "tearing".

You're seeing tesselation artifacts and the most likely cause is indeed the intel driver.
Also maybe of interest: https://www.phoronix.com/news/xf86-vide … g-TearFree

Offline

#8 2023-01-16 09:50:41

patresko
Member
Registered: 2018-10-19
Posts: 24

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

Ok, so I removed the 20-intel.conf file.

Should I now uninstall the xf86-video-intel driver and keep the mesa driver?

Also, the reason I had the 20-intel.conf file in the first place was this entry found on the wiki.

Offline

#9 2023-01-16 09:52:22

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,823

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

Should I now uninstall the xf86-video-intel driver

Yes.

keep the mesa driver?

https://archlinux.org/packages/extra/x8 … deo-intel/ lime most drivers depend on mesa.
You mean the modesetting driver and it's part of the xorg-server, so it'll remain.

Offline

#10 2023-01-17 06:10:34

patresko
Member
Registered: 2018-10-19
Posts: 24

Re: [SOLVED] Diagonal and horizontal screen tearing only in Firefox

This seems to have fixed the issue. Marking solved. Thank you all.

Offline

Board footer

Powered by FluxBB