You are not logged in.
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
i forgot to mention that i installed xf86-video-intel
Offline
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.
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
im in gnome and my graphics card is a intel graphics hd 3000
Offline
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
i want to use xorg instead of wayland because im trying to fix a thing with some game
Offline
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
i have some kind of tearing using x11, and the game is,, roblox
Offline
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
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
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
Enable VSync in game and use the modesetting driver.
Offline
how? roblox does not have vsync ingame
Offline
and how do i apply correctly modesetting?
Offline
Driver "intel"
I discovered that this module does not exist
Offline
Sure it does, that's what's in xf86-video-intel. Get rid of that and get rid of the config.
Offline
And how do I disable screen tearing?
Offline
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.
... 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
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
Offline
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
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
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
i used uxa
Offline
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
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
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