Blank screen on Ubuntu Linux

Hi. I have Anki installed on my Ubuntu Linux. It worked fine until today. I had installed it through the App Center some time ago. I suddenly have a problem of blank screen, blank main panel where I don’t even see the decks. If I run it from a shell command line in order to see the messages as:
$ snap run anki-desktop
here is what I see (please see the screen shot):

What can be the issue? If I run in the shell:
ANKI_WAYLAND=1 and then try to run Anki, then the decks do show

I ran into the same issue. I’m also on Ubuntu. Anki was working just fine for me 24 hours ago, but I ran into this issue when I opened it up 15 minutes ago. Restarting both Anki and my computer didn’t fix anything. I didn’t upgrade anything on my computer (Anki or otherwise) between yesterday when Anki was working fine and tonight and 15 minutes ago, when I ran into the issue. It’s interesting that we both encountered the same issue within an hour of each other.

Here’s my version (I can’t actually see it in Anki; but I do see the “Copy debug info” button, which I clicked and copied into a text editor):

Anki 25.09.2 (3890e12c)
Python 3.12.3 Qt 6.9.2 PyQt 6.9.1
Platform: Linux-6.17.0-5-generic-x86_64-with-glibc2.39

Anki looks completely blank for me:

The cursor changes when I move it over the blank area where I expect the list of decks to be; so I suspect the contents of Anki are there, but just not visible.

I tried running sudo apt-get update then sudo apt-get upgrade and then also running the Software Updater to update my computer. I am about to restart my computer to see if the updates fixed anything (I want to post this before restarting because I’ve already typed up most of it).

Update:

Restarting my laptop a second time (this time after the updates) didn’t fix anything.

I’m not using and have never used any add-ons with Anki on this computer. The menus seem to be working fine, even if nothing is displayed in the main window:

I’ve discovered a workaround. I clicked “Tools” at the top of the page, then “Preferences”. I changed “Video Driver” from “OpenGL (default)” to “Software”, then restarted Anki:

I have no idea what that did or why the issue seemed to appear out of nowhere, but I hope this works for you as well, @y25 .

That sounds like it would have been worth it to start at the Troubleshooting Checklist. See #6.

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