Closed clemens-holleis closed 2 years ago
Same issue when running cadvisor images, arch detected as amd64 but no MHz/GHz info is in the cpuinfo
Thanks for the report. We rely on QEMU
on a best effort basis.
Maybe it's better to try to use an arm64 base image and put a linux/arm64 version of Blender into an image?
I don't know that project and whether they provide linux/arm64 builds. But in general if problems arise this would be the next best option to avoid emulation at all.
Thank you for the reply. Emulation is currently necessary for two reasons. First the ARM versions of Blender are far behind the latest (besides the one for Mac M1). Second the container should be hosted in the cloud on x86. I posted the issue to QEMU here.
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
comment.
Stale issues will be closed after an additional 30 days of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen
comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
Also have this issue when running cadvisor images
I don't mean to be rude, but I'd hope to see Docker Desktop taking more ownership of this issue as QEMU is an implementation detail of a now commercial product?
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked
I tried to start Blender inside an amd docker container, emulated on M1 Mac, running noVNC to access the the GUI via Chrome. From Blender versions 2.8 and higher I get the following error message:
I posted the problem to Blender here and the issue seems to be the emulation of the container, not Blender.
What I found out so far
/proc/cpuinfo
file looks quite different on x86 and ARM machines – among other things ARM seems not to provide acpu MHz
information/proc/cpuinfo
reflects the host system not the emulated system inside the container – to verify this theory I tried:arch
saysaarch64
but the in neofetch the CPU saysIntel i7
and the/proc/cpuinfo
is also x86 likeBlender (or rather the Pixar USD library inside Blender... see comments) needs the
cpuMHz
not provided by the emulated system properly, and therefore most likely other projects using this lib as well.Information
Steps to reproduce the behavior
source build-and-launch.sh
to build the image and spin up a container