gawain presents problems when particle #50935

Closed
opened 2017-03-13 12:40:03 +01:00 by Dalai Felinto · 17 comments

In Blender 2.8, the particle drawing code seems to be stressing the gawain buffer allocation.

If you open the file: bug-particles-draw-28.blend
And play around with it (e.g., rotate the view), you get: bug-circle-partcles.png

The file is simply a cube with 50,000 particles displayed as circles.

In Blender 2.8, the particle drawing code seems to be stressing the `gawain` buffer allocation. If you open the file: [bug-particles-draw-28.blend](https://archive.blender.org/developer/F508370/bug-particles-draw-28.blend) And play around with it (e.g., rotate the view), you get: ![bug-circle-partcles.png](https://archive.blender.org/developer/F508368/bug-circle-partcles.png) The file is simply a cube with 50,000 particles displayed as circles.
Author
Owner

Changed status to: 'Open'

Changed status to: 'Open'
Author
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Mike Erwin was assigned by Dalai Felinto 2017-03-13 12:40:29 +01:00
Author
Owner

Added subscriber: @fclem

Added subscriber: @fclem

Added subscriber: @antoniov

Added subscriber: @antoniov

I can confirm this bug in Windows 10 compiled in VS2015 64bits, but it's something that I have seen not only using particles.

Sometimes, I get weird results using differents GPUs, but it's not easy to determine when or why. Lately, with last versions the error doesn't appears as easily as before, but it's not solved yet.

I can confirm this bug in Windows 10 compiled in VS2015 64bits, but it's something that I have seen not only using particles. Sometimes, I get weird results using differents GPUs, but it's not easy to determine when or why. Lately, with last versions the error doesn't appears as easily as before, but it's not solved yet.
Member

No problems on Mac, tested on Intel and NV. Trying Windows next...

No problems on Mac, tested on Intel and NV. Trying Windows next...
Member

After more testing -- zoom/rotate viewpoint, run animation -- I'm still not seeing this problem.

Windows 10, VS2015 on Intel 520
Windows 10, VS2017 on AMD FX-9800P

On what GPUs do you see the problem? Does debug vs. release build make a difference?

After more testing -- zoom/rotate viewpoint, run animation -- I'm still not seeing this problem. Windows 10, VS2015 on Intel 520 Windows 10, VS2017 on AMD FX-9800P On what GPUs do you see the problem? Does debug vs. release build make a difference?

We tested on Debug build + Linux + Nvidia (Closed source driver) and the bug is happening on 2 machines: My laptop (GTX960m) and Dalai's desktop (Some Quadro). Will try release build.

We tested on Debug build + Linux + Nvidia (Closed source driver) and the bug is happening on 2 machines: My laptop (GTX960m) and Dalai's desktop (Some Quadro). Will try release build.
Author
Owner

It has the same problem in Release build (Linux)

Renderer: 'Quadro K6000/PCIe/SSE2'
Vendor: 'NVIDIA Corporation'
Version: '4.5.0 NVIDIA 375.26'

I get the problem as soon as I open the test Blender file.

It has the same problem in Release build (Linux) Renderer: 'Quadro K6000/PCIe/SSE2' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 375.26' I get the problem as soon as I open the test Blender file.
Author
Owner

I tried in a Linux box with a highend ATI and it doesn't happen either.

Renderer: 'AMD Radeon (TM) Pro WX 7100 DUO Graphics'
Vendor: 'ATI Technologies Inc.'
Cersion: '4.5.13468 Compatibility Profile Context 16.60.3'

I tried in a Linux box with a highend ATI and it doesn't happen either. Renderer: 'AMD Radeon (TM) Pro WX 7100 DUO Graphics' Vendor: 'ATI Technologies Inc.' Cersion: '4.5.13468 Compatibility Profile Context 16.60.3'
Member

Thanks for the info! I suspect this is a buffer alignment/padding issue. I'm talking to someone from NVIDIA tonight (local C++ meetup) and will ask him for details.

@antoniov do you see this only on NVIDIA?

Thanks for the info! I suspect this is a buffer alignment/padding issue. I'm talking to someone from NVIDIA tonight (local C++ meetup) and will ask him for details. @antoniov do you see this only on NVIDIA?

@MikeErwin Tested in Windows 10 GTX660 and get the error in Debug and Release compiled with VS2015 64bits. The compilation was without CUDA support in Cycles.

Vendor: NVIDIA Corporation
Renderer: GeForce GTX 660/PCIe/SSE2
Version: 4.5.0 NVIDIA 376.53

What can I do to provide you more information?

@MikeErwin Tested in Windows 10 GTX660 and get the error in Debug and Release compiled with VS2015 64bits. The compilation was without CUDA support in Cycles. Vendor: NVIDIA Corporation Renderer: GeForce GTX 660/PCIe/SSE2 Version: 4.5.0 NVIDIA 376.53 What can I do to provide you more information?
Author
Owner

@fclem are you still running into this? In my current computer (Ryzen + AMD 480) the problem is gone.

@fclem are you still running into this? In my current computer (Ryzen + AMD 480) the problem is gone.
Member

It should be fixed already, feel free to close as resolved after confirming.

It should be fixed already, feel free to close as resolved after confirming.
Member

Added subscriber: @LucaRood-3

Added subscriber: @LucaRood-3
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

This was before particles were being handled in the draw manager. Drawing code has been rewritten, and this should not happen anymore.

This was before particles were being handled in the draw manager. Drawing code has been rewritten, and this should not happen anymore.
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#50935
No description provided.