Anki crashes on Fedora

Hi.

I’m using Anki 25.09 on Fedora 42, installed using flatpak.

When I open Anki, it crashes after several seconds. The logs from the terminal are provided below.

$ flatpak run net.ankiweb.Anki 
Starting Anki 25.09...
Trying to use X11, but it is not available. Falling back to Wayland, which has some bugs:
https://github.com/ankitects/anki/issues/1767
Qt warning: setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance 
2025-09-21 15:29:12,302:INFO:aqt.mediasrv: Serving on http://127.0.0.1:35995
pci id for fd 31: 10de:25a2, driver (null)
kmsro: driver missing
[2:38:0921/152912.953832:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Starting main loop...
[2:54:0921/152914.616125:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x0000300C
ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x0000300C
[2:54:0921/152914.616146:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
[2:54:0921/152914.616150:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
[2:54:0921/152914.616170:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
[2:54:0921/152914.616176:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
[2:54:0921/152914.616179:ERROR:native_skia_output_device.cpp(263)] ProduceSkia() failed.
[2:54:0921/152914.616401:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616471:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616547:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616588:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616622:ERROR:shared_image_stub.cc(569)] SharedImageStub: context already lost
[2:54:0921/152914.616629:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.616654:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.616701:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616739:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616801:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616832:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
[2:54:0921/152914.616898:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.616901:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[2:54:0921/152914.616921:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.616923:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[2:54:0921/152914.616932:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.616934:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[2:54:0921/152914.616938:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.616940:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
Qt debug: Compositor returned null texture 
Qt debug: Compositor returned null texture 
Qt debug: Compositor returned null texture 
[2:54:0921/152914.621723:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.621766:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.
[2:54:0921/152914.621812:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
[2:54:0921/152914.621817:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.

It seems there’s a bug in the Flatpak build. Does anyone know how to fix it or make contact with Damien Elmes (the maintainer of the Flatpak package of Anki)?

Dae doesn’t maintain the flatpak as far as I know; those people are volunteers. That’s why the flathub site says “unverified”.

Anyways, if you open Install Anki on Linux | Flathub you will find a link to the github issue tracker (GitHub · Where software is built).

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.