lmstudio-ai / lmstudio-bug-tracker

Bug tracking for the LM Studio desktop application
9 stars 3 forks source link

All backends available to LM Studio detected to be incompatible with your machine #83

Open 0pcom opened 2 months ago

0pcom commented 2 months ago

I have another machine I can test this with. This ticket is to provide feedback moreso than a request for support.

I've installed the v0.2.31 appimage from the archlinux AUR here: https://aur.archlinux.org/packages/lmstudio-appimage

image

$ lm-studio
12:37:49.368 › App starting...
[3682813:0815/123749.662711:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[3682813:0815/123749.662771:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
12:37:50.290 › Hardware has: 'AVX'. Doesn't include all required: 'AVX2'
12:37:50.291 › CPU compatibility check for backend 'llama.cpp-linux-x86_64-nvidia-cuda-avx2' failed.
Backend CPU info: {"architecture":"x86_64","instruction_set_extensions":["AVX2"]}.
Hardware CPU info: {"result":{"code":"Success","message":""},"cpuInfo":{"architecture":"x86_64","supportedInstructionSetExtensions":["AVX"]}}
12:37:50.455 › Hardware has: 'AVX'. Doesn't include all required: 'AVX2'
12:37:50.455 › CPU compatibility check for backend 'llama.cpp-linux-x86_64-avx2' failed.
Backend CPU info: {"architecture":"x86_64","instruction_set_extensions":["AVX2"]}.
Hardware CPU info: {"result":{"code":"Success","message":""},"cpuInfo":{"architecture":"x86_64","supportedInstructionSetExtensions":["AVX"]}}
12:37:51.161 › LMSCore process using library '/tmp/.mount_lm-stuCryKb5/resources/app/.webpack/main/build/Release/linux-llama-vulkan/liblmstudio_bindings_vulkan.node' exited unexpectedly on command 'survey-hardware' with code: 134
12:37:51.173 › Downloads folder from settings.json: /home/user/.cache/lm-studio/models
12:37:51.177 › Current downloads folder: /home/user/.cache/lm-studio/models
[SettingsProvider][SettingsFile] Initializing FileData
Logger created with filePath /tmp/lmstudio-server-log.txt
Client with id 'httpServer' registered.
[ConversationsProvider][Indexer] Creating index for path /home/user/.cache/lm-studio/conversations
[LLMExternalAPIProvider] Creating HTTP server extender
[LLMExternalAPIProvider] Registering IPC server
[PlatformExternalAPIProvider] Creating HTTP server extender
[PlatformExternalAPIProvider] Registering IPC server
[SystemExternalAPIProvider] Creating HTTP server extender
[SystemExternalAPIProvider] Registering IPC server
[DiagnosticsExternalAPIProvider] Creating HTTP server extender
[DiagnosticsExternalAPIProvider] Registering IPC server
[NotepadMinusMinusExternalAPIProvider] Registering IPC server
[DeepLinkHandlingExternalAPIProvider] Registering IPC server
[AppSettingsInternalAPIProvider] Registering IPC server
[ModelIndexInternalAPIProvider] Registering IPC server
[PresetsEditorInternalAPIProvider] Registering IPC server
[ContextMenuInternalAPIProvider] Registering IPC server
[ConversationsInternalAPIProvider] Registering IPC server
12:37:52.223 › Checking if LM Studio dev tools exist on the system...
12:37:52.234 › LM Studio dev tools are not present, copying them over to .cache/lm-studio/bin...
12:37:52.316 › [AppUpdater] Checking for updates... (current state: idle)
12:37:52.316 › AppUpdater state changed to checking-for-updates-periodic
12:37:52.317 › [AppUpdater] Fetching version info from https://versions.lmstudio.ai
12:37:52.374 › First model catalog download.
[LMSAuthenticator][Client=dW5HLsTrgpncNIOhz9FsNY8W] Client created.
[LMSAuthenticator][Client=dW5HLsTrgpncNIOhz9FsNY8W] Holder created, references: 1
Client with id 'dW5HLsTrgpncNIOhz9FsNY8W' registered.
[LMSAuthenticator][Client=dW5HLsTrgpncNIOhz9FsNY8W] Holder created, references: 2
[LMSAuthenticator][Client=dW5HLsTrgpncNIOhz9FsNY8W] Holder created, references: 3
[LMSAuthenticator][Client=LM Studio] Client created.
[LMSAuthenticator][Client=LM Studio] Holder created, references: 1
Client with id 'LM Studio' registered.
[LMSAuthenticator][Client=LM Studio] Holder created, references: 2
[LMSAuthenticator][Client=LM Studio] Holder created, references: 3
[LMSAuthenticator][Client=LM Studio] Holder created, references: 4
[LMSAuthenticator][Client=LM Studio] Holder created, references: 5
[LMSAuthenticator][Client=LM Studio] Holder created, references: 6
[LMSAuthenticator][Client=LM Studio] Holder created, references: 7
setConfiguration called but the number of loaded models is not 1.
12:37:52.438 › Current downloads folder: /home/user/.cache/lm-studio/models
12:37:52.439 › One or more GPU names are undefined or GPU survey result is incomplete
[readJsonFile] Error reading file /home/user/.cache/lm-studio/config-presets/config.map.json: SyntaxError: Unexpected end of JSON input
Error reading file /home/user/.cache/lm-studio/config-presets/config.map.json: SyntaxError: Unexpected end of JSON input
[LMSAuthenticator][Client=LM Studio][LMSContext(ep=handle,t=channel)] Handling deep link
Error occurred in handler for 'hardware:get-current-gpu-backend-name': TypeError: Cannot read properties of null (reading 'get')
    at t.BackendManager.getCurrentBackendConfig (/tmp/.mount_lm-stuCryKb5/resources/app/.webpack/main/index.js:8:676278)
    at /tmp/.mount_lm-stuCryKb5/resources/app/.webpack/main/index.js:8:854711
    at node:electron/js2c/browser_init:2:98085
    at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:81603)
    at EventEmitter.emit (node:events:513:28)
Error occurred in handler for 'hardware:get-acceleration-available': h [Error]: Error getting backend options to check if GPU acceleration is available: Error: Best backend info is null after logic attempting to get (non Mac)!
    at /tmp/.mount_lm-stuCryKb5/resources/app/.webpack/main/index.js:8:855053
    at node:electron/js2c/browser_init:2:98085
    at EventEmitter.<anonymous> (node:electron/js2c/browser_init:2:81603)
    at EventEmitter.emit (node:events:513:28) {
  cause: undefined,
  suggestion: undefined,
  errorData: undefined,
  data: undefined,
  displayData: undefined,
  title: 'Error getting backend options to check if GPU acceleration is available: Error: Best backend info is null after logic attempting to get (non Mac)!'
}
12:37:52.546 › AppUpdater state changed to idle
12:37:52.549 › Downloaded model catalog from https://raw.githubusercontent.com/lmstudio-ai/model-catalog/main/catalog.json.
12:37:52.551 › Loaded existing catalog: Contains 19 models.
12:37:52.552 › Catalog is unchanged. Not replacing.
12:37:52.799 › Last model catalog download was 425ms ago. Skipping.
Segmentation fault (core dumped)

lscpu:

$ lscpu
Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          36 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   8
  On-line CPU(s) list:    0-7
Vendor ID:                GenuineIntel
  Model name:             Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz
    CPU family:           6
    Model:                58
    Thread(s) per core:   2
    Core(s) per socket:   4
    Socket(s):            1
    Stepping:             9
    CPU(s) scaling MHz:   51%
    CPU max MHz:          3900.0000
    CPU min MHz:          1600.0000
    BogoMIPS:             6188.60
    Flags:                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_ts
                          c cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb pti ssbd ibrs ib
                          pb stibp tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm ida arat pln pts vnmi md_clear flush_l1d
Virtualization features:  
  Virtualization:         VT-x
Caches (sum of all):      
  L1d:                    128 KiB (4 instances)
  L1i:                    128 KiB (4 instances)
  L2:                     1 MiB (4 instances)
  L3:                     8 MiB (1 instance)
NUMA:                     
  NUMA node(s):           1
  NUMA node0 CPU(s):      0-7
Vulnerabilities:          
  Gather data sampling:   Not affected
  Itlb multihit:          KVM: Mitigation: VMX disabled
  L1tf:                   Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
  Mds:                    Mitigation; Clear CPU buffers; SMT vulnerable
  Meltdown:               Mitigation; PTI
  Mmio stale data:        Unknown: No mitigations
  Reg file data sampling: Not affected
  Retbleed:               Not affected
  Spec rstack overflow:   Not affected
  Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl
  Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:             Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP conditional; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
  Srbds:                  Vulnerable: No microcode
  Tsx async abort:        Not affected
MrGeRoI commented 5 days ago

Hardware has: 'AVX'. Doesn't include all required: 'AVX2' Here it is