rd-blender-docker icon indicating copy to clipboard operation
rd-blender-docker copied to clipboard

blender version 3.4.0 added to manifest.json

Open saurabhjadhav1911 opened this issue 3 years ago • 12 comments

new blender version 3.4.0 added to manifest.json

should we create GitHub action for generating docker images in this repo

saurabhjadhav1911 avatar Dec 07 '22 17:12 saurabhjadhav1911

In my testing, 3.4.0 image is missing libxkbcommon0.

rassie avatar Dec 14 '22 10:12 rassie

Thanks @saurabhjadhav1911!

In my testing, 3.4.0 image is missing libxkbcommon0.

@rassie thanks for testing, curios if you can elaborate? are you seeing errors come up? GPU and/or CPU images? also @saurabhjadhav1911 are you able to replicate this?

juniorxsound avatar Dec 28 '22 19:12 juniorxsound

@juniorxsound yes, fairly simple: I've built the image locally and then ran blender inside:

$ docker run -ti sha256:6e1c7129d91e89475a0ab67a8e7c576e6650ccabe1f19d29a53388ef40139e8d bash                                        
root@5ef114b13a72:/# blender
blender: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory

rassie avatar Dec 28 '22 19:12 rassie

@juniorxsound yes, fairly simple: I've built the image locally and then ran blender inside:

Thanks @rassie - Can you try running Blender headless blender -b -o /tmp/ -E CYCLES -f 1 does that work?

juniorxsound avatar Dec 28 '22 19:12 juniorxsound

@juniorxsound yes, fairly simple: I've built the image locally and then ran blender inside:

Thanks @rassie - Can you try running Blender headless blender -b -o /tmp/ -E CYCLES -f 1 does that work?

$ docker run -ti sha256:6e1c7129d91e89475a0ab67a8e7c576e6650ccabe1f19d29a53388ef40139e8d bash
root@19b842dd25af:/# blender -b -o /tmp/ -E CYCLES -f 1
blender: error while loading shared libraries: libxkbcommon.so.0: cannot open shared object file: No such file or directory

root@19b842dd25af:/# ldd $(which blender)
	linux-vdso.so.1 (0x00007ffe9a580000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1e5ca53000)
	libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f1e5c850000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1e5c631000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1e5c42d000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f1e5c0f5000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f1e5beeb000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f1e5bce5000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f1e5badf000)
	libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f1e5b8cf000)
	libxkbcommon.so.0 => not found
	libcycles_kernel_oneapi_aot.so => /bin/lib/libcycles_kernel_oneapi_aot.so (0x00007f1e567d7000)
	libsycl.so.6 => /bin/lib/libsycl.so.6 (0x00007f1e5638f000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1e55ff1000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1e55c00000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1e5cc5b000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1e559e8000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f1e557c0000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f1e555ae000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1e55225000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f1e55021000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f1e54e1b000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f1e54c06000)

I don't think CPU/GPU changes much, since the binary is linked against libxkbcommon.so.0 which is unavailable. The fix is of course easy, just add the library to the mix.

rassie avatar Dec 28 '22 19:12 rassie

Right, that makes sense and thanks for the extra context @rassie!

@saurabhjadhav1911 would you be able to add in libxkbcommon-x11-0 as a dep here, rebuild and commit the changes so we can test if that solves the issue above?

juniorxsound avatar Dec 28 '22 21:12 juniorxsound

Ok

saurabhjadhav1911 avatar Dec 28 '22 21:12 saurabhjadhav1911

@saurabhjadhav1911 I showed a possibility to use github action in #47.

Here is the demo repo: https://github.com/oliverpool/blender-cpu-image

I also had issues with libxkbcommon: https://github.com/oliverpool/blender-cpu-image/commit/e380167f5f7e297e443d8c42245cf8fa8365364a

oliverpool avatar Feb 10 '23 08:02 oliverpool

Can we bump this? Need 3.4!

ChibiLabs avatar May 24 '23 21:05 ChibiLabs

@juniorxsound do you mind taking a look and review this?

ChibiLabs avatar May 25 '23 11:05 ChibiLabs

@juniorxsound do you mind taking a look and review this?

Apologies but I no longer work at NYT and have no write access anymore. Tagging @markmckeague for visibility.

juniorxsound avatar May 25 '23 13:05 juniorxsound

@markmckeague any update? Is anyone maintaining this?

ChibiLabs avatar Jun 08 '23 17:06 ChibiLabs