Cycles HIP device crash on rendering on latest AMD Adrenaline Driver #110392

Closed
opened 2023-07-23 03:34:34 +02:00 by Yu Ding · 19 comments

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:

**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:
Yu Ding added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-07-23 03:34:34 +02:00
Iliya Katushenock added the
Interest
Render & Cycles
label 2023-07-23 12:51:44 +02:00
Member
cc @BrianSavery
Member

Added to #109431 for all HIP related bugs.

Added to #109431 for all HIP related bugs.
Member
@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
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-08-08 05:17:56 +02:00
Author

Nope, the problem still exists

Crash log are following:

Nope, the problem still exists Crash log are following:
YimingWu changed title from Cycles HIP device crash on rendering on AMD Adrenaline 23.7.1 to Cycles HIP device crash on rendering on AMD Adrenaline 23.7.1 & 23.7.2 2023-08-17 04:07:30 +02:00
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-08-17 04:57:17 +02:00

Blender 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.

Blender 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.
Member

@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

Image texture size is limited, could detect this and resize or show user better error (#94057, #93109)


But it should not crash 😅

@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 > [Image texture size is limited, could detect this and resize or show user better error (#94057, #93109)](https://projects.blender.org/blender/blender/issues/91571#:~:text=Image%20texture%20size%20is%20limited%2C%20could%20detect%20this%20and%20resize%20or%20show%20user%20better%20error%20(%2394057%2C%20%2393109)) - - - But it should not crash 😅
Author

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

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.

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

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.

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.

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.
Yu Ding changed title from Cycles HIP device crash on rendering on AMD Adrenaline 23.7.1 & 23.7.2 to Cycles HIP device crash on rendering on AMD Adrenaline 23.9.1 2023-09-16 15:49:54 +02:00
Yu Ding changed title from Cycles HIP device crash on rendering on AMD Adrenaline 23.9.1 to Cycles HIP device crash on rendering on latest AMD Adrenaline Driver 2023-09-16 15:50:47 +02:00

I 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 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)

I had a render crash ticket that was merged with this one (https://projects.blender.org/blender/blender/issues/111546#issuecomment-1024220) 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)
Member

Can others also verify with newer AMD driver (23.9.2)?

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!

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!
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-09-25 12:09:33 +02:00

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.

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.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-10-06 15:48:35 +02:00

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.

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.

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.

@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.
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
9 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#110392
No description provided.