I’m attempting to build USD with Prman and it’s successfully building, but when I attempt to open usdviewer using Prman renderer it fails to connect. Viewing with GL works without any issue.
I have environment vars set for everything I think I should need - specifically:
PATH: C:\Program Files\Pixar\RenderManProServer-25.2\bin; C:\Program Files\Pixar\RenderManProServer-25.2\lib; path\to\USD\usd_build\bin; path\to\USD\usd_build\lib
PYTHONPATH: path\to\USD\usd_build\lib\python
RMANTREE: C:\Program Files\Pixar\RenderManProServer-25.2
RMAN_RIXPLUGINPATH: C:\Program Files\Pixar\RenderManProServer-25.2\lib\plugins
RMAN_SHADERPATH: C:\Program Files\Pixar\RenderManProServer-25.2\lib\shaders; path\to\USD\usd-build\plugin\usd\resources\shaders
RMAN_TEXTUREPATH: C:\Program Files\Pixar\RenderManProServer-25.2\lib\textures; C:\Program Files\Pixar\RenderManProServer-25.2\lib\plugins; path\to\USD\usd-build\plugin\usd
I've tried various combinations of build flags with no success.
Error log (usdview view panel stays black, while this prints to the terminal):
`PS path\to\USD-Render> usdview --renderer Prman .\test_scene.usda
Warning: in Load at line 112 of path\to\USD\OpenUSD\pxr\imaging\plugin\hdPrmanLoader\rendererPlugin.cpp – Could not load versioned hdPrman backend: The specified module could not be found.
ERROR: Usdview encountered an error while updating selection.
Error in ‘pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’
Error in ‘pxrInternal_v0_23pxrReserved::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’
Traceback (most recent call last):
File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL
renderer = self.getRenderer()
File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer
self.renderer = UsdImagingGL.Engine()
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’
Error in 'pxrInternal_v0_23pxrReserved_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’
Traceback (most recent call last):
File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL
renderer = self.getRenderer()
File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer
self.renderer = UsdImagingGL.Engine()
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’
Error in 'pxrInternal_v0_23pxrReserved_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’
Traceback (most recent call last):
File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL
renderer = self.getRenderer()
File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer
self.renderer = UsdImagingGL.Engine()
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’
Error in 'pxrInternal_v0_23pxrReserved_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’`
Description of Issue
I’m attempting to build USD with Prman and it’s successfully building, but when I attempt to open usdviewer using Prman renderer it fails to connect. Viewing with GL works without any issue.
I have environment vars set for everything I think I should need - specifically: PATH: C:\Program Files\Pixar\RenderManProServer-25.2\bin; C:\Program Files\Pixar\RenderManProServer-25.2\lib; path\to\USD\usd_build\bin; path\to\USD\usd_build\lib PYTHONPATH: path\to\USD\usd_build\lib\python RMANTREE: C:\Program Files\Pixar\RenderManProServer-25.2 RMAN_RIXPLUGINPATH: C:\Program Files\Pixar\RenderManProServer-25.2\lib\plugins RMAN_SHADERPATH: C:\Program Files\Pixar\RenderManProServer-25.2\lib\shaders; path\to\USD\usd-build\plugin\usd\resources\shaders RMAN_TEXTUREPATH: C:\Program Files\Pixar\RenderManProServer-25.2\lib\textures; C:\Program Files\Pixar\RenderManProServer-25.2\lib\plugins; path\to\USD\usd-build\plugin\usd
I've tried various combinations of build flags with no success.
Steps to Reproduce
usdview --renderer Prman .\usd-renderer\scenes\top.geom.usd
System Information (OS, Hardware)
Windows 10
Package Versions
OpenUSD v23.08 (also tried 23.11) Python 3.9.13 Prman 25.2
Build Flags
Error log (usdview view panel stays black, while this prints to the terminal):
`PS path\to\USD-Render> usdview --renderer Prman .\test_scene.usda Warning: in Load at line 112 of path\to\USD\OpenUSD\pxr\imaging\plugin\hdPrmanLoader\rendererPlugin.cpp – Could not load versioned hdPrman backend: The specified module could not be found.
ERROR: Usdview encountered an error while updating selection. Error in ‘pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’ Error in ‘pxrInternal_v0_23pxrReserved::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’ Traceback (most recent call last): File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL renderer = self.getRenderer() File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer self.renderer = UsdImagingGL.Engine() pxr.Tf.ErrorException: Error in 'pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’ Error in 'pxrInternal_v0_23pxrReserved_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’ Traceback (most recent call last): File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL renderer = self.getRenderer() File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer self.renderer = UsdImagingGL.Engine() pxr.Tf.ErrorException: Error in 'pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’ Error in 'pxrInternal_v0_23pxrReserved_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’ Traceback (most recent call last): File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 1621, in paintGL renderer = self.getRenderer() File “path\to\USD\usd_build\lib\python\pxr\Usdviewq\stageView.py”, line 943, in getRenderer self.renderer = UsdImagingGL.Engine() pxr.Tf.ErrorException: Error in 'pxrInternal_v0_23pxrReserved::UsdImagingGLEngine::SetRendererPlugin’ at line 976 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘Invalid plugin id or plugin is unsupported: HdPrmanLoaderRendererPlugin’ Error in 'pxrInternal_v0_23pxrReserved_::UsdImagingGLEngine’ at line 208 in file path\to\USD\OpenUSD\pxr\usdImaging\usdImagingGL\engine.cpp : ‘No renderer plugins found!’`