-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
Shadows do not respect rounded corners #783
Comments
I can confirm the same behaviour with latest git commit. PlatformGentoo ~amd64 GPU, drivers, and screen setupglxinfo -Bdirect rendering: Yes Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 6144 MB Total available memory: 6144 MB Currently available dedicated video memory: 3947 MB OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 510.54 OpenGL core profile shading language version string: 4.60 NVIDIA OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profileOpenGL version string: 4.6.0 NVIDIA 510.54 OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 510.54 picom detailsDiagnostics**Version:** vgit-aa316Extensions:
Misc:
Drivers (inaccurate):NVIDIA Backend: glx
Configurationbackend = "glx"; shadow = true; corner-radius = 24; fading = true; active-opacity = 0.90; blur-method = "dual_kawase"; wintypes: |
Think this could similar to my issue posted here #794 |
I am facing the same issue on Arch Linux with AwesomeWM. The issue as been discussed at jonaburg#62 as well. And there is a mention of a commit by @s0nny7 in yet another picom fork which apparently solves the problem - I have tried the patched fork by @Arian8j2 mentioned in the former discussion but it did not work for me. Perhaps, if someone can take inspiration from the mentioned commit and write a solution for this fork, it would be great! |
I have the same issue as @akshat157 I just compiled @Arian8j2 fork but corner shadows issue remains. In this post some one mentioned ibhagwan's fork works if the @Arian8j2's fork doesn't, but it only have Archilinux and Void Linux support to compile [sad emoji here]. |
I have the same issue, had to revert to jonaburg fork because rounded borders + shadows essentially do not work with picom in arch (meaning you'll get square after the rounded borders). (packaged for arch at https://aur.archlinux.org/packages/picom-jonaburg-fix/ ) |
The original commit that fixes this problem is here. I would modify it and make a PR myself, but unfortunately I'm just not familiar at all with the picom codebase. It would be excellent if someone with more knowledge could take a look at this and make an implementation for this fork! |
I had a crack at it. Here is what I came up with. This isn't a patch but a replacement backend.c file. (which you can generate a patch from and edit the buildpkg file to apply said patch to test it) |
What branch is that file for? I tried plunking it into the
|
Yeah probably need change those variables.. Sorry busy until late tomorrow, can't look now. |
Ok well the below segment of codes probably can be deleted as I think picom has a new way of storing and handling this. And I brought it over from the original as it seemed important to rounded corners. Remove this below and test again, see what happens. LOL
AND probably this below also
PS. Sorry for late reply, had allot going on. |
No dice. Still have this error during compilation:
|
Yeah so basically its saying we have not declared what reg_bound_local is/does. Not sure why yet. You might have made mistake during editing because it shouldn't be at line 468 but ~456! (or maybe you had 10 more spaces somewhere) (think I uploaded right one) |
I'm afraid I don't have any useful information.
…On Tue., May 17, 2022, 8:50 p.m. jarrard, ***@***.***> wrote:
Yeah so basically its saying we have not declared what reg_bound_local is
since its been removed in recent picom.
Will need to sift through the code to find a substitute function. Feel
free to make suggestions, I'm just poking at things in the dark here.
—
Reply to this email directly, view it on GitHub
<#783 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQBOWBYTF5FXETLLEO2EZFLVKQWELANCNFSM5ONAVAXQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@SaphiraKai I just created a PR inspired by the commit you linked to. It works on my setup, could you check it works on your too ? |
In #770, yes I was talking about how the shadow is still as if there are not rounded corners with
--experimental-backends
:The text was updated successfully, but these errors were encountered: