Blender crash when change to Cycles and select GPU Compute #118709

Closed
opened 2024-02-25 01:57:05 +01:00 by Marc Miralles · 22 comments

System Information
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.61

Blender Version
Broken: version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-02-22 20:09, hash: ced066e0c8db
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender crash when change to Cycles and select GPU Compute

Exact steps for others to reproduce the error
Simply open Blender with new file, go to render tab, select Cycles and GPU compute. Blender cracs and close it,

**System Information** Operating system: Windows-10-10.0.22621-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.61 **Blender Version** Broken: version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-02-22 20:09, hash: `ced066e0c8db` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender crash when change to Cycles and select GPU Compute **Exact steps for others to reproduce the error** Simply open Blender with new file, go to render tab, select Cycles and GPU compute. Blender cracs and close it,
Marc Miralles added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-02-25 01:57:06 +01:00
Iliya Katushenock added the
Interest
Render & Cycles
label 2024-02-25 07:57:14 +01:00
Member

Hi, #118020 might be related. Can you check again in recent 4.1 build: https://builder.blender.org/download/daily/
Share logs if crash persists:

Please open Blender's installation directory and double click on the blender_debug_gpu.cmd. This will start Blender in debug mode and create log files. Try to reproduce the
error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them
to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt (or simply type %TEMP% into the path bar of the Windows Explorer).2019_12_04_upload_icon_developer_blender_org.png

Hi, #118020 might be related. Can you check again in recent 4.1 build: https://builder.blender.org/download/daily/ Share logs if crash persists: > Please open Blender's installation directory and double click on the `blender_debug_gpu.cmd`. This will start Blender in debug mode and create log files. Try to reproduce the error again. Once it crashes or you close Blender manually the Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop. Please also upload the crash log located in `C:\Users\[your username]\AppData\Local\Temp\[project name].crash.txt` (or simply type `%TEMP%` into the path bar of the Windows Explorer).![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-02-26 04:37:18 +01:00
Author

Hi Pratik, I try again with last beta 4.1 daily build, and the result as the same.

I upload log files as you have indicated in your answer. Lot of thanks

Hi Pratik, I try again with last beta 4.1 daily build, and the result as the same. I upload log files as you have indicated in your answer. Lot of thanks
Member

Thanks. In logs, "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!" error is written.
Do you have AMD iGPU in laptop? Is it enabled for rendering in blender preferences? Edit > Preferences

Thanks. In logs, `"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"` error is written. Do you have AMD iGPU in laptop? Is it enabled for rendering in blender preferences? `Edit > Preferences`
Author

Hi, I have a RTX 3050 in Blender 4.02 it's enabled, and works fine. But in Blender 4.1 I don't have option for enable it. When I try to select OptiX or CUDA in system tab in Edit > Preferences, Blender 4.1 crash again.

I upload two screen shots, one from 4.0.2 and one for 4.1b Blender detects my RTX without problem in 4.0.2 version, but in 4.1 Graphic card isn't detected. If I try to select OptiX or CUDA, Blender crash.

Hi, I have a RTX 3050 in Blender 4.02 it's enabled, and works fine. But in Blender 4.1 I don't have option for enable it. When I try to select OptiX or CUDA in system tab in Edit > Preferences, Blender 4.1 crash again. I upload two screen shots, one from 4.0.2 and one for 4.1b Blender detects my RTX without problem in 4.0.2 version, but in 4.1 Graphic card isn't detected. If I try to select OptiX or CUDA, Blender crash.
Member

Thanks. Strange, I've the exact same GPU in laptop but unable to confirm the crash. Not sure hardware is to blame here since 4.0.2 does not crash. Did you get any information about crash in eventviewer or reliability monitor?

**System Information**
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01
Thanks. Strange, I've the exact same GPU in laptop but unable to confirm the crash. Not sure hardware is to blame here since 4.0.2 does not crash. Did you get any information about crash in eventviewer or reliability monitor? ``` **System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01 ```
Author

No, I don't get more information. Simply crash. I think hardware is not blame, since I use blender 4.0.2 every day without problems, but... if I try to use 4.1 it crash :(

"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"

Yes, it's strange. If Blender 4.0.2 and all older versions 3.6 LTS and older detect my GPU, I don't understand for what 4.1 doesn't detect it.

