GPU debug mode creates excessive log, causing lack #107494

Open
opened 2023-05-01 09:26:14 +02:00 by Sun Kim · 5 comments
Contributor

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.61

Blender Version
Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-30 05:23, hash: 358ce4f52b58
Worked: version: 3.5.0 Alpha, branch: master, commit date: 2022-12-08 02:10, hash: 04693f90748e

Caused by something between 3.5.0 Alpha 2022-12-08 02:10 04693f90748e and 3.5.0 Alpha 2022-12-13 01:46 e6e57cebecd1.

Short description of error
GPU debug mode creates excessive log when viewport is using EEVEE and Scene Light is enabled, causing massive lack.

It repeatedly put thread and loaded modules info in to the log. It created 3.8MB of a log in seconds:

blender_debug_output.txt

Exact steps for others to reproduce the error

  • Run Blender with blender_debug_gpu.cmd
  • Switch to Render Preview mode
**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 531.61 **Blender Version** Broken: version: 3.6.0 Alpha, branch: main, commit date: 2023-04-30 05:23, hash: `358ce4f52b58` Worked: version: 3.5.0 Alpha, branch: master, commit date: 2022-12-08 02:10, hash: `04693f90748e` Caused by something between 3.5.0 Alpha 2022-12-08 02:10 `04693f90748e` and 3.5.0 Alpha 2022-12-13 01:46 `e6e57cebecd1`. **Short description of error** GPU debug mode creates excessive log when viewport is using EEVEE and Scene Light is enabled, causing massive lack. It repeatedly put thread and loaded modules info in to the log. It created 3.8MB of a log in seconds: [blender_debug_output.txt](/attachments/54b79d47-defb-4e88-962c-e20a50a14a86) **Exact steps for others to reproduce the error** - Run Blender with `blender_debug_gpu.cmd` - Switch to Render Preview mode
Sun Kim added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-01 09:26:14 +02:00
Iliya Katushenock added the
Interest
EEVEE & Viewport
label 2023-05-01 09:40:15 +02:00
Member

Apparently it's the tex->check_feedback_loop() reporting repeatedly about ERROR (gpu.debug): Eevee > Shadows > Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb), Will bisect

Apparently it's the `tex->check_feedback_loop()` reporting repeatedly about `ERROR (gpu.debug): Eevee > Shadows > Cube Shadow Maps > psl->shadow_pass : Feedback loop: Trying to bind a texture (DRW_tex) with mip range 0-0 but mip 0 is attached to the active framebuffer (shadow_fb)`, Will bisect
Member
caused by 6b8bb26c457446875e0782a1701ec35c78b33308 cc @ThomasDinges @fclem
YimingWu added
Module
EEVEE & Viewport
Status
Confirmed
and removed
Status
Needs Triage
labels 2023-05-01 11:29:26 +02:00

Any update here? Might be a quick fix if it's mainly excessive logging. @fclem

Any update here? Might be a quick fix if it's mainly excessive logging. @fclem

Hi, there still seem to be a severe issue regarding the 3.6 build, and in the 4.0.2 build as well. I used the 0451's eevee SSGI build (3.6.2) and Blender's official 4.0.2 build (via steam) separately and both seem to freeze after a few seconds when changing to rendered view and moving the viewport. It even freezes windows, and Ctrl+alt+del doesn't work. The only way I managed to grab this log file is by running the gpu debug cmd file, having the task manager set to stay in front, and killing the blender.exe task as soon as changing the view to rendered view, milliseconds before blender freezes windows.

Link to additional info: https://blender.stackexchange.com/q/309324/162832
Quick System info: (All drivers + windows up to date)

Blender 3.6.2 SSGI 0451/Blender 4.0.2
Intel i5 3570k
MSI GTX 1070 8GB
16GB DDR3 RAM
Blender installed in C Drive of a Kingston 240GB SSD

Hi, there still seem to be a severe issue regarding the 3.6 build, and in the 4.0.2 build as well. I used the 0451's eevee SSGI build (3.6.2) and Blender's official 4.0.2 build (via steam) separately and both seem to freeze after a few seconds when changing to rendered view and moving the viewport. It even freezes windows, and Ctrl+alt+del doesn't work. The only way I managed to grab this log file is by running the gpu debug cmd file, having the task manager set to stay in front, and killing the blender.exe task as soon as changing the view to rendered view, milliseconds before blender freezes windows. Link to additional info: https://blender.stackexchange.com/q/309324/162832 Quick System info: (All drivers + windows up to date) Blender 3.6.2 SSGI 0451/Blender 4.0.2 Intel i5 3570k MSI GTX 1070 8GB 16GB DDR3 RAM Blender installed in C Drive of a Kingston 240GB SSD

Hi, there still seem to be a severe issue regarding the 3.6 build, and in the 4.0.2 build as well. I used the 0451's eevee SSGI build (3.6.2) and Blender's official 4.0.2 build (via steam) separately and both seem to freeze after a few seconds when changing to rendered view and moving the viewport. It even freezes windows, and Ctrl+alt+del doesn't work. The only way I managed to grab this log file is by running the gpu debug cmd file, having the task manager set to stay in front, and killing the blender.exe task as soon as changing the view to rendered view, milliseconds before blender freezes windows.

Link to additional info: https://blender.stackexchange.com/q/309324/162832
Quick System info: (All drivers + windows up to date)

Blender 3.6.2 SSGI 0451/Blender 4.0.2
Intel i5 3570k
MSI GTX 1070 8GB
16GB DDR3 RAM
Blender installed in C Drive of a Kingston 240GB SSD

Update: I had to reinstall windows. Blender seems stable now. I'm guessing the problem was related to CUDA or Optix, as CPU rendering never had an issue, only freezing when either in eevee or CUDA/Optix cycles. Will update any changes.

> Hi, there still seem to be a severe issue regarding the 3.6 build, and in the 4.0.2 build as well. I used the 0451's eevee SSGI build (3.6.2) and Blender's official 4.0.2 build (via steam) separately and both seem to freeze after a few seconds when changing to rendered view and moving the viewport. It even freezes windows, and Ctrl+alt+del doesn't work. The only way I managed to grab this log file is by running the gpu debug cmd file, having the task manager set to stay in front, and killing the blender.exe task as soon as changing the view to rendered view, milliseconds before blender freezes windows. > > Link to additional info: https://blender.stackexchange.com/q/309324/162832 > Quick System info: (All drivers + windows up to date) > > Blender 3.6.2 SSGI 0451/Blender 4.0.2 > Intel i5 3570k > MSI GTX 1070 8GB > 16GB DDR3 RAM > Blender installed in C Drive of a Kingston 240GB SSD Update: I had to reinstall windows. Blender seems stable now. I'm guessing the problem was related to CUDA or Optix, as CPU rendering never had an issue, only freezing when either in eevee or CUDA/Optix cycles. Will update any changes.
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#107494
No description provided.