OpenGL, Dupli-Objects draw without shading. #45153

Closed
opened 2015-06-23 00:56:29 +02:00 by Campbell Barton · 7 comments

This report is the same error exposed in #45117 but in this case its not a regression (Happens in 2.73 as well).

Open the attached file, and notice how the circled object becomes flat-shaded-grey on redraw.
dupli_bug1.blend (apparently only happens with NVidia drivers, see #45117 for details).


Looked into this further, Turns out this is caused by calling glDrawElements inside a display list (glNewList / glEndList),

So this might have to be moved into OpenGL-Errors.

This report is the same error exposed in #45117 but in this case its not a regression (Happens in 2.73 as well). Open the attached file, and notice how the circled object becomes flat-shaded-grey on redraw. [dupli_bug1.blend](https://archive.blender.org/developer/F196739/dupli_bug1.blend) *(apparently only happens with NVidia drivers, see #45117 for details).* ---- Looked into this further, Turns out this is caused by calling `glDrawElements` inside a display list (`glNewList` / `glEndList`), So this might have to be moved into OpenGL-Errors.
Author
Owner

Changed status to: 'Open'

Changed status to: 'Open'
Antonis Ryakiotakis was assigned by Campbell Barton 2015-06-23 00:56:29 +02:00
Author
Owner

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Generally, I've found in an older similar report that the driver does not like setting up buffers and not using them. So if we can avoid that we can probably solve the problem.

Generally, I've found in an older similar report that the driver does not like setting up buffers and not using them. So if we can avoid that we can probably solve the problem.

More info, looks like the driver messes up when compiling the display list. If we add GPU_normal_setup in loose edge drawing, the error goes away. However I am intrigued because error does not happen in 939948c

More info, looks like the driver messes up when compiling the display list. If we add GPU_normal_setup in loose edge drawing, the error goes away. However I am intrigued because error does not happen in 939948c

I opened a ticket with NVIDIA, not sure if they'll respond (unfortunately needs login to access)

I opened a ticket with NVIDIA, not sure if they'll respond (unfortunately needs login to access)
Member

Added subscriber: @MikeErwin

Added subscriber: @MikeErwin
Antonis Ryakiotakis removed their assignment 2016-01-06 20:40:11 +01:00
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Aaron Carlisle self-assigned this 2019-06-29 03:22:26 +02:00
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#45153
No description provided.