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

Pico4 VR Headset crashes on scene with MeshInstance3D #76356

Open
RevolNoom opened this issue Apr 23, 2023 · 5 comments
Open

Pico4 VR Headset crashes on scene with MeshInstance3D #76356

RevolNoom opened this issue Apr 23, 2023 · 5 comments

Comments

@RevolNoom
Copy link

RevolNoom commented Apr 23, 2023

Godot version

v4.0.2.stable.official.7a0977ce2

System information

Dell Inspiron 3580: Intel® Core™ i7-8565U × 8, Ubuntu 22.10, HAINAN / Mesa Intel® UHD Graphics 620 (WHL GT2) ---------------------------------- Pico4: System version 5.4.0, Qualcomm Snapdragon XR2, Android 10

Issue description

Pico4 can't render MeshInstance3D, and after running for a few seconds, the application crashes.

When remote debug, the editor prints:

Installing to device (please wait...): Pico A8110
--- Device API >= 21; debugging over USB ---
--- DEVICE API >= 21; DEBUGGING OVER USB ---
Reverse result: 0
Godot Engine v4.0.2.stable.official.7a0977ce2 - https://godotengine.org
OpenXR: Running on OpenXR runtime: Pico(XRT) by Pico et al 'c4eb070c' 3.0.1
OpenXR: XrGraphicsRequirementsVulkan2KHR:

  • minApiVersionSupported: 1.0.0
  • maxApiVersionSupported: 1023.1023.1023
    Vulkan API 1.1.128 - Forward Mobile - Using Vulkan Device #0: Qualcomm - Adreno (TM) 650

And Debugger prints out these errors:
image
image

Here's the good scene:

342474419_979294849725317_1135862346548321941_n

And here's not:
342066078_265745669126861_8039648463103468542_n

Project settings:
336058910_3515205922036224_6934619855165082086_n

342463416_1212883029593355_2631606150880106424_n

Export settings:
342482111_3386922914852520_1409771766662999303_n
342375255_197679193018705_6131163799751698366_n

This is a video of godot running the scene with a MeshInstance3D floor. Pico4 renders slowly (like, 4-5 frames/sec?), the MeshInstance is nowhere to be seen. After a few seconds, it crashes.

pico4break.mp4

Steps to reproduce

Export the scene to Pico, and then it will run briefly before crashing.

Minimal reproduction project

N/A

@RevolNoom RevolNoom changed the title Pico4 VR Headset can't handle MeshInstance3D Pico4 VR Headset crashes running MeshInstance3D Apr 23, 2023
@RevolNoom RevolNoom changed the title Pico4 VR Headset crashes running MeshInstance3D Pico4 VR Headset crashes on scene with MeshInstance3D Apr 23, 2023
@BastiaanOlij
Copy link
Contributor

This is likely an issue on the PICO side. There is a driver bug in the Vulkan driver. PICO already has an updated driver but it needs to go through QA before it is pushed out to the devices.

For now use the gl_compatibility renderer instead.

@RevolNoom
Copy link
Author

@BastiaanOlij well, that's another problem. I'm already using Compatibility mode (as my scene setup picture), but somehow, it always run Vulkan on Pico. Pico problem too?

@BastiaanOlij
Copy link
Contributor

BastiaanOlij commented Apr 24, 2023

@RevolNoom, that's an unfortunate usability issue in the UI

The dropdown only effects Godot running on desktop, you need to go into project settings and set the renderer used on mobile separately:

image

@RevolNoom
Copy link
Author

@BastiaanOlij Thank you. I got it running now. That was a frustrating few days...

@Calinou
Copy link
Member

Calinou commented Apr 24, 2023

See #72461 which should improve the situation regarding the dropdown.

@clayjohn clayjohn modified the milestones: 4.1, 4.x Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants