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

Error in opengl #14

Open
lixiangweiabc opened this issue Jan 5, 2024 · 3 comments
Open

Error in opengl #14

lixiangweiabc opened this issue Jan 5, 2024 · 3 comments

Comments

@lixiangweiabc
Copy link

Hi, I want to run this project on a cloud server through mobaxterm.
When I run the cmd evc -t gui -c configs/projects/realtime4dv/rendering/4k4d_actor5_6.yaml,configs/specs/video.yaml,get a error in function def common_opengl_options().
Could you please give me me some advice about the error. Hope your reply.
common_opengl_options

The log

╭─────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────╮
│ /data/shaenli/4K4D/easyvolcap/utils/console_utils.py:338 in inner                                                                        │
│                                                                                                                                          │
│ ❱ 338 │   │   │   return func(*args, **kwargs)                                                                                           │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/engine/registry.py:56 in inner                                                                             │
│                                                                                                                                          │
│ ❱  56 │   │   return call_from_cfg(func, cfg)                                                                                            │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/engine/registry.py:47 in call_from_cfg                                                                     │
│                                                                                                                                          │
│ ❱  47 │   return func(**call_args)                                                                                                       │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/scripts/main.py:119 in gui                                                                                 │
│                                                                                                                                          │
│ ❱ 119 │   viewer: "VolumetricVideoViewer" = RUNNERS.build(viewer_cfg, runner=runner)  # will start the window                            │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/engine/registry.py:300 in build                                                                            │
│                                                                                                                                          │
│ ❱ 300 │   │   return self.build_func(*args, **kwargs, registry=self)                                                                     │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/engine/registry.py:131 in build_from_cfg                                                                   │
│                                                                                                                                          │
│ ❱ 131 │   return call_from_cfg(obj_cls, args)                                                                                            │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/engine/registry.py:47 in call_from_cfg                                                                     │
│                                                                                                                                          │
│ ❱  47 │   return func(**call_args)                                                                                                       │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/runners/volumetric_video_viewer.py:123 in __init__                                                         │
│                                                                                                                                          │
│ ❱  123 │   │   self.init_opengl()                                                                                                        │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/runners/volumetric_video_viewer.py:1247 in init_opengl                                                     │
│                                                                                                                                          │
│ ❱ 1247 │   │   common_opengl_options()                                                                                                   │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/utils/gl_utils.py:65 in common_opengl_options                                                              │
│                                                                                                                                          │
│ ❱   65 │   gl.glEnable(gl.GL_ALPHA_TEST)                                                                                                 │
│                                                                                                                                          │
│ /root/miniconda3/lib/python3.11/site-packages/OpenGL/error.py:228 in glCheckError                                                        │
│                                                                                                                                          │
│ ❱ 228 │   │   │   │   │   raise GLError(                                                                                                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
GLError: GLError(
        err = 1280,
        baseOperation = glEnable,
        cArguments = (GL_ALPHA_TEST,)
)
*** GLError(
        err = 1280,
        baseOperation = glEnable,
        cArguments = (GL_ALPHA_TEST,)
)
> /root/miniconda3/lib/python3.11/site-packages/OpenGL/error.py(228)glCheckError()
    226                 err = self._currentChecker()
    227                 if err != self._noErrorResult:
--> 228                     raise GLError(
    229                         err,
    230                         result,

environment

  • OS:Ubuntu 22.04.2 LTS
  • CUDA:11.8
# packages in environment at /root/miniconda3:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
absl-py                   2.0.0                    pypi_0    pypi
addict                    2.4.0                    pypi_0    pypi
ansi2html                 1.9.1                    pypi_0    pypi
antlr4-python3-runtime    4.9.3                    pypi_0    pypi
anyio                     4.2.0                    pypi_0    pypi
aom                       3.7.1                h59595ed_0    conda-forge
archspec                  0.2.1              pyhd3eb1b0_0  
argon2-cffi               23.1.0                   pypi_0    pypi
argon2-cffi-bindings      21.2.0                   pypi_0    pypi
arrow                     1.3.0                    pypi_0    pypi
asttokens                 2.4.1                    pypi_0    pypi
async-lru                 2.0.4                    pypi_0    pypi
attrs                     23.2.0                   pypi_0    pypi
autopep8                  2.0.4                    pypi_0    pypi
babel                     2.14.0                   pypi_0    pypi
beautifulsoup4            4.12.2                   pypi_0    pypi
black                     23.12.1                  pypi_0    pypi
bleach                    6.1.0                    pypi_0    pypi
blessed                   1.20.0                   pypi_0    pypi
blinker                   1.7.0                    pypi_0    pypi
boltons                   23.1.1             pyhd8ed1ab_0    conda-forge
brotli-python             1.1.0           py311hb755f60_1    conda-forge
bzip2                     1.0.8                h7b6447c_0  
c-ares                    1.24.0               hd590300_0    conda-forge
ca-certificates           2023.12.12           h06a4308_0  
cachetools                5.3.2                    pypi_0    pypi
cairo                     1.18.0               h3faef2a_0    conda-forge
calmsize                  0.1.3                    pypi_0    pypi
certifi                   2023.11.17      py311h06a4308_0  
cffi                      1.16.0          py311hb3a22ac_0    conda-forge
charset-normalizer        2.0.4              pyhd3eb1b0_0  
chumpy                    0.70                     pypi_0    pypi
clang-format              17.0.6                   pypi_0    pypi
click                     8.1.7                    pypi_0    pypi
cloudpickle               3.0.0                    pypi_0    pypi
cmake                     3.28.1               hcfe8598_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
comm                      0.2.1                    pypi_0    pypi
commentjson               0.9.0                    pypi_0    pypi
conda                     23.11.0         py311h06a4308_0  
conda-content-trust       0.2.0              pyhd8ed1ab_0    conda-forge
conda-libmamba-solver     23.12.0            pyhd3eb1b0_1  
conda-package-handling    2.2.0              pyh38be061_0    conda-forge
conda-package-streaming   0.9.0              pyhd8ed1ab_0    conda-forge
configargparse            1.7                      pypi_0    pypi
contourpy                 1.2.0                    pypi_0    pypi
cryptography              41.0.7          py311hcb13ee4_1    conda-forge
cuda-cudart               12.1.105                      0    nvidia
cuda-cupti                12.1.105                      0    nvidia
cuda-libraries            12.1.0                        0    nvidia
cuda-nvrtc                12.1.105                      0    nvidia
cuda-nvtx                 12.1.105                      0    nvidia
cuda-opencl               12.3.101                      0    nvidia
cuda-python               12.3.0                   pypi_0    pypi
cuda-runtime              12.1.0                        0    nvidia
curl                      8.5.0                hca28451_0    conda-forge
cycler                    0.12.1                   pypi_0    pypi
dash                      2.14.2                   pypi_0    pypi
dash-core-components      2.0.0                    pypi_0    pypi
dash-html-components      2.0.0                    pypi_0    pypi
dash-table                5.0.0                    pypi_0    pypi
dav1d                     1.2.1                hd590300_0    conda-forge
debugpy                   1.8.0                    pypi_0    pypi
decorator                 5.1.1                    pypi_0    pypi
defusedxml                0.7.1                    pypi_0    pypi
detectron2                0.6                      pypi_0    pypi
diff-gauss                1.0.5                    pypi_0    pypi
distro                    1.9.0              pyhd8ed1ab_0    conda-forge
docstring-parser          0.15                     pypi_0    pypi
dotmap                    1.3.30                   pypi_0    pypi
easyvolcap                0.0.0                    pypi_0    pypi
einops                    0.7.0                    pypi_0    pypi
et-xmlfile                1.1.0                    pypi_0    pypi
executing                 2.0.1                    pypi_0    pypi
expat                     2.5.0                hcb278e6_1    conda-forge
fast-autocomplete         0.9.0                    pypi_0    pypi
fastjsonschema            2.19.1                   pypi_0    pypi
ffmpeg                    6.1.1           gpl_h186bccc_100    conda-forge
filelock                  3.9.0                    pypi_0    pypi
flask                     3.0.0                    pypi_0    pypi
flatbuffers               23.5.26                  pypi_0    pypi
fmt                       10.1.1               h00ab1b0_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_1    conda-forge
fontconfig                2.14.2               h14ed4e7_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.47.0                   pypi_0    pypi
fqdn                      1.5.1                    pypi_0    pypi
freetype                  2.12.1               h267a509_2    conda-forge
freetype-py               2.4.0                    pypi_0    pypi
fribidi                   1.0.10               h36c2ea0_0    conda-forge
fsspec                    2023.12.2                pypi_0    pypi
func-timeout              4.3.5                    pypi_0    pypi
fvcore                    0.1.5.post20221221          pypi_0    pypi
gettext                   0.21.1               h27087fc_0    conda-forge
git                       2.43.0          pl5321h7bc287a_0    conda-forge
glfw                      2.6.4                    pypi_0    pypi
gmp                       6.3.0                h59595ed_0    conda-forge
gnutls                    3.7.9                hb077bed_0    conda-forge
google-auth               2.26.1                   pypi_0    pypi
google-auth-oauthlib      1.2.0                    pypi_0    pypi
gpustat                   1.2.dev19+gf4cd639          pypi_0    pypi
graphite2                 1.3.13            h58526e2_1001    conda-forge
grpcio                    1.60.0                   pypi_0    pypi
h5py                      3.10.0                   pypi_0    pypi
harfbuzz                  8.3.0                h3d44ed6_0    conda-forge
human-body-prior          2.2.2.0                  pypi_0    pypi
hydra-core                1.3.2                    pypi_0    pypi
icu                       73.2                 h59595ed_0    conda-forge
idna                      3.6                pyhd8ed1ab_0    conda-forge
imageio                   2.33.1                   pypi_0    pypi
imgui-bundle              1.1.0                    pypi_0    pypi
importlib-metadata        7.0.1                    pypi_0    pypi
iopath                    0.1.9                    pypi_0    pypi
ipdb                      0.13.13                  pypi_0    pypi
ipykernel                 6.28.0                   pypi_0    pypi
ipython                   8.19.0                   pypi_0    pypi
ipywidgets                8.1.1                    pypi_0    pypi
isoduration               20.11.0                  pypi_0    pypi
itsdangerous              2.1.2                    pypi_0    pypi
jedi                      0.19.1                   pypi_0    pypi
jinja2                    3.1.2                    pypi_0    pypi
joblib                    1.3.2                    pypi_0    pypi
json5                     0.9.14                   pypi_0    pypi
jsonpatch                 1.32               pyhd3eb1b0_0  
jsonpointer               2.1                pyhd3eb1b0_0  
jsonschema                4.20.0                   pypi_0    pypi
jsonschema-specifications 2023.12.1                pypi_0    pypi
jupyter                   1.0.0                    pypi_0    pypi
jupyter-client            8.6.0                    pypi_0    pypi
jupyter-console           6.6.3                    pypi_0    pypi
jupyter-core              5.7.0                    pypi_0    pypi
jupyter-events            0.9.0                    pypi_0    pypi
jupyter-lsp               2.2.1                    pypi_0    pypi
jupyter-server            2.12.2                   pypi_0    pypi
jupyter-server-terminals  0.5.1                    pypi_0    pypi
jupyterlab                4.0.10                   pypi_0    pypi
jupyterlab-pygments       0.3.0                    pypi_0    pypi
jupyterlab-server         2.25.2                   pypi_0    pypi
jupyterlab-widgets        3.0.9                    pypi_0    pypi
keyutils                  1.6.1                h166bdaf_0    conda-forge
kiwisolver                1.4.5                    pypi_0    pypi
kornia                    0.7.1                    pypi_0    pypi
krb5                      1.21.2               h659d440_0    conda-forge
lame                      3.100             h166bdaf_1003    conda-forge
lark-parser               0.7.8                    pypi_0    pypi
lazy-loader               0.3                      pypi_0    pypi
ld_impl_linux-64          2.38                 h1181459_1  
libarchive                3.7.2                h2aa1ff5_1    conda-forge
libass                    0.17.1               h8fe9dca_1    conda-forge
libcublas                 12.1.0.26                     0    nvidia
libcufft                  11.0.2.4                      0    nvidia
libcufile                 1.8.1.2                       0    nvidia
libcurand                 10.3.4.107                    0    nvidia
libcurl                   8.5.0                hca28451_0    conda-forge
libcusolver               11.4.4.55                     0    nvidia
libcusparse               12.0.2.55                     0    nvidia
libdrm                    2.4.114              h166bdaf_0    conda-forge
libedit                   3.1.20230828         h5eee18b_0  
libev                     4.33                 h7f8727e_1  
libevent                  2.1.10               h28343ad_4    conda-forge
libexpat                  2.5.0                hcb278e6_1    conda-forge
libffi                    3.4.4                h6a678d5_0  
libgcc-ng                 13.2.0               h807b86a_3    conda-forge
libglib                   2.78.3               h783c2da_0    conda-forge
libgomp                   13.2.0               h807b86a_3    conda-forge
libiconv                  1.17                 hd590300_2    conda-forge
libidn2                   2.3.4                h166bdaf_0    conda-forge
libmamba                  1.5.6                had39da4_0    conda-forge
libmambapy                1.5.6           py311hf2555c7_0    conda-forge
libnghttp2                1.58.0               h47da74e_1    conda-forge
libnpp                    12.0.2.50                     0    nvidia
libnsl                    2.0.1                hd590300_0    conda-forge
libnvjitlink              12.1.105                      0    nvidia
libnvjpeg                 12.1.1.14                     0    nvidia
libopus                   1.3.1                h7f98852_1    conda-forge
libpciaccess              0.17                 h166bdaf_0    conda-forge
libpng                    1.6.39               h753d276_0    conda-forge
libsolv                   0.7.24               he621ea3_0  
libsqlite                 3.44.2               h2797004_0    conda-forge
libssh2                   1.11.0               h0841786_0    conda-forge
libstdcxx-ng              13.2.0               h7e041cc_3    conda-forge
libtasn1                  4.19.0               h166bdaf_0    conda-forge
libunistring              0.9.10               h7f98852_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libuv                     1.46.0               hd590300_0    conda-forge
libva                     2.20.0               hd590300_0    conda-forge
libvpx                    1.13.1               h59595ed_0    conda-forge
libxcb                    1.15                 h0b41bf4_0    conda-forge
libxcrypt                 4.4.36               hd590300_1    conda-forge
libxml2                   2.12.3               h232c23b_0    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
lpips                     0.1.4                    pypi_0    pypi
lz4-c                     1.9.4                h6a678d5_0  
lzo                       2.10              h516909a_1000    conda-forge
mamba                     1.5.6           py311h3072747_0    conda-forge
markdown                  3.5.1                    pypi_0    pypi
markdown-it-py            3.0.0                    pypi_0    pypi
markupsafe                2.1.3                    pypi_0    pypi
matplotlib                3.8.2                    pypi_0    pypi
matplotlib-inline         0.1.6                    pypi_0    pypi
mdurl                     0.1.2                    pypi_0    pypi
mediapipe                 0.10.9                   pypi_0    pypi
memory-tempfile           2.2.3                    pypi_0    pypi
menuinst                  2.0.1           py311h38be061_0    conda-forge
mistune                   3.0.2                    pypi_0    pypi
mpmath                    1.3.0                    pypi_0    pypi
msgpack                   1.0.7                    pypi_0    pypi
munch                     4.0.0                    pypi_0    pypi
mypy-extensions           1.0.0                    pypi_0    pypi
nbclient                  0.9.0                    pypi_0    pypi
nbconvert                 7.14.0                   pypi_0    pypi
nbformat                  5.9.2                    pypi_0    pypi
ncurses                   6.4                  h59595ed_2    conda-forge
nest-asyncio              1.5.8                    pypi_0    pypi
nettle                    3.9.1                h7ab15ed_0    conda-forge
networkx                  3.0                      pypi_0    pypi
ninja                     1.11.1.1                 pypi_0    pypi
notebook                  7.0.6                    pypi_0    pypi
notebook-shim             0.2.3                    pypi_0    pypi
numpy                     1.24.1                   pypi_0    pypi
nvdiffrast                0.3.1                    pypi_0    pypi
nvidia-cublas-cu12        12.1.3.1                 pypi_0    pypi
nvidia-cuda-cupti-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-nvrtc-cu12    12.1.105                 pypi_0    pypi
nvidia-cuda-runtime-cu12  12.1.105                 pypi_0    pypi
nvidia-cudnn-cu12         8.9.2.26                 pypi_0    pypi
nvidia-cufft-cu12         11.0.2.54                pypi_0    pypi
nvidia-curand-cu12        10.3.2.106               pypi_0    pypi
nvidia-cusolver-cu12      11.4.5.107               pypi_0    pypi
nvidia-cusparse-cu12      12.1.0.106               pypi_0    pypi
nvidia-ml-py              12.535.133               pypi_0    pypi
nvidia-nccl-cu12          2.18.1                   pypi_0    pypi
nvidia-nvjitlink-cu12     12.3.101                 pypi_0    pypi
nvidia-nvtx-cu12          12.1.105                 pypi_0    pypi
oauthlib                  3.2.2                    pypi_0    pypi
omegaconf                 2.3.0                    pypi_0    pypi
open3d                    0.18.0                   pypi_0    pypi
opencv-contrib-python     4.9.0.80                 pypi_0    pypi
opencv-python             4.9.0.80                 pypi_0    pypi
openh264                  2.4.0                h59595ed_0    conda-forge
openpyxl                  3.1.2                    pypi_0    pypi
openssl                   3.2.0                hd590300_1    conda-forge
overrides                 7.4.0                    pypi_0    pypi
p11-kit                   0.24.1               hc5aa10d_0    conda-forge
packaging                 23.2               pyhd8ed1ab_0    conda-forge
pandas                    2.1.4                    pypi_0    pypi
pandocfilters             1.5.0                    pypi_0    pypi
parso                     0.8.3                    pypi_0    pypi
pathspec                  0.12.1                   pypi_0    pypi
pcre2                     10.42                hebb0a14_0  
pdbr                      0.8.8                    pypi_0    pypi
perl                      5.32.1          7_hd590300_perl5    conda-forge
pexpect                   4.9.0                    pypi_0    pypi
pillow                    10.2.0                   pypi_0    pypi
pip                       23.3.2             pyhd8ed1ab_0    conda-forge
pixman                    0.42.2               h59595ed_0    conda-forge
platformdirs              4.1.0              pyhd8ed1ab_0    conda-forge
plotly                    5.18.0                   pypi_0    pypi
pluggy                    1.3.0              pyhd8ed1ab_0    conda-forge
plyfile                   1.0.2                    pypi_0    pypi
portalocker               2.8.2                    pypi_0    pypi
prometheus-client         0.19.0                   pypi_0    pypi
prompt-toolkit            3.0.43                   pypi_0    pypi
protobuf                  3.20.3                   pypi_0    pypi
psutil                    5.9.7                    pypi_0    pypi
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptyprocess                0.7.0                    pypi_0    pypi
pure-eval                 0.2.2                    pypi_0    pypi
pyasn1                    0.5.1                    pypi_0    pypi
pyasn1-modules            0.3.0                    pypi_0    pypi
pybind11-abi              4                    hd3eb1b0_1  
pycocotools               2.0.7                    pypi_0    pypi
pycodestyle               2.11.1                   pypi_0    pypi
pycosat                   0.6.6           py311h459d7ec_0    conda-forge
pycparser                 2.21               pyhd3eb1b0_0  
pyglet                    2.0.10                   pypi_0    pypi
pyglm                     2.7.1                    pypi_0    pypi
pygments                  2.17.2                   pypi_0    pypi
pymcubes                  0.1.4                    pypi_0    pypi
pymeshlab                 2023.12                  pypi_0    pypi
pyntcloud                 0.3.1                    pypi_0    pypi
pyopengl                  3.1.0                    pypi_0    pypi
pyopenssl                 23.3.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.1.1                    pypi_0    pypi
pyperclip                 1.8.2                    pypi_0    pypi
pyquaternion              0.9.9                    pypi_0    pypi
pyrender                  0.1.45                   pypi_0    pypi
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.11.7          hab00c5b_1_cpython    conda-forge
python-dateutil           2.8.2                    pypi_0    pypi
python-json-logger        2.0.7                    pypi_0    pypi
python_abi                3.11                    4_cp311    conda-forge
pytorch-cuda              12.1                 ha16c6d3_5    pytorch
pytorch-memlab            0.3.0                    pypi_0    pypi
pytorch-msssim            1.0.0                    pypi_0    pypi
pytorch3d                 0.7.5                    pypi_0    pypi
pyturbojpeg               1.7.3                    pypi_0    pypi
pytz                      2023.3.post1             pypi_0    pypi
pyyaml                    6.0.1                    pypi_0    pypi
pyzmq                     25.1.2                   pypi_0    pypi
qtconsole                 5.5.1                    pypi_0    pypi
qtpy                      2.4.1                    pypi_0    pypi
readline                  8.2                  h5eee18b_0  
referencing               0.32.0                   pypi_0    pypi
reproc                    14.2.4               h295c915_1  
reproc-cpp                14.2.4               h295c915_1  
requests                  2.31.0             pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.1                    pypi_0    pypi
retrying                  1.3.4                    pypi_0    pypi
rfc3339-validator         0.1.4                    pypi_0    pypi
rfc3986-validator         0.1.1                    pypi_0    pypi
rhash                     1.4.4                hd590300_0    conda-forge
rich                      13.7.0                   pypi_0    pypi
rpds-py                   0.16.2                   pypi_0    pypi
rsa                       4.9                      pypi_0    pypi
ruamel.yaml               0.18.5          py311h459d7ec_0    conda-forge
ruamel.yaml.clib          0.2.7           py311h459d7ec_2    conda-forge
scikit-image              0.22.0                   pypi_0    pypi
scikit-learn              1.3.2                    pypi_0    pypi
scipy                     1.11.4                   pypi_0    pypi
send2trash                1.8.2                    pypi_0    pypi
setuptools                69.0.3             pyhd8ed1ab_0    conda-forge
shtab                     1.6.5                    pypi_0    pypi
simple-knn                0.0.0                    pypi_0    pypi
six                       1.16.0                   pypi_0    pypi
smplx                     0.1.28                   pypi_0    pypi
sniffio                   1.3.0                    pypi_0    pypi
sounddevice               0.4.6                    pypi_0    pypi
soupsieve                 2.5                      pypi_0    pypi
sqlite                    3.41.2               h5eee18b_0  
stack-data                0.6.3                    pypi_0    pypi
svt-av1                   1.8.0                h59595ed_0    conda-forge
sympy                     1.12                     pypi_0    pypi
tabulate                  0.9.0                    pypi_0    pypi
tenacity                  8.2.3                    pypi_0    pypi
tensorboard               2.15.1                   pypi_0    pypi
tensorboard-data-server   0.7.2                    pypi_0    pypi
tensorboardx              2.6.2.2                  pypi_0    pypi
termcolor                 2.4.0                    pypi_0    pypi
terminado                 0.18.0                   pypi_0    pypi
threadpoolctl             3.2.0                    pypi_0    pypi
tifffile                  2023.12.9                pypi_0    pypi
timg                      1.1.6                    pypi_0    pypi
tinycss2                  1.2.1                    pypi_0    pypi
tinycudann                1.7                      pypi_0    pypi
tk                        8.6.13          noxft_h4845f30_101    conda-forge
tmux                      3.3                  h385fc29_0    conda-forge
tomli                     2.0.1                    pypi_0    pypi
torch                     2.1.0+cu118              pypi_0    pypi
torch-scatter             2.1.2                    pypi_0    pypi
torch-tb-profiler         0.4.3                    pypi_0    pypi
torchaudio                2.1.0+cu118              pypi_0    pypi
torchdiffeq               0.2.3                    pypi_0    pypi
torchmcubes               0.1.0                    pypi_0    pypi
torchvision               0.16.0+cu118             pypi_0    pypi
tornado                   6.4                      pypi_0    pypi
tqdm                      4.66.1             pyhd8ed1ab_0    conda-forge
traitlets                 5.14.1                   pypi_0    pypi
trimesh                   4.0.8                    pypi_0    pypi
triton                    2.1.0                    pypi_0    pypi
truststore                0.8.0              pyhd8ed1ab_0    conda-forge
types-python-dateutil     2.8.19.14                pypi_0    pypi
typing-extensions         4.4.0                    pypi_0    pypi
tyro                      0.6.3                    pypi_0    pypi
tzdata                    2023.4                   pypi_0    pypi
ujson                     5.9.0                    pypi_0    pypi
uri-template              1.3.0                    pypi_0    pypi
urllib3                   2.1.0              pyhd8ed1ab_0    conda-forge
vim                       9.0.2059        py311pl5321hf9d0b55_1    conda-forge
wcwidth                   0.2.12                   pypi_0    pypi
webcolors                 1.13                     pypi_0    pypi
webencodings              0.5.1                    pypi_0    pypi
websocket-client          1.7.0                    pypi_0    pypi
werkzeug                  3.0.1                    pypi_0    pypi
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
widgetsnbextension        4.0.9                    pypi_0    pypi
x264                      1!164.3095           h166bdaf_2    conda-forge
x265                      3.5                  h924138e_3    conda-forge
xatlas                    0.0.8                    pypi_0    pypi
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.1.1                hd590300_0    conda-forge
xorg-libsm                1.2.4                h7391055_0    conda-forge
xorg-libx11               1.8.7                h8ee46fc_0    conda-forge
xorg-libxau               1.0.11               hd590300_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h0b41bf4_2    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxrender           0.9.11               hd590300_0    conda-forge
xorg-libxt                1.3.0                hd590300_1    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h0b41bf4_1003    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.4.5                h5eee18b_0  
yacs                      0.1.8                    pypi_0    pypi
yaml-cpp                  0.8.0                h6a678d5_0  
yapf                      0.40.2                   pypi_0    pypi
zipp                      3.17.0                   pypi_0    pypi
zlib                      1.2.13               hd590300_5    conda-forge
zstandard                 0.22.0          py311haa97af0_0    conda-forge
zstd                      1.5.5                hc292b87_0
@dendenxu
Copy link
Member

dendenxu commented Jan 5, 2024

Hi, @lixiangweiabc!

Looks like there are several issues to address:

  1. You've installed pyopengl==3.1.0. If this is the modified version from EasyMocap's guide, it might not be compatible with easyvolcap. Maybe try updating it with pip install -U pyopengl. The latest version should be 3.1.7
  2. You mentioned that this is run through an X-server using a cloud server and it looks like you've already successfully created the opengl context. The options ALPHA_TEST and POINT_SPRITE were not available in recent opengl version so you could just try commenting them out in the code and see if we can successfully render. This could be due to the fact that we're running through a remote X-server. I added a window hint to use the compatibility profile during window initialization, but it might have been ignored.
  3. It's recommended to run EasyVolcap's viewer locally. Running through X-server might hit the performance pretty hard.

Moreover, could you please also test if you can run off-screen rendering by replacing -t gui with -t test?

@lixiangweiabc
Copy link
Author

Hi,thank you for your address.I had tried the cmd evc -t test -c configs/projects/realtime4dv/rendering/4k4d_actor5_6.yaml,configs/specs/video.yaml by replacing -t gui with -t test. I got the next error:

╭─────────────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────────────╮
│ /root/miniconda3/bin/evc:5 in <module>                                                                                                   │
│                                                                                                                                          │
│   2 # -*- coding: utf-8 -*-                                                                                                              │
│   3 import re                                                                                                                            │
│   4 import sys                                                                                                                           │
│ ❱ 5 from easyvolcap.scripts.main import main_entrypoint                                                                                  │
│   6 if __name__ == '__main__':                                                                                                           │
│   7 │   sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])                                                                 │
│   8 │   sys.exit(main_entrypoint())                                                                                                      │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/scripts/main.py:25 in <module>                                                                             │
│                                                                                                                                          │
│    22 │   from easyvolcap.runners.volumetric_video_runner import VolumetricVideoRunner                                                   │
│    23 │   from easyvolcap.runners.volumetric_video_viewer import VolumetricVideoViewer                                                   │
│    24                                                                                                                                    │
│ ❱  25 from easyvolcap.utils.data_utils import DataSplit                                                                                  │
│    26 from easyvolcap.utils.base_utils import dotdict                                                                                    │
│    27 from easyvolcap.utils.dist_utils import synchronize, get_rank, get_distributed                                                     │
│    28 from easyvolcap.utils.net_utils import setup_deterministic, number_of_params                                                       │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/utils/data_utils.py:24 in <module>                                                                         │
│                                                                                                                                          │
│     21 from torch.utils.data._utils.collate import default_collate, default_convert                                                      │
│     22                                                                                                                                   │
│     23 from easyvolcap.utils.parallel_utils import parallel_execution                                                                    │
│ ❱   24 from easyvolcap.utils.net_utils import get_rigid_transform_nobatch as net_get_rigid_transform                                     │
│     25 from easyvolcap.utils.base_utils import dotdict                                                                                   │
│     26 from easyvolcap.utils.console_utils import *                                                                                      │
│     27                                                                                                                                   │
│                                                                                                                                          │
│ /data/shaenli/4K4D/easyvolcap/utils/net_utils.py:33 in <module>                                                                          │
│                                                                                                                                          │
│     30 │   from easyvolcap.models.networks.volumetric_video_network import VolumetricVideoNetwork                                        │
│     31 │   from easyvolcap.models.networks.multilevel_network import MultilevelNetwork                                                   │
│     32                                                                                                                                   │
│ ❱   33 cudart = torch.cuda.cudart()                                                                                                      │
│     34                                                                                                                                   │
│     35                                                                                                                                   │
│     36 def indices_to_coords(idx: torch.Tensor, H: int, W: int):                                                                         │
│                                                                                                                                          │
│ /root/miniconda3/lib/python3.11/site-packages/torch/cuda/__init__.py:324 in cudart                                                       │
│                                                                                                                                          │
│    321                                                                                                                                   │
│    322                                                                                                                                   │
│    323 def cudart():                                                                                                                     │
│ ❱  324 │   _lazy_init()                                                                                                                  │
│    325 │   return _cudart                                                                                                                │
│    326                                                                                                                                   │
│    327                                                                                                                                   │
│                                                                                                                                          │
│ /root/miniconda3/lib/python3.11/site-packages/torch/cuda/__init__.py:298 in _lazy_init                                                   │
│                                                                                                                                          │
│    295 │   │   # are found or any other error occurs                                                                                     │
│    296 │   │   if "CUDA_MODULE_LOADING" not in os.environ:                                                                               │
│    297 │   │   │   os.environ["CUDA_MODULE_LOADING"] = "LAZY"                                                                            │
│ ❱  298 │   │   torch._C._cuda_init()                                                                                                     │
│    299 │   │   # Some of the queued calls may reentrantly call _lazy_init();                                                             │
│    300 │   │   # we need to just return without initializing in that case.                                                               │
│    301 │   │   # However, we must not let any *other* threads in!                                                                        │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: The NVIDIA driver on your system is too old (found version 11040). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver.

My nvidia driver version is :470.161.03, but my cuda version is:11.8. That might be incompatible. I will try a new machine with compatible nvidia driver and cuda. Could you please recommend a suitable Nvidia driver and cuda version on an ubuntu 18.04 machine.

@dendenxu
Copy link
Member

dendenxu commented Jan 8, 2024

Indeed, looks like cuda 11.8 is not supported for the 470.161.03 driver. We usually run with 525.125.06 and CUDA 11.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants