monero-project / monero-gui

Monero: the secure, private, untraceable cryptocurrency
Other
1.74k stars 769 forks source link

Wayland support #1308

Closed GarethH96 closed 6 years ago

GarethH96 commented 6 years ago

I get this error when trying to run ./start.sh:

This application failed to start because it could not find or load the Qt platform plugin "wayland"
in "".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.
./start-gui.sh: line 7:  3165 Aborted                 (core dumped) "$SCRIPT_DIR"/monero-wallet-gui
sanderfoobar commented 6 years ago

Probably does not support wayland yet.

Could you try running this command: export QT_QPA_PLATFORM=xcb

Afterwards ./start.sh

pazos commented 6 years ago

@GarethH96: qt bundled in official binaries only support xcb platform plugin for linux ATM.

if you build monero-wallet-gui from source you'll get more plugins. In my system (Ubuntu 16.04 | x64 | official qt 5.10.1)

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

official qt binaries don't distribute wayland, but I'm sure new distros build qt with support for wayland.

So, you can build from source following the readme an give us some feedback :)

GarethH96 commented 6 years ago

@skftn That actually works, but really would prefer to have Wayland support.

@pazos I use Antergos KDE which is Arch Linux based, so I have the latest software. Tried cloning and compiling the source of v0.12. At first, it appears to work fine, but when I deleted the .bitmonero folder that was made from the pre-compiled version I get a window that only displays the text 'Weclome to Monero! Please choose a language and regional format' and the rest of the window is completely empty, no matter weather it is on Wayland or X11.

pazos commented 6 years ago

At first, it appears to work fine, but when I deleted the .bitmonero folder that was made from the pre-compiled version I get a window that only displays the text 'Weclome to Monero! Please choose a language and regional format' and the rest of the window is completely empty, no matter weather it is on Wayland or X11.

That is weeeeird

That actually works, but really would prefer to have Wayland support.

It doesn't matter for the near future. Wayland does support X11 applications via XWayland and qt doesn't bundle wayland.

X11 has almost 40 years now, so I think it will be supported at least other 20 years :grinning:

sanderfoobar commented 6 years ago

Closing, #1357 forces xcb which fixes the issue. Wayland will not be supported. PRs always welcome though.

+resolved