You are not logged in.

#1 2022-12-06 21:06:58

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

[solved] How to remove screen tearing?

in the official web it says that i need to put these lines of code in a file called "20-intel.conf", i dont have a xorg.conf in /etc/X11, in the file i put:

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

please help...

Last edited by rVanxZ (2022-12-07 01:24:41)

Offline

#2 2022-12-06 21:07:34

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

i forgot to mention that i installed xf86-video-intel

Offline

#3 2022-12-06 21:17:05

d.ALT
Member
Registered: 2019-05-10
Posts: 943

Re: [solved] How to remove screen tearing?

rVanxZ wrote:

i forgot to mention that i installed xf86-video-intel

What's the GPU model?
Please post here

# lspci -v

.
Installation of xf86-video-intel should be avoided 99% of the times (unless you're absolutely sure you'll need it and you know why)...

Note: Some (Debian & Ubuntu, Fedora, KDE) recommend not installing the xf86-video-intel driver, and instead falling back on the modesetting driver for Gen4 and newer GPUs (GMA 3000 from 2006 and newer). See [1], [2], Xorg#Installation, and modesetting(4). However, the modesetting driver can cause problems such as screen tearing and mouse jittering on XFCE, artifacts when switching virtual desktops in Chromium, and vsync jitter/video stutter in mpv.

