bug: Can't start on linux (Wayland)
Jan version
0.6
Describe the Bug
When I launch the appImage, it doesn't start and crashes.
Downloads ./Jan_0.6.0_amd64.AppImage
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Installing extensions. Clean up: false, Stored version: 0.6.0, App version: 0.6.0
[2025-06-19][09:40:39][app_lib::core::setup][ERROR] Failed to run mcp commands: Failed to read config file: No such file or directory (os error 2)
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed.
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries" to "/home/peyloride/jan"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 1/5)
[2025-06-19][09:40:39][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.i4BXwa/usr/lib/:/tmp/.mount_Jan_0.i4BXwa/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/usr/lib32/:/tmp/.mount_Jan_0.i4BXwa/usr/lib64/:/tmp/.mount_Jan_0.i4BXwa/lib/:/tmp/.mount_Jan_0.i4BXwa/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/lib32/:/tmp/.mount_Jan_0.i4BXwa/lib64/::/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.i4BXwa/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/peyloride/jan/.janrc" "--data_folder_path" "/home/peyloride/jan" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "ON1X9G0OnOr0TKVwmzP1iPRWFw3qfan7", raw_out: false }
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines" to "/home/peyloride/jan/engines"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp" to "/home/peyloride/jan/engines/llama.cpp"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-avx-x64"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 38760
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-avx-x64/b5509"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] [Cortex Terminated]: Signal Some(15), Code None
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Cleared child process lock after termination.
[2025-06-19][09:40:39][app_lib::core::setup][WARN] Cortex server terminated unexpectedly.
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Waiting 5000ms before attempting restart 1/5...
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64"
[2025-06-19][09:40:39][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-avx2-x64"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-avx2-x64/b5509"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-avx512-x64"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-avx512-x64/b5509"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64"
[2025-06-19][09:40:40][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509"
[2025-06-19][09:40:41][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-noavx-x64"
[2025-06-19][09:40:41][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-noavx-x64/b5509"
[2025-06-19][09:40:41][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64" to "/home/peyloride/jan/engines/llama.cpp/linux-vulkan-x64"
[2025-06-19][09:40:41][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64/b5509" to "/home/peyloride/jan/engines/llama.cpp/linux-vulkan-x64/b5509"
[2025-06-19][09:40:43][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/resources" to "/home/peyloride/jan"
[2025-06-19][09:40:43][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/resources/pre-install" to "/home/peyloride/jan/pre-install"
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
[2025-06-19][09:40:44][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 2/5)
[2025-06-19][09:40:44][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.i4BXwa/usr/lib/:/tmp/.mount_Jan_0.i4BXwa/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/usr/lib32/:/tmp/.mount_Jan_0.i4BXwa/usr/lib64/:/tmp/.mount_Jan_0.i4BXwa/lib/:/tmp/.mount_Jan_0.i4BXwa/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i4BXwa/lib32/:/tmp/.mount_Jan_0.i4BXwa/lib64/::/tmp/.mount_Jan_0.i4BXwa/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.i4BXwa/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/peyloride/jan/.janrc" "--data_folder_path" "/home/peyloride/jan" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "ON1X9G0OnOr0TKVwmzP1iPRWFw3qfan7", raw_out: false }
[2025-06-19][09:40:44][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 38824
[2025-06-19][09:40:44][app_lib::core::setup][INFO] Cortex server started successfully, resetting restart count from 1 to 0.
Steps to Reproduce
No response
Screenshots / Logs
No response
What is your OS?
- [ ] MacOS
- [ ] Windows
- [x] Linux
Can confirm - AppImage not working as expected on Wayland linux (for me it starts, but window has no content and stays like that). Info:
Log
./Jan_0.6.0_amd64.AppImage
(process:11336): Gtk-WARNING **: 13:26:44.044: Locale not supported by C library.
Using the fallback 'C' locale.
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Installing extensions. Clean up: false, Stored version: 0.6.0, App version: 0.6.0
[2025-06-19][11:26:44][app_lib::core::setup][ERROR] Failed to run mcp commands: Failed to read config file: No such file or directory (os error 2)
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed.
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries" to "/home/fenriv/.local/share/Jan/data"
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 1/5)
[2025-06-19][11:26:44][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.i0Vc2e/usr/lib/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib32/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib64/:/tmp/.mount_Jan_0.i0Vc2e/lib/:/tmp/.mount_Jan_0.i0Vc2e/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/lib32/:/tmp/.mount_Jan_0.i0Vc2e/lib64/::/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.i0Vc2e/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/fenriv/.local/share/Jan/data/.janrc" "--data_folder_path" "/home/fenriv/.local/share/Jan/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "8NBRhZfv6Ww3RbMLP7R0FOZ7qLTqATbN", raw_out: false }
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines" to "/home/fenriv/.local/share/Jan/data/engines"
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp"
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx-x64"
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx-x64/b5509"
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 11454
[2025-06-19][11:26:44][app_lib::core::setup][INFO] [Cortex Terminated]: Signal Some(15), Code None
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Cleared child process lock after termination.
[2025-06-19][11:26:44][app_lib::core::setup][WARN] Cortex server terminated unexpectedly.
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Waiting 5000ms before attempting restart 1/5...
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64"
[2025-06-19][11:26:44][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509"
(process:11435): Gtk-WARNING **: 13:26:44.280: Locale not supported by C library.
Using the fallback 'C' locale.
[2025-06-19][11:26:45][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64"
[2025-06-19][11:26:45][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509"
[2025-06-19][11:26:46][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx2-x64"
[2025-06-19][11:26:46][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx2-x64/b5509"
[2025-06-19][11:26:46][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx512-x64"
[2025-06-19][11:26:46][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-avx512-x64/b5509"
[2025-06-19][11:26:46][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64"
[2025-06-19][11:26:46][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509"
[2025-06-19][11:26:47][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64"
[2025-06-19][11:26:47][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509"
[2025-06-19][11:26:48][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-noavx-x64"
[2025-06-19][11:26:48][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-noavx-x64/b5509"
[2025-06-19][11:26:48][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-vulkan-x64"
[2025-06-19][11:26:48][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64/b5509" to "/home/fenriv/.local/share/Jan/data/engines/llama.cpp/linux-vulkan-x64/b5509"
[2025-06-19][11:26:49][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 2/5)
[2025-06-19][11:26:49][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.i0Vc2e/usr/lib/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib32/:/tmp/.mount_Jan_0.i0Vc2e/usr/lib64/:/tmp/.mount_Jan_0.i0Vc2e/lib/:/tmp/.mount_Jan_0.i0Vc2e/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.i0Vc2e/lib32/:/tmp/.mount_Jan_0.i0Vc2e/lib64/::/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.i0Vc2e/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/fenriv/.local/share/Jan/data/.janrc" "--data_folder_path" "/home/fenriv/.local/share/Jan/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "8NBRhZfv6Ww3RbMLP7R0FOZ7qLTqATbN", raw_out: false }
[2025-06-19][11:26:49][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 11462
[2025-06-19][11:26:49][app_lib::core::setup][INFO] Cortex server started successfully, resetting restart count from 1 to 0.
[2025-06-19][11:26:50][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/resources" to "/home/fenriv/.local/share/Jan/data"
[2025-06-19][11:26:50][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.i0Vc2e/usr/lib/Jan/resources/pre-install" to "/home/fenriv/.local/share/Jan/data/pre-install"
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
System info
Bazzite 42 (FROM Fedora Kinoite)
Linux 6.14.6-106.bazzite.fc42.x86_64
AMD Ryzen 7 5800X3D (16) @ 4.55 GHz
AMD RX 9070/9070 XT [Discrete]
6.48 GiB / 31.24 GiB (21%)
41.43 MiB / 41.43 MiB (100%) - overlay [Read-only]
340.45 GiB / 1.36 TiB (24%) - btrfs [Read-only]
2560x1440 @ 144 Hz in 27" [External]
KDE Plasma 6.3.5
KWin (Wayland)
I am seeing the same issue on my end under CachyOS KDE Plasma 6
Same, arch linux
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
might be related to this: https://github.com/tauri-apps/tauri/issues/11988
No problem here on Arch/GNOME/Wayland. Maybe the problem is related to KDE? What WM/DE is OP using?
Also maybe a dup of #5305.
Same issue, on KDE Arch based distro
Had to troubleshoot it w/ Claude when using the .deb file on Wayland. Not sure if it is the same issue across Linux installs...
The path for the file changed and was no longer /usr/bin/jan, instead symlinking to /etc/alternatives/jan, which directed to a non-existent install location. Clauded walked me through the steps to update it correctly afterwards
Same issue on openSUSE Tumbleweed Gnome. Tried it on Wayland and X11. All I get is an empty window saying Jan at the top.
Same error on Fedora Gnome (wayland): Could not create default EGL display:
[2025-06-20][08:08:46][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 2960135
[2025-06-20][08:08:46][app_lib::core::setup][INFO] Cortex server started successfully, resetting restart count from 1 to 0.
[2025-06-20][08:08:47][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.f7JvRj/usr/lib/Jan/resources" to "/home/user/.local/share/Jan/data"
[2025-06-20][08:08:47][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.f7JvRj/usr/lib/Jan/resources/pre-install" to "/home/user/.local/share/Jan/data/pre-install"
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
Edit: I'd like to add that the only version I am able to run is 0.5.16 and earlier.
Edit2: I was able to run it under an ubuntu distrobox.
Similar issue: Running EndeavourOS (Arch) KDE Plasma 6.4.0
./Jan_0.6.1_amd64.appimage
Could not create surfaceless EGL display: EGL_BAD_ALLOC. Aborting...
Aborted (core dumped)
This might be a problem related to WebKit.
According to the issue linked above, this might help:
WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Jan_0.6.1_amd64.appimage
If it fixes the problem, you may want to try just one of them (the first one helped with a problem I had some time ago) and report if it worked.
If not, to help troubleshooting, probably reporting this info will help:
- Desktop Environment with version
- Wayland or X11
- GPU
- Check if gtk4 and/or webkit2gtk-4.x is installed
This might be a problem related to WebKit.
According to the issue linked above, this might help:
WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Jan_0.6.1_amd64.appimageIf it fixes the problem, you may want to try just one of them (the first one helped with a problem I had some time ago) and report if it worked.
If not, to help troubleshooting, probably reporting this info will help:
1. Desktop Environment with version 2. Wayland or X11 3. GPU 4. Check if gtk4 and/or webkit2gtk-4.x is installed
Not a problem with webkit,it starts with black screen and then its transparent,it does not crash. Info:
- 1.KDE 6.4
- 2.Wayland
- 3.Amd rx 6800 xt
- 4.yes and no,even with webkit,nothing changed.
Everything was fine on 5.7,but 6.1 and beta releases are broken.
Here is my logs :
./Jan_0.6.1_amd64.AppImage [2025-06-20][21:26:15][app_lib::core::setup][INFO] Installing extensions. Clean up: false, Stored version: 0.6.1, App version: 0.6.1 [2025-06-20][21:26:15][app_lib::core::setup][ERROR] Failed to run mcp commands: Failed to read config file: No such file or directory (os error 2) [2025-06-20][21:26:15][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed. [2025-06-20][21:26:15][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 1/5) [2025-06-20][21:26:15][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries" to "/home/yopi/.config/Jan/data" [2025-06-20][21:26:15][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.xnvX1c/usr/lib/:/tmp/.mount_Jan_0.xnvX1c/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/usr/lib32/:/tmp/.mount_Jan_0.xnvX1c/usr/lib64/:/tmp/.mount_Jan_0.xnvX1c/lib/:/tmp/.mount_Jan_0.xnvX1c/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/lib32/:/tmp/.mount_Jan_0.xnvX1c/lib64/::/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.xnvX1c/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/yopi/.config/Jan/data/.janrc" "--data_folder_path" "/home/yopi/.config/Jan/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "xGXURpGBdAdOxbswofwltmRc15Ab1tgZ", raw_out: false } [2025-06-20][21:26:15][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines" to "/home/yopi/.config/Jan/data/engines" [2025-06-20][21:26:15][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp" to "/home/yopi/.config/Jan/data/engines/llama.cpp" [2025-06-20][21:26:15][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx-x64" [2025-06-20][21:26:15][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx-x64/b5509" [2025-06-20][21:26:15][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 115011 [2025-06-20][21:26:15][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" [2025-06-20][21:26:15][app_lib::core::setup][INFO] [Cortex Terminated]: Signal Some(15), Code None [2025-06-20][21:26:15][app_lib::core::setup][INFO] Cleared child process lock after termination. [2025-06-20][21:26:15][app_lib::core::setup][WARN] Cortex server terminated unexpectedly. [2025-06-20][21:26:15][app_lib::core::setup][INFO] Waiting 5000ms before attempting restart 1/5... [2025-06-20][21:26:15][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" [2025-06-20][21:26:16][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" [2025-06-20][21:26:16][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" [2025-06-20][21:26:16][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-x64" [2025-06-20][21:26:16][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-x64/b5509" [2025-06-20][21:26:16][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx512-x64" [2025-06-20][21:26:16][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx512-x64/b5509" [2025-06-20][21:26:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" [2025-06-20][21:26:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" [2025-06-20][21:26:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" [2025-06-20][21:26:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" [2025-06-20][21:26:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-x64" [2025-06-20][21:26:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-x64/b5509" [2025-06-20][21:26:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-vulkan-x64" [2025-06-20][21:26:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-vulkan-x64/b5509" [2025-06-20][21:26:19][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/resources" to "/home/yopi/.config/Jan/data" [2025-06-20][21:26:19][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/resources/pre-install" to "/home/yopi/.config/Jan/data/pre-install" Could not create default EGL display: EGL_BAD_PARAMETER. Aborting... [2025-06-20][21:26:20][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 2/5) [2025-06-20][21:26:20][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.xnvX1c/usr/lib/:/tmp/.mount_Jan_0.xnvX1c/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/usr/lib32/:/tmp/.mount_Jan_0.xnvX1c/usr/lib64/:/tmp/.mount_Jan_0.xnvX1c/lib/:/tmp/.mount_Jan_0.xnvX1c/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.xnvX1c/lib32/:/tmp/.mount_Jan_0.xnvX1c/lib64/::/tmp/.mount_Jan_0.xnvX1c/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.xnvX1c/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/yopi/.config/Jan/data/.janrc" "--data_folder_path" "/home/yopi/.config/Jan/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "xGXURpGBdAdOxbswofwltmRc15Ab1tgZ", raw_out: false } [2025-06-20][21:26:20][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 115080 [2025-06-20][21:26:20][app_lib::core::setup][INFO] Cortex server started successfully, resetting restart count from 1 to 0.
@Yopioko As far as I know, Tauri uses WebKit as rendering engine, and Jan 0.6.0 and up use Tauri, while previous versions used Electron.
Did you try setting those environment variables to check if they make any changes?
@LFd3v Yes i did,nothing changed,like at all.
Here i tried environment variables :
WEBKIT_DISABLE_COMPOSITING_MODE=1 WEBKIT_DISABLE_DMABUF_RENDERER=1 ./Jan_0.6.1_amd64.AppImage
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Installing extensions. Clean up: false, Stored version: 0.6.1, App version: 0.6.1
[2025-06-20][21:48:10][app_lib::core::setup][ERROR] Failed to run mcp commands: Failed to read config file: No such file or directory (os error 2)
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed.
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 1/5)
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries" to "/home/yopi/.config/Jan/data"
[2025-06-20][21:48:10][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.Chqkkx/usr/lib/:/tmp/.mount_Jan_0.Chqkkx/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/usr/lib32/:/tmp/.mount_Jan_0.Chqkkx/usr/lib64/:/tmp/.mount_Jan_0.Chqkkx/lib/:/tmp/.mount_Jan_0.Chqkkx/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/lib32/:/tmp/.mount_Jan_0.Chqkkx/lib64/::/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.Chqkkx/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/yopi/.config/Jan/data/.janrc" "--data_folder_path" "/home/yopi/.config/Jan/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "ZqiOoHW1aQSiLFyi2QeHPxsb1W4n8R1N", raw_out: false }
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines" to "/home/yopi/.config/Jan/data/engines"
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp" to "/home/yopi/.config/Jan/data/engines/llama.cpp"
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx-x64"
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx-x64/b5509"
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 118822
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64"
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509"
[2025-06-20][21:48:10][app_lib::core::setup][INFO] [Cortex Terminated]: Signal Some(15), Code None
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Cleared child process lock after termination.
[2025-06-20][21:48:10][app_lib::core::setup][WARN] Cortex server terminated unexpectedly.
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Waiting 5000ms before attempting restart 1/5...
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64"
[2025-06-20][21:48:10][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509"
[2025-06-20][21:48:15][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 2/5)
[2025-06-20][21:48:15][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan_0.Chqkkx/usr/lib/:/tmp/.mount_Jan_0.Chqkkx/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/usr/lib32/:/tmp/.mount_Jan_0.Chqkkx/usr/lib64/:/tmp/.mount_Jan_0.Chqkkx/lib/:/tmp/.mount_Jan_0.Chqkkx/lib/i386-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/lib/x86_64-linux-gnu/:/tmp/.mount_Jan_0.Chqkkx/lib32/:/tmp/.mount_Jan_0.Chqkkx/lib64/::/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries" "/tmp/.mount_Jan_0.Chqkkx/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/yopi/.config/Jan/data/.janrc" "--data_folder_path" "/home/yopi/.config/Jan/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "ZqiOoHW1aQSiLFyi2QeHPxsb1W4n8R1N", raw_out: false }
[2025-06-20][21:48:15][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 118839
[2025-06-20][21:48:15][app_lib::core::setup][INFO] Cortex server started successfully, resetting restart count from 1 to 0.
[2025-06-20][21:48:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-x64"
[2025-06-20][21:48:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx2-x64/b5509"
[2025-06-20][21:48:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx512-x64"
[2025-06-20][21:48:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-avx512-x64/b5509"
[2025-06-20][21:48:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64"
[2025-06-20][21:48:17][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509"
[2025-06-20][21:48:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64"
[2025-06-20][21:48:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509"
[2025-06-20][21:48:27][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-x64"
[2025-06-20][21:48:27][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-noavx-x64/b5509"
[2025-06-20][21:48:27][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-vulkan-x64"
[2025-06-20][21:48:27][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64/b5509" to "/home/yopi/.config/Jan/data/engines/llama.cpp/linux-vulkan-x64/b5509"
[2025-06-20][21:48:33][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/resources" to "/home/yopi/.config/Jan/data"
[2025-06-20][21:48:33][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan_0.Chqkkx/usr/lib/Jan/resources/pre-install" to "/home/yopi/.config/Jan/data/pre-install"
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
Ran into this today on kde+wayland on an arch based distro. Poking around, I came across this report that binary stripping has side effects, and can cause this error: https://github.com/kanriapp/kanri/issues/805
Digging into it a little further, the problem (seemingly) is not with tauri, but with linuxdeploy as it's what handles packing the appimage/binary stripping.
Armed with that, I set out to build jan from source in the dev container. Some dependency hell later (fixing the dev container is an issue and PR for another day) and the build chokes with the default target for linuxdeploy. So I updated linuxdeploy via:
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20250213-2/linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage
mv linuxdeploy-x86_64.AppImage /root/.cache/tauri/linuxdeploy-x86_64.AppImage
Not only does the make build succeed, but this issue is resolved in the new build.
Hi @DistractionRectangle -- Thanks for investigating this and for finding a workaround. I also use Arch (btw) and ran into this issue on Friday and couldn't arrive at a solution. We are working on packaging Jan into a flatpak to make it easier to distribute so that should help majority of users experiencing this issue on Linux avoid it entirely 🙏
Hi @DistractionRectangle -- Thanks for investigating this and for finding a workaround. I also use Arch (btw) and ran into this issue on Friday and couldn't arrive at a solution. We are working on packaging Jan into a flatpak to make it easier to distribute so that should help majority of users experiencing this issue on Linux avoid it entirely 🙏
Probably for the best, digging a little further, steps myself and others have taken to reproduce the dev environment and attempt to debug the issue were probably misguided. Apparently, the git workflow departs from the build procedure outlined in the readme/makefile/package.json. One of the steps is throwing out the build from the makefile, and recreating it with an unpinned version of appimagekit [0][1] (which is 2+ years deprecated in the favor of appimagetool [2]). It also massages various config files beyond setting the app version/name [3], which changes the build process.
[0] https://github.com/menloresearch/jan/blob/e9b28c5a901c1954d7c4953761887ce991640e01/.github/workflows/template-tauri-build-linux-x64.yml#L167C1-L168C114 [1] https://github.com/menloresearch/jan/blob/e9b28c5a901c1954d7c4953761887ce991640e01/.github/workflows/template-tauri-build-linux-x64.yml#L156 [2] https://github.com/AppImage/AppImageKit/releases/tag/continuous [3] https://github.com/menloresearch/jan/blob/e9b28c5a901c1954d7c4953761887ce991640e01/.github/workflows/template-tauri-build-linux-x64.yml#L104C1-L151C13
Edit: So today I was able to accurately reproduce the build environment/build steps, and can reliably A/B test building with/without an updated linuxdeploy binary. The updated binary fixes the issue, and using the one pulled in by tauri-cli reliably reproduces this issue. Opened a PR.
I think this is fatal error log is related:
[2025-06-28][05:44:26][app_lib::core::setup][INFO] Installing extensions. Clean up: false, Stored version: 0.6.3, App version: 0.6.3
[2025-06-28][05:44:26][app_lib::core::mcp][INFO] MCP server initialization complete: 0 successful, 0 failed
[2025-06-28][05:44:26][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed.
[2025-06-28][05:44:26][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries" to "/mnt/data/jan-ai-data"
[2025-06-28][05:44:26][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 1/5)
[2025-06-28][05:44:26][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH=":/usr/lib/Jan/binaries" "/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/mnt/data/jan-ai-data/.janrc" "--data_folder_path" "/mnt/data/jan-ai-data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "jRl6xgHCKdsqAjwWKMW0D3Ek6vE1pc1p", raw_out: false }
[2025-06-28][05:44:26][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 1434800
[2025-06-28][05:44:26][app_lib::core::setup][INFO] [Cortex STDOUT]: Host: 127.0.0.1 Port: 39291
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines" to "/mnt/data/jan-ai-data/engines"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp" to "/mnt/data/jan-ai-data/engines/llama.cpp"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-x64"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-x64/b5509"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx-x64"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx-x64/b5509"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-vulkan-x64"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-vulkan-x64/b5509"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64"
[2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509"
[2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx512-x64"
[2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx512-x64/b5509"
[2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/resources" to "/mnt/data/jan-ai-data"
[2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/resources/pre-install" to "/mnt/data/jan-ai-data/pre-install"
Gdk-Message: 01:44:29.021: Error 71 (Protocol error) dispatching to Wayland display.
One workaround for this is setting the environment variable WEBKIT_DISABLE_DMABUF_RENDERER=1, which allows the application to start, but the models cannot be loaded and do not answer any questions.
I think this is fatal error log is related:
[2025-06-28][05:44:26][app_lib::core::setup][INFO] Installing extensions. Clean up: false, Stored version: 0.6.3, App version: 0.6.3 [2025-06-28][05:44:26][app_lib::core::mcp][INFO] MCP server initialization complete: 0 successful, 0 failed [2025-06-28][05:44:26][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed. [2025-06-28][05:44:26][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries" to "/mnt/data/jan-ai-data" [2025-06-28][05:44:26][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 1/5) [2025-06-28][05:44:26][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH=":/usr/lib/Jan/binaries" "/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/mnt/data/jan-ai-data/.janrc" "--data_folder_path" "/mnt/data/jan-ai-data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "jRl6xgHCKdsqAjwWKMW0D3Ek6vE1pc1p", raw_out: false } [2025-06-28][05:44:26][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 1434800 [2025-06-28][05:44:26][app_lib::core::setup][INFO] [Cortex STDOUT]: Host: 127.0.0.1 Port: 39291 [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines" to "/mnt/data/jan-ai-data/engines" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp" to "/mnt/data/jan-ai-data/engines/llama.cpp" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-x64" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-x64/b5509" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx-x64" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx-x64/b5509" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-vulkan-x64" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-vulkan-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-vulkan-x64/b5509" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" [2025-06-28][05:44:27][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" [2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx512-x64" [2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/binaries/engines/llama.cpp/linux-avx512-x64/b5509" to "/mnt/data/jan-ai-data/engines/llama.cpp/linux-avx512-x64/b5509" [2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/resources" to "/mnt/data/jan-ai-data" [2025-06-28][05:44:28][app_lib::core::setup][INFO] Copying from "/usr/lib/Jan/resources/pre-install" to "/mnt/data/jan-ai-data/pre-install" Gdk-Message: 01:44:29.021: Error 71 (Protocol error) dispatching to Wayland display.One workaround for this is setting the environment variable
WEBKIT_DISABLE_DMABUF_RENDERER=1, which allows the application to start,
Mind providing details about your hardware? (CPU + GPU(s), OS, DE). Since you didn't run into the EGL_BAD_PARAMETER bug, I'm guessing your primary GPU is either intel integrated graphics or nvidia. If it's nvidia, it seems related to: https://github.com/tauri-apps/tauri/issues/10702
Since it doesn't seem to impact everyone running nvidia (I have a dual GPU system, and cannot reproduce this with my nvidia card -- but that may be a side effect of prime offloading?), it's very likely a host configuration issue.
Off the cuff, I would hazard a guess that the issue stems from GBM being misconfigured for nvidia: https://download.nvidia.com/XFree86/Linux-x86_64/575.64/README/gbm.html
but the models cannot be loaded and do not answer any questions.
There's at least (at quick glance) two issues that cause that, #5587 and #5564. So try a small model (has to fit in GPU vram) + david's workaround in 5564 to confirm you aren't running into those issues.
Also getting the EGL_BAD_PARAMETER error on a Radeon 6800XT on Manjaro Linux with GNOME Wayland. I tried with Jan-nightly_0.6.3-559_amd64
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Installing extensions. Clean up: false, Stored version: 0.6.3-559, App version: 0.6.3-559
[2025-06-28][22:40:18][app_lib::core::setup][ERROR] Failed to run mcp commands: Failed to read config file: No such file or directory (os error 2)
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed.
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 1/5)
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries" to "/home/satori/.local/share/Jan-nightly/data"
[2025-06-28][22:40:18][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan-nifRAM2z/usr/lib/:/tmp/.mount_Jan-nifRAM2z/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/usr/lib32/:/tmp/.mount_Jan-nifRAM2z/usr/lib64/:/tmp/.mount_Jan-nifRAM2z/lib/:/tmp/.mount_Jan-nifRAM2z/lib/i386-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/lib/x86_64-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/lib32/:/tmp/.mount_Jan-nifRAM2z/lib64/::/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries" "/tmp/.mount_Jan-nifRAM2z/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/satori/.local/share/Jan-nightly/data/.janrc" "--data_folder_path" "/home/satori/.local/share/Jan-nightly/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "VV3yKRFUdQvnO1gesmsF8gpYl7pxFvBJ", raw_out: false }
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines" to "/home/satori/.local/share/Jan-nightly/data/engines"
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp"
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx-x64"
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 6510
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx-x64/b5509"
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64"
[2025-06-28][22:40:18][app_lib::core::setup][INFO] [Cortex Terminated]: Signal Some(15), Code None
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx2-cuda-cu11.7-x64/b5509"
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Cleared child process lock after termination.
[2025-06-28][22:40:18][app_lib::core::setup][WARN] Cortex server terminated unexpectedly.
[2025-06-28][22:40:18][app_lib::core::setup][INFO] Waiting 5000ms before attempting restart 1/5...
[2025-06-28][22:40:19][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64"
[2025-06-28][22:40:19][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx2-cuda-cu12.0-x64/b5509"
[2025-06-28][22:40:20][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx2-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx2-x64"
[2025-06-28][22:40:20][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx2-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx2-x64/b5509"
[2025-06-28][22:40:20][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx512-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx512-x64"
[2025-06-28][22:40:20][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-avx512-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-avx512-x64/b5509"
[2025-06-28][22:40:20][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64"
[2025-06-28][22:40:20][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-noavx-cuda-cu11.7-x64/b5509"
[2025-06-28][22:40:21][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64"
[2025-06-28][22:40:21][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-noavx-cuda-cu12.0-x64/b5509"
[2025-06-28][22:40:23][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-noavx-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-noavx-x64"
[2025-06-28][22:40:23][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-noavx-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-noavx-x64/b5509"
[2025-06-28][22:40:23][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-vulkan-x64" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-vulkan-x64"
[2025-06-28][22:40:23][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries/engines/llama.cpp/linux-vulkan-x64/b5509" to "/home/satori/.local/share/Jan-nightly/data/engines/llama.cpp/linux-vulkan-x64/b5509"
[2025-06-28][22:40:23][app_lib::core::setup][INFO] Spawning cortex-server (Attempt 2/5)
[2025-06-28][22:40:23][app_lib::core::setup][DEBUG] Sidecar command: Command { cmd: LD_LIBRARY_PATH="/tmp/.mount_Jan-nifRAM2z/usr/lib/:/tmp/.mount_Jan-nifRAM2z/usr/lib/i386-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/usr/lib/x86_64-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/usr/lib32/:/tmp/.mount_Jan-nifRAM2z/usr/lib64/:/tmp/.mount_Jan-nifRAM2z/lib/:/tmp/.mount_Jan-nifRAM2z/lib/i386-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/lib/x86_64-linux-gnu/:/tmp/.mount_Jan-nifRAM2z/lib32/:/tmp/.mount_Jan-nifRAM2z/lib64/::/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/binaries" "/tmp/.mount_Jan-nifRAM2z/usr/bin/cortex-server" "--start-server" "--port" "39291" "--config_file_path" "/home/satori/.local/share/Jan-nightly/data/.janrc" "--data_folder_path" "/home/satori/.local/share/Jan-nightly/data" "--cors" "ON" "--allowed_origins" "http://localhost:3000,http://localhost:1420,tauri://localhost,http://tauri.localhost" "config" "--api_keys" "VV3yKRFUdQvnO1gesmsF8gpYl7pxFvBJ", raw_out: false }
[2025-06-28][22:40:23][app_lib::core::setup][INFO] Cortex server spawned successfully. PID: 6521
[2025-06-28][22:40:23][app_lib::core::setup][INFO] Cortex server started successfully, resetting restart count from 1 to 0.
[2025-06-28][22:40:26][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/resources" to "/home/satori/.local/share/Jan-nightly/data"
[2025-06-28][22:40:26][app_lib::core::setup][INFO] Copying from "/tmp/.mount_Jan-nifRAM2z/usr/lib/Jan-nightly/resources/pre-install" to "/home/satori/.local/share/Jan-nightly/data/pre-install"
Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...
[2025-06-28][22:40:36][app_lib::core::setup][INFO] Received kill-sidecar event (processing async).
[2025-06-28][22:40:36][app_lib::core::setup][INFO] Received kill-mcp-servers event - cleaning up MCP servers
[2025-06-28][22:40:36][app_lib::core::setup][INFO] Attempting to kill sidecar process...
[2025-06-28][22:40:36][app_lib::core::setup][INFO] MCP servers cleaned up successfully
[2025-06-28][22:40:36][app_lib::core::setup][INFO] Sidecar process killed successfully via event.
[2025-06-28][22:40:36][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed.
[2025-06-28][22:40:36][app_lib::core::setup][INFO] Clean up function executed, sidecar processes killed.
[2025-06-28][22:40:36][app_lib::core::setup][INFO] [Cortex Terminated]: Signal Some(9), Code None
[2025-06-28][22:40:36][app_lib::core::setup][INFO] Cortex server was killed intentionally. Not restarting.
Mind providing details about your hardware? (CPU + GPU(s), OS, DE).
- CPU: Intel Core i9-10885H.
- GPU: Quadro RTX 5000 with Max-Q Design (16 GiB of memory).
- RAM: 128 GiB.
- OS: ArchLinux.
- DE: KDE Plasma 6.4 on Wayland.
Since it doesn't seem to impact everyone running nvidia (I have a dual GPU system, and cannot reproduce this with my nvidia card -- but that may be a side effect of prime offloading?), it's very likely a host configuration issue.
My CPU also has an integrated GPU, so I'm technically running two GPUs. Can you elaborate on what you mean?
So try a small model (has to fit in GPU vram) + david's workaround in 5564 to confirm you aren't running into those issues.
These models used to work fine on my computer a few months ago. Setting the environment variable __NV_DISABLE_EXPLICIT_SYNC=1 and setting the Min P model parameter to 0.1 solved both issues.
So that confirms it's a combination of tauri 11988 and jan 5564, and independent of this issue. And the workarounds... still workaround ;)
Since it doesn't seem to impact everyone running nvidia (I have a dual GPU system, and cannot reproduce this with my nvidia card -- but that may be a side effect of prime offloading?), it's very likely a host configuration issue.
My CPU also has an integrated GPU, so I'm technically running two GPUs. Can you elaborate on what you mean?
What I was saying is that because of my setup, I may be unable to reproduce the error (issue could be nvidia specific but prime-offloading - which my setup is built around - may sidestep the problematic driver path). You have hybrid graphics (two+ gpus), but depending on your configuration, you may not be doing prime-offloading - my setup ALWAYS does prime-offloading when the nvidia card is used to render, hence I may not be able to reproduce the bug.
If you had a single GPU + tauri 11988, it'd be easier to investigate, but hybrid graphics + a laptop (mux vs muxless, docking, etc) move it outside something I'm able to help chase down, so unfortunately the workaround will have to do.
Just gave the Jan v0.6.4 appimage a try given that it was purported as having a fix for this bug ( #5463 ), but I am still getting "Could not create default EGL display: EGL_BAD_PARAMETER. Aborting..." I am on NixOS using hyprland (a wayland compositor).
Can confirm it is still happening on v0.6.4 AppImage for Radeon 6800XT - Manjaro Linux - GNOME Wayland
Unfortunately the tagged release v.0.6.4 does not include #5463
https://github.com/menloresearch/jan/compare/v0.6.4...dev As you can see, #5463 comes after the v0.6.4 tag.
Guess it didn't make the cut off and got slated for a later release
Hey everyone, I'm Minh from Menlo Research,
First of all, we're really sorry that the fix didn’t make it into the v0.6.4 release. We truly appreciate your patience and all the detailed reports you've shared across different systems, they’ve been incredibly helpful.
We’ll make sure the fix is included in the upcoming releases and are doing our best to get it out as soon as possible.
Thanks again for bearing with us! 🙏
This will be fixed in PR: https://github.com/menloresearch/jan/pull/5463 in our upcoming release. Thank's everyone for bearing us 🙏