Anki window is blank and i don´t understand the solutions (linux)

As stated in the title anki is blank on startup. I went through the troubleshooting steps but when i changed the video driver it crashed immediately. I purged it and redownloaded it (pop shop) and now i am back to the blank window. There are a few solutions that say to disable sandbox. But i have no idea in which files to put these statements or how to execute them in the terminal. I tried putting exec=env QTWEBENGINE_CHROMIUM_FLAGS=“–no-sandbox” in the .desktop file (net.ankiweb.Anki.desktop) but nothing changed. Also I am supposed to be able to start anki from the terminal with “anki” but there is no such command installed.

I am completely new to linux so any help is appreciated.

Anki 25.09.2 (3890e12c)
Python 3.13.9 Qt 6.10.1 PyQt 6.10.0
Platform: Linux-6.17.4-76061704-generic-x86_64-with-glibc2.42

That might happen if you install from unsupported sources. Try the official version; if that works then you have to report your issue to whoever maintains the anki from pop shop.

Also see: Blank Main Window - Anki Manual and actually follow Troubleshooting - Anki Manual (you skipped #3, maybe some others as well).

I tried downloading from the anki website and there was a problem with the glibc version. I have 2.42 and the download i had wanted 2.36. Since it seems that glibc is a kernel level thing i did´t wanna mess with it. That’s why i switched to the pop shop version.

My anki version is 25.09.2 and afaik it’s the same version as on the official website.

regarding the blank main window anki manual: I looked through all of the linked solutions but i don´t know how to implement them, as detailed in the original post

But it’s good to know that the missing command is prbly due to the pop shop version

You’re good to go then. If 2.36 is the minimum needed version and you have 2.42, there is no issue.

No, that’s incorrect. Even if the version is the same, there have been issues in the past due to e.g. the way the app has been packaged. That’s why you should always test with the official version.

Or if pop shop has a user help forum, you could try to ask there. Though they’ll probably tell you to ask here, which would mean you’d have to try the official package anyways.

I downloaded the official version and followed the install guide (uninstalled my pop shop version)

and I get the same glibc error again

at least the anki command works now

That’s odd.

  1. Here is a site that shows how to check the glibc version: How to get glibc version - C Lang - DEV Community. Can you paste the result of method 1 and method 2 in a codeblock here, please?
  2. What is the exact name and version of your OS? You could also paste the output of cat /etc/os-release here (in a codeblock).

I am trying to find out if this is wrong:

Because if your system actually has a much lower glibc version, then that might be the issue.

nathan@pop-os:~$ ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.11) 2.35
Copyright © 2022 Free Software Foundation, Inc.
Dies ist freie Software; in den Quellen befinden sich die Lizenzbedingungen.
Es gibt KEINERLEI Garantie; nicht einmal für die TAUGLICHKEIT oder
VERWENDBARKEIT FÜR EINEN ANGEGEBENEN ZWECK.
Implementiert von Roland McGrath und Ulrich Drepper.
nathan@pop-os:~$ ldd `which ls` | grep libc
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000760b22c00000)
nathan@pop-os:~$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Ubuntu GLIBC 2.35-0ubuntu3.11) stable release version 2.35.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 11.4.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.

well that explains things.. I guess i’ll go and find how to upgrade glibc

NAME="Pop!_OS"
VERSION="22.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 22.04 LTS"
VERSION_ID="22.04"
HOME_URL="https://pop.system76.com"
SUPPORT_URL="https://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=jammy
UBUNTU_CODENAME=jammy
LOGO=distributor-logo-pop-os

thank you for all the instructions

(in the last few days the 24.04 lts came out of beta so i guess i will upgrade and see if glibc has newer versions there, because the higest i can get on 22.04 is 2.35)

nathan@pop-os:~$ apt-cache policy libc6
libc6:
Installiert: 2.35-0ubuntu3.11
Installationskandidat: 2.35-0ubuntu3.11

1 Like

It should be at 2.39 according to DistroWatch.com: Pop!_OS. So upgrading the PopOS version is all you need to do.

Regarding this:

Distrowatch says that 24.04 is currently at kernel version 6.17.9, whereas 22.04 (your version) is on version 5.16.19. I assume you downloaded the kernel of the newer version of PopOS instead of using the default. But since you didn’t upgrade the other things (including glibc) anki couldn’t run.

Upgraded the OS to the 24.04 (what a journey it was >.<) now anki works. Still curious why the window in the other version was blank, but happy it works. thanks for all the help

1 Like