Page 1 of 2

Could not initialize DXGI adapter

Posted: Wed Nov 13, 2024 1:26 pm
by Hallsworth
I'm getting a reoccurring issue when I try to render with Octane in C4D.

I hit render, and the Log pops up with this message:

Started logging on 13.11.24 13:16:11

OctaneRender Studio+ 2024.1 (14000011)

Preparing to download cuDNN files to the directory C:\ProgramData\OctaneRender\thirdparty\cudnn_8_0_4.
Could not initialize DXGI adapater
initOCIOconfig cfgFile: OCIO_ENV:
disableAllDevices
VRAM used/free/max:0Kb/23.999Gb/23.999Gb Out-of-core used:0Kb RAM used:38.109Gb total:255.871Gb OpenGL free/total:0/0
--------------------------- EXPORT LOG ---------------------------
Export materials time= 2077.822 ms
Collect objects time= 3.832 ms
Mesh creation time = 454.961 ms.
DXGI adapter not initialized
DXGI adapter not initialized
DXGI adapter not initialized
Api update time: 3.789 ms.
Could not initialize DXGI adapater
MB:0/0 ST/MOV:0/29 Nodes:123 Tris:2.659m DispTris:0 Hairs:0 Meshes:34
Textures Grey8/16:0/0 Rgb32/64:0/1



I have not seen any mention of DXGI on the forum, so scratching my head at this point!

I seem to be able to get around it temporarily if I create a new render setting – set up everything from scratch including AOVs, output paths, etc, and try again. That got it working for a minute. But I realised my samples were too high, so stopped the render, adjusted them, restarted the render, and this error pops up again.


System –

OS Windows 11 Pro version 10.0.22631 (23H2)
2 x NVIDIA RTX 3090 GPUs - driver 565.90
256 GB RAM
AMD Ryzen Threadripper 3960X 24-Core Processor 3.80 GHz

Octane 2024.1-[R2] (have tried R3 too).
C4D 2024.5.1

Re: Could not initialize DXGI adapter

Posted: Thu Nov 14, 2024 8:09 am
by bepeg4d
Hi,
weird, what happens if you run OctaneRender Standalone 2024.1?
https://render.otoy.com/customerdownloa ... _1_win.exe

Anyway, definitely better if you write to help at otoy dot com, since this is not a common issue.

ciao,
Beppe

Re: Could not initialize DXGI adapter

Posted: Tue Dec 17, 2024 11:34 pm
by Kalua
I also have this problem
Running Octane 2024.1 R3 on C4D 2025.0.0

Started logging on 16.12.24 17:29:21

OctaneRender Studio+ 2024.1 (14000011)

Could not initialize DXGI adapater
initOCIOconfig useother:1 cfgFile:C:\Users\XXX\Documents\GitHub\OpenColorIO-Configs\aces_1.2\config.ocio OCIO_ENV:
OCIO config file:C:\Users\XXX\Documents\GitHub\OpenColorIO-Configs\aces_1.2\config.ocio loaded.
disableAllDevices
VRAM used/free/max:0Kb/23.999Gb/23.999Gb Out-of-core used:0Kb RAM used:27.156Gb total:127.901Gb OpenGL free/total:0/0
Scene created in plugin version 14000009
Scene plugin version is older than version:2024.1-[R3]
Plugin will convert the parameters of displacement texture.
Animated attributes should be changed by manually!
DXGI adapter not initialized
DXGI adapter not initialized
DXGI adapter not initialized
--------------------------- EXPORT LOG ---------------------------
DXGI adapter not initialized
DXGI adapter not initialized
DXGI adapter not initialized
Export materials time= 48403.954 ms
Collect objects time= 380.163 ms
Mesh creation time = 35106.038 ms.
Api update time: 12.784 ms.
VRAM used/free/max:20.753Gb/632Mb/23.999Gb Out-of-core used:9.835Gb RAM used:97.062Gb total:127.901Gb OpenGL free/total:0/0
disableAllDevices
device 0: failed to bind device to thread, since it's already bound
device 0: failed to initialize context
device 0: failed to initialize render thread 0000028CA13074A0
MB:0/0 ST/MOV:0/0 Nodes:28156 Tris:0 DispTris:0 Hairs:0 Meshes:0
Textures Grey8/16:0/0 Rgb32/64:0/0

Re: Could not initialize DXGI adapter

Posted: Tue Dec 17, 2024 11:38 pm
by Kalua
Could anyone from the team please take a look at this?

Re: Could not initialize DXGI adapter

Posted: Tue Dec 17, 2024 11:42 pm
by Kalua
Hallsworth wrote:I'm getting a reoccurring issue when I try to render with Octane in C4D.

I hit render, and the Log pops up with this message:

Started logging on 13.11.24 13:16:11

OctaneRender Studio+ 2024.1 (14000011)

Preparing to download cuDNN files to the directory C:\ProgramData\OctaneRender\thirdparty\cudnn_8_0_4.
Could not initialize DXGI adapater
initOCIOconfig cfgFile: OCIO_ENV:
disableAllDevices
VRAM used/free/max:0Kb/23.999Gb/23.999Gb Out-of-core used:0Kb RAM used:38.109Gb total:255.871Gb OpenGL free/total:0/0
--------------------------- EXPORT LOG ---------------------------
Export materials time= 2077.822 ms
Collect objects time= 3.832 ms
Mesh creation time = 454.961 ms.
DXGI adapter not initialized
DXGI adapter not initialized
DXGI adapter not initialized
Api update time: 3.789 ms.
Could not initialize DXGI adapater
MB:0/0 ST/MOV:0/29 Nodes:123 Tris:2.659m DispTris:0 Hairs:0 Meshes:34
Textures Grey8/16:0/0 Rgb32/64:0/1



