Linux Wayland Black Screen
Check version
- [X] I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- [X] I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?
Linux - PoB Frontend
How is Path of Building expected to behave?
Not be a black screen
How does Path of Building behave?
When opening, black screen
How to reproduce the issue
Using Arch Linux, KDE Plasma, With Wayland And Nvidia Rtx 2080ti
Character build code
Cant access that part of the program, the whole program is a black screen
Screenshots
Also experiencing this issue. On Hyprland for my part.
In the interim, this can be worked around by running with xwayland, like so:
env -u WAYLAND_DISPLAY -u GDK_BACKEND QT_QPA_PLATFORM="xcb" PathOfBuildingCommunity
Just started getting this after updating nvidia drivers to 560.35.03-2, using nearly the same setup as OP but with an RTX 3060.
For those running the Flatpak, you can go use Flatseal to disable Wayland for PoB as shown here:
Also experiencing this issue. On Hyprland for my part.
In the interim, this can be worked around by running with xwayland, like so:
env -u WAYLAND_DISPLAY -u GDK_BACKEND QT_QPA_PLATFORM="xcb" PathOfBuildingCommunity
This fixed my issues on arch + wayland, thanks
Running it as such seems to have introduced a massive memory leak however. I logged PathOfBuildingCommunity owning 29/32GiB of my RAM.
This is how I got it running:
flatpak override --user community.pathofbuilding.PathOfBuilding --nosocket=wayland --socket=x11 --env=QT_QPA_PLATFORM=xcb
This command tells Flatpak to prevent Path of Building from directly using the Wayland socket (--nosocket=wayland), grant it access to the X11 socket (--socket=x11), and set the QT_QPA_PLATFORM environment variable to xcb to ensure that Qt-based applications use the XCB (X11) platform plugin. This resolved the UI loading problem.
I got it running JUST passing QT_QPA_PLATFORM=xcb %command%, but it's not ideal - xwayland shows severe memory leak due to some bug with xwayland on nvidia.