giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.38k stars 461 forks source link

Graphics corruption with nVidia and Ubuntu #2421

Open sylvainfaivre opened 9 months ago

sylvainfaivre commented 9 months ago

Version, Operative system CherryTree 1.0.4 and previous releases. Ubuntu 22.04 and 23.04.

Describe the bug I sometimes experience graphics corruption inside some application's window, like parts of the window not refreshing, flickering, or showing a part of another app. Sometimes this can be fixed by clicking inside the window or resizing it, sometimes I have to close the app and open it again. This is not limited to any specific application, although it seems to often happen with Geany or CherryTree. I suppose that this bug doesn't come from CherryTree, but from an interaction between the nVidia driver and the UI toolkit used by CherryTree. I am posting this issue hoping to get feedback from other users who might have the same problem, and from the developer who might have some insight about how I could troubleshoot this.

To Reproduce I am not sure how to reproduce this bug, but it seems to be related to nVidia drivers and/or my multiple monitor setup. I have been running CherryTree for years without experiencing this bug, on another computer with a similar OS setup, but with an AMD GPU an only one screen.

Screenshots cherrytree-bug

Additionnal info I posted this question with more info on my setup here : https://askubuntu.com/questions/1475200/graphics-corruption-inside-some-applications-window

giuspen commented 9 months ago

Personally I would try to narrow down the problem with few tests 1) try to use Wayland instead of Xorg or vice versa, does it happen again? https://fostips.com/switch-wayland-kubuntu-linux-kde/?amp=1 2) try to use the proprietary Nvidia drivers instead of the free open source or vice versa https://help.ubuntu.com/community/NvidiaDriversInstallation#The_recommended_way_.28ubuntu-drivers_tool.29 - does it happen again?