Something else I can do for help you to detect where is the problem? I have last NVIDIA Studio Driver installed.

No, I don't get more information. Simply crash. I think hardware is not blame, since I use blender 4.0.2 every day without problems, but... if I try to use 4.1 it crash :( "hipErrorNoBinaryForGpu: Unable to find code object for all current devices!" Yes, it's strange. If Blender 4.0.2 and all older versions 3.6 LTS and older detect my GPU, I don't understand for what 4.1 doesn't detect it. Something else I can do for help you to detect where is the problem? I have last NVIDIA Studio Driver installed.
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-02-27 11:56:52 +01:00
Member

Hi, does it crash when you render on CPU or the AMD iGPU? Would be good to have this information so we'll know if this is happening with specific hardware on your device.

Did you get any information about crash in eventviewer or reliability monitor?

This is still unanswered

Hi, does it crash when you render on CPU or the AMD iGPU? Would be good to have this information so we'll know if this is happening with specific hardware on your device. > Did you get any information about crash in eventviewer or reliability monitor? This is still unanswered
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-03-07 05:25:33 +01:00
Author

Hi, in CPU only it works fine, but if I try to change to GPU then Blender crash.

In Edit > Preferences > System I can't select GPU model. When I try to change tab to OptiX or CUDA for check GPU, Blender crash again.

In 4.0.2 when I select OptiX tab I can select with what GPU or CPU I want to make render. But in 4.1 it's not possible, no graphic card allowed.

Hi, in CPU only it works fine, but if I try to change to GPU then Blender crash. In Edit > Preferences > System I can't select GPU model. When I try to change tab to OptiX or CUDA for check GPU, Blender crash again. In 4.0.2 when I select OptiX tab I can select with what GPU or CPU I want to make render. But in 4.1 it's not possible, no graphic card allowed.
Member

Thanks. Can you check with factory settings in 4.1: File > Defaults > Load Factory Settings

Thanks. Can you check with factory settings in 4.1: `File > Defaults > Load Factory Settings`
Author

Hi,
I have the same problem even with the factory settings. I tested it again with today's build, but it was not the first time I did it.

I also removed the 4.1 folder from C:\Users\marc\AppData\Roaming\Blender Foundation\Blender, but 4.1 still fails to detect the graphics card and crashes again.

Hi, I have the same problem even with the factory settings. I tested it again with today's build, but it was not the first time I did it. I also removed the 4.1 folder from C:\Users\marc\AppData\Roaming\Blender Foundation\Blender, but 4.1 still fails to detect the graphics card and crashes again.
Member

Thanks. Not sure how specific version is affected here. --debug-cycles argument may reveal something.
@brecht @Alaska , any idea why Cycles is not detecting hardware in specific blender version? (Though GPU is correctly captured in system info)

Thanks. Not sure how specific version is affected here. `--debug-cycles` argument may reveal something. @brecht @Alaska , any idea why Cycles is not detecting hardware in specific blender version? (Though GPU is correctly captured in system info)
Member

I'm not the best person to ask on this matter, but I'll provide some ideas.

I'm doubtful the RTX 3050 is causing issue. The drivers are modern, the GPU is modern, it works in 4.0.2, and @PratikPB2123 with the same GPU model doesn't have issues. There's probably an issue with the AMD GPU. Updating the AMD GPU drivers may help here. @MarcFreeDev can you try this?

If that doesn't help, then knowing where the crash occurs would help. If you open Blender 4.1 from blender_debug_log.cmd then go through the steps to enable your graphics card in Cycles, then Blender will crash. You will be taken to a folder that should contain a file that ends with .crash.txt. This is the crash log and uploading it here would help. If the file isn't there, then it should be in C:\Users\Marc\AppData\Local\Temp\[project name].crash.txt. If there is no log, then that's also important to know.


hipErrorNoBinaryForGpu: Unable to find code object for all current devices! This might be expected. The Ryzen 7 5800H has a Vega 8 type GPU. According to resources online, Vega 8 is either gfx902, gfx903, gfx90c, I'm not sure which, and it may change based on the specific variant. If it's gfx903, then Cycles doesn't compile binaries for it and that would explain why no binaries could be found for it.

