Opened 7 weeks ago

Closed 7 weeks ago

#2493 closed defect (fixed)

Marble doesn't launch when booting from ISO

Reported by: sanak Owned by: osgeolive@…
Priority: major Milestone: OSGeoLive17.0
Component: OSGeoLive Keywords:
Cc: osgeolive@…

Description

Marble doesn't launch from Geospatial / Navigation and Maps / Marble menu in OSGeoLive 17 alpha2.

When executing marble-qt, I encountered the following error.

MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen
[11303:11303:1103/144152.411360:FATAL:credentials.cc(125)] Check failed: . : Permission denied (13)
Trace/breakpoint trap (core dumped)

Change History (6)

comment:1 by sanak, 7 weeks ago

Note that the error only occurs when trying Lubuntu live mode (boot from ISO), and it doesn't happen after installing Lubuntu to VirtualBox.

marble-qt --debug-info didn't show an useful information,
but sudo dmesg -T | grep marble showed the following information.

:
[Mon Nov  4 04:21:33 2024] audit: type=1400 audit(1730694093.743:10):apparmor="DENIED" operation="userns_create" class="namespace" info="Userns create restricted - failed to find unprivileged_userns profile" error=-13 profile="unconfined" pid=3642 comm="marble-qt" requested="userns_create" denied="userns_create" target="unprivileged_userns"
[Mon Nov  4 04:21:33 2024] traps: marble-qt[3642] trap int3 ip:7c190b1bcdb3 sp:7ffd34c6f6b0 error:0 in libQt5WebEngineCore.so.5.15.16[7c1908f99000+6931000]

From googling Ubuntu libQt5WebEngineCore AppArmor, I found the following article.
[Error when running scide built from source on Ubuntu 24.04 - Questions - scsynth]
https://scsynth.org/t/error-when-running-scide-built-from-source-on-ubuntu-24-04/8808

And I confirmed that executing QTWEBENGINE_DISABLE_SANDBOX=1 marble-qt can launch the app,
but I am not sure whether this is a correct fix, because I am not familiar with new AppArmor from Ubuntu 24.04.

comment:2 by sanak, 7 weeks ago

Summary: Marble doesn't launchMarble doesn't launch when booting from ISO

comment:4 by kalxas, 7 weeks ago

Priority: normalmajor

in reply to:  3 comment:5 by sanak, 7 weeks ago

Replying to kalxas:

It may be related to the mesa-vulkan-drivers removal to save space in the iso:

https://github.com/OSGeo/OSGeoLive/commit/24509c34ecc54d8ea0b3b1dfa5f174d9d7bd7d9c#diff-307db0636771c0f59093aaf86041a4d9c3fbbd3c5d06be339aba77cde1daedd0L84

Thanks for the information. I installed mesa-vulkan-drivers by executing sudo apt-get update and sudo apt install mesa-vulkan-drivers in booting ISO environment, but marble-qt still shows error, so it seems not to be the cause.

I will try to create workaround fix marble-qt => QTWEBENGINE_DISABLE_SANDBOX=1 marble-qt from desktop shortcut, later.

comment:6 by kalxas, 7 weeks ago

Resolution: fixed
Status: newclosed

Fixed in build 117

Note: See TracTickets for help on using tickets.