Realtime compositor crash with GPU OIDN when moving object #120240

Open
opened 2024-04-04 07:29:13 +02:00 by Tao-Mao · 26 comments

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits

Graphics card: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86

Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: 40a5e739e270
Worked: 4.0.2
Short description of error
Blender quits without any alert window.

Exact steps for others to reproduce the error
It seems like GPU denoise reason, It just quits when I move objects with previewing my render with GPU denoise. don't know the really reason so attached the log file and my working file.

Also it's really strange I reported the bug via clicking reporting the bug menu in Blender and it recognizes my system as windows 10 (the operating system shows above) But I'm actually using windows 11 home edition with 23H2 version.

[Based on the default startup or an attached .blend file (as simple as possible)]

**System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86 **Blender Version** Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270` Worked: 4.0.2 **Short description of error** Blender quits without any alert window. **Exact steps for others to reproduce the error** It seems like GPU denoise reason, It just quits when I move objects with previewing my render with GPU denoise. don't know the really reason so attached the log file and my working file. Also it's really strange I reported the bug via clicking reporting the bug menu in Blender and it recognizes my system as windows 10 (the operating system shows above) But I'm actually using windows 11 home edition with 23H2 version. [Based on the default startup or an attached .blend file (as simple as possible)]
Tao-Mao added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-04-04 07:29:14 +02:00
Member

Hi, thanks for the report. I'm unable to confirm in 4.1 build. From logs, it looks like realtime compositor is enabled during crash (but disabled in provided file). Are we missing any more steps to reproduce the crash here?

it recognizes my system as windows 10 (the operating system shows above) But I'm actually using windows 11

That's correct. Windows build number 22000+ are windows 11: https://en.wikipedia.org/wiki/Windows_11_version_history#Version_21H2_(original_release)

Hi, thanks for the report. I'm unable to confirm in 4.1 build. From logs, it looks like realtime compositor is enabled during crash (but disabled in provided file). Are we missing any more steps to reproduce the crash here? > it recognizes my system as windows 10 (the operating system shows above) But I'm actually using windows 11 That's correct. Windows build number 22000+ are windows 11: https://en.wikipedia.org/wiki/Windows_11_version_history#Version_21H2_(original_release)
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-04-04 08:44:34 +02:00
Author

Hi Pratik, thanks for the feedback. I might accidentally turned the real time compositor off. I just tried the same file again and yes, it crashes with the realtime compositor on. When I turned it off, it was working fine. You can try to turn it on and move the objects around. You have to try a few times, it doesn't happen straight away when you move objects. Here is a new log file. Don't know if you can find anything new.

Hi Pratik, thanks for the feedback. I might accidentally turned the real time compositor off. I just tried the same file again and yes, it crashes with the realtime compositor on. When I turned it off, it was working fine. You can try to turn it on and move the objects around. You have to try a few times, it doesn't happen straight away when you move objects. Here is a new log file. Don't know if you can find anything new.
Member

Thanks. Looking at the logs, crash is probably introduced with f4f22b64eb
BTW Still not really able to reproduce the crash. What preference is selected for GPU acceleration (CUDA/OptiX)?
I tried moving object few times with G hotkey and also with tweak tool but render updates fine without crash.

Thanks. Looking at the logs, crash is probably introduced with f4f22b64ebfc99579d8b14bace9b2edaae6ec9a4 BTW Still not really able to reproduce the crash. What preference is selected for GPU acceleration (CUDA/OptiX)? I tried moving object few times with G hotkey and also with tweak tool but render updates fine without crash.
Author

Hi Pratik, it happens both on CUDA and Optix. I've recorded the interface.

Hi Pratik, it happens both on CUDA and Optix. I've recorded the interface.
Author

Hi pratik, I just found the crashing happened when I created an individual window for render preview. If I use my current 3d viewport to preview it's fine. You can try to create a new window to see if the crashing happens on your end. Thanks

Hi pratik, I just found the crashing happened when I created an individual window for render preview. If I use my current 3d viewport to preview it's fine. You can try to create a new window to see if the crashing happens on your end. Thanks
Member

Thanks, still not able reproduce :/
@OmarEmaraDev , can you check?

Thanks, still not able reproduce :/ @OmarEmaraDev , can you check?
Member

I can't reproduce either. But I don't have GPU Denoising support or OptiX/CUDA, so I wouldn't expect to reproduce it.

@PratikPB2123 However, f4f22b64eb is not part of 4.1, so it can't be the reason. The code path in the stack trace dates back to v3.6. This is is a 4.1 regression, it is probably due to the GPU Denoising feature.

I can't reproduce either. But I don't have GPU Denoising support or OptiX/CUDA, so I wouldn't expect to reproduce it. @PratikPB2123 However, f4f22b64eb is not part of 4.1, so it can't be the reason. The code path in the stack trace dates back to v3.6. This is is a 4.1 regression, it is probably due to the GPU Denoising feature.
Member

Oh, okay. Thanks. 4.1 branch is labelled in commit though: image

Oh, okay. Thanks. 4.1 branch is labelled in commit though: [image](/attachments/bd7f50b3-cb92-4b31-ad86-81f5624a1602)
Member

@PratikPB2123 I saw that. But Gitea seems wrong here. You can manually check the glare node in 4.1 and see if it has the Bloom option added in that commit.

@PratikPB2123 I saw that. But Gitea seems wrong here. You can manually check the glare node in 4.1 and see if it has the Bloom option added in that commit.
Member

Yes, did that already. I trusted the gitea tag though 😅
Anyways, resetting the status :)

Yes, did that already. I trusted the gitea tag though 😅 Anyways, resetting the status :)
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-04-08 11:02:06 +02:00
Pratik Borhade changed title from Blender 4.1 quits constantly to Realtime compositor crash with GPU OIDN when moving object 2024-04-08 11:03:32 +02:00
Contributor

Couldn't reproduce the crash.
Win 11, Blender 4.1, RTX 2000 Ada

Couldn't reproduce the crash. Win 11, Blender 4.1, RTX 2000 Ada
Member

I can't reproduce with the system below. Could there be a issue with your GPU drivers? Could you try re-installing your GPU drivers from here? https://www.nvidia.com/download/index.aspx

System Information
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86
Blender version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: 40a5e739e270

I can't reproduce with the system below. Could there be a issue with your GPU drivers? Could you try re-installing your GPU drivers from here? https://www.nvidia.com/download/index.aspx **System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 4090/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86 Blender version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270`
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-04-12 08:22:55 +02:00
Author

