Code Monkey home page Code Monkey logo

Comments (4)

srchen1987 avatar srchen1987 commented on July 20, 2024 1

@n-jay

The problem has been solved. Thank you. We still need x11.

root@72970d3fb284:/root# /blender/blender -b -noaudio  box.blend -o  /root/ -F>
Blender 4.1.1 (hash e1743a0317bc built 2024-04-15 23:47:45)
Read blend: "/root/box.blend"
Fra:1 Mem:43.65M (Peak 44.72M) | Time:00:00.96 | Syncing Cube
Fra:1 Mem:43.69M (Peak 44.72M) | Time:00:01.59 | Syncing Light
Fra:1 Mem:43.69M (Peak 44.72M) | Time:00:01.59 | Syncing Camera
Fra:1 Mem:43.69M (Peak 44.72M) | Time:00:01.61 | Rendering 1 / 64 samples
Fra:1 Mem:43.70M (Peak 44.72M) | Time:00:14.12 | Rendering 26 / 64 samples
Fra:1 Mem:43.70M (Peak 44.72M) | Time:00:23.23 | Rendering 51 / 64 samples
Fra:1 Mem:43.70M (Peak 44.72M) | Time:00:28.00 | Rendering 64 / 64 samples
Saved: '/root/0001.png'

from opencue.

n-jay avatar n-jay commented on July 20, 2024 1

We still need x11.

Unless you plan on using it with OpenCue, it seems like you might have better luck with an image specific to your requirement such as this.

from opencue.

n-jay avatar n-jay commented on July 20, 2024

Hi @srchen1987

run docker
docker run -i -t -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix my.nexus.org:8088/blender-test:0.0.1 /bin/bash

Not quite sure of the purpose of running RQD Blender with a GUI with the /tmp/.X11-unix:/tmp/.X11-unix parameter.
RQD is intended to be a headless agent running on a render node that Cuebot manipulates.

The docker build and run commands for RQD can be found in the Deploying RQD documentation. Simply replace the source Dockerfile with this one.
The blender -b render command should work without issue from within the running container thereafter.

from opencue.

srchen1987 avatar srchen1987 commented on July 20, 2024

@n-jay Thank you for your reply.

If I remove this parameter like this

docker run -i -t  my.nexus.org:8088/blender-test:0.0.1  /bin/bash
[root@e7be9d17ba77 ~]#  blender -b -noaudio  box.blend -o  /root/ -F PNG -f 1
Blender 3.3.19 (hash cedcf1c73417 built 2024-05-21 00:02:22)
Read blend: /root/box.blend
Unable to open a display
Aborted (core dumped)

from opencue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.