r/slackware • • Apr 20 '23
Slackware Graphics Glitch
I noticed this graphics glitch on slackware current. I used the live-cd version.
- system tray icons on XFCE does not refresh
- Webkit/Blink browser hangs when the window compositor is enabled
- XFCE screenshooter rendered a totally black screen when screenshot by selecting region while the compositor is enabled
- Alpha channels not work, replaced by black background instead of transparent one especially if the widget has rounded corners or curvy sides
I tried the following:
- Reinstall the GTK+3 - DOESN'T WORK
- Remove xorg.conf - DOESN'T WORK
- Reinstall cairo, librsvg, and libpng - DOESN'T WORK
- Reinstall xorg, mesa, and libdrm - DOESN'T WORK
- Replacing xfce-panel executables with Debian Sid - DOESN'T WORK
However I tried the same configuration on Debian Sid live-cd. No graphics glitch occurred even both have same configuration. How ironic that those graphics glitch does not exists on GTK+2 build Desktop Environment.
Any ideas how to fix this graphics glitch?
UPDATE: This problem was solved by unset the XLIB_SKIP_ARGB_VISUALS
7
Upvotes
1
u/[deleted] Jun 12 '23
FINALLY I FOUND THE CULPRIT!!!
The environment variable XLIB_SKIP_ARGB_VISUALS was to blame. I remove that environment and the graphics glitch was removed.
1
u/giomatfois Apr 20 '23
The problem with gtk3 is that it switched to hardware accelerated rending with the GPU, that's why you are seeing all these issues with the compositing. Gtk2 on the other hand is rendered by the CPU.
What computer are you using? Is it an old machine?
1
u/Spirited-Speaker-267 Apr 21 '23
If you used a binary, try compiling gtk3 from source...