Hi Alaska, sorry to bother you again. I tried different ways and the quiting issue remains. This time I work with another scene and it quits even with denoise off. I've attached a new log file and could you have a look to see if you can find something new?

Hi Alaska, sorry to bother you again. I tried different ways and the quiting issue remains. This time I work with another scene and it quits even with denoise off. I've attached a new log file and could you have a look to see if you can find something new?
Author

Ok, now I'm pretty sure what causes this. I'm using two screens with different resolutions. It's probably the reason cause Blender quiting. When I create a new window and drage this window to another screen, the quiting happens when I click my objects and move around. But when I close this window and split the main interface to create a preview area on one screen, it's totally fine.

Ok, now I'm pretty sure what causes this. I'm using two screens with different resolutions. It's probably the reason cause Blender quiting. When I create a new window and drage this window to another screen, the quiting happens when I click my objects and move around. But when I close this window and split the main interface to create a preview area on one screen, it's totally fine.
Author

And a quick update, I set my two screens with the same display resolution, the problem is gone. It seems like somehow the different resolution causes Blender's quiting.

And a quick update, I set my two screens with the same display resolution, the problem is gone. It seems like somehow the different resolution causes Blender's quiting.
Member

@Tao-Mao Based on the information you've learned, can you please provide full, clear, updated instructions to reproduce the issue?

@Tao-Mao Based on the information you've learned, can you please provide full, clear, updated instructions to reproduce the issue?
Author

Ok I will try my best to describe this, let me know if you'd like to add something more. So I have two monitors, one is 2k and another is 4k. I set the resolution for the two screens as their original settings, which are 25601650 and 38402160 and I connect them to my computer with windows 11(specs showed as my first post). I use the 2k screen as my main display.

When I use Blender, I always create a new window and drag it to my 4k screen to give more space for my Blender's working space. However when I preview the render on the 4k screen and move around objects on another screen, it causes Blender's quiting without any alert information.

So if I split my working space to preview the render on one screen, the issue is gone. Also I tried to set my 4k screen with 2k resolution, which is the same as my main display, the issue seems gone as well even I ise a separated window to preview the render on another screen. Not 100% sure it's the reason but it works for me.

Cheers

Ok I will try my best to describe this, let me know if you'd like to add something more. So I have two monitors, one is 2k and another is 4k. I set the resolution for the two screens as their original settings, which are 2560*1650 and 3840*2160 and I connect them to my computer with windows 11(specs showed as my first post). I use the 2k screen as my main display. When I use Blender, I always create a new window and drag it to my 4k screen to give more space for my Blender's working space. However when I preview the render on the 4k screen and move around objects on another screen, it causes Blender's quiting without any alert information. So if I split my working space to preview the render on one screen, the issue is gone. Also I tried to set my 4k screen with 2k resolution, which is the same as my main display, the issue seems gone as well even I ise a separated window to preview the render on another screen. Not 100% sure it's the reason but it works for me. Cheers
Author

From my understanding the 4k and 2k display difference might causes some problems, but I don't know if there's a way to surveillant this

From my understanding the 4k and 2k display difference might causes some problems, but I don't know if there's a way to surveillant this
Member

