-
Notifications
You must be signed in to change notification settings - Fork 20
Build based on Blender 2.83.1 #13
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -101,4 +101,5 @@ ENV/ | |
| .mypy_cache/ | ||
|
|
||
| # Don't include build files in source tree | ||
| bpy_lambda/ | ||
| bpy_lambda/ | ||
| bpy_lambda_layer.zip | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| rm bpy_lambda_layer.zip | ||
| mkdir package && mkdir package/python && mv bpy_lambda package/python/ | ||
| cd package && zip -r9 ../bpy_lambda_layer.zip . | ||
| cd .. && mv ./package/python/bpy_lambda . | ||
| rmdir package/python && rmdir package |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| docker run --rm -u root -v "$PWD":/var/task:ro,delegated lambci/lambda:python3.6 test.handler | ||
| docker run --rm -u root -v "$PWD":/var/task:ro,delegated lambci/lambda:python3.7 test.handler | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using 3.7 hangs indefinitely for me, but 3.6 runs correctly. Are you able to get a successful test run using 3.7?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 3.7 hangs for me too. I wasn't sure about reverting to 3.6 or figuring out why I also tested on an Amazon Linux based Light Sail instance and got the segmentation fault with both Python 3.6 and 3.7 What do you think could be the issue behind this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not a lot of help to add, but I was able to run 3.7 with a different test.py script that I configured to test specific to my project. Does not have "remesh" so perhaps that's the culprit as salimhb identifies.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm... Yeah, the only thing I can think of is that the I'd be fine with changing the test -- but it is unfortunate to have this regression. @markhohmann: Do you have ideas for a test handler that'd exercise basic blender functionality without calling the remesh operation?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @markhohmann can you try this patch and check if it resolves the error "Unable to open display". I added some X11 and GL libs: https://gist.github.com/salimhb/92be32bd629b15b03e94bdc0f8e8b8f5 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @bcongdon For me I think the basic functionality anyone would need would be: 1) create an object 2) add a material and 3) render to output. Meaning, would people typically use blender on the server side without doing those things? I'm sure there are a ton of use cases that fall outside, but if we test for these major ones, hopefully we can create a foundational test others could extend. Let me know if you have thoughts on essential use cases beyond the three above. I'll submit a test handler.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @markhohmann I think these steps sound good. Did you try my last patch to fix the error "Unable to open display"? |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps since this is no longer being set in the make options, that's what is causing the remesh operation to fail?
I tried enabling this manually, but the test still hangs on 3.7 for me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so.
WITH_MOD_REMESHis ON by default. After runninginstall_deps.shyou can checked in~/blender-git/build_linux_bpy/CMakeCache.txtand it is ON. The value ofBUILD_CMAKE_ARGSbelow is from the output ofinstall_deps.sh