Menu

#299 chessx failed to run natively in wayland

None
closed-rejected
nobody
None
5
2024-08-10
2021-08-12
Munzir Taha
No

chessx failed to run natively in wayland. I am aware of the QT_QPA_PLATFORM=xcb workaround. I am using Arch Linux

~> pacman -Q chessx
chessx 1.5.6-1

~> chessx
qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
qt.qpa.wayland: Available client buffer integrations: ()
load glyph failed err=6 face=0x560350e3e300, glyph=65535
qt.qpa.wayland: No shell integration named "xdg-shell" found
qt.qpa.wayland: No shell integration named "xdg-shell-v6" found
qt.qpa.wayland: No shell integration named "wl-shell" found
qt.qpa.wayland: No shell integration named "ivi-shell" found
qt.qpa.wayland: Loading shell integration failed.
qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")

Discussion

  • Jens Nissen

    Jens Nissen - 2023-03-27
    • status: open --> closed-rejected
    • Group: 1.5.8 --> None
     
  • Jens Nissen

    Jens Nissen - 2023-03-27

    Can't reproduce on Ubuntu

     
  • Munzir Taha

    Munzir Taha - 2023-03-28

    If Ubuntu is falling back to xcb, this doesn't mean the bug is invalid. To verify chessx is not using the wayland plugin in Ubuntu try:
    QT_QPA_PLATFORM=wayland chessx
    If this doesn't work, and QT_QPA_PLATFORM=xcb works, then Ubuntu is just using the X11 plugin behind the scenes

     
  • Munzir Taha

    Munzir Taha - 2024-08-08

    I don't understand why this bug is rejected. I am using Arch Linux currently not Ubuntu, the bug is valid and chessx won't start in wayland

     
  • Jens Nissen

    Jens Nissen - 2024-08-09

    I have no idea what wayland is - my reference platforms are Mac Os, Windows 10 and a out-of-the-box Ubuntu. I can't test all the different Linux, FreeBSD and the like.
    Looking at the original post, I guess there is a wayland-egl library missing on your computer or your application build.

     
  • Munzir Taha

    Munzir Taha - 2024-08-09

    Ok since you are only familiar with Ubuntu, I downloaded the latest version Ubuntu 24.04 LTS and got the same issue

    $ chessx
    QSocketNotifier: Can only be used with threads started with QThread
    libpng warning: iCCP: known incorrect sRGB profile
    qt.qpa.wayland: Failed to load client buffer integration: "wayland-egl"
    qt.qpa.wayland: Available client buffer integrations: ()
    qt.qpa.wayland: No shell integration named "xdg-shell" found
    qt.qpa.wayland: No shell integration named "xdg-shell-v6" found
    qt.qpa.wayland: No shell integration named "wl-shell" found
    qt.qpa.wayland: No shell integration named "ivi-shell" found
    qt.qpa.wayland: Loading shell integration failed.
    qt.qpa.wayland: Attempted to load the following shells ("xdg-shell", "xdg-shell-v6", "wl-shell", "ivi-shell")

    If you fixed the problem for Ubuntu I would fix the archlinux package because I am the current maintainer. However, the problem is not specific to a distro. Wayland is the window system protocol and display server behind GUIs like KDE and GNOME. It used to be xorg/X11 but some years ago most popular distributions migrated to the new protocol by default because it's much better and more secure. Applications that have no X11 specific code should just work. Actually there shouldn't be such code in the first place.

     

    Last edit: Munzir Taha 2024-08-10
  • Jens Nissen

    Jens Nissen - 2024-08-10
     
  • Jens Nissen

    Jens Nissen - 2024-08-10

    Did you compile with QT_QPA_PLATFORM set for wayland and did you install the wayland plugins into the plugins folder? There should be at least 3 directories for wayland in plugins.

     
  • Munzir Taha

    Munzir Taha - 2024-08-10

    This is Ubuntu and I just did apt install chessx. I don't want to compile or play with variables like QT_QPA_PLATFORM. Users should have the program work out of the box.

     

Log in to post a comment.