Glitchy viewport render animation #111699
Labels
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#111699
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: Linux-6.4.6-gentoo-x86_64-11th_Gen_Intel-R-_Core-TM-i9-11900K@_3.50GHz-with-glibc2.37 64 Bits, X11 UI
Graphics card: Quadro RTX 6000/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 535.86.05
Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-08-29 18:32, hash:
ddbe073a6d3e
Short description of error
When exporting "Viewport Render Animation" it features very inconsistent glitches
Example file
Exact steps for others to reproduce the error
Open the example file (this is the lightest version I could make that replicates the bug)
In the left viewport, go to "View" and select "Viewport Render Animation" (it will export to your tmp folder)
Note: When you do this for the first time after opening the file, you will not see any glitches
After it exports, do the exact same thing again
Now you will see random frames get "glitched"
It seems to get a bit worse if you export it a few times, but which frames get glitched is totally inconsistent as far as I can see.
Sadly, I can´t reproduce it. 🙁
I've tried with the exact same build from download.blender.org, but still no luck.
I'm using a Nvidia Gforce on Windows, so it might be driver or OS dependent.
There's some info that may be useful to narrow down the issue:
Thanks for looking into it, Miguel! 😄
A couple of people tried it here at the studio and all got the same glitches, so I figured it would be easily reproducible. They are all using Linux, not sure if that's perhaps a factor.
Can't reproduce.
I believe I did exactly as instructed:
But I can't reproduce the problem on:
Perhaps it indeed has something to do with Linux.
In order to increase the priority of the report, it would be interesting if you could provide some additional information as:
When I rendered animation for second time, I got just gray blank frames, so I see some bug, not sure if related.
Re-checked with recent build, and everything seemed to work as expected.
@Hjalti In this case could you find if there's any crash logs? like this
It's funny because on my machine it just renders the viewport animation like this 😆 My driver do have some issues at the moment (like cuda version mismatch, no 32 bit libs, and likely some other problems).
Hey Germano! 😄
I've attached here the crash log that shows up after trying to render the scene (F12) with Workbench set as the render engine.
I've installed Fedora on my desktop, tried with both the open and the private Nvidia drivers, and still couldn't reproduce the issue,
If there are multiple users in the studio that can replicate the issue, at this point I have to wonder if there's something else interfering.
@Hjalti Could you try to download a packaged build from download.blender.org, place a
config
folder inside the4.0
folder (so there are not any non-default addons or settings) and try to render the file you attached (maybe to a different (not tmp) location, just in case)?I can reproduce the crash in the regular Render Animation mode, though. It's a recent regression and should be easy to fix.
I've managed to reproduce the issue on 1 frame in the normal Animation Render mode (ie. not Viewport) on Windows, but only once and not anymore.
I guess there's some kind of race condition?
Yay it's reproducible! 🙈
I was worried it might be a race condition of some sorts... ah shucks
@pragma37 do you still need me to try out that experiment with a packaged build?
Yes, please. There must be a reason why it's so hard to reproduce for most people, but you can reproduce it reliably on several PCs.
If we find what it is, I may be able to reproduce it consistently. Otherwise, it's going to be nearly impossible for me to find the cause.
While you are at it. Please check if you have the same issue with the final Render Animation mode (now that it's fixed) with and without the "Lock Viewport" option enabled.
Also, please confirm if this was tested with EEVEE Next.
I've helped Hjalti test out your suggestions.
Here is our findings:
We build the latest commit and tried it. It doesn't crash for us anymore.
It also seems like it is very hard to reproduce the glitchyness in with the viewport render animation now.
However it now glitches out for us everytime with "Render Animation" when using workbench. (Note that it still is not reliably reproducible in workbench as it happens on random frames still)
However it seems fine with both EEVEE and EEVEE next.
Locking the viewport doesn't seem to help as the glitches still happen with or without it on.
Are you able to reproduce this more reliably with "Render Animation" as well? 🤔
We tried the latest build for linux from today with a clean config without any addons. It was still broken.
Thank you for taking the time to test it.
It's weird that it happens only on Workbench Next, I would expect it to be related to the Draw Manager.
Not reliably. I was able to reproduce it only once for a single frame after MANY attempts.
It happened in "Render Animation" mode, but it could have been just coincidence.
I guess either @Jeroen-Bakker or @fclem may need to debug it on-site at some point then. 🙁
At least we have that option!
For whatever reason I'm now able to reproduce it consistently.
The GPU debug shows this error on glitched meshes:
If I got this right, it's an issue with dangling pointers in the GL backed.
It's weird that it started showing up now and only with Workbench Next. 🤔
@Hjalti @ZedDB Could you check if this fixes the issue on your side?
I've triggered a package build for the fix, they'll be available here when ready:
https://builder.blender.org/download/patch/PR111929/
@pragma37 NICE!
It seems to fix the issue on our side. We don't seem to get any glitches in that build of the PR.