Closed jiaxiangshang closed 3 years ago
We don't currently have plans to support CentOS. But I didn't know there is an online service that uses only CentOS, can you tell me what it is?
Oh sorry i didn't make it clear,it is our servers rather than the online server(like Colab). But, it is really difficult to make nvdiffrast work on centos, looking forward to your further supporting.
This was touched previously in issue #28 and the situation has not changed. We have no experience with CentOS and haven't developed nvdiffrast with it in mind, so providing support could be a significant undertaking if there are missing packages, obsolete drivers, and so on.
As such, we do not expect to actively support CentOS for the time being. I can only suggest trying to find a way to get all the required dependencies installed in CentOS, and if after that nvdiffrast still refuses to run, then it might be a problem in the code itself and potentially worth looking into.
Ok, thanks for your help.
I have installed nvdiffrast on centos successfully.
Hi @wuneng! If you have the time, could you please briefly outline the (non-trivial) steps that were needed to get it working?
It would be great to be able to point here in the documentation, so that others can benefit from your solution too.
Hi @wuneng ! Can you share the installation steps briefly? This is a great help for beginners. Thank you.
Hi @wuneng! If you have the time, could you please briefly outline the (non-trivial) steps that were needed to get it working?
It would be great to be able to point here in the documentation, so that others can benefit from your solution too.
Hi, have you solved this problem?
@XinYu-Andy @o0Helloworld0o That's all, good luck.
RUN yum install -y mesa-libGLU mesa-libGLU-devel
RUN yum install -y mesa*
RUN yum install -y freeglut*
RUN yum install -y *GLEW*
RUN yum -y install glew glew-devel glfw glfw-devel
RUN yum install -y ninja-build
RUN unzip ninja.zip && mv ninja /usr/bin
RUN unzip nvdiffrast.zip && mv /nvdiffrast/docker/10_nvidia.json /usr/share/glvnd/egl_vendor.d/
RUN rm ninja.zip && rm nvdiffrast.zip
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
ENV LD_LIBRARY_PATH /usr/lib64:$LD_LIBRARY_PATH
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility,graphics
ENV PYOPENGL_PLATFORM egl
RUN cd /nvdiffrast && pip install .
Hi all, really nice work and it is very convenient on ubuntu. However, the online server always centos, will you update some support on centos? Thanks.