Blank Screen Error (Windows)

I’ve been experiencing this for several weeks. I’ve tried everything in troubleshooting several times and everything which I could source out hasn’t worked. If someone knew a fix that would be good…

1 Like
  • Can you provide more details on what attempts you have tried?
  • Have you tried the 10 steps on the Troubleshooting page?
  • Did you try reinstalling Anki?
  • Can you try running anki-console.bat located at %LOCALAPPDATA%\Programs\Anki.
3 Likes


About Anki → copy debug info
Anki 24.11 (87ccd24e)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26100

I am also experiencing the same problem
The problem occurs after Windows 11 is updated to 24H2
I have also tried reinstalling Anki.
I have tried both qt5 and qt6 versions of anki

I’ve attempted all steps in the troubleshooting page several times. Including reinstalling anki. I’ve tried both Qt5 and 6, neither work.I’ve tried using the .bat file… It shows the same thing.

Note: I’ve experienced similar issues with steam and nvida geforce

hi! Thanks for sending over your system details! I compared your Python and PyQt version to mine. Although I’m running Linux, I cant help but compare the difference in Python and PyQT version.

Mine:

Anki 24.11 (87ccd24e) (src) (ao)
Python 3.11.10 Qt 6.7.3 PyQt 6.7.1
Platform: Linux-6.11.5-300.fc41.x86_64-x86_64-with-glibc2.38

  • Are you using a VPN?
  • Have you tried updating your graphics drivers? The other user mentioned Steam and GeForce Experience, perhaps other programs are affecting it.
  • Have you tried older versions of Anki and seeing if the problem persists?
  • Can you try heading over to the python website and install the latest Python 3.13?

Cheers!

I am not using a VPN
Graphic driver: AMD ver 24.12.1 (latest version)
GPU: AMD Radeon RX6600M

I have also tried
anki-24.06.3-windows-qt6
anki-24.04.1-windows-qt6

I have also installed Python 3.13.1150.0.
Debug info from Anki:
Anki 24.11 (87ccd24e)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.26100

I don’t think updating Python will help. The Windows version bundles its own Python.

These Python/PyQt versions match what I have on Windows 11, version 23H2

Anki 24.11 (87ccd24e)  (ao)
Python 3.9.18 Qt 6.6.2 PyQt 6.6.1
Platform: Windows-10-10.0.22631

Anki is currently working perfectly for me. This makes me a bit worried about accepting the 24H2 update.

1 Like

My debut info:

Anki 24.11 (87ccd24e)
Python 3.9.18 Qt 5.15.2 PyQt 5.15.5
Platform: Windows-10-10.0.26100

I did update python versions incase that was the issue. But it seems not.
I can’t update my graphics card since nvida geforce has the same issue…

@TapL – is this you on Reddit too? I just want to make sure whether there are 2 users or 3.

  • Since you’re seeing this across different apps, I’m wondering if it is related to Nvidia. That’s been a problem before for folks – search for recent posts here.

  • What’s your Windows build info? Are you using version 24H2 build 26100.2605 like the other user? [Windows Settings > System > About]

  • Was this a fresh install, or an upgrade from a working version?


@tomyan112

  • It sounds like you had already updated to 24.11 and things were working fine, but this started happening after that Windows update? Since we haven’t found anyone who has it working on Windows 11 24H2 yet, that’s definitely a possible culprit. (Not to mention – Audio issue after Windows update .)

  • I want to make sure – have you been through the rest of the Troubleshooting Checklist? Tried other video drivers? Safe mode to avoid add-on issues?

Yes, it was working on Windows 11 23H2. Anki does not work after Windows is updated to 24H2 from 23H2

Edition Windows 11 Enterprise
Version 24H2
Installed on ‎2024-‎12-‎13
OS build 26100.2605
Experience Windows Feature Experience Pack 1000.26100.36.0

Yes, I have gone through the rest of the troubleshooting checklist.

I did post about this on reddit aswell.

Edition Windows 11 Home
Version 24H2
OS build 26100.2605
Experience Windows Feature Experience Pack 1000.26100.36.0

I manually deleted the anki folder in programs folder, so fresh installation.

I got this when I waited on the page for a decent amount of time. Maybe this helps.

Another user on Reddit was experiencing crashing with Anki 24.11 and Windows 11 - 24H2 - 26100.2605 . They found a workaround for it that I don’t think has been suggested here –

Temporary fix is turning off internet, opening Anki then turning it back on.

Obviously a crash is not exactly the same as a blank screen, but it seems like it’s worth a shot if anyone wants to try it. [Their crash issue just-got-better, so there’s nothing further to explore there.]

1 Like

It was worth a try…

1 Like

Running Anki using terminal

Running from python

Both methods give Blank Main Window

Have you ruled out VPN/firewall/antivirus software? Such as Anki Desktop 24.11 - No opening at all - Astrill VPN

2 Likes

Yes. I do not use any VPN. I have tried turning off the Windows defender.

Please place the following in a file test.py:

import sys
from PyQt6.QtWidgets import QApplication, QMainWindow
from PyQt6.QtWebEngineWidgets import QWebEngineView

class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()
        self.setWindowTitle("Hello, World! - PyQtWebEngine")
        self.resize(800, 600)

        # Create a QWebEngineView widget
        self.browser = QWebEngineView()

        # Set the HTML content for the browser
        html_content = """
        <!DOCTYPE html>
        <html>
        <head>
            <title>Hello, World!</title>
        </head>
        <body>
            <h1 style="text-align: center; margin-top: 20%;">Hello, World!</h1>
        </body>
        </html>
        """
        self.browser.setHtml(html_content)

        # Set the browser as the central widget
        self.setCentralWidget(self.browser)

if __name__ == "__main__":
    app = QApplication(sys.argv)
    window = MainWindow()
    window.show()
    sys.exit(app.exec())
    

Then run it using python.exe inside the venv you created. Do you see “Hello World” there?

Ok, that’s promising - it seems to imply that the webview is not fundamentally broken on your system, and just the way Anki is using it is. The tricky next step is figuring out what exactly is causing it to break.

If you poke about in Anki’s main window with the Chromium inspector, does it reveal any errors on the console or network tab which might give a hint as to what’s going on?

https://addon-docs.ankiweb.net/debugging.html#webviews

1 Like