-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Window turns blue-greyish with experimental backends #778
Comments
Looks like it's related to rounded-corner-exclude |
Can't reproduce this problem here. Can you try getting an apitrace? Also can you try
You might not being getting what you wanted from your config. |
Please post your I have exactly your GPU and CPU. Probably the same computer, G3 i5-9th. Anyways, try to move your current config, e.g., mv /path/to/picom.conf /path/to/picom.conf.bk And write
|
In your case, you may want to change You should run |
I'm using it, the issue occurs only when running with I switched to https://github.com/jonaburg/picom fork. It fixed the issue for me. But using @yshui fork still causes the same issue. |
Did you get around to do the apitrace? |
Never mind, I can replicate it now. |
If a window's border_width is bigger than its corner_radius, the inner radius of the border become less than 0, causing the entire window to be filled. Fixes #778 Signed-off-by: Yuxuan Shui <[email protected]>
If a window's border_width is bigger than its corner_radius, the inner radius of the border become less than 0, causing the entire window to be filled. Fixes yshui#778 Signed-off-by: Yuxuan Shui <[email protected]>
* Add build dependency Debian * Use default `detect-client-leader` in sample conf * Fixed ugly dark shadows in case of smaller window than shadow radius. (yshui#695) * docs: explain the detect-client-leader option better Signed-off-by: Yuxuan Shui <[email protected]> * backend: add new image property: corner radius Signed-off-by: Yuxuan Shui <[email protected]> * backend: gl_common: handle corner radius property Signed-off-by: Yuxuan Shui <[email protected]> * options: don't disable rounded corner for new backends Signed-off-by: Yuxuan Shui <[email protected]> * backend: set corner radius property Signed-off-by: Yuxuan Shui <[email protected]> * backend: xrender: handle corner radius Signed-off-by: Yuxuan Shui <[email protected]> * backend: xrender: cache rounded rectangle mask xcb_render_triangle is slow because (at least for Glamor) it's rasterizing the triangles on CPU. Signed-off-by: Yuxuan Shui <[email protected]> * github: update git-clang-format-lint Signed-off-by: Yuxuan Shui <[email protected]> * Fix lack of timespec_get() on Android. Some versions of the Android libc do not have timespec_get(), use clock_gettime() instead on Android. Signed-off-by: Rafael Kitover <[email protected]> * allow dots (.) in condition targets * backend: xrender: fix accidentally deleted refcount decrement Thanks, @tryone144 Signed-off-by: Yuxuan Shui <[email protected]> * backend: explicitly initialize corner_radius Signed-off-by: Yuxuan Shui <[email protected]> * backend: xrender: fix clone_image We were using default_clone_image, but: 1) it's copying the wrong type, xrender_image has an extra member. 2) it doesn't clone the rounded corner cache properly, that has to be separately reference counted. Reported-in: yshui#728 Signed-off-by: Yuxuan Shui <[email protected]> * Fix segfaults on 32bit arch with --log-level=debug There were a few improper uses of %ld for 64 bit numbers, as well as some other 32 bit related warnings that I've fixed. Signed-off-by: ktprograms <[email protected]> * Use python3 for tests The testcase python files were already compatible with python3, but the shebang was wrongly set to just 'python' * Fix all misspellings of _NET_WM_WINDOW_OPACITY. * Fix 2 examples in manpage which had obsolete options. * backend: add new property: BORDER_COLOR Signed-off-by: Yuxuan Shui <[email protected]> * backend: add new property: BORDER_WIDTH Signed-off-by: Yuxuan Shui <[email protected]> * backend: gl: trivial refactoring * unifm -> uniform * add macro for storing uniform locations Signed-off-by: Yuxuan Shui <[email protected]> * backend: gl: draw border for rounded windows Signed-off-by: Yuxuan Shui <[email protected]> * backend: gl: fix read_pixel Signed-off-by: Yuxuan Shui <[email protected]> * backend: remove the read_pixel interface. Sample the border color in the shader instead. Signed-off-by: Yuxuan Shui <[email protected]> * Formally deprecated the sw-opti option It was deprecated in v6, but wasn't formally deprecated back then (e.g. no warnings were printed for it). So formally deprecate it here. This also left the refresh-rate option unused, so that will be deprecated too. Signed-off-by: Yuxuan Shui <[email protected]> * Remove the glx-use-gpushader4 options Deprecated since v6. Signed-off-by: Yuxuan Shui <[email protected]> * Remove the vsync-aggressive flag Deprecated since v6. Signed-off-by: Yuxuan Shui <[email protected]> * Remove the glx-swap-method option Deprecated since v6. Signed-off-by: Yuxuan Shui <[email protected]> * Remove error messages for --dbe and --paint-on-overlay Deprecated since v4. Signed-off-by: Yuxuan Shui <[email protected]> * Remove error message for --alpha-step Deprecated since v5. Signed-off-by: Yuxuan Shui <[email protected]> * Remove error message for -d and -S Deprecated since v5. Signed-off-by: Yuxuan Shui <[email protected]> * Remove error message for --no-name-pixmap Deprecated since v5. Signed-off-by: Yuxuan Shui <[email protected]> * Remove error message for --xrender-sync Deprecated in v5. Signed-off-by: Yuxuan Shui <[email protected]> * Deprecate the refresh-rate options It's meaningless without the sw-opti option, which has been deprecated since v6. Signed-off-by: Yuxuan Shui <[email protected]> * config_libconfig: reuse the deprecation message Signed-off-by: Yuxuan Shui <[email protected]> * Remove error message for no-dock-shadow and no-dnd-shadow Deprecated since v4. Signed-off-by: Yuxuan Shui <[email protected]> * Formally deprecate --menu-opacity It was deprecated in v4, but warning message wasn't printed for specifying it on the command line. Properly deprecate it now. Signed-off-by: Yuxuan Shui <[email protected]> * Report error for setting vsync to non-boolean values This is deprecated since v5, but we forgot to change this to error in v8. Doing it now. Signed-off-by: Yuxuan Shui <[email protected]> * core: don't crash when binding root pixmap failed Fixes yshui#767 Signed-off-by: Yuxuan Shui <[email protected]> * dbus: fix win_get with "id" The target name got changed to "base.id" by accident. Signed-off-by: Yuxuan Shui <[email protected]> * dbus: properly handle object path Previously we reply to requests sent to _any_ object path, even though we only declare /com/github/chjj/compton. This commit makes sure we only reply to request sent to the right path. Signed-off-by: Yuxuan Shui <[email protected]> * tests: set dbus request to the right path Signed-off-by: Yuxuan Shui <[email protected]> * Update CONTRIBUTORS Signed-off-by: Yuxuan Shui <[email protected]> * Fix rounded corners on old pixmap for window animations * Fix previous commit * Fix code style * dbus: expose windows as dbus objects Signed-off-by: Yuxuan Shui <[email protected]> * dbus: add some properties to window objects Signed-off-by: Yuxuan Shui <[email protected]> * dbus: add name property to windows Signed-off-by: Yuxuan Shui <[email protected]> * dbus: add mappepd property to windows Signed-off-by: Yuxuan Shui <[email protected]> * dbus: follow dbus naming conventions Signed-off-by: Yuxuan Shui <[email protected]> * config_libconfig: add dbus option Signed-off-by: Yuxuan Shui <[email protected]> * dbus: add Type property to window objects Signed-off-by: Yuxuan Shui <[email protected]> * dbus: add signal named according to dbus naming conventions Some code generators don't work well with signal names not in UpperCamelCase. (e.g. https://dbus.pages.freedesktop.org/zbus) Signed-off-by: Yuxuan Shui <[email protected]> * Bump version number Closes yshui#776 Signed-off-by: Yuxuan Shui <[email protected]> * backend: add new optional API: device_status This is meant to be used to detect GPU resets. Implemented in the glx backend using the GL_ARB_robustness extension. Signed-off-by: Yuxuan Shui <[email protected]> * backend: handle device reset Signed-off-by: Yuxuan Shui <[email protected]> * backend: don't trust device_status after a reset Signed-off-by: Yuxuan Shui <[email protected]> * backend: gl: don't fill window with big border_width If a window's border_width is bigger than its corner_radius, the inner radius of the border become less than 0, causing the entire window to be filled. Fixes yshui#778 Signed-off-by: Yuxuan Shui <[email protected]> * backend: gl: fix corner being drawn with wrong color The outer pixels of the corner are drawn with antialiasing, but it color used for antialiasing is wrong. The estimated border color is used when there is actually no border. Related: yshui#770 Signed-off-by: Yuxuan Shui <[email protected]> * backend: gl: apply postprocessing to border_color Previously postprocessing is omitted when estimating the color of the border (e.g. dimming, opacity, inversion, etc.), causing the border to be drawn with the wrong color. Related: yshui#770 Signed-off-by: Yuxuan Shui <[email protected]> * ci: fix codeql tasks Signed-off-by: Yuxuan Shui <[email protected]> * Made meson/install.sh executable Changed permissions of meson/install.sh from 644 to 755 to be able to run it via "./install.sh" without first executing "chmod +x install.sh". * README: Move old historical info out of main README The picom project is no longer a fledgling fork needing to justify its existence. The README should present the user with relevant information regarding the current project rather than apologies for a 6-year-old fork of a longer-defunct prior project. 1. Rename README_orig.md to History.md, so it can contain other content of a historical nature. 2. Move still-relevant historical content from README to History. 3. Add a brief intro blurb to README saying that picom is an X compositor. 4. Mention Compton in the CONTRIBUTORS section. 5. Point to licensing information from README. * Fix code style * Fix window size animations with rounded borders This is a slightly hacky solution in that it does not properly animate the borders changing; however, what actually happens in the borders is barely noticeable (especially with non snail-paced animation speeds), so it seems to be fine. Signed-off-by: Yuxuan Shui <[email protected]> Signed-off-by: Rafael Kitover <[email protected]> Signed-off-by: ktprograms <[email protected]> Co-authored-by: Tom Dörr <[email protected]> Co-authored-by: Johnny Pribyl <[email protected]> Co-authored-by: Istvan Petres <[email protected]> Co-authored-by: yshui <[email protected]> Co-authored-by: Rafael Kitover <[email protected]> Co-authored-by: Tuomas Kinnunen <[email protected]> Co-authored-by: ktprograms <[email protected]> Co-authored-by: Bert Gijsbers <[email protected]> Co-authored-by: Daniel Csillag <[email protected]> Co-authored-by: i-c-u-p <[email protected]> Co-authored-by: Tim Siegel <[email protected]>
If a window's border_width is bigger than its corner_radius, the inner radius of the border become less than 0, causing the entire window to be filled. Fixes yshui#778 Signed-off-by: Yuxuan Shui <[email protected]>
Platform
Fedora 35
GPU, drivers, and screen setup
NVIDIA GeForce GTX 1050 Ti Mobile.
Driver version: 510.47.03
Output of
glxinfo -B
Environment
Awesome WM. Installed alongside KDE. Though I don't use picom on KDE.
picom version
vgit-01649
Diagnostics
Configuration:
Configuration file
Steps of reproduction
Expected behavior
The window should render properly
Current Behavior
The window turns blue-greyish when using experimental backends
Stack trace
Other details
WhatsApp.Video.2022-02-08.at.7.42.17.PM.mp4
The text was updated successfully, but these errors were encountered: