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

Vulkan backend doesn't work in the Emulator #7955

Open
pixelflinger opened this issue Jul 1, 2024 · 1 comment
Open

Vulkan backend doesn't work in the Emulator #7955

pixelflinger opened this issue Jul 1, 2024 · 1 comment
Assignees
Labels
android Issue/feature request for Android only vulkan Issues with the Vulkan backend

Comments

@pixelflinger
Copy link
Collaborator

Simply running the hello-triangle sample in the emulator with the vulkan backend reproduces the problem.

  • enabling vulkan: adb shell setprop debug.filament.backend 2

The application will crash with this error:

Filament              com...ndroid.filament.hellotriangle  E  PanicLog
                                                              in void utils::panic(const char *, const char *, int, const char *):34
                                                              in file /Users/mathias/sources/git/filament/libs/utils/src/debug.cpp
                                                              reason: (...)/vulkan/VulkanTexture.cpp:283: failed assertion 'stage->memory'

The error is VK_ERROR_FEATURE_NOT_PRESENT

@pixelflinger pixelflinger added vulkan Issues with the Vulkan backend android Issue/feature request for Android only labels Jul 1, 2024
@poweifeng
Copy link
Contributor

Hmm, I'm not seeing this. I used a emulated P6pro with API 33. Do you have details of your emulated device?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issue/feature request for Android only vulkan Issues with the Vulkan backend
Projects
None yet
Development

No branches or pull requests

2 participants