f3d: Unable to use F3D without a Xorg server
Describe the bug 1.f3d gen png crash 2.error log
tail -200f /var/log/messages | grep f3d
May 31 02:38:46 localhost kernel: f3d[61440]: segfault at 968 ip 00007f9aa44b70bf sp 00007ffcb233ae60 error 4 in libX11.so.6.3.0[7f9aa4475000+13d000]
May 31 02:38:47 localhost systemd-coredump[61442]: Resource limits disable core dumping for process 61440 (f3d).
May 31 02:38:47 localhost systemd-coredump[61442]: Process 61440 (f3d) of user 0 dumped core.
May 31 02:41:58 localhost kernel: f3d[61552]: segfault at 968 ip 00007fb1821650bf sp 00007fffbb398c10 error 4 in libX11.so.6.3.0[7fb182123000+13d000]
May 31 02:41:58 localhost systemd-coredump[61554]: Resource limits disable core dumping for process 61552 (f3d).
May 31 02:41:58 localhost systemd-coredump[61554]: Process 61552 (f3d) of user 0 dumped core.
To Reproduce Steps to reproduce the behavior:
- Open the file using
f3d --dry-run --quiet --input=demo.fbx --output=demo.fbx_001.png --camera-azimuth-angle=135 --camera-elevation-angle=15
Expected behavior png gen correct
System Information:
- OS: CentOS Linux release 8.5.2111
- GPU and GPU driver: no gpu
F3D Information
Paste the content of f3d --version:
F3D 2.1.0
F3D - A fast and minimalist 3D viewer
Version: 2.1.0.
Build date: 2023-07-02 22:00:27.
Build system: Linux 64-bits.
Compiler: GNU 8.4.0.
External rendering module: ON.
Raytracing module: ON.
VTK version: 9.2.6-3762-g9fd3adc3aa (date: 20230609).
Copyright (C) 2019-2021 Kitware SAS.
Copyright (C) 2021-2023 Michael Migliore, Mathieu Westphal.
License BSD-3-Clause.
Additional context Whether f3d’s dependencies libs need to be corrected ? Maybe I install some other software influences the f3d’s dependencies libs.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (11 by maintainers)
Please note F3D now support headless and non-headless in a single version, you can try the last nightly for that: https://github.com/f3d-app/f3d/releases/tag/nightly
VTK recently fixed this so F3D will not crash anymore if no Xorg server is available 😃
Then you want to use the headless binary release instead: https://github.com/f3d-app/f3d/releases/download/v2.4.0/F3D-2.4.0-Linux-x86_64-headless-raytracing.tar.xz
@Jenfong you should be able to use our older binary, eg F3D 2.2.1