google / filament

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
https://google.github.io/filament/
Apache License 2.0
17.44k stars 1.84k forks source link

core dumped gltf_viewer #7708

Closed HalanoSiblee closed 4 months ago

HalanoSiblee commented 4 months ago

Describe the bug executing gltf_viewer binary show window for second then close with Aborted (core dumped)

To Reproduce Steps to reproduce the behavior:

  1. Download filament-v1.51.0-linux.tgz
  2. Run gltf_viewer

Expected behavior no crash or dependencies conflict 

Logs

[halano@archlinux bin]$ ./gltf_viewer
FEngine (64 bits) created at 0x57b7d8d90db0 (threading is enabled)
N5utils18PostconditionPanicE
in enumerate:79
reason: enumerate size error
#0      gltf_viewer                         0x57b7d5f717c0 (null) + 96447080372160
#1      gltf_viewer                         0x57b7d5eca2a2 (null) + 96447079686818
#2      gltf_viewer                         0x57b7d5e6b99b (null) + 96447079299483
#3      gltf_viewer                         0x57b7d5e6f45c (null) + 96447079314524
#4      libc.so.6                           0x7f5d4a5e955a (null) + 140038656398682

libc++abi: terminating with uncaught exception of type utils::PostconditionPanic
Aborted (core dumped)

Desktop:

pixelflinger commented 4 months ago

@poweifeng "enumerate size error" is logged by the Vulkan backend.

HalanoSiblee commented 4 months ago

@poweifeng "enumerate size error" is logged by the Vulkan backend.

oh btw my gpu doesn't support vulkan how do I use opengl backend ? 

romainguy commented 4 months ago

@HalanoSiblee You can pass -a opengl to gltf_viewer to choose the GL backend.

HalanoSiblee commented 4 months ago

@HalanoSiblee You can pass -a opengl to gltf_viewer to choose the GL backend.

that should documented,anyways thanks it works.  image

romainguy commented 4 months ago

It should be documented if you --help any of the samples, including gltf_viewer.