I'm not the best person to ask on this matter, but I'll provide some ideas. I'm doubtful the RTX 3050 is causing issue. The drivers are modern, the GPU is modern, it works in 4.0.2, and @PratikPB2123 with the same GPU model doesn't have issues. There's probably an issue with the AMD GPU. Updating the AMD GPU drivers may help here. @MarcFreeDev can you try this? If that doesn't help, then knowing where the crash occurs would help. If you open Blender 4.1 from `blender_debug_log.cmd` then go through the steps to enable your graphics card in Cycles, then Blender will crash. You will be taken to a folder that should contain a file that ends with `.crash.txt`. This is the crash log and uploading it here would help. If the file isn't there, then it should be in `C:\Users\Marc\AppData\Local\Temp\[project name].crash.txt`. If there is no log, then that's also important to know. --- `hipErrorNoBinaryForGpu: Unable to find code object for all current devices!` This might be expected. The Ryzen 7 5800H has a Vega 8 type GPU. According to resources online, Vega 8 is either gfx902, gfx903, gfx90c, I'm not sure which, and it may change based on the specific variant. If it's gfx903, then Cycles doesn't compile binaries for it and that would explain why no binaries could be found for it.

I think this most likely started happening because of OpenImageDenoise GPU support detection.

It's probably similar to this, where the HIP driver decides to exit the application instead of returning an error:
https://github.com/ROCm/ROCm/issues/1623

I think this most likely started happening because of OpenImageDenoise GPU support detection. It's probably similar to this, where the HIP driver decides to exit the application instead of returning an error: https://github.com/ROCm/ROCm/issues/1623

@MarcFreeDev, can you check if this build solves the problem?
https://builder.blender.org/download/patch/PR119315/

@MarcFreeDev, can you check if this build solves the problem? https://builder.blender.org/download/patch/PR119315/
Blender Bot added
Status
Resolved
and removed
Status
Needs Information from User
labels 2024-03-11 15:09:39 +01:00
Contributor

@MarcFreeDev Did you try to update the AMD iGPU driver? It would be important to know whether this issue in HIP is still present.

@MarcFreeDev Did you try to update the AMD iGPU driver? It would be important to know whether this issue in HIP is still present.
Author

Hi,
With, "Adrenalin Edition v 24.1.1 (01/04/2024)" now Blender can select the graphic card, and cycles issue is fixed in my laptop. This option is now working properly again. :)

Hi, With, "Adrenalin Edition v 24.1.1 (01/04/2024)" now Blender can select the graphic card, and cycles issue is fixed in my laptop. This option is now working properly again. :)
Contributor

@MarcFreeDev Did you use the same version of Adrenalin when Blender crashed too?

@MarcFreeDev Did you use the same version of Adrenalin when Blender crashed too?
Author

No, I just updated the drivers to last versión. I think my previously drivers where from November, or December 2023

No, I just updated the drivers to last versión. I think my previously drivers where from November, or December 2023
Contributor

Thanks. Could you please try the previous Blender binaries which crashed with this new driver? It would be useful to know whether the driver fixed the issue, which Blender needs to work around in a rather problematic way.

Thanks. Could you please try the previous Blender binaries which crashed with this new driver? It would be useful to know whether the driver fixed the issue, which Blender needs to work around in a rather problematic way.
Author

Of Course:

I've used, for try, blender-4.1.0-beta+v41.3d6bb6ce04ad-windows.amd64-release from 01/march/ 2024 and with new drivers it works fine.

this version with the old drivers did not work.

Of Course: I've used, for try, blender-4.1.0-beta+v41.3d6bb6ce04ad-windows.amd64-release from 01/march/ 2024 and with new drivers it works fine. this version with the old drivers did not work.
Contributor

Thanks! So it seems that the new driver fixed the issue, and the workaround in Blender is needed only for older drivers.

Thanks! So it seems that the new driver fixed the issue, and the workaround in Blender is needed only for older drivers.
Author

Yes, update to last drivers works for me, but with older drivers Blender 4.0.2 woks fine. But not 4.1 beta.

But, I don''t are sure if with others computers update drives will be the solution to issue. This works form me but.....

Yes, update to last drivers works for me, but with older drivers Blender 4.0.2 woks fine. But not 4.1 beta. But, I don''t are sure if with others computers update drives will be the solution to issue. This works form me but.....
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#118709
No description provided.