Build/Run fails on Linux

I recently installed sailfish on my new linux setup but every run i tried (demo apps etc) all return this : 23:56:32: Cannot deploy: Missing Sailfish OS device information in the kit
Error while building/deploying project SailfishAppOnetest (kit: SailfishOS-4.5.0.18-aarch64 (in sailfish-sdk-build-engine:abraham))
When executing step “RPM Deploy”

https://forum.sailfishos.org/t/cannot-deploy-missing-sailfish-os-device-information-in-the-kit/10278

1 Like

Somewhat the same issue but my devices wont even start in the first place.

Which Linux distribution and architecture are you using? Did you choose Docker or VirtualBox?

I chose docker (i also have vbox already). Linux Debian 13 trixie amd64.

And what about building using CLI?

1 Like

I followed all the steps but got this output:

sfdk: [I] Starting the emulator…
VBoxManage: error: VT-x is being used by another hypervisor (VERR_VMX_IN_VMX_ROOT_MODE).
                                                                                        VBoxManage: error: VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE)
                                                                                              VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
                                          sfdk.vms: [W] Process "/usr/bin/VBoxManage"  exited with unexpected exit code 1 . Arguments: ("startvm", "SailfishOS-4.5.0.18")

Vbox emulator was starting and crashing repeatedly

If you like, we can connect via anydesk or whatever works to help with troubleshooting.

There is something wrong with your setup. You said Docker had been chosen, but SFDK mentions VirtualBox. I’m no expert, but I’ll uninstall everything related to the IDE and reinstall it.

The emulator runs always under VirtualBox. And the emulator is always x86, i.e. it won’t run aarch64 binaries.

1 Like

Thanks @pherjung @vige I found the solution, KVM was already using the hypervisor and VirtualBox could not access it. had to disable KVM temporarily (or permanently if i want) so the emulator can run. Its now showing a Background image and a round mouse pointer so hopefully itll start the app.

sudo rmmod kvm_intel
sudo rmmod kvm

will temporarily disable KVM and allow Sailfish emulator to run

1 Like