XFCE4 black screen over everything after restart

Hello. On a fresh XFCE4 installation in Termux (no PRoot/ChRoot) without configuration yet, when I start XFCE4 session on Termux:X11 with D-Bus (termux-x11 -xstartup "dbus-launch --exit-with-session xfce4-session") no issues, config can be changed as normal (for Termux). But when I relaunch XFCE4 after a correct logout I get a black screen that hides all windows (I tried to launch a program first then XFCE4 session) except the mouse pointer thats works as expected. Deleting ~/.config/xfce4/ does correct the issue but after each startup this folder is recreated and I get the issue even without changing the configuration. It's very annoying to remove the config each time so I would like to know why it happens and how to solve it (if I can).
Solution:
Just changed mesa package to mesa-zink and the issue gone. WTF
Jump to solution
9 Replies
Shiumano
Shiumano4w ago
It may be due to incompatibility between xfwm4 and freedreno. If Xfce4 restarts and the screen goes black, try running LIBGL_ALWAYS_SOFTWARE=1 xfwm4 --replace in the terminal to recover.
NoNameForIdea
NoNameForIdeaOP4w ago
I'm not using Freedreno but Zink over vulkan-wrapper-android on a Samsung XClipse 920.
Solution
NoNameForIdea
NoNameForIdea4w ago
Just changed mesa package to mesa-zink and the issue gone. WTF
NoNameForIdea
NoNameForIdeaOP4w ago
But why?
FZXO
FZXO4w ago
because it's xfce4 It always has drivers problems with us mainly because of xfwm4
NoNameForIdea
NoNameForIdeaOP4w ago
What are the differences between mesa package and TUR's mesa-zink? They both include Zink.
Shiumano
Shiumano4w ago
It just seems like old mesa to me.
NoNameForIdea
NoNameForIdeaOP4w ago
But it solved the problem, could the version of Zink be the problem?
Shiumano
Shiumano4w ago
Actually I tried it and it worked, so maybe that's the case. I can't say for sure though

Did you find this page helpful?