Tuesday, July 26, 2022

blRstr v1.0.4-beta available

blRstr v1.0.4-beta is available on github.
Changes:
  • Fix bounces > 1
  • Fixes for Environment Texture Node and World Node (environment lights)

2 comments:

  1. Hello! I am using a laptop with Nvidia RTX 3070 and a Ryzen 5900HX. I have had a bit of a time getting this set up. The addon would revert by default to the AMD GPU which only supports the Direct X 12_1 feature set. I managed to fix this by using the Windows settings to set the preferred GPU for the BLRSTR.exe file to my RTX 3070. This got me past that glitch but now I am left with another error code:

    BlRstrRenderEngine: register
    BlRstrRenderEngine: __init__
    SceneCache.__init__
    prefs: 'C:\Users\mojoj\OneDrive\Documents\Blender Add Ons\BlRSTR\blRstr.exe' 2015 '' 4096
    #### pyfile: C:\Users\mojoj\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\blRstr\BlRstrRenderEngine.py
    #### prefs_exe: C:\Users\mojoj\OneDrive\Documents\Blender Add Ons\BlRSTR\blRstr.exe
    #### prefs_port: 2015
    #### prefs_cache C:\Users\mojoj\OneDrive\Documents\Blender Add Ons\BlRSTR
    #### sock_port: 2015
    BLRSTR_MATHLSL_INCLPATH: C:/Users/mojoj/AppData/Roaming/Blender Foundation/Blender/3.1/scripts/addons/blRstr/hlsl
    BLRSTR_CSO_CACHE_DIR: C:/Users/mojoj/OneDrive/Documents/Blender Add Ons/BlRSTR/.blRstr_cso_cache
    BLRSTR_DDS_CACHE_DIR: C:/Users/mojoj/OneDrive/Documents/Blender Add Ons/BlRSTR/.blRstr_dds_cache
    BLRSTR_LICENSE_KEY.length(): 26
    BLRSTR_LOG_FILE:
    BLRSTR_LOG_LEVEL_FILE: 2
    BLRSTR_LOG_LEVEL_STDERR: 2
    #### app: C:\Users\mojoj\OneDrive\Documents\Blender Add Ons\BlRSTR\blRstr.exe
    #### exe: blRstr.exe
    #### dir: C:/Users/mojoj/OneDrive/Documents/Blender Add Ons/BlRSTR
    SceneCache.rstrClt:
    2420 blRstr: blRstr v1.0.4-beta
    2420 blRstr: CreateDescriptorHeap failed. NumDescriptors: 1024162 E_OUTOFMEMORY 0x8007000e
    2420 blRstr: dxu::ThrowIfFailed 0x8007000e
    2420 blRstr: caught: ThrowIfFailed
    2420 blRstr: caught: ThrowIfFailed
    SceneCache() caught: connect failed. exitCode: 3221225477
    SceneCache.__del__
    ~RstrClientPy()
    ~SockConn()
    "

    From what I can tell this is a Direct X error code which triggers if there is an error the program can't sucessfully run past. My best guess is that perhaps the code is not equipped to deal with the manual system override of the GPU?

    Any help would definitely be welcome, but in the meantime great job on the add-on and looking forward to further improvements for 1.0.5!

    Thank you!

    ReplyDelete
    Replies
    1. Looks like your hardware does not support more than 1000000 descriptors (see https://microsoft.github.io/DirectX-Specs/d3d/ResourceBinding.html#levels-of-hardware-support for details).

      Unfortunately blRstr has 1024162 descriptors hardcoded :-( Since I'm currently in the process of rewriting the code, I can't create a quick fix.

      I will fix this with the rewrite, but I can't give an ETA, since blRstr is a side project now.

      Delete