Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

RuntimeError: Validation failure (0): active samplers with a different type refer to the same texture image unit

Open RoninsCode opened this issue 10 months ago • 0 comments
trafficstars

I attempted to run the hello_genesis.py simulation provided with Genesis 0.2.0. During the scene creation and activation of the viewer, an OpenGL error occurs:

Error message:

RuntimeError: Validation failure (0): b'active samplers with a different type refer to the same texture image unit'

Code Example: hello_genesis.py

    python3 hello_genesis.py

Error Output:

    RuntimeError: Validation failure (0): b'active samplers with a different type refer to the same texture image unit'

System Information

Operating System: Ubuntu 22.04 (64-bit)
Python Version: 3.10.12
Genesis Version: 0.2.0
GPU: AMD Radeon RX 570
GPU Driver: AMDGPU open-source driver (Kernel module: amdgpu)
OpenGL Version: 4.6 (Mesa 24.3.2 - kisak-mesa PPA)

Troubleshooting Steps Already Attempted

Driver Check:

    lspci -k | grep -EA3 'VGA|3D'

Output:

 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 
 470/480/570/570X/580/580X/590] (rev e7)
Subsystem: ASUSTeK Computer Inc. Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
Kernel driver in use: amdgpu
Kernel modules: amdgpu

Tested Software Rendering:

MESA_LOADER_DRIVER_OVERRIDE=llvmpipe LIBGL_ALWAYS_SOFTWARE=1 python3 hello_genesis.py

The error persists.

Updated Dependencies:
    pyglet: Version 1.5.27
    PyOpenGL: Version 3.1.6
    PyOpenGL-accelerate: Version 3.1.6

Request for Help

Could you advise how to resolve this issue ? Let me know if additional logs or details are needed.

yekta@yekoosSystem:~/Genesis/examples/tutorials$ pip freeze absl-py==2.1.0 annotated-types==0.7.0 apturl==0.5.2 blinker==1.4 Brlapi==0.8.3 certifi==2020.6.20 chardet==4.0.0 click==8.0.3 coacd==1.0.5 colorama==0.4.4 command-not-found==0.3 contourpy==1.3.1 cryptography==3.4.8 cupshelpers==1.0 cycler==0.12.1 dataclasses-json==0.6.7 dbus-python==1.2.18 decorator==5.1.1 defer==1.0.6 Deprecated==1.2.15 dill==0.3.9 distro==1.7.0 distro-info==1.1+ubuntu0.2 etils==1.11.0 filelock==3.13.1 fonttools==4.55.3 freetype-py==2.5.1 fsspec==2024.2.0 genesis-world==0.2.0 glfw==2.8.0 httplib2==0.20.2 idna==3.3 imageio==2.36.1 imageio-ffmpeg==0.5.1 imath==0.0.2 importlib-metadata==4.6.4 importlib_resources==6.4.5 jeepney==0.7.1 Jinja2==3.1.3 keyring==23.5.0 kiwisolver==1.4.8 language-selector==0.1 launchpadlib==1.10.16 lazr.restfulclient==0.14.4 lazr.uri==1.0.6 lazy_loader==0.4 libigl==2.5.1 llvmlite==0.43.0 louis==3.20.0 lxml==5.3.0 macaroonbakery==1.3.1 markdown-it-py==3.0.0 MarkupSafe==2.1.5 marshmallow==3.23.2 matplotlib==3.10.0 mdurl==0.1.2 more-itertools==8.10.0 moviepy==2.1.1 mpmath==1.3.0 mujoco==3.2.5 mypy-extensions==1.0.0 netifaces==0.11.0 networkx==3.2.1 numba==0.60.0 numpy==1.26.4 oauthlib==3.2.0 olefile==0.46 opencv-python==4.10.0.84 OpenEXR==3.3.2 packaging==24.2 pexpect==4.8.0 pillow==10.4.0 platformdirs==4.3.6 plotly==5.24.1 pooch==1.8.2 proglog==0.1.10 protobuf==3.12.4 psutil==6.1.1 ptyprocess==0.7.0 pycairo==1.20.1 pycollada==0.8 pycups==2.0.1 pydantic==2.7.1 pydantic_core==2.18.2 PyGEL3D==0.5.2 pyglet==1.5.27 pygltflib==1.16.0 Pygments==2.18.0 PyGObject==3.42.1 PyJWT==2.3.0 pymacaroons==0.13.0 pymeshlab==2023.12.post2 PyNaCl==1.5.0 PyOpenGL==3.1.0 pyparsing==2.4.7 pyrender==0.1.45 pyRFC3339==1.1 python-apt==2.4.0+ubuntu4 python-dateutil==2.8.1 python-debian==0.1.43+ubuntu1.1 python-dotenv==1.0.1 pytz==2022.1 pyvista==0.44.2 pyxdg==0.27 PyYAML==5.4.1 reportlab==3.6.8 requests==2.25.1 rich==13.9.4 scikit-image==0.25.0 scipy==1.14.1 scooby==0.10.0 screeninfo==0.8.1 SecretStorage==3.3.1 six==1.16.0 sympy==1.13.1 systemd-python==234 taichi==1.7.2 tenacity==9.0.0 tetgen==0.6.4 tifffile==2024.12.12 torch==2.5.1+cpu torchaudio==2.5.1+cpu torchvision==0.20.1+cpu tqdm==4.67.1 trimesh==4.5.3 typing-inspect==0.9.0 typing_extensions==4.12.2 ubuntu-drivers-common==0.0.0 ubuntu-pro-client==8001 ufw==0.36.1 unattended-upgrades==0.1 UNKNOWN @ file:///home/yekta/Genesis urllib3==1.26.5 vtk==9.3.1 wadllib==1.3.6 wrapt==1.17.0 xdg==5 xkit==0.0.0 zipp==1.0.0

RoninsCode avatar Dec 25 '24 19:12 RoninsCode