Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anki closes soon after after launching #185

Open
juliansko opened this issue Dec 3, 2024 · 2 comments
Open

Anki closes soon after after launching #185

juliansko opened this issue Dec 3, 2024 · 2 comments
Labels
question Further information is requested

Comments

@juliansko
Copy link

juliansko commented Dec 3, 2024

Hi,

After I wanted to create some new cards for my deck, the application crashes after a few seconds. The last time I used it on my desktop it worked (about a week ago). Those are the logs if I launch it from the terminal:
Preparing to run... 2024-12-03 14:02:52,705:INFO:aqt.mediasrv: Serving on http://127.0.0.1:38371 Qt warning: Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/bin/qtwebengine_dictionaries' Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries' Starting main loop... Qt warning: eglSwapBuffers failed with 0x300d, surface: 0x0 Qt warning: The Wayland connection experienced a fatal error: Protocol error

I could imagine this being an Nvidia issue, but I am not exactly sure.

System information:

Operating System: Bluefin-dx 40
GNOME version: 46
Kernel Version: Linux 6.11.3-200.fc40.x86_64
Graphics Platform: Wayland
Processors: AMD Ryzen™ 5 5600X × 12
Memory: 16.0 GiB
GPU: NVIDIA GeForce RTX™ 3070
Nvidia Driver version: 565.57.01

If you need more information I am happy to help. I am not exactly sure what the best place to make this issue is and where the issue originates from but I thought this place would be the best one.

@rayes0
Copy link
Collaborator

rayes0 commented Dec 3, 2024

Please try running the app as follows: flatpak run --env=QT_QPA_PLATFORM=wayland --env=ANKI_WAYLAND=1 net.ankiweb.Anki

If that does not work, please post the output of flatpak run --command=env net.ankiweb.Anki | grep -v "${HOME}" (may be long, so you may need to use a pastebin if necessary, grep -v portion is to redact references to your home directory).

@rayes0 rayes0 added the question Further information is requested label Dec 3, 2024
@juliansko
Copy link
Author

Unfortunately the first command doesnt change anything, it still crashes after a few seconds.

The output of the command is:
XDG_RUNTIME_DIR=/run/user/1000 container=flatpak ALSA_CONFIG_DIR=/usr/share/alsa ALSA_CONFIG_PATH=/usr/share/alsa/alsa-flatpak.conf AT_SPI_BUS_ADDRESS=unix:path=/run/flatpak/at-spi-bus COLORTERM=truecolor CONDA_DEFAULT_ENV=base CONDA_PROMPT_MODIFIER=false CONDA_SHLVL=1 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/flatpak/bus DEBUGINFOD_IMA_CERT_PATH=/etc/keys/ima: DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/ DESKTOP_SESSION=gnome EDITOR=/usr/bin/nano FLATPAK_ID=net.ankiweb.Anki GDMSESSION=gnome GDM_LANG=en_US.UTF-8 GI_TYPELIB_PATH=/app/lib/girepository-1.0 GNOME_SETUP_DISPLAY=:1 GNOME_SHELL_SLOWDOWN_FACTOR=0.8 GST_PLUGIN_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0 GUESTFISH_INIT=\e[1;34m GUESTFISH_OUTPUT=\e[0m GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\] GUESTFISH_RESTORE=\e[0m HISTCONTROL=ignoredups HISTSIZE=1000 HOMEBREW_CELLAR=/home/linuxbrew/.linuxbrew/Cellar HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew HOMEBREW_REPOSITORY=/home/linuxbrew/.linuxbrew/Homebrew HOSTNAME=bluefinbox IBUS_USE_PORTAL=1 INFOPATH=/home/linuxbrew/.linuxbrew/share/info INVOCATION_ID=c07010e5252b4942aba42761d1130f7a JOURNAL_STREAM=9:3822622 KDE_FORK_SLAVES=1 LANG=en_US.UTF-8 LD_LIBRARY_PATH= LESSOPEN=||/usr/bin/lesspipe.sh %s LOGNAME=skobicj MAIL=/var/spool/mail/skobicj MANAGERPID=2591 MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/app.slice/dbus-:[email protected]/memory.pressure MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA= MUTTER_DEBUG_FORCE_KMS_MODE=simple MUTTER_DEBUG_KMS_THREAD_TYPE=user PATH=/app/bin:/usr/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux POSH_SESSION_ID=62b03456-ee00-4b93-a0b5-14e4ebf1dd4d POSH_SHELL=fish POSH_SHELL_VERSION=3.7.0 POSH_THEME= POWERLINE_COMMAND=oh-my-posh PS1=[📦 $FLATPAK_ID \W]\$ PTYXIS_PROFILE=2871e8027773ae74d6c87a5f659bbc74 PTYXIS_VERSION=46.8 PULSE_CLIENTCONFIG=/run/flatpak/pulse/config PULSE_SERVER=unix:/run/flatpak/pulse/native PYTHONUSERBASE=/var/data/python QML2_IMPORT_PATH=/app/lib64/qml:/app/lib/qml QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess QT_IM_MODULE=ibus QT_PLUGIN_PATH=/app/lib64/plugins:/app/lib/plugins:/usr/share/runtime/lib/plugins QT_SCALE_FACTOR_ROUNDING_POLICY=round SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2910,unix/unix:/tmp/.ICE-unix/2910 SHELL=/bin/sh SHLVL=1 SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SSH_AUTH_SOCK=/run/user/1000/keyring/ssh STARSHIP_SESSION_KEY=2313157392429421 STARSHIP_SHELL=bash SUDO_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass SYSTEMD_EXEC_PID=97097 TERM=xterm-256color TMPDIR=/var/tmp USER=skobicj USERNAME=skobicj VTE_VERSION=7604 WAYLAND_DISPLAY=wayland-0 XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.71YXX2 XDG_CONFIG_DIRS=/app/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=GNOME XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share XDG_MENU_PREFIX=gnome- XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=gnome XDG_SESSION_TYPE=wayland XMODIFIERS=@im=ibus _CE_CONDA= _CE_M= __EGL_EXTERNAL_PLATFORM_CONFIG_DIRS=/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants