Memory access fault by GPU when using HIP Cycles #119993

Closed
opened 2024-03-28 00:19:51 +01:00 by TNT3530 · 10 comments

System Information
Operating system: Ubuntu 22.04
Graphics card: AMD Instinct MI100 (4 cards XGMI GPU bridge)

Blender Version
Broken: 4.1.0 Stable (40a5e739e2)
Worked: Never, I haven't found a version where it works consistently

When attempting to render the pre-made Classroom scene, Blender crashes and core dumps throwing a
Memory access fault by GPU node-X (Agent handle: 0x7f7fdda7b400) on address 0x7f7a7fb95000. Reason: Page not present or supervisor privilege., where X varies depending on the run. It does this when using either 1 or all 4 cards, whether the share memory option is selected or not. It occasionally works as expected when Share Memory is off, but it isn't consistent.

The official Benchmark program similarly crashes, along with an animation .blend I found. The default cube works fine with all settings.

Exact steps for others to reproduce the error

  • Download Blender 4.1.0 Stable
  • Open classroom.blend benchmark
  • Edit -> Properties, select HIP and all/only one GPU
  • Hit F12/Render and wait about 1 second for the crash
**System Information** Operating system: Ubuntu 22.04 Graphics card: AMD Instinct MI100 (4 cards XGMI GPU bridge) **Blender Version** Broken: 4.1.0 Stable (40a5e739e270) Worked: Never, I haven't found a version where it works consistently When attempting to render the pre-made Classroom scene, Blender crashes and core dumps throwing a `Memory access fault by GPU node-X (Agent handle: 0x7f7fdda7b400) on address 0x7f7a7fb95000. Reason: Page not present or supervisor privilege.`, where X varies depending on the run. It does this when using either 1 or all 4 cards, whether the share memory option is selected or not. It occasionally works as expected when Share Memory is off, but it isn't consistent. The official Benchmark program similarly crashes, along with an animation .blend I found. The default cube works fine with all settings. **Exact steps for others to reproduce the error** - Download Blender 4.1.0 Stable - Open `classroom.blend` benchmark - Edit -> Properties, select HIP and all/only one GPU - Hit F12/Render and wait about 1 second for the crash
TNT3530 added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2024-03-28 00:19:52 +01:00
Member

If I remember correctly, this is a issue with certain Linux kernel versions, and it was fixed in one of the 6.7.X releases. Can you try updating your Linux kernel to see if that helps? Please let us know how it goes along with the kernel version you updated too.

If I remember correctly, this is a issue with certain Linux kernel versions, and it was fixed in one of the 6.7.X releases. Can you try updating your Linux kernel to see if that helps? Please let us know how it goes along with the kernel version you updated too.
Alaska added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-03-28 00:48:12 +01:00
Author

Going from 6.5.0-14-generic to 6.5.0-28-generic did not fix it
Upgrading fully to 6.8.1-060801-generic similarly did not fix it

Going from 6.5.0-14-generic to 6.5.0-28-generic did not fix it Upgrading fully to 6.8.1-060801-generic similarly did not fix it
Member

Which ROCm version do you have installed?

I also wanted to add that the AMD Instinct MI100 is not officially supported by Cycles (It may work, but it isn't tested, and kernels aren't compiled for it).

Which ROCm version do you have installed? I also wanted to add that the AMD Instinct MI100 is not officially supported by Cycles (It may work, but it isn't tested, and kernels aren't compiled for it).
Author

ROCm 6.0
Edit: 6.7.10-060710-generic and 6.6.22-060622-generic also do not work

On the latter 6.6 version it seems to run classroom more frequently than other versions, as long as memory sharing is off. Still instantly crashes on the animation demo though sadly. If it run all 4 cards plow through classroom in 6.5s, so Ive got high hopes if we can get them working regularly. Though it doesn't seem to de-noise as well as my NVIDIA card does

ROCm 6.0 Edit: 6.7.10-060710-generic and 6.6.22-060622-generic also do not work On the latter 6.6 version it seems to run classroom more frequently than other versions, as long as memory sharing is off. Still instantly crashes on the animation demo though sadly. If it run all 4 cards plow through classroom in 6.5s, so Ive got high hopes if we can get them working regularly. Though it doesn't seem to de-noise as well as my NVIDIA card does
Member

I am setting this back to Needs Triage. I'm not sure what else to suggest here, hopefully other people can provide better info.

I am setting this back to Needs Triage. I'm not sure what else to suggest here, hopefully other people can provide better info.
Alaska added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-03-28 03:19:50 +01:00
Member

CC @salipour you probably know this better, or know the right people to talk too. Can you comment on this report?

CC @salipour you probably know this better, or know the right people to talk too. Can you comment on this report?
Member

Hi, think this is same as #112084, closing.

Hi, think this is same as #112084, closing.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-03-28 05:17:48 +01:00
Member

Is this still a valid issue?

Is this still a valid issue?
Member

@salipour This is still a valid issue, but it has been "merged" with #112084 due to it having the same error message. So it might be best to continue helping out on #112084 if you have the time.

@salipour This is still a valid issue, but it has been "merged" with #112084 due to it having the same error message. So it might be best to continue helping out on #112084 if you have the time.
Member

yes, would help if you check #112084
@GZGavinZhao already shared some useful findings there.

yes, would help if you check #112084 @GZGavinZhao already shared some useful findings there.
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
4 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#119993
No description provided.