[Bug]: IPC options reject supported fused_pcg and info_stackless_bvh selections.
Bug Description
IPCCouplerOptions rejects explicitly selecting fused_pcg and info_stackless_bvh, although both are supported by libuipc and are the defaults in pyuipc 0.0.28. Leaving the fields as None reaches the backend successfully, but spelling out the same choices fails before scene construction.
This also blocks the configuration in the attachment to #2784. The validation error is separate from the reported tunneling behavior.
Steps to Reproduce
import genesis as gs
options = gs.options.IPCCouplerOptions(
linear_system_solver="fused_pcg",
collision_detection_method="info_stackless_bvh",
)The backend defaults can be checked independently with:
from uipc.core import Scene
config = Scene.default_config()
print(config["linear_system"]["solver"])
print(config["collision_detection"]["method"])
# fused_pcg
# info_stackless_bvhExpected Behavior
Both supported choices should be accepted and passed through to libuipc, just as they are when selected implicitly by the backend defaults.
Relevant log output
Invalid attribute 'linear_system_solver': input should be 'linear_pcg' or 'direct'. Got 'fused_pcg'.
Invalid attribute 'collision_detection_method': input should be 'linear_bvh' or 'spatial_hash'. Got 'info_stackless_bvh'.Environment
- Linux x86_64, Python 3.12.3
- RTX 4090, NVIDIA driver 580.126.09
- PyTorch 2.13.0+cu130, pyuipc 0.0.28
- The options-construction failure itself does not require a GPU.
Release version or Commit ID
d00455a (current main).
Additional Context
The two choices are listed in the backend's scene configuration reference. This needs an update to the accepted option values, without changing the defaults or simulation parameters.
Source: Genesis-Embodied-AI/genesis-world