I was trying to start emulators in headless mode (using the -no-window) option, but they always segfaulted before they were booted up completely. Without -no-window they booted without problems.
After some experimentation, I found that either disabling hardware acceleration using -no-accel (see https://developer.android.com/studio/run/emulator-commandline#common) or setting the GPU acceleration to -gpu host (see https://developer.android.com/studio/run/emulator-acceleration#command-gpu) resolved the problem. I am suspecting this is an issue with mesa, since I am running Fedora 40.
Hardware-wise, I have an AMD Ryzen 9 and an AMD Raedon RX 6600.
I was trying to start emulators in headless mode (using the
-no-window) option, but they always segfaulted before they were booted up completely. Without-no-windowthey booted without problems.After some experimentation, I found that either disabling hardware acceleration using
-no-accel(see https://developer.android.com/studio/run/emulator-commandline#common) or setting the GPU acceleration to-gpu host(see https://developer.android.com/studio/run/emulator-acceleration#command-gpu) resolved the problem. I am suspecting this is an issue with mesa, since I am running Fedora 40.Hardware-wise, I have an AMD Ryzen 9 and an AMD Raedon RX 6600.