Closed Zerogaku closed 10 months ago
try picom built from the latest commit in the next branch.
I honestly thought picom was already built with the next branch in the arch repos, but i tried uninstalling picom and cloning the next branch and building it, then after installing it and running I still had screen tearing with glx.
try removing the xf86-video-intel
package and rebooting.
well the thing is, removing xf86-video-intel makes the screen tearing go away on glx, but the problem is that I have a hidpi display, and removing xf86-video-intel causes xrandr to no longer be able to resize, this is nothing new for me and has been a constant issue, i have tried searching the ends of the earth for a solution but to no avail.
this error pops up no matter what i do, select resolution, setting a crtc number, creating a new resolution and selecting it:
xrandr: Configure crtc 0 failed
but then the error immediately disappears when i reinstall it. I've heard that xf86-video-intel has issues and that less work is done on it, and that i should remove it and fallback to the modesetting driver, but I don't know if the xrandr issue is supposed to be normal for modesetting, could i be doing something wrong lol.
so for vsync, all picom can do is play by the rules set out by OpenGL to enable vsync, and expect the driver to do its job and actually sync to vblanks.
from the looks of it there might be a bug in xf86-video-intel
that prevents vsync from working, which is out of the jurisdiction of picom, and something they need to fix. but given that project has been inactive for a while, i doubt it will be.
so the suggestion to remove xf86-video-intel
and use Xorg's built-in modesetting driver is the right one. but i guess unfortunately for you there is another bug stopping you from changing resolution. that is also not something we can fix, and you have to bring this bug to Xorg
sorry we couldn't help
Platform
Artix Linux
GPU, drivers, and screen setup
lspci:
glxinfo -B
pacman -Q | grep ^xf86-video
pacman -Q mesa
Environment
dwm
picom version
picom --diagnostics
Configuration:
config file
Steps of reproduction
use glx with or without the vsync option turned on
Expected behavior
no screen tearing using the glx backend
Current Behavior
glx backend has screen tearing
Other details
xrender does not have screen tearing, but since i wish to have more options for blurred backgrounds I would like to use glx but screen tearing makes it a pain to use, the blurring backends work well though.