-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warped and Grayscaled image on some integrated displays #303
Comments
For the wrapped image, try starting swww-daemon with swww-daemon --format |
Yep. that seems to be the solution. However, playing around with the
As in @Day-OS stacktrace, |
After a short glance on the README, I reckon that similar issue already touched upon in #233. I didn't see it since it was closed, although the issue persists. Is the currently proposed workaround, using |
This is expected, very few compositors in my experience support
Interesting. Thanks for that. I really do think this is like, a Mesa bug at this point, but I could be wrong. Because it only fails in certain hardware or configurations. For example, do you by any chance have an integrated display (like in a notebook)?
Let's leave this open for now, I will rename it though to better reflect what's going on. The reason I closed the previous issue was that, while working on fractional scaling support (note I had never succeeded in reproducing the issue up to that point), I came across this same problem myself, and thought "ah, so THIS is what everyone's been facing". After I fixed it, I thought the problem would have been fixed for everyone, and closed the previous issue. No one said anything, and I was happy about it. Now I realize no one said anything probably because everyone added EDIT: the fact that the compositor crashes further corroborates my hypothesis this is a full-blown mesa bug, now that I think about it. |
Please do, whichever name that you feel more apt, while also help people to relate and prevent them from making duplicate issues.
I see, that might be the case. It is the nature of our community to not expect things to work out of the box. In a way, It is actually a good culture, for it fosters users that are not deterred by workarounds and creative solutions. But in some cases, such culture made the people who work on the codes unable to see the problems, as it grew in complexities down the line.
Yep, on a 5 years old Ideapad 330-15IGM w/ Intel Celeron N4000 and Intel UHD 600 iGPU. I also run Cheers |
also having this issue, but on an external monitor; the image is warped, gray-scaled, and is covered in what looks to be scan-lines. system is running latest Arch ( Seems like running the daemon with |
I did some debugging on this in sway since some updates randomly triggered this bug for my laptop display today. It seems to only happen with bgr format (not xbgr nor xrgb) and only at certain scaling values. Scaling values that work:
Scaling values that trigger this bug:
Also to note is that hot-reloading the scaling in sway and sending a new image to the daemon refreshes whatever causes the bug, meaning you can have a neat way to test it happening. Another thing I cought is that at the offending scaling values, my waybar overlay (which is at the bottom) is offset by 1 pixel, and there's 1 line of colored background below it. It's not colored correctly, but it is colored. So whatever this is seems to be a bug that goes deeper than just swww, but might be triggered by something swww does. I haven't managed to find any other visual bugs so far. I did have some crashes with origin in radeonsi and glibc though. Nothing relevant in dmesg nor journalctl, regardless. My girlfriend suggested it might be related to fractional math being prone to precision problems. Less important but during my testing I have ruled out the following potential causes: waybar, adaptive sync, subpixel rendering, the file format sent to swww (at least jpg, png and animated webp behave the same), and any non-default user configs outside of sway I set (tested using a fresh user). Also to note: I tried using swww-git (AUR) for a bit and that one just refused to start 🤷🏻 idunno. I have my workaround and I'm tired, so… |
I am running the latest git version from AUR, but the 0.9.5-1 from AUR also have the same issue.
The wallpaper is "warped" and if I change the image with animation the whole WM, in my case Hyprland, will crash. Regarding the "warped" image, I also tried to use swaybg, and the issue is gone. So maybe it is a problem with swww.
Currently I am using swww as it is and set the
--transition none
for no animation.Thanks
The text was updated successfully, but these errors were encountered: