weixin_39831705
weixin_39831705
2020-12-09 13:58

Appimage fails to run on Ubuntu Mate 20.04

Trying to run the kixix-desktop appimage on Ubuntu Mate 20.04 (pre-release).



$ ./kiwix-desktop_x86_64_2.0-rc4.appimage 
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
libGL error: failed to load driver: swrast
Library directory : "/home/user/.local/share/kiwix"
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
add widget
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<:formatoption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
Aborted (core dumped)

$ [1:1:0100/000000.479159:ERROR:broker_posix.cc(41)] Invalid node channel message
</:formatoption>

The hardware is a Lenovo E550 laptop. Any other information that would be relevant, please ask (I'm a long time linux user, but not a software developer). Thanks & keep up the good work!

该提问来源于开源项目:kiwix/kiwix-desktop

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

11条回答

  • weixin_39619858 weixin_39619858 5月前

    This is a PRIO1, so far I can see, it seems that Kiwix-Desktop appimage is totally broken on cutting edge GNU/Linux distributions.

    点赞 评论 复制链接分享
  • weixin_39698255 weixin_39698255 5月前

    I can confirm this with kiwix-desktop 2.0.1 appimage and Ubuntu 19.10 (in a virtual machine) However, no problem on a fedora 31 (no virtual machine)

    Are you on a virtual machine ? What is the output of LIBGL_DEBUG=verbose ./kiwix-desktop_x86_64_2.0.1.appimage ?

    点赞 评论 复制链接分享
  • weixin_39619858 weixin_39619858 5月前

    yes, my 20.04 is in a VM. Here is the new log

    
    $LIBGL_DEBUG=verbose ./kiwix-desktop_x86_64_2.0.1-1.appimage 
    libGL: screen 0 does not appear to be DRI2 capable
    MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)
    libGL error: failed to load driver: swrast
    WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
    Library directory : "/home/eengelhart/.local/share/kiwix"
    Compiled with Qt Version  5.9.5
    Runtime Qt Version  5.9.5
    add widget
    Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<:formatoption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile  QSurfaceFormat::OpenGLContextProfile(NoProfile)) 
    Aborted
    $ [1:1:0100/000000.126368:ERROR:broker_posix.cc(41)] Invalid node channel message
    Received signal 7 BUS_ADRERR 7f7f40490560
    
    $ 
    </:formatoption>
    点赞 评论 复制链接分享
  • weixin_39875842 weixin_39875842 5月前

    This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

    点赞 评论 复制链接分享
  • weixin_39619858 weixin_39619858 5月前

    It seems to work fine now for me with Ubuntu 20.04 and https://download.kiwix.org/release/kiwix-desktop/kiwix-desktop_x86_64_2.0.3.appimage without VM. Maybe for you as well?

    点赞 评论 复制链接分享
  • weixin_39619858 weixin_39619858 5月前

    Here we have a problem with the environnement, this is not Kiwix related I believe. A solution I have seen online is to force an other MESA driver:

    
    MESA_LOADER_DRIVER_OVERRIDE=i965 ./kiwix-deskop
    

    Does that work?

    点赞 评论 复制链接分享
  • weixin_39619858 weixin_39619858 5月前

    No feedback, closing for the moment. feel free to reopen it if the bug is still there for you.

    点赞 评论 复制链接分享
  • weixin_39616056 weixin_39616056 5月前

    This is affecting me as well on a brand new installation of linux mint 20 Cinnamon. Perhaps it is an environment issue but it seems to be affecting multiple common distributions, so that would seem to indicate that there is a bad interaction with Kiwix and the current drivers that needs to be fixed. Is libGL out of date?

    ./kiwix-desktop_x86_64_2.0.4-1.appimage

    libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: iris libGL error: MESA-LOADER: failed to open iris (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: iris libGL error: MESA-LOADER: failed to open swrast (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri) libGL error: failed to load driver: swrast WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed. Library directory : "/home/timothy/.local/share/kiwix" Compiled with Qt Version 5.9.5 Runtime Qt Version 5.9.5 add widget Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<:formatoption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::SwapBehavior(DefaultSwapBehavior), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile)) Aborted (core dumped)</:formatoption>

    点赞 评论 复制链接分享
  • weixin_39619858 weixin_39619858 5月前

    I confirm the problem with Ubuntu 20.04 with appimage. The nightly (future 2.0) does not work better, it fails the same ways. Like reported in #372, this does not work on openSUSE Tumbleweed 64 as well.

    Thank you for reporting, as a workaround I would recommend to use the Flathub version in the meantime.

    点赞 评论 复制链接分享
  • weixin_39831705 weixin_39831705 5月前

    Thank you for reporting, as a workaround I would recommend to use the Flathub version in the meantime.

    Thanks, the flatpack version wants to pull in all of KDE, making the total install something like 1GB. Is that correct / necessary? For now I have the kiwix plugin in chromium browser so that works for my immediate needs, although obviously not ideal long term. Thanks!

    点赞 评论 复制链接分享
  • weixin_39619858 weixin_39619858 5月前

    Thanks, the flatpack version wants to pull in all of KDE, making the total install something like 1GB. Is that correct / necessary?

    Yes, this is how the Flatpack packaging works... and this is why I believe this will works.

    点赞 评论 复制链接分享

相关推荐