howetuft
wrote:
↑
Fri Aug 16, 2024 3:40 am
But I have read from the help page of the render workbench that materialx neds to be install in the system.
No, MaterialX should be directly installed by Render (there should be a message like "[Render][Init] Checking package 'materialx' - OK" at initialization).
I would need the start log to help you further: can you please activate log messages report (in Preferences), restart FreeCAD, activate Render workbench, and copy/paste here the whole Report view content?
Can you also provide the requested information:
Python version (major/minor)
FreeCAD version
Render version
Thank you!
I believe you are refering to this:
"08:35:07 [Render][Init] Starting Render initialization
08:35:07 [Render][Init] Importing 'Assembly3'
08:35:07 [Render][Init] Importing 'Assembly3'... done
08:35:07 Loading MeshPart module... done
08:35:07 Loading Mesh module... done
08:35:07 [Render][Init] Checking dependencies...
08:35:07 [Render][Init] Checking Render virtual environment
08:35:07 [Render][Init] >>> Environment folder exists: OK
08:35:07 [Render][Init] >>> Environment provides Python: OK
08:35:07 [Render][Init] >>> Environment provides Pip: OK
08:35:07 [Render][Init] >>> /home/anuon/.local/share/FreeCAD/.rendervenv/bin/python -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=/home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse PyQt6
08:35:07 [Render][Init] >>> /home/anuon/.local/share/FreeCAD/.rendervenv/bin/python -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=/home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse PyQt6-WebEngine
08:35:07 [Render][Init] >>> /home/anuon/.local/share/FreeCAD/.rendervenv/bin/python -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=/home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse -I renderplugin
08:35:07 [Render][Init] >>> /home/anuon/.local/share/FreeCAD/.rendervenv/bin/python -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=/home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse QtPy
08:35:07 [Render][Init] >>> /home/anuon/.local/share/FreeCAD/.rendervenv/bin/python -u -m pip install --no-warn-script-location --only-binary=:all: --upgrade --find-links=/home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse materialx
08:35:18 [Render][Init] >>> Looking in links: /home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse
08:35:18 [Render][Init] >>> Looking in links: /home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse
08:35:18 [Render][Init] >>> Requirement already satisfied: PyQt6 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (6.7.1)
08:35:18 [Render][Init] >>> Looking in links: /home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse
08:35:18 [Render][Init] >>> Looking in links: /home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse
08:35:18 [Render][Init] >>> Looking in links: /home/anuon/.local/share/FreeCAD/Mod/Render/./wheelhouse
08:35:18 [Render][Init] >>> Requirement already satisfied: PyQt6-WebEngine in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (6.7.0)
08:35:18 [Render][Init] >>> Requirement already satisfied: QtPy in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (2.4.1)
08:35:19 [Render][Init] >>> Processing ./.local/share/FreeCAD/Mod/Render/wheelhouse/renderplugin-0.0.1-py2.py3-none-any.whl
08:35:19 [Render][Init] >>> Requirement already satisfied: PyQt6-sip<14,>=13.8 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from PyQt6) (13.8.0)
08:35:19 [Render][Init] >>> Requirement already satisfied: PyQt6-Qt6<6.8.0,>=6.7.0 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from PyQt6) (6.7.2)
08:35:19 [Render][Init] >>> Requirement already satisfied: packaging in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from QtPy) (24.1)
08:35:19 [Render][Init] >>> Requirement already satisfied: PyQt6-sip<14,>=13.6 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from PyQt6-WebEngine) (13.8.0)
08:35:19 [Render][Init] >>> Requirement already satisfied: PyQt6-WebEngine-Qt6<6.8.0,>=6.7.0 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from PyQt6-WebEngine) (6.7.2)
08:35:19 [Render][Init] >>> Requirement already satisfied: PyQt6>=6.2.0 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from PyQt6-WebEngine) (6.7.1)
08:35:19 [Render][Init] >>> Requirement already satisfied: PyQt6-Qt6<6.8.0,>=6.7.0 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from PyQt6>=6.2.0->PyQt6-WebEngine) (6.7.2)
08:35:19 [Render][Init] >>> Collecting materialx
08:35:19 [Render][Init] >>> Requirement already satisfied: PyQt6-WebEngineSubwheel-Qt6==6.7.2 in ./.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages (from PyQt6-WebEngine-Qt6<6.8.0,>=6.7.0->PyQt6-WebEngine) (6.7.2)
08:35:19 [Render][Init] >>> Installing collected packages: renderplugin
08:35:19 [Render][Init] >>>
08:35:19 [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
08:35:19 [Render][Init] >>> [notice] To update, run: python -m pip install --upgrade pip
08:35:19 [Render][Init] >>>
08:35:19 [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
08:35:19 [Render][Init] >>> [notice] To update, run: python -m pip install --upgrade pip
08:35:19 [Render][Init] >>>
08:35:19 [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
08:35:19 [Render][Init] >>> [notice] To update, run: python -m pip install --upgrade pip
08:35:19 [Render][Init] >>> Successfully installed renderplugin-0.0.1
08:35:19 [Render][Init] >>>
08:35:19 [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
08:35:19 [Render][Init] >>> [notice] To update, run: python -m pip install --upgrade pip
08:35:20 [Render][Init] Checking package 'PyQt6-WebEngine' - OK
08:35:20 [Render][Init] Checking package 'renderplugin' - OK
08:35:20 [Render][Init] Checking package 'PyQt6' - OK
08:35:20 [Render][Init] Checking package 'QtPy' - OK
08:35:20 [Render][Init] >>> Downloading materialx-1.39.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
08:35:21 [Render][Init] >>> Downloading materialx-1.39.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
08:35:40 [Render][Init] >>> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 219.2 kB/s eta 0:00:00
08:35:41 [Render][Init] >>> Installing collected packages: materialx
08:35:41 [Render][Init] >>> Successfully installed materialx-1.39.0
08:35:41 [Render][Init] >>>
08:35:41 [Render][Init] >>> [notice] A new release of pip is available: 24.1 -> 24.2
08:35:41 [Render][Init] >>> [notice] To update, run: python -m pip install --upgrade pip
08:35:41 [Render][Init] Checking package 'materialx' - OK
08:35:41 [Render][Init] Render virtual environment: OK
08:35:41 [Render][Init] Done.
08:35:53 Using old getstate/setstate system
08:37:01 Sketcher::setUpSketch()-T:0.076
08:37:01 Sketcher::Solve()-DogLeg-T:0
08:37:01 Sketcher::setUpSketch()-T:0.001
08:37:01 Sketcher::Solve()-DogLeg-T:0
08:38:44 Loading Render module... done
08:38:52 [Render][Init] Virtual environment Python version: (3, 10, 12)
08:38:52 [Render][Sub] COULD NOT set QTWEBENGINE_RESOURCES_PATH to '/home/anuon/.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages/PySide6/Qt/resources'
08:38:52 cd '/home/anuon/.local/share/FreeCAD/Mod/Render/./Render/plugins'
08:38:52 /home/anuon/.local/share/FreeCAD/.rendervenv/bin/python -E -u -m materialx
https://matlib.gpuopen.com/
--server /tmp/pymp-mzprn6ad/listener-hvcutia6
08:39:27 [Render][Sub] Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/bin/qtwebengine_dictionaries'
08:39:27 [Render][Sub]
08:39:29 [Render][Sub] Path override failed for key base::DIR_APP_DICTIONARIES and path '/home/anuon/.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages/PyQt6/Qt6/libexec/qtwebengine_dictionaries'
08:39:29 [Render][Sub]
08:39:29 [Render][Sub] Path override failed for key base::DIR_APP_DICTIONARIES and path '/home/anuon/.local/share/FreeCAD/.rendervenv/lib/python3.10/site-packages/PyQt6/Qt6/libexec/qtwebengine_dictionaries'
08:39:29 [Render][Sub]
08:39:47 [Render][Sub] [9512:9592:0816/083947.216272:ERROR:shared_context_state.cc(386)] OOP raster support disabled: GrContext creation failed.
08:39:47 [Render][Sub] [9512:9592:0816/083947.216324:ERROR:gpu_channel_manager.cc(1038)] ContextResult::kFatalFailure: Failed to initialize Skia for SharedContextState
08:39:47 [Render][Sub]
08:39:47 [Render][Sub] [9512:9592:0816/083947.217746:ERROR:shared_image_stub.cc(620)] SharedImageStub: unable to create context
08:39:47 [Render][Sub] [9512:9592:0816/083947.217927:ERROR:gpu_channel.cc(640)] GpuChannel: Failed to create SharedImageStub
08:39:47 [Render][Sub]
08:39:47 [Render][Sub] [9512:9592:0816/083947.228401:ERROR:shared_context_state.cc(386)] OOP raster support disabled: GrContext creation failed.
08:39:47 [Render][Sub] [9512:9592:0816/083947.228427:ERROR:gpu_channel_manager.cc(1038)] ContextResult::kFatalFailure: Failed to initialize Skia for SharedContextState
08:39:47 [Render][Sub] [9512:9592:0816/083947.232479:ERROR:shared_image_stub.cc(620)] SharedImageStub: unable to create context
08:39:47 [Render][Sub] [9512:9592:0816/083947.232519:ERROR:gpu_channel.cc(640)] GpuChannel: Failed to create SharedImageStub
08:39:47 [Render][Sub]
08:42:09 [Render][MaterialX] STARTING MATERIALX IMPORT
08:42:10 [Render][MaterialX] Extracting to /tmp/tmph3oll7j0
08:42:10 [Render][MaterialX] Reading MaterialX file
08:42:10 [Render][MaterialX] Translating material to Render format
08:42:12 [Render][MaterialX] IMPORT - ABORTED (-11)
08:42:12 [Render][MaterialX] Releasing /tmp/tmph3oll7j0
08:42:12 [Render][MaterialX] IMPORT TERMINATED"
render v2024.8.4