Skip to content

Emulators segfault in headless mode due to misconfigured hardware acceleration #53

Description

@zner0L

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions