Bug 462317 - AppImage cannot run under wayland
Summary: AppImage cannot run under wayland
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (show other bugs)
Version: 22.08.3
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-27 15:08 UTC by 2746165319@qq.com
Modified: 2023-06-11 12:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 2746165319@qq.com 2022-11-27 15:08:42 UTC
SUMMARY

STEPS TO REPRODUCE
1. Switch to X11
2. The Application runs successfully
3. Switch to Wayland
4. The Application cannot run

OBSERVED RESULT
Kdenlive's AppImage cannot run under Wayland in my computer after I upgraded it into 22.04.3, while it can run successfully under X11. I've already upgraded it into the newest version, 22.08.3, but the problem remains. I compared what I can see in the console after I start it under Wayland. Most logs are the same as the logs under X11 except the three lines:
1. qt.qpa.wayland: EGL not available (line 1)
2. kf.windowsystem: Could not find any platform plugin (line 4)
3. 段错误(核心已转储) (the last line)

EXPECTED RESULT
It should be able to run under both X11 and Wayland.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE TumbleWeed
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.17.1

ADDITIONAL INFORMATION
I submitted the problem on KDE Forum, but I haven't got replies yet. A person in a KDE group suggest me to submit this problem to appimage.github.io/Kdenlive , but I can't find where I can submit it. So I clicked the buttom "Kdenlive Bugtracker" and submit it there. I'm not sure if I do the right thing.
Comment 1 emohr 2023-05-14 12:41:31 UTC
This is really strange.  I have the same issue on my Windows PC where I run Linux in a VM. The same Kdenlive AppImage is running on another Windows PC with a Linux VM. Difference is that my PC run on BIOS and the other PC run on UEFI. How old is your PC and does it run on UEFI?
Comment 2 Jean-Baptiste Mardelle 2023-05-16 08:59:08 UTC
This should now be fixed in the 23.04.1 AppImage. We now enforce the xcb platform for the AppImage since runnning native Wayland inside the AppImage is currently broken.

Alternatively, you should be able to launch the previous AppImages from a terminal:
QT_QPA_PLATFORM=xcb ./kdenlive-version.AppImage
Comment 3 emohr 2023-05-17 19:04:29 UTC
I managed to run the Kdenlive Flatpak version in my virtual machine. But the AppImage still not start and get the error message similar to “unknown machine command” (the same error occur when starting the AppImage with QT_QPA_PLATFORM=xcb ./kdenlive-23.04.1-x86_64.AppImage).
Comment 4 2746165319@qq.com 2023-06-11 12:48:38 UTC
(In reply to Jean-Baptiste Mardelle from comment #2)
> This should now be fixed in the 23.04.1 AppImage. We now enforce the xcb
> platform for the AppImage since runnning native Wayland inside the AppImage
> is currently broken.
> 
> Alternatively, you should be able to launch the previous AppImages from a
> terminal:
> QT_QPA_PLATFORM=xcb ./kdenlive-version.AppImage

Yeah now it can run, but once I add a clip into it, it goes dead again.