Skip to content

blender version 3.4.0 added to manifest.json#51

Open
saurabhjadhav1911 wants to merge 6 commits into
nytimes:masterfrom
saurabhjadhav1911:saurabhjadhav1911-patch-1
Open

blender version 3.4.0 added to manifest.json#51
saurabhjadhav1911 wants to merge 6 commits into
nytimes:masterfrom
saurabhjadhav1911:saurabhjadhav1911-patch-1

Conversation

@saurabhjadhav1911

Copy link
Copy Markdown

new blender version 3.4.0 added to manifest.json

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

new blender version 3.4.0 added to manifest.json

should we GitHub action for generating docker images in this repo
@rassie

rassie commented Dec 14, 2022

Copy link
Copy Markdown

In my testing, 3.4.0 image is missing libxkbcommon0.

@juniorxsound

Copy link
Copy Markdown
Contributor

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?

@rassie

rassie commented Dec 28, 2022

Copy link
Copy Markdown

@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

@juniorxsound

Copy link
Copy Markdown
Contributor

@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?

@rassie

rassie commented Dec 28, 2022

Copy link
Copy Markdown

@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.

@juniorxsound

Copy link
Copy Markdown
Contributor

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?

@saurabhjadhav1911

Copy link
Copy Markdown
Author

Ok

@oliverpool

Copy link
Copy Markdown
Contributor

@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

@ChibiLabs

Copy link
Copy Markdown

Can we bump this? Need 3.4!

@ChibiLabs

Copy link
Copy Markdown

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

@juniorxsound

Copy link
Copy Markdown
Contributor

@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.

@ChibiLabs

Copy link
Copy Markdown

@markmckeague any update? Is anyone maintaining this?

@ChibiLabs ChibiLabs mentioned this pull request Jun 13, 2023
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

Successfully merging this pull request may close these issues.

5 participants