Thanks for the description I ran the test on my computer following these steps. Please correct me if I've done anything wrong:

  1. Connect two monitors to my computer.
  2. Set the main monitor to 3840x2160, set the secondary monitor to 2560x1440.
  3. Open your test file Scene 03_v6.blend in Blender 4.1.0
  4. This file contains two windows. A main window (3D viewport, Properties Editor, Outliner), while the other "secondary window" has just the 3D viewport.
  5. I place the secondary window on my main monitor (4k monitor). And I place the main window on my secondary screen.
  6. Set the secondary window to Cycles rendered view, and enable viewport compositor (It was a step mentioned previously)
  7. Move some objects around in the main window to try and get Blender to crash.

In case things got confusing due to the different "mains and secondaries", here's a video.
The main monitor (3840x2160) is in the middle. While my secondary moniotr (2560x1440) is in the bottom left.

Thanks for the description I ran the test on my computer following these steps. Please correct me if I've done anything wrong: 1. Connect two monitors to my computer. 2. Set the main monitor to 3840x2160, set the secondary monitor to 2560x1440. 3. Open your test file `Scene 03_v6.blend` in Blender 4.1.0 4. This file contains two windows. A main window (3D viewport, Properties Editor, Outliner), while the other "secondary window" has just the 3D viewport. 5. I place the secondary window on my main monitor (4k monitor). And I place the main window on my secondary screen. 6. Set the secondary window to Cycles rendered view, and enable viewport compositor (It was a step mentioned previously) 7. Move some objects around in the main window to try and get Blender to crash. In case things got confusing due to the different "mains and secondaries", here's a video. The main monitor (3840x2160) is in the middle. While my secondary moniotr (2560x1440) is in the bottom left. <video src="/attachments/d152d24c-1a4c-4388-b7b2-5100d7b30ba4" title="Multi-monitor try and get it to crash.mp4" controls></video>
Author

I just checked your video, yes it's my case, if you can't replicate this it's probably related to my graphic card

I just checked your video, yes it's my case, if you can't replicate this it's probably related to my graphic card
Member

I also tried it the other way around and couldn't reproduce a crash.

I also tried it the other way around and couldn't reproduce a crash.
Author

Yes you are right, I actually change the display to 125% or something, I forgot, will let you know when I'm home, thanks!

Yes you are right, I actually change the display to 125% or something, I forgot, will let you know when I'm home, thanks!
Author

The 2k screen, 2560 one, I used 125% scale, the 4K one, I used 175% scale.

The 2k screen, 2560 one, I used 125% scale, the 4K one, I used 175% scale.
Member

I re-ran the test with different scaling on each monitor, and I still couldn't reproduce the issue.

I'm setting the issue back to "Needs triage" as I'm not sure what else to ask to gain information that may assist in tracking down the cause.

I re-ran the test with different scaling on each monitor, and I still couldn't reproduce the issue. I'm setting the issue back to "Needs triage" as I'm not sure what else to ask to gain information that may assist in tracking down the cause. <video src="/attachments/2051763c-de0f-4a3f-9e1a-6181a68a4ddf" title="Updated demonstration.mp4" controls></video>
Alaska added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-04-22 13:01:22 +02:00
Author

Thank you, it might be related to my hardware, is there a way to gain the information if it's due to a hardware issue?

Thank you, it might be related to my hardware, is there a way to gain the information if it's due to a hardware issue?
Member

it might be related to my hardware, is there a way to gain the information if it's due to a hardware issue?

Assuming you aren't having issues in other software, then it's unlikely that it's a hardware issue, but still possible.

To determine if it's a hardware issue, I would run these tests:

  1. Do you have any issues with other applications? If not, then it's probably not a hardware issue.
  2. What happens if you connect a different computer to these same displays and run the same test? If it works fine, then it may be a hardware or software configuratioin issue with your computer.
  3. What happens if you re-install Windows (you will lose your data if you do this)? If the issue persists, then it's probably a hardware issue.
  4. Maybe other stuff?

Out of curiosity. Is your computer a laptop? And is one of the displays the screens a display?


I have asked the triaging team to see if they have anything to share here. One of them said they might look into testing this issue if they have the time to do it (They need to switch a computer form Linux to Windows to test this properly, but the computer is currently in use for a different project).

> it might be related to my hardware, is there a way to gain the information if it's due to a hardware issue? Assuming you aren't having issues in other software, then it's unlikely that it's a hardware issue, but still possible. To determine if it's a hardware issue, I would run these tests: 1. Do you have any issues with other applications? If not, then it's probably not a hardware issue. 2. What happens if you connect a different computer to these same displays and run the same test? If it works fine, then it may be a hardware or software configuratioin issue with your computer. 3. What happens if you re-install Windows (you will lose your data if you do this)? If the issue persists, then it's probably a hardware issue. 4. Maybe other stuff? Out of curiosity. Is your computer a laptop? And is one of the displays the screens a display? --- I have asked the triaging team to see if they have anything to share here. One of them said they might look into testing this issue if they have the time to do it (They need to switch a computer form Linux to Windows to test this properly, but the computer is currently in use for a different project).
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#120240
No description provided.