Cycles HIP device crash on rendering on latest AMD Adrenaline Driver #110392
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#110392
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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 11 Pro for Workstation
Graphics card: AMD Radeon RX 6750XT (Driver: AMD Adrenaline 23.7.1, 23.7.2 23.8.1 23.9.1)
Blender Version
Broken: 3.6.1 LTS (On latest driver)
Worked: 3.6.1 LTS (On old driver: AMD Adrenaline 23.5.2)
Short description of error
After synchronizing objects, Blender crash
But render the default cube scene Blender works well even using 23.7.1 driver
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
Scene is from Blender official demo file:
https://svn.blender.org/svnroot/bf-blender/trunk/lib/benchmarks/cycles/barbershop_interior/
Crash log file:
cc @BrianSavery
Added to #109431 for all HIP related bugs.
@HowardBlandy hi, can you check if this is fixed in newer driver release 23.7.2?: https://www.amd.com/en/support/graphics/amd-radeon-rx-6000-series/amd-radeon-rx-6700-series/amd-radeon-rx-6750-xt
Nope, the problem still exists
Crash log are following:
Cycles HIP device crash on rendering on AMD Adrenaline 23.7.1to Cycles HIP device crash on rendering on AMD Adrenaline 23.7.1 & 23.7.2Blender crashes for me as well on Blender 3.6.1 and 4 alpha using HIP with a Radeon RX 7900 XTX. All my drivers are up to date as well as Windows 11. I removed all add-ons and it still crashes on GPU compute. I tested with just a standard cube with an "image texture" added to it with the default "repeat" extension. The error in the crash log seems to be a HipMemeUnmap error. The image I tested with is only 1024x1024 image.
@Robert-Taylor-2 , so you're observing the crash with a default resolution image?
Render failure due to high res image is known a issue for AMD/HIP devices: #91571
But it should not crash 😅
So, I did some research on this issue. Seems that the glitch is from Image Texture Node (with or without image, Blender will crash). Blender viewport render will crash on "Updating Image" step
Using generated texture (e.g. Noise Texture, Voronoi Texture etc.) Blender works well.
This issue not only occurred in objects but also occurred in world with HDRI (Environment Texture Node)
I made a simplified blend file down here and it's crash log.
Blender version is 3.6.2 LTS
A 1024x1024 is not a large image. I also tried limiting the texture size in the viewport properties and it still crashed Blender when I tried to go to render in viewport. I also just tested a 256x256 png image and it still crashes.
Is there HIP software I need to install that isn't included in the base AMD Adrenaline driver software? I tried downloading the AMD HIP SDK and Blender still crashes when I try to go to GPU computer in the viewport with an image texture node.
https://www.amd.com/en/developer/rocm-hub/hip-sdk.html
Can confirm that this is an issue using blender version 3.6.2.
I tested 3.6.3. It crashes on that version as well. And with the 4.0 Alpha it'll lock my entire system when I try to render. It may be related to HIP though. But I haven't found anything about that from AMD. I tried building Blender on my computer, however, I can't seem to get it to include the HIP engine in my build. I was following the instructions at https://wiki.blender.org/wiki/Building_Blender/GPU_Binaries
I'll have to Google until I can figure out why my build won't see my 7900 XTX GPU.
Cycles HIP device crash on rendering on AMD Adrenaline 23.7.1 & 23.7.2to Cycles HIP device crash on rendering on AMD Adrenaline 23.9.1Cycles HIP device crash on rendering on AMD Adrenaline 23.9.1to Cycles HIP device crash on rendering on latest AMD Adrenaline DriverI get this issue on Linux too, on the very latest available driver from the Rocm website, my crashes don't even register a crash.log on /tmp/, blender just closes.
I had a render crash ticket that was merged with this one (#111546 (comment)) I tested the current Blender RC 3.6.4 with the AMD 23.9.2 driver and i glad to report that HIP rendering is not crashing anymore in my case (6800XT)
Can others also verify with newer AMD driver (23.9.2)?
Blender 3.6.3 with the AMD Adrenaline 23.9.2 driver is no longer crashing when I try to render an image texture. It's rendering correctly now. I'm using an AMD Radeon RX 7900 XTX. Thank you for the update!
Given that two users reported it was fixed for them, I will assume it is solved.
@HowardBlandy if you still encounter the issue, I can reopen the report.
I seem to still have a crash here on a few of my projects, and seems to happen with HIP w/ RT either on or off, doesn't seem to matter which. I've attached a log and my system info as an attachment.
I'm primarily a linux user and seem to be having the same crash there, but wanted to make sure that the drivers on linux weren't the problem so I switched over to windows to be absolutely sure.
Best to create a new bug report. Note the error says it's out of GPU memory though, so it may be that the scene doesn't fit.
@brecht Ah I see ok. I'm not sure if I should make a new issue for that or not really, as I don't actually know what the expected behavior of that should be. I notice now that the error says OOM though. It may be out of scope, but perhaps we can make a new issue for HIP gpus that simply tells the user when you've run out of memory for rendering and that CPU rendering will have to be used instead.
Edit: I've decided to promote it to a unique issue as an error message or clear failure state would be slightly more user friendly than a hard crash.