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

crashes on start. ubuntu 24 (noble). #135

Open
yodog opened this issue Sep 30, 2024 · 4 comments
Open

crashes on start. ubuntu 24 (noble). #135

yodog opened this issue Sep 30, 2024 · 4 comments

Comments

@yodog
Copy link

yodog commented Sep 30, 2024

my system:

| ~/Downloads : $ cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian

version: https://releases.lmstudio.ai/linux/x86/0.3.2/beta/6/LM_Studio-0.3.2.AppImage

i tried running in four different ways, each one with a different error message.

1

| ~/Downloads : $ ./LM_Studio-0.3.2.AppImage
[1749088:0930/091727.311263:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_LM_Stu2nvESW/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

2

| ~/Downloads : $ sudo ./LM_Studio-0.3.2.AppImage
[0930/091755.464935:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap

3

| ~/Downloads : $ sudo ./LM_Studio-0.3.2.AppImage --no-sandbox
09:18:20.213 › App starting...
.
.
Authorization required, but no authorization protocol specified
09:18:21.426 › Failed to survey hardware with backend 'llama.cpp-linux-x86_64-nvidia-cuda-avx2', version '1.1.10': LMSCore load lib failed - child process with PID 1749878 exited with code 1
09:18:21.854 › Tried to get Vulkan environment variable overrides for LLM usage, but GPU survey data showed no GPUs!
.
.
[FileWatchingProvider] Sync completed.
[1749514:0930/091822.516725:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[1749884:0930/091822.568016:ERROR:x11_software_bitmap_presenter.cc(142)] XGetWindowAttributes failed for window 75497475
Bus error

4

| ~/Downloads : $ ./LM_Studio-0.3.2.AppImage --no-sandbox
09:20:15.525 › App starting...
.
.
[1751069:0930/092016.777838:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
09:20:16.946 › Failed to survey hardware with backend 'llama.cpp-linux-x86_64-nvidia-cuda-avx2', version '1.1.10': LMSCore load lib failed - child process with PID 1751116 exited with code 1
09:20:17.369 › Tried to get Vulkan environment variable overrides for LLM usage, but GPU survey data showed no GPUs!
.
.
[CachedFileDataProvider] Watching file at /home/usuario/.cache/lm-studio/conversations
09:20:20.089 › [CachedFileDataProvider] Error reading file at /home/usuario/.cache/lm-studio/conversations Error: EISDIR: illegal operation on a directory, read
.
.
[CachedFileDataProvider] File at /home/usuario/.cache/lm-studio/conversations is no longer used. Releasing...
Bus error (core dumped)

@fornellas
Copy link

Same scenario on 24.10:

$ ./LM_Studio-0.3.3.AppImage 
[8427:1005/121748.872181:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_LM_StuybjmNp/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

@steb5067
Copy link

Another one with electron problems but on version 0.3.5

/LM_Studio-0.3.5.AppImage
[2067613:1024/133127.778275:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_LM_StuaOKh7K/chrome-sandbox is owned by root and has mode 4755.
zsh: trace trap (core dumped) ./LM_Studio-0.3.5.AppImage

PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"

@yagil
Copy link
Member

yagil commented Oct 24, 2024

@steb5067 you can try our WIP deb package and see if it works for you: https://releases.lmstudio.ai/linux/x86/0.3.5/2/lm-studio_0.3.5_amd64.deb

@miguepollo
Copy link

miguepollo commented Nov 17, 2024

@yodog

The issue is a problem with ubuntu apparmor:
you have to type this

sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

and all works

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

No branches or pull requests

5 participants