Blender crash when change to Cycles and select GPU Compute #118709
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#118709
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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,
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:
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
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
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.
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?
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.
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.
This is still unanswered
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.
Thanks. Can you check with factory settings in 4.1:
File > Defaults > Load Factory Settings
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.
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)
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 inC:\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
@MarcFreeDev, can you check if this build solves the problem?
https://builder.blender.org/download/patch/PR119315/
@MarcFreeDev Did you try to update the AMD iGPU driver? It would be important to know whether this issue in HIP is still present.
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. :)
@MarcFreeDev Did you use the same version of Adrenalin when Blender crashed too?
No, I just updated the drivers to last versión. I think my previously drivers where from November, or December 2023
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.
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.
Thanks! So it seems that the new driver fixed the issue, and the workaround in Blender is needed only for older drivers.
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.....