filament icon indicating copy to clipboard operation
filament copied to clipboard

Vulkan backend doesn't work in the Emulator

Open pixelflinger opened this issue 1 year ago • 1 comments

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 avatar Jul 01 '24 21:07 pixelflinger

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

poweifeng avatar Jul 22 '24 06:07 poweifeng

I'm unable to repro, please reopen if you're still seeing this.

poweifeng avatar Jan 13 '25 19:01 poweifeng