flathub / io.lmms.LMMS

https://flathub.org/apps/details/io.lmms.LMMS
3 stars 6 forks source link

The Flatpak compilation doesn't work #45

Closed cold-distance closed 1 year ago

cold-distance commented 1 year ago

Bug Summary

Hi, I'm an openSUSE MicroOS user (Silverblue previously), so I'm "forced" to use the Flatpak compilation. After installing the app, it tries to start correctly, but suddenly crashes. The problem seems to be related to Qt and the OpenGL drivers. Now I have a RX 7600, but I saw the same thing with my old RX 580.

Steps to reproduce

-Install the Flatpak version from Flathub. -Try to start the app. -You see that the app doesn't work, but you can see the splash.

Expected behavior

-A functional application.

Actual behavior

-Unable to start the Flatpak version of LMMS, so it's fully useless.

Screenshot

I don't have a screenshot, but the things that the console prompts me when I try to start LMMS from the command line and a little portion of journalctl.

Affected LMMS versions

-1.2.2 according to Flathub.

Logs

What the command line says to me when I try to start LMMS Flatpak
flatpak run io.lmms.LMMS
Qt: Session management error: Could not open network socket
Notice: could not set realtime priority.
amdgpu: unknown (family_id, chip_external_rev): (145, 16)
libGL error: failed to create dri screen
libGL error: failed to load driver: radeonsi
VST sync support disabled in your configuration
Portion of journalctl 1
ago 29 13:02:11 tuf-suse gnome-software[2227]: user: Installed runtime/org.kde.Platform/x86_64/5.15-21.08 from flathub
ago 29 13:02:12 tuf-suse gnome-boxes[13668]: ../gobject/gsignal.c:2728: handler '2964' of instance '0x55fbbefa8810' is not blocked
ago 29 13:02:13 tuf-suse gnome-software[2227]: libostree pull from 'flathub' for app/io.lmms.LMMS/x86_64/stable complete
                                               security: GPG: summary+commit 
                                               security: SIGN: disabled http: TLS
                                               delta: parts: 2 loose: 23
                                               transfer: secs: 2 size: 39,7 MB
ago 29 13:02:13 tuf-suse virtlogd[13770]: libvirt version: 9.0.0
ago 29 13:02:13 tuf-suse virtlogd[13770]: hostname: tuf-suse
ago 29 13:02:13 tuf-suse virtlogd[13770]: Client hit max requests limit 1. This may result in keep-alive timeouts. Consider tuning the max_client_requests server parameter
ago 29 13:02:14 tuf-suse virtqemud[13693]: libvirt version: 9.0.0
ago 29 13:02:14 tuf-suse virtqemud[13693]: hostname: tuf-suse
ago 29 13:02:14 tuf-suse virtqemud[13693]: getaddrinfo failed for 'tuf-suse': Name or service not known
ago 29 13:02:14 tuf-suse gnome-software[2227]: user: Pulled app/io.lmms.LMMS/x86_64/stable from flathub
ago 29 13:02:14 tuf-suse gnome-software[2227]: user: Installed app/io.lmms.LMMS/x86_64/stable from flathub
ago 29 13:02:14 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.121' (uid=1000 pid=11200 comm="/usr/libexec/tracker-miner-fs-3" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:02:14 tuf-suse systemd[1809]: Starting Tracker metadata extractor...
ago 29 13:02:14 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
ago 29 13:02:14 tuf-suse systemd[1809]: Started Tracker metadata extractor.
ago 29 13:02:17 tuf-suse gnome-software[2227]: failed to get featured apps: no apps to show
ago 29 13:02:17 tuf-suse gnome-software[2227]: Only 0 apps for curated list, hiding
ago 29 13:02:17 tuf-suse gnome-software[2227]: Only 0 apps for recent list, hiding
ago 29 13:02:19 tuf-suse org.gnome.Software.desktop[13866]: ldconfig: /app/lib/libstk-4.6.1.so no es un enlace simbólico
ago 29 13:02:19 tuf-suse systemd[1809]: Started app-flatpak-io.lmms.LMMS-2227.scope.
ago 29 13:02:19 tuf-suse systemd[1809]: app-flatpak-org.freedesktop.Platform.openh264-2227.scope: Consumed 18.883s CPU time.
ago 29 13:02:20 tuf-suse org.gnome.Software.desktop[13878]: Qt: Session management error: Could not open network socket
ago 29 13:02:20 tuf-suse org.gnome.Software.desktop[13878]: amdgpu: unknown (family_id, chip_external_rev): (145, 16)
ago 29 13:02:20 tuf-suse org.gnome.Software.desktop[13878]: libGL error: failed to create dri screen
ago 29 13:02:20 tuf-suse org.gnome.Software.desktop[13878]: libGL error: failed to load driver: radeonsi
ago 29 13:02:20 tuf-suse org.gnome.Software.desktop[13878]: Notice: could not set realtime priority.
ago 29 13:02:20 tuf-suse gnome-shell[1935]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00008 specified for 0xc00006.
ago 29 13:02:20 tuf-suse org.gnome.Software.desktop[13878]: VST sync support disabled in your configuration
ago 29 13:02:20 tuf-suse kernel: lmms.bin[13878]: segfault at 7f07ae7f1fd0 ip 00007f07f84cc5db sp 00007ffd589817f0 error 4 in libQt5Core.so.5.15.8[7f07f829b000+313000] likely on CPU 0 (core 0, socket 0)
ago 29 13:02:20 tuf-suse kernel: Code: 8b 7e 08 48 85 ff 0f 84 9b 00 00 00 48 8b 47 08 48 8b 50 38 49 8b 46 38 48 39 c2 0f 85 d8 57 de ff 48 8b 07 4c 89 e2 48 89 ee  50 30 84 c0 75 50 4d 8b 4e 30 49 8b 51 20 8b 4a 08 8b 7a 0c 89
ago 29 13:02:20 tuf-suse systemd[1]: Created slice Slice /system/systemd-coredump.
ago 29 13:02:20 tuf-suse systemd[1]: Started Process Core Dump (PID 13931/UID 0).
ago 29 13:02:20 tuf-suse systemd-coredump[13932]: Process 13878 (lmms.bin) of user 1000 dumped core.

                                                  Stack trace of thread 2:
                                                  #0  0x00007f07f84cc5db n/a (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.8 + 0x2cc5db)
                                                  ELF object binary architecture: AMD x86-64