(https://wiki.archlinux.org/title/Intel_ … stallation)


What Desktop Environment are you on?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#4 2022-12-06 21:27:36

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

im in gnome and my graphics card is a intel graphics hd 3000

Offline

#5 2022-12-06 21:29:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [solved] How to remove screen tearing?

If you are using gnome, is there a reason you're using X11 rather than wayland?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2022-12-06 21:34:04

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

i want to use xorg instead of wayland because im trying to fix a thing with some game

Offline

#7 2022-12-06 22:04:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,209

Re: [solved] How to remove screen tearing?

What thing and which game? Chances this will be avoided specifically by switching to xorg without any other way on wayland are relatively slim. In any case you will want to use the modesetting driver and not xf86-video-intel on xorg anyway, and remove that config file. Chances are you are misnaming tearing. Tearing in the traditional sense is a small horizontal tear line near the top of your screen during movement (i.e. games or movies or so) if you still get "tearing" with that option you are most likely not seeing actual tearing (... but the general bugs and rendering issues that come with xf86-video-intel)

Also that's a sandy bridge gpu, chances you get the unnamed game fixed are relatively slim since this GPU doesn't support many of the newer developments that have actually brought gaming forward in a meaningful way.

Last edited by V1del (2022-12-06 22:06:46)

Offline

#8 2022-12-06 22:41:14

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

i have some kind of tearing using x11, and the game is,, roblox

Offline

#9 2022-12-06 22:58:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [solved] How to remove screen tearing?

But you said there was a problem with the game preventing you from running it in wayland.  Screen tearing is the problem in X, what's the problem in wayland?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2022-12-06 22:59:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,209

Re: [solved] How to remove screen tearing?

You have tearing in roblox? Or does it not work properly?  "Some kind of" doesn't say anything, the artifact commonly known as tearing should get fixed by the TearFree setting assuming that's what's your actual issue, can you record the artifact e.g. with your phone camera and does it show up and can you link to it? FWIW also post

sudo journalctl -b

so we can look what the system actually detects and does.-

Offline

#11 2022-12-06 23:06:55

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

ok let me say it easy for all here
i installed roblox with grapejuice recently but roblox is broken for wayland because the cursor doesnt lock when moving camera, the solution was using x11 instead but i realize that x11 has screen tearing, like windows 7 without aero theme

Offline

#12 2022-12-06 23:18:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,209

Re: [solved] How to remove screen tearing?

Enable VSync in game and use the modesetting driver.

Offline

#13 2022-12-06 23:30:07

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

how? roblox does not have vsync ingame

Offline

#14 2022-12-06 23:35:33

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

and how do i apply correctly modesetting?

Offline

#15 2022-12-07 00:00:44

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

rVanxZ wrote:

  Driver "intel"

I discovered that this module does not exist

Offline

#16 2022-12-07 00:21:49

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,085

Re: [solved] How to remove screen tearing?

Sure it does, that's what's in xf86-video-intel. Get rid of that and get rid of the config.

Online

#17 2022-12-07 00:52:12

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

And how do I disable screen tearing?

Offline

#18 2022-12-07 01:02:57

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: [solved] How to remove screen tearing?

rVanxZ wrote:

And how do I disable screen tearing?

If you still think you're seeing the problem after implementing the recommended changes, then post the information V1del requested.

V1del wrote:

... can you record the artifact e.g. with your phone camera and does it show up and can you link to it? FWIW also post

sudo journalctl -b

so we can look what the system actually detects and does.-

Last edited by cfr (2022-12-07 01:04:31)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#19 2022-12-07 01:04:48

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

Well thanks all for your help, i got the solution by installing the package xf86-video-intel and putting in the config instead of tearfree -> accelmethod big_smile

Offline

#20 2022-12-07 01:10:30

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: [solved] How to remove screen tearing?

rVanxZ wrote:

Well thanks all for your help, i got the solution by installing the package xf86-video-intel and putting in the config instead of tearfree -> accelmethod big_smile

Well, time enough to do it the right way when you have issues, I suppose.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#21 2022-12-07 01:11:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,209

Re: [solved] How to remove screen tearing?

AccelMethod what? TearFree only works with the default and AccelMethod "True" doesn't make any sense, using UXA should not inherently fix screen tearing.

But in any case if this is fixed for you please mark the topic as [SOLVED] by editing the title. Note that xf86-video-intel has quite a bunch of issues, so should you notice some other issues like things not rendering like they should keep that in  mind (though a Sandybridge GPU is still within the period where the driver was still maintained so you might be in luck)

Offline

#22 2022-12-07 01:24:07

rVanxZ
Member
Registered: 2022-10-24
Posts: 19

Re: [solved] How to remove screen tearing?

i used uxa

Offline

#23 2022-12-07 07:24:31

d.ALT
Member
Registered: 2019-05-10
Posts: 943

Re: [solved] How to remove screen tearing?

rVanxZ wrote:

im in gnome and my graphics card is a intel graphics hd 3000

Guys... Can confirm OP situation.
For what is worth, I also solved Tearing issues with xf86-video-intel installation.
OK, I must admit I'm not offering the "Holy Grail" since I am not an expert at all, but, hey, here's my two cents:

  • my System specs (Intel® HD Graphics 4400)

  • installed xf86-video-intel

  • /etc/X11/xorg.conf.d/20-intel.conf:

    Section "Device"
    	Identifier	"Intel Graphics"
    	Driver	"intel"
    	Option	"AccelMethod"	"uxa"
    	Option	"TearFree"	"true"
    EndSection
  • Plasma > Tearing prevention ("vsync"): Full screen repaints

  • Plasma > Rendering backend: OpenGL 3.1


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#24 2022-12-07 09:10:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,209

Re: [solved] How to remove screen tearing?

TearFree as an option was only implemented for the SNA acceleration method, however the point of the option is to be able to prevent tearing without a compositor, if you are running Full Screen repaints on KDE's side that will almost certainly prevent tearing from that aspect without relying on the Xorg DDX, so while the TearFree option won't work in that constellation it shouldn't matter (and could be detrimental if it worked) since you are forcing full screen repaints on the compositors side anyway. The Tearfree option would work and help if you could  disable the compositor (Alt+Shift+F12 on KDE) and still move windows around like crazy/movies/games while not seeing tearing, something I'm postive you wouldn't be able to do now.

What SNA does have however that could be avoided with UXA is a bunch of texture corruption and rendering issues, but those aren't "tearing" in the common sense of the word, which is why I asked for a video.

That said, with your current constellation and KWin configured as such do you have tearing on the modesetting driver? That would be surprising and out of the ordinary.

Last edited by V1del (2022-12-07 09:17:02)

Offline

#25 2022-12-07 09:23:14

d.ALT
Member
Registered: 2019-05-10
Posts: 943

Re: [solved] How to remove screen tearing?

V1del wrote:

That said, with your current constellation and KWin configured as such do you have tearing on the modesetting driver? That would be surprising and out of the ordinary.

V1del, please help me: I should try uninstalling xf86-video-intel, removing /etc/X11/xorg.conf.d/20-intel.conf, reboot and only enable Tearing prevention ("vsync"): Full screen repaints in Plasma? Did I understand correctly, or am I missing some steps?


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

Board footer

Powered by FluxBB