picom icon indicating copy to clipboard operation
picom copied to clipboard

Black squared corners showing up behind rounded corners

Open asteraceae opened this issue 2 years ago • 7 comments

Platform

Debian 11 bullseye

GPU, drivers, and screen setup

nouveau drivers, in the midst of setting up nvidia drivers

Environment

i3-gaps + xfce4-panel

Current Behavior

image

Can not figure out for the life of me why this is happening. Shadows are set to false. This does not happen to all windows, thunar and some dropdown menus are rendered fine. However this is present on the majority of windows.

asteraceae avatar Apr 06 '22 10:04 asteraceae

setting up nvidia drivers did not help

I am now getting this on thunar as well

asteraceae avatar Apr 07 '22 07:04 asteraceae

Can you show me your picom config?

n-ovux avatar Apr 10 '22 03:04 n-ovux

I have the same issues my config : corner-radius = 20.0; round-borders = 4 rounded-corners-exclude = [ "class_g = 'Polybar'", ]; shadow-radius = 0;

hertz-hwang avatar Apr 19 '22 02:04 hertz-hwang

related: https://github.com/yshui/picom/issues/783

c02y avatar Apr 22 '22 20:04 c02y

How are you running picom because if you dont specify the backend in the config then you will get black corners when you run with picom --experimental-backends so you could try adding backend = "glx";

tl;dr try running picom like this picom or this picom --experimental-backends and if that does fix it then try adding backend = glx; to your config.

n-ovux avatar Jun 20 '22 21:06 n-ovux

How are you running picom because if you dont specify the backend in the config then you will get black corners when you run with picom --experimental-backends so you could try adding backend = "glx";

tl;dr try running picom like this picom or this picom --experimental-backends and if that does fix it then try adding backend = glx; to your config.

I'm using both picom --experimental-backends and backend = "glx";, it doesn't help.

c02y avatar Jun 20 '22 21:06 c02y

I'm having the same problem but with white squares. image image

I'm using AwesomeWM

Here is my picom.conf, I'm running picom --experimental-backends -b on startup. (It's renamed to be able to upload it, I have it as picom.conf in my system) picom.conf

Edit: Using nvidia drivers in a 2-monitor setup, it happens on both screens

appuchias avatar Jun 25 '22 23:06 appuchias

How are you running picom because if you dont specify the backend in the config then you will get black corners when you run with picom --experimental-backends so you could try adding backend = "glx";

tl;dr try running picom like this picom or this picom --experimental-backends and if that does fix it then try adding backend = glx; to your config.

Switching to backend = "glx"; actually fixed the issue for me. I'm using a Nvidia GPU.

ElnuDev avatar Jan 06 '23 03:01 ElnuDev

This happens for me with both xrender and glx, tried forcing backends with both glx and xrender, and even both with --legacy-backends. This is my config, I'm seeing this with the WhiteSur-Dark theme on popups/context menus. Using i3wm, picom v10.2 (b700a).

elamperti avatar Jan 19 '23 00:01 elamperti

it should be fine for all kinds of configurations now.

  1. try the latest commit;
  2. if the latest commit doesn't fix the issue for you, apply the #1003 on top of it;
  3. if applying the #1003 on top of the latest commit doesn't fix the issue for you, apply the #1002 as well.

(all the mentioned pull requests are going to be merged eventually)

if the issue isn't gone after doing all the steps, report back.

absolutelynothelix avatar Jan 23 '23 13:01 absolutelynothelix

all the pull requests mentioned above were merged into the next branch and included in the v11-rc1 pre-release.

closing as stale.

absolutelynothelix avatar Feb 20 '24 08:02 absolutelynothelix