ago 29 13:02:20 tuf-suse systemd[1]: systemd-coredump@0-13931-0.service: Deactivated successfully.
ago 29 13:02:30 tuf-suse gnome-shell[1935]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
ago 29 13:02:33 tuf-suse gnome-software[2227]: user: Uninstalled app/io.lmms.LMMS/x86_64/stable
ago 29 13:02:33 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.121' (uid=1000 pid=11200 comm="/usr/libexec/tracker-miner-fs-3" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:02:33 tuf-suse systemd[1809]: Starting Tracker metadata extractor...
ago 29 13:02:34 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
ago 29 13:02:34 tuf-suse systemd[1809]: Started Tracker metadata extractor.
ago 29 13:02:38 tuf-suse systemd[1809]: Started app-flatpak-org.mozilla.firefox-13993.scope.
ago 29 13:02:38 tuf-suse systemd[1809]: Started Application launched by gnome-shell.
ago 29 13:02:39 tuf-suse gnome-software[2227]: failed to get featured apps: no apps to show
ago 29 13:02:39 tuf-suse gnome-software[2227]: Only 0 apps for curated list, hiding
ago 29 13:02:39 tuf-suse gnome-software[2227]: Only 0 apps for recent list, hiding
ago 29 13:03:15 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating service name='org.gnome.Settings.SearchProvider' requested by ':1.11' (uid=1000 pid=1935 comm="/usr/bin/gnome-shell" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:03:15 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.gnome.Settings.SearchProvider'
ago 29 13:03:15 tuf-suse gnome-control-c[14136]: Ignoring broken panel color (missing desktop file)
ago 29 13:03:16 tuf-suse gnome-software[2227]: libostree pull from 'flathub' for appstream2/x86_64 complete
                                               security: GPG: summary+commit 
                                               security: SIGN: disabled http: TLS
                                               non-delta: meta: 2 content: 0
                                               transfer: secs: 0 size: 1,4 kB
ago 29 13:03:16 tuf-suse gnome-shell[1935]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
ago 29 13:03:16 tuf-suse gnome-software[2227]: user: Pulled appstream2/x86_64 from flathub
ago 29 13:03:22 tuf-suse gnome-software[2227]: failed to get featured apps: no apps to show
ago 29 13:03:22 tuf-suse gnome-software[2227]: Only 0 apps for curated list, hiding
ago 29 13:03:22 tuf-suse gnome-software[2227]: Only 0 apps for recent list, hiding
ago 29 13:03:24 tuf-suse gnome-software[2227]: libostree pull from 'flathub' for app/io.lmms.LMMS/x86_64/stable complete
                                               security: GPG: summary+commit 
                                               security: SIGN: disabled http: TLS
                                               delta: parts: 2 loose: 23
                                               transfer: secs: 2 size: 39,7 MB
ago 29 13:03:25 tuf-suse gnome-software[2227]: user: Pulled app/io.lmms.LMMS/x86_64/stable from flathub
ago 29 13:03:25 tuf-suse gnome-software[2227]: user: Installed app/io.lmms.LMMS/x86_64/stable from flathub
ago 29 13:03:25 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.121' (uid=1000 pid=11200 comm="/usr/libexec/tracker-miner-fs-3" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:03:25 tuf-suse systemd[1809]: Starting Tracker metadata extractor...
ago 29 13:03:25 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
ago 29 13:03:25 tuf-suse systemd[1809]: Started Tracker metadata extractor.
ago 29 13:03:29 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating via systemd: service name='org.gnome.Terminal' unit='gnome-terminal-server.service' requested by ':1.169' (uid=1000 pid=14212 comm="/usr/bin/gnome-terminal" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:03:29 tuf-suse systemd[1809]: Started Application launched by gnome-shell.
ago 29 13:03:29 tuf-suse systemd[1809]: Starting GNOME Terminal Server...
ago 29 13:03:29 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.gnome.Terminal'
ago 29 13:03:29 tuf-suse systemd[1809]: Started GNOME Terminal Server.
ago 29 13:03:29 tuf-suse gnome-shell[1935]: meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
ago 29 13:03:29 tuf-suse systemd[1809]: Started VTE child process 14239 launched by gnome-terminal-server process 14220.
ago 29 13:03:31 tuf-suse gnome-software[2227]: failed to get featured apps: no apps to show
ago 29 13:03:31 tuf-suse gnome-software[2227]: Only 0 apps for curated list, hiding
ago 29 13:03:31 tuf-suse gnome-software[2227]: Only 0 apps for recent list, hiding
ago 29 13:03:33 tuf-suse systemd[1809]: Started app-flatpak-io.lmms.LMMS-14274.scope.
ago 29 13:03:34 tuf-suse gnome-shell[1935]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00008 specified for 0xc00006.
ago 29 13:03:34 tuf-suse kernel: lmms.bin[14285]: segfault at 7f3166ff2fd0 ip 00007f31c70cc5db sp 00007ffe7adf6200 error 4 in libQt5Core.so.5.15.8[7f31c6e9b000+313000] likely on CPU 6 (core 12, socket 0)
ago 29 13:03:34 tuf-suse kernel: Code: 8b 7e 08 48 85 ff 0f 84 9b 00 00 00 48 8b 47 08 48 8b 50 38 49 8b 46 38 48 39 c2 0f 85 d8 57 de ff 48 8b 07 4c 89 e2 48 89 ee  50 30 84 c0 75 50 4d 8b 4e 30 49 8b 51 20 8b 4a 08 8b 7a 0c 89
ago 29 13:03:34 tuf-suse systemd[1]: Started Process Core Dump (PID 14308/UID 0).
ago 29 13:03:34 tuf-suse systemd-coredump[14309]: Process 14285 (lmms.bin) of user 1000 dumped core.

                                                  Stack trace of thread 2:
                                                  #0  0x00007f31c70cc5db n/a (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.8 + 0x2cc5db)
                                                  ELF object binary architecture: AMD x86-64
ago 29 13:03:34 tuf-suse systemd[1]: systemd-coredump@1-14308-0.service: Deactivated successfully.
ago 29 13:04:33 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: VA-API version 1.18.0
ago 29 13:04:33 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
ago 29 13:04:33 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
ago 29 13:04:33 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
ago 29 13:04:33 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Found init function __vaDriverInit_1_18
ago 29 13:04:33 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: va_openDriver() returns 0
ago 29 13:04:41 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: VA-API version 1.18.0
ago 29 13:04:41 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
ago 29 13:04:41 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/radeonsi_drv_video.so
ago 29 13:04:41 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Trying to open /usr/lib/x86_64-linux-gnu/GL/lib/dri/radeonsi_drv_video.so
ago 29 13:04:41 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: Found init function __vaDriverInit_1_18
ago 29 13:04:41 tuf-suse org.mozilla.firefox.desktop[9772]: libva info: va_openDriver() returns 0
ago 29 13:06:19 tuf-suse kernel: x86/split lock detection: #AC: CPU 0/KVM/13782 took a split_lock trap at address: 0xfffff80272a1e643
ago 29 13:08:02 tuf-suse pcloud.desktop[2235]: Update for linux-x64-prod-v1.14.0 is not available
ago 29 13:12:09 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.121' (uid=1000 pid=11200 comm="/usr/libexec/tracker-miner-fs-3" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:12:09 tuf-suse systemd[1809]: Starting Tracker metadata extractor...
ago 29 13:12:09 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
ago 29 13:12:09 tuf-suse systemd[1809]: Started Tracker metadata extractor.
ago 29 13:12:09 tuf-suse sudo[14745]: gkr-pam: unable to locate daemon control file
ago 29 13:12:09 tuf-suse sudo[14745]: gkr-pam: stashed password to try later in open session
ago 29 13:12:09 tuf-suse sudo[14745]:      edu : TTY=pts/1 ; PWD=/home/edu ; USER=root ; COMMAND=/usr/bin/journalctl -b
ago 29 13:12:09 tuf-suse sudo[14745]: pam_unix(sudo:session): session opened for user root(uid=0) by edu(uid=1000)
Portion of journalctl 2
ago 29 13:21:08 tuf-suse systemd[1809]: app-flatpak-org.gnome.TextEditor-15061.scope: Consumed 3.449s CPU time.
ago 29 13:21:16 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating service name='org.gnome.Settings.SearchProvider' requested by ':1.11' (uid=1000 pid=1935 comm="/usr/bin/gnome-shell" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:21:16 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.gnome.Settings.SearchProvider'
ago 29 13:21:16 tuf-suse gnome-control-c[15189]: Ignoring broken panel color (missing desktop file)
ago 29 13:21:17 tuf-suse systemd[1809]: Started Application launched by gnome-shell.
ago 29 13:21:17 tuf-suse systemd[1809]: Started app-flatpak-io.lmms.LMMS-15205.scope.
ago 29 13:21:18 tuf-suse io.lmms.LMMS.desktop[15217]: Qt: Session management error: Could not open network socket
ago 29 13:21:18 tuf-suse io.lmms.LMMS.desktop[15217]: amdgpu: unknown (family_id, chip_external_rev): (145, 16)
ago 29 13:21:18 tuf-suse io.lmms.LMMS.desktop[15217]: libGL error: failed to create dri screen
ago 29 13:21:18 tuf-suse io.lmms.LMMS.desktop[15217]: libGL error: failed to load driver: radeonsi
ago 29 13:21:18 tuf-suse io.lmms.LMMS.desktop[15217]: Notice: could not set realtime priority.
ago 29 13:21:18 tuf-suse gnome-shell[1935]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00008 specified for 0xc00006.
ago 29 13:21:18 tuf-suse io.lmms.LMMS.desktop[15217]: VST sync support disabled in your configuration
ago 29 13:21:18 tuf-suse kernel: lmms.bin[15217]: segfault at 7f4e96e9efd0 ip 00007f4ef6ecc5db sp 00007ffdc76aad60 error 4 in libQt5Core.so.5.15.8[7f4ef6c9b000+313000] likely on CPU 0 (core 0, socket 0)
ago 29 13:21:18 tuf-suse kernel: Code: 8b 7e 08 48 85 ff 0f 84 9b 00 00 00 48 8b 47 08 48 8b 50 38 49 8b 46 38 48 39 c2 0f 85 d8 57 de ff 48 8b 07 4c 89 e2 48 89 ee  50 30 84 c0 75 50 4d 8b 4e 30 49 8b 51 20 8b 4a 08 8b 7a 0c 89
ago 29 13:21:18 tuf-suse systemd[1]: Started Process Core Dump (PID 15240/UID 0).
ago 29 13:21:18 tuf-suse systemd-coredump[15241]: Process 15217 (lmms.bin) of user 1000 dumped core.

                                                  Stack trace of thread 2:
                                                  #0  0x00007f4ef6ecc5db n/a (/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.8 + 0x2cc5db)
                                                  ELF object binary architecture: AMD x86-64
ago 29 13:21:18 tuf-suse systemd[1]: systemd-coredump@2-15240-0.service: Deactivated successfully.
ago 29 13:21:24 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.121' (uid=1000 pid=11200 comm="/usr/libexec/tracker-miner-fs-3" label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
ago 29 13:21:25 tuf-suse systemd[1809]: Starting Tracker metadata extractor...
ago 29 13:21:25 tuf-suse dbus-daemon[1859]: [session uid=1000 pid=1859] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
ago 29 13:21:25 tuf-suse systemd[1809]: Started Tracker metadata extractor.
ago 29 13:21:26 tuf-suse sudo[15251]: gkr-pam: unable to locate daemon control file
ago 29 13:21:26 tuf-suse sudo[15251]: gkr-pam: stashed password to try later in open session
ago 29 13:21:26 tuf-suse sudo[15251]:      edu : TTY=pts/1 ; PWD=/home/edu ; USER=root ; COMMAND=/usr/bin/journalctl -b
ago 29 13:21:26 tuf-suse sudo[15251]: pam_unix(sudo:session): session opened for user root(uid=0) by edu(uid=1000)
cold-distance commented 1 year ago

I tried this and the workaround works, so this is duplicate bug. https://github.com/flathub/io.lmms.LMMS/issues/43#issuecomment-1501159229