Can't Start on Wayland

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
ggnoredo
Newbie Member
Posts: 4
Joined: Wed Aug 05, 2020 8:02 pm

Can't Start on Wayland

Post by ggnoredo » Wed Aug 05, 2020 8:14 pm

Hi,

I recently purchased QCAD/CAM. I have 2 computers with macOS and Arch Linux installed. I successfully installed on macOS but on Arch Linux, actually on Wayland session type it won't launch. I did see first launch screen with some configurations like metric system etc.. but after that it's just nothing happening. I'm using the latest version of qcadcam-3.24.3-pro-linux-qt5.13-x86_64.run file from mail link and

my system specs:
Kernel: 5.7.12-arch1-1
WM: sway
CPU: AMD Ryzen 5 2600 (12) @ 3.850GHz
GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT
Memory: 2302MiB / 16005MiB
Running qcad from /opt/qcadcam-3.24.3-pro-linux-qt5.13-x86_64/qcad outputs:
QCAD version 3.24.3
Warning: Could not find the Qt platform plugin "wayland" in ""
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, xcb.

./qcad: line 9: 9062 Aborted (core dumped) LD_LIBRARY_PATH="$DIR" "$binary" "$@"

QCAD has unexpectedly quit.

Please use the offscreen platform plugin for headless systems
(without a running X11 server):
./qcad -platform offscreen

In addition, you might have to override the default Qt style
to prevent the loading of a native desktop style (such as GTK):
./qcad -style plastique
QT5:
Qt 5.15.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.1.0) on "wayland"
Wayland specific env settings:

Code: Select all

export RADV_PERFTEST=aco
export QT_QPA_PLATFORM=wayland
export GDK_BACKEND=wayland
export XDG_SESSION_TYPE=wayland
export mesa_glthread=true

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: Can't Start on Wayland

Post by andrew » Wed Aug 05, 2020 8:53 pm

Can you try this with the 3.24.3.10 snapshot release, available from your download link under "Snapshots"? Thanks.

ggnoredo
Newbie Member
Posts: 4
Joined: Wed Aug 05, 2020 8:02 pm

Re: Can't Start on Wayland

Post by ggnoredo » Wed Aug 05, 2020 10:29 pm

Still the very same error

ggnoredo
Newbie Member
Posts: 4
Joined: Wed Aug 05, 2020 8:02 pm

Re: Can't Start on Wayland

Post by ggnoredo » Thu Aug 06, 2020 10:14 pm

Any idea? Or I’m looking for support in wrong place?

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: Can't Start on Wayland

Post by andrew » Fri Aug 07, 2020 2:36 pm

You could also try to remove the Qt libraries that come with QCAD. QCAD will then link against the Qt libraries installed on your system.

Generally speaking, this is an issue of running Qt applications on Wayland. To be honest I have little experience with that. QCAD seems to work fine here on Ubuntu running Wayland, but it might be running on some compatibility layer.

ggnoredo
Newbie Member
Posts: 4
Joined: Wed Aug 05, 2020 8:02 pm

Re: Can't Start on Wayland

Post by ggnoredo » Mon Aug 17, 2020 8:19 pm

I'm getting qcad launch screen for a moment but now throws completely new error

Code: Select all

Warning:  RPropertyTypeId::generateId: property already initialized:  7RObject : "" : "Invisible"
22:17:26: Debug:    RGLES3DPlugin::initScriptExtensions
Warning:  QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Warning:  QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Warning:  QOpenGLWidget: Failed to create context
Warning:  QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Warning:  QOpenGLWidget: Failed to create context
Warning:  QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Warning:  QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Warning:  composeAndFlush: QOpenGLContext creation failed
Warning:  composeAndFlush: makeCurrent() failed
22:17:27: Debug:    RGLES3DPlugin::initScriptExtensions
Warning:  composeAndFlush: makeCurrent() failed
Warning:  composeAndFlush: makeCurrent() failed
Warning:  composeAndFlush: makeCurrent() failed
Warning:  composeAndFlush: makeCurrent() failed
Warning:  composeAndFlush: makeCurrent() failed
Warning:  composeAndFlush: makeCurrent() failed

User avatar
andrew
Site Admin
Posts: 9063
Joined: Fri Mar 30, 2007 6:07 am

Re: Can't Start on Wayland

Post by andrew » Tue Aug 18, 2020 8:16 am

Please remove the OpenGL plugin by deleting it or moving it to a temporary folder:
plugins/libqcadgles3d.so

Post Reply

Return to “QCAD Troubleshooting and Problems”