amir1376 / ab-download-manager

A Download Manager that speeds up your downloads
https://abdownloadmanager.com
Apache License 2.0
3.93k stars 216 forks source link

UI is black/blank on Wayland KDE #48

Closed ghost closed 3 months ago

ghost commented 3 months ago

UI doesn't display anything on Wayland, works perfectly with X11. My guess is this is an incompatibility with xwayland. Tested on v1.0.7

Screenshot_20240824_150129

Operating System: Arch Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.6-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × 12th Gen Intel® Core™ i5-12400F Memory: 62.6 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060/PCIe/SSE2 Manufacturer: ASUS

amir1376 commented 3 months ago

@videoman614 Hi there thank you for reporting this. is this related to this issue?

ghost commented 3 months ago

@videoman614 Hi there thank you for reporting this. is this related to this issue?

Not sure but doesn't sound like it because it does startup normally and when trying to download something the download window does appear and I can download, it's just black/blank and I have to guess the UI elements.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

I have tried switch to xorg-xwayland-git to see if there has been any commits that might fix this but so far no luck.

amir1376 commented 3 months ago

@videoman614 This is somehow related to graphic environment.

This app uses compose-multiplatform for GUI. it uses Open GL by default for its render api in linux

but you can override it by SKIKO_RENDER_API environment variable

possible values for Linux are

for example

SKIKO_RENDER_API=SOFTWARE_FAST
ghost commented 3 months ago

Working perfectly now.

Might be an NVIDIA issue.