# Slow loading time

**URL:** <https://forums.ankiweb.net/t/slow-loading-time/34791>\
**Category:** Help\
**Created:** [September 21, 2023, 6:21am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791 "2023-09-21T06:21:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![skull](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@skull](https://forums.ankiweb.net/u/skull)\
**Post date:** [September 21, 2023, 6:21am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/1 "2023-09-21T06:21:31Z")

</div>

Starting Anki takes at least 5 seconds to load with and without add-ons.

Version ⁨2.1.66 (70506aeb)⁩  
Python 3.9.15 Qt 6.5.2 PyQt 6.5.2

Win 11, AMD Ryzen 7, 8 GB RAM, SSD

Edit: Downgraded to 2.1.65 because of a bug in 2.1.66 where pressing space to show answer wouldn’t show me the answer. Slow loading time in 2.1.65 still persist.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [September 21, 2023, 10:28am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/2 "2023-09-21T10:28:15Z")

</div>

Is your issue similar to this [Slow Loading Time with No Loading Indicator](https://forums.ankiweb.net/t/slow-loading-time-with-no-loading-indicator/31223)?

Maybe you’ll have more luck with the Qt5 version: [https://github.com/ankitects/anki/releases/download/2.1.65/anki-2.1.65-windows-qt5.exe](https://github.com/ankitects/anki/releases/download/2.1.65/anki-2.1.65-windows-qt5.exe)

---

<div class="post-metadata">

**Author:** ![skull](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@skull](https://forums.ankiweb.net/u/skull)\
**Post date:** [September 21, 2023, 10:50am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/3 "2023-09-21T10:50:04Z")

</div>

I don’t think so since I have no UI problem in 2.1.65 Qt 6 and the loading times for me are not as bad as in [Slow Loading Time with No Loading Indicator](https://forums.ankiweb.net/t/slow-loading-time-with-no-loading-indicator/31223).

I still tried to install 2.1.65 Qt 5 after your suggestion but Anki wouldn’t even start in that version, so I had to revert to Qt 6.

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [September 21, 2023, 10:53am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/4 "2023-09-21T10:53:41Z")

</div>

I suggest seeing if this is a video driver issue by trying the solutions here: [⁨2.1.66 - Card Not Revealing - #4 by dae](https://forums.ankiweb.net/t/2-1-66-card-not-revealing/33603/4)

---

<div class="post-metadata">

**Author:** ![skull](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@skull](https://forums.ankiweb.net/u/skull)\
**Post date:** [September 21, 2023, 11:10am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/5 "2023-09-21T11:10:48Z")

</div>

> set QSG\_RHI\_BACKEND=opengl  
> anki

Anki starting…  
Initial setup…  
Running with temporary Qt5 compatibility shims.  
Run with DISABLE\_QT5\_COMPAT=1 to confirm compatibility with Qt6.  
qt.scenegraph.general: Using QRhi with backend OpenGL  
Graphics API debug/validation layers: 0  
QRhi profiling and debug markers: 0  
Shader/pipeline cache collection: 0  
Preparing to run…  
Qt info:

GL Type: disabled  
Surface Type: OpenGL  
Surface Profile: NoProfile  
Surface Version: 3.0  
QSG RHI Backend: OpenGL  
Using Supported QSG Backend: yes  
Using Software Dynamic GL: yes  
Using Multithreaded OpenGL: no

Init Parameters:

- application-name Anki
- browser-subprocess-path C:\Users\admin\AppData\Local\Programs\Anki\lib\PyQt6\Qt6\bin\QtWebEngineProcess.exe
- disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
- disable-gpu
- disable-speech-api
- enable-features NetworkServiceInProcess,TracingServiceInProcess
- enable-threaded-compositing
- in-process-gpu
- use-gl disabled

Starting main loop…  
Qt debug: Created OpenGL context QSurfaceFormat(version 3.0, options QFlagsQSurfaceFormat::FormatOption(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::NoProfile)  
Qt debug: OpenGL VENDOR: VMware, Inc. RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits) VERSION: 3.0 Mesa 11.2.2  
Qt debug: rhi texture atlas dimensions: 512x512  
Qt debug: rhi texture atlas dimensions: 512x512  
Qt debug: rhi texture atlas dimensions: 512x512

> set QSG\_RHI\_BACKEND=vulkan  
> anki

Anki starting…  
Initial setup…  
Running with temporary Qt5 compatibility shims.  
Run with DISABLE\_QT5\_COMPAT=1 to confirm compatibility with Qt6.  
qt.scenegraph.general: Using QRhi with backend OpenGL  
Graphics API debug/validation layers: 0  
QRhi profiling and debug markers: 0  
Shader/pipeline cache collection: 0  
Preparing to run…  
Qt info:

GL Type: disabled  
Surface Type: OpenGL  
Surface Profile: NoProfile  
Surface Version: 3.0  
QSG RHI Backend: OpenGL  
Using Supported QSG Backend: yes  
Using Software Dynamic GL: yes  
Using Multithreaded OpenGL: no

Init Parameters:

- application-name Anki
- browser-subprocess-path C:\Users\admin\AppData\Local\Programs\Anki\lib\PyQt6\Qt6\bin\QtWebEngineProcess.exe
- disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
- disable-gpu
- disable-speech-api
- enable-features NetworkServiceInProcess,TracingServiceInProcess
- enable-threaded-compositing
- in-process-gpu
- use-gl disabled

Starting main loop…  
Qt debug: Created OpenGL context QSurfaceFormat(version 3.0, options QFlagsQSurfaceFormat::FormatOption(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::NoProfile)  
Qt debug: OpenGL VENDOR: VMware, Inc. RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits) VERSION: 3.0 Mesa 11.2.2  
Qt debug: rhi texture atlas dimensions: 512x512  
Qt debug: rhi texture atlas dimensions: 512x512  
Qt debug: rhi texture atlas dimensions: 512x512

> set QT\_OPENGL=software  
> anki

Anki starting…  
Initial setup…  
Running with temporary Qt5 compatibility shims.  
Run with DISABLE\_QT5\_COMPAT=1 to confirm compatibility with Qt6.  
qt.scenegraph.general: Using QRhi with backend OpenGL  
Graphics API debug/validation layers: 0  
QRhi profiling and debug markers: 0  
Shader/pipeline cache collection: 0  
Preparing to run…  
Qt info:

GL Type: disabled  
Surface Type: OpenGL  
Surface Profile: NoProfile  
Surface Version: 3.0  
QSG RHI Backend: OpenGL  
Using Supported QSG Backend: yes  
Using Software Dynamic GL: yes  
Using Multithreaded OpenGL: no

Init Parameters:

- application-name Anki
- browser-subprocess-path C:\Users\admin\AppData\Local\Programs\Anki\lib\PyQt6\Qt6\bin\QtWebEngineProcess.exe
- disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
- disable-gpu
- disable-speech-api
- enable-features NetworkServiceInProcess,TracingServiceInProcess
- enable-threaded-compositing
- in-process-gpu
- use-gl disabled

Starting main loop…  
Qt debug: Created OpenGL context QSurfaceFormat(version 3.0, options QFlagsQSurfaceFormat::FormatOption(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::NoProfile)  
Qt debug: OpenGL VENDOR: VMware, Inc. RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.6, 128 bits) VERSION: 3.0 Mesa 11.2.2  
Qt debug: rhi texture atlas dimensions: 512x512  
Qt debug: rhi texture atlas dimensions: 512x512  
Qt debug: rhi texture atlas dimensions: 512x512

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [September 21, 2023, 10:21pm UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/6 "2023-09-21T22:21:06Z")

</div>

Looks like it’s not a driver issue then. Actually, a 5-second loading time is normal (My Anki loads in about the same time with a large collection)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [September 22, 2023, 1:23am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/7 "2023-09-22T01:23:54Z")

</div>

Maybe adding an exception to your antivirus will help?

---

<div class="post-metadata">

**Author:** ![skull](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@skull](https://forums.ankiweb.net/u/skull)\
**Post date:** [September 22, 2023, 8:22am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/8 "2023-09-22T08:22:57Z")

</div>

The 5s loading time is more of a minimum; sometimes it takes significantly more (with no other window open or needing to sync something or something else that might be the cause). If I remember correctly I also had the problem with a small collection. Also I don’t have an extra antivirus installed.  
But I can live with those loading times and still thanks for the help.

My other concern is that in

Version ⁨2.1.66 (70506aeb)⁩  
Python 3.9.15 Qt 6.5.2 PyQt 6.5.2

when I press space for “Show Answer” I get almost always a mix of the Study Overview and the learning steps buttons or sometimes the answer of the card before. It happens somewhat irregularly and pressing “Show Answer” with the mouse seems to not have the problem.  
I tried it with and without add-ons, with and without some options enabled like minimalist view but it didn’t seem to make a difference. I also tried this in the normal and beta version but had the same problem, going back to 2.1.65 fixed the problem.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [September 23, 2023, 2:50am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/9 "2023-09-23T02:50:13Z")

</div>

If you’re on Windows, Windows Defender runs by default, so you’d have an antivirus running unless you explicitly disabled it.

Your other issue sounds like a video driver issue. The next Anki release will let you customize the driver in the preferences screen.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [October 23, 2023, 2:50am UTC](https://forums.ankiweb.net/t/slow-loading-time/34791/10 "2023-10-23T02:50:42Z")

</div>

Closed on October 23, 2023, 2:50am UTC

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