I have not seen any mention of DXGI on the forum, so scratching my head at this point!

I seem to be able to get around it temporarily if I create a new render setting – set up everything from scratch including AOVs, output paths, etc, and try again. That got it working for a minute. But I realised my samples were too high, so stopped the render, adjusted them, restarted the render, and this error pops up again.


System –

OS Windows 11 Pro version 10.0.22631 (23H2)
2 x NVIDIA RTX 3090 GPUs - driver 565.90
256 GB RAM
AMD Ryzen Threadripper 3960X 24-Core Processor 3.80 GHz

Octane 2024.1-[R2] (have tried R3 too).
C4D 2024.5.1
interesting, u also running 2x3090.
Do you have Nvlink enabled?
My problem usually happens with heavy scenes.

Re: Could not initialize DXGI adapter

Posted: Wed Dec 18, 2024 8:14 am
by bepeg4d
Hi,
it should be Nvidia driver related.

Please try to roll back to previous Nvidia Studio driver with a clean install, and report back, thanks.

ciao,
Beppe

Re: Could not initialize DXGI adapter

Posted: Wed Dec 18, 2024 9:32 am
by Hallsworth
I've been having constant issues to be honest, which sometimes give the DXGI error, sometimes OCIO related... CUDA 700, CUDA 999.. you name it.

I have recently tried the following:

Removed all graphics drivers with DDU, and perform a clean install of driver NVIDIA Studio driver 552.22, and 560.94

Swapped the GPUs around on the motherboard, to ensure they're seated correctly and just to see if it helped..

Disabled one GPU at a time through Octane settings to check whether it was related to one specific card – it was not, the errors still occur with only one card enabled.

Removed my NVLink adapter.

Completely removed Octane and reinstalled.

I've just tried this in Cinema 4D 2024.5.1 with Octane 2023.1.3-[R6] and got this error log:

Started logging on 18.12.24 09:18:10

OctaneRender Studio+ 2023.1.3 (13000300)

initOCIOconfig cfgFile: OCIO_ENV:
disableAllDevices
VRAM used/free/max:0Kb/23.999Gb/23.999Gb Out-of-core used:0Kb RAM used:25.247Gb total:255.851Gb OpenGL free/total:0/0
--------------------------- EXPORT LOG ---------------------------
Export materials time= 480.635 ms
*** Calculating motion blur on frame:-1
*** Calculating motion blur on frame:0
TIMES=-1 0 motionCnt=439/20000 timeps:0.001 MT:0 Time=10729.95 ms.
Collect objects time= 10754.219 ms
Mesh creation time = 608.013 ms.
Failed to build OCIO output transform for imager: No OCIO config loaded
Api update time: 4.106 ms.
MB:1/1 ST/MOV:0/35 Nodes:161 Tris:3.309m DispTris:836k Hairs:0 Meshes:43
Textures Grey8/16:5/0 Rgb32/64:1/0

Re: Could not initialize DXGI adapter

Posted: Wed Dec 18, 2024 9:36 am
by Hallsworth
I should note that the OCIO settings are fine. I can wait for a minute without changing anything, hit the render button again, and it works.

It seems completely random. Yet means that I can't leave an animation rendering, because it often hits a point after so many frames that it fails and pops up the error log again.

Re: Could not initialize DXGI adapter

Posted: Wed Dec 18, 2024 7:08 pm
by Kalua
Hallsworth wrote:I've been having constant issues to be honest, which sometimes give the DXGI error, sometimes OCIO related... CUDA 700, CUDA 999.. you name it.

I have recently tried the following:

Removed all graphics drivers with DDU, and perform a clean install of driver NVIDIA Studio driver 552.22, and 560.94

Swapped the GPUs around on the motherboard, to ensure they're seated correctly and just to see if it helped..

Disabled one GPU at a time through Octane settings to check whether it was related to one specific card – it was not, the errors still occur with only one card enabled.

Removed my NVLink adapter.

Completely removed Octane and reinstalled.

I've just tried this in Cinema 4D 2024.5.1 with Octane 2023.1.3-[R6] and got this error log:

Started logging on 18.12.24 09:18:10

OctaneRender Studio+ 2023.1.3 (13000300)

initOCIOconfig cfgFile: OCIO_ENV:
disableAllDevices
VRAM used/free/max:0Kb/23.999Gb/23.999Gb Out-of-core used:0Kb RAM used:25.247Gb total:255.851Gb OpenGL free/total:0/0
--------------------------- EXPORT LOG ---------------------------
Export materials time= 480.635 ms
*** Calculating motion blur on frame:-1
*** Calculating motion blur on frame:0
TIMES=-1 0 motionCnt=439/20000 timeps:0.001 MT:0 Time=10729.95 ms.
Collect objects time= 10754.219 ms
Mesh creation time = 608.013 ms.
Failed to build OCIO output transform for imager: No OCIO config loaded
Api update time: 4.106 ms.
MB:1/1 ST/MOV:0/35 Nodes:161 Tris:3.309m DispTris:836k Hairs:0 Meshes:43
Textures Grey8/16:5/0 Rgb32/64:1/0
Sounds like u ran out of options to me.
Funny to see you have similar hardware as I do.
I am using Studio Driver 560.94
Will roll back to 522.

Re: Could not initialize DXGI adapter

Posted: Thu Dec 19, 2024 7:18 am
by bepeg4d
Ok, try to reset c4doctane preferences.
To do so, please close c4d, then delete the oct.dat file at the following path, the c4doctane preferences will be reset to default, and a new oct.dat file will be created on next c4d start:
`C:\Users\USERNAME\AppData\Roaming\MAXON\Cinema4D-RXX_RANDOM_CODE\prefs\oct.dat`

Looking forward for your feedback.

ciao,
Beppe