Anki Desktop Freeze on Startup

I’ve used for a long time the flatpak version, but sudenly stop working freezinfg at startup… I deleted all the add-ons (deleting the /home/$USER/var/anki-directory) and tried again with the same behaviour…

I’ve proceded to install the version provied with QT6 in your web via install.sh, getting the same behaviour…

OS: LInux
Distro: Fedora 37
Arch: x86_64
Compositor: WAYLAND

ANKI VERSION

anki --version
Anki starting...
Initial setup...
Running with temporary Qt5 compatibility shims.
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.
Preparing to run...
Anki 2.1.55

Console LOG…

Anki starting...                                                                
Initial setup...                                                                
Running with temporary Qt5 compatibility shims.                                 
Run with DISABLE_QT5_COMPAT=1 to confirm compatibility with Qt6.                
Preparing to run...                                                             
Wayland support is disabled by default due to bugs:                             
https://github.com/ankitects/anki/issues/1767                                   
You can force it on with an env var: ANKI_WAYLAND=1                             
Qt info:                                                                        
                                                                                
GL Type: desktop                                                                
Surface Type: OpenGL                                                            
Surface Profile: CompatibilityProfile                                           
Surface Version: 4.3                                                            
QSG RHI Backend: OpenGL                                                         
Using Supported QSG Backend: yes                                                
Using Software Dynamic GL: no                                                   
Using Multithreaded OpenGL: no                                               

Init Parameters:                                                                
  *  application-name Anki                                                      
  *  browser-subprocess-path /usr/local/share/anki/lib/PyQt6/Qt6/libexec/QtWebEn
gineProcess 
  *  create-default-gl-context  
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP
,WebPayments,WebUSB,PictureInPicture 
  *  disable-setuid-sandbox  
  *  disable-speech-api  
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
  *  enable-threaded-compositing  
  *  in-process-gpu   
  *  use-gl desktop  
  
Starting main loop...

in conclusion I can’t use any version of ANKI… all version freeze on start up

Regards.,

You could try renaming your prefs21.db file, then starting Anki again.

https://docs.ankiweb.net/files.html#file-locations

Yes , anki ask me for interface language and freezeing again

Regards.,

You appear to be using wayland - have you tried defining ANKI_WAYLAND=1?

set an environment variable in linux solve the issue:

export ANKI_WAYLAND=1

thx… and regards.,

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