Blender does not sufficiently check OpenGL implementation’s capabilities #41324

Closed
opened 2014-08-05 09:06:28 +02:00 by Martijn Berger · 14 comments
Member

Blender can run on the GDI windows OpenGL without any vendor driver (OpenGL 1.1) but it crashes in various cases.

I think we should find a way to check and warn users that their configuration is lacking rather then crashing. Also it would be good to have a central place where we actually check and thereby specify what parts of OpenGL we actually need.

Blender can run on the GDI windows OpenGL without any vendor driver (OpenGL 1.1) but it crashes in various cases. I think we should find a way to check and warn users that their configuration is lacking rather then crashing. Also it would be good to have a central place where we actually check and thereby specify what parts of OpenGL we actually need.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member
Added subscribers: @MartijnBerger, @JasonWilkins, @Psy-Fi, @ideasman42
See https://developer.blender.org/D699

One thing that I mean to do in the above patch is do further checking to make sure that extensions and versions are always checked, but it already creates a central place to handle this.

One thing that I mean to do in the above patch is do further checking to make sure that extensions and versions are always checked, but it already creates a central place to handle this.

I don't mean to spam, but the glreport.py script that used to be in the tools directory will be useful here since it will tell you the version of every gl function that is used in blender.

I don't mean to spam, but the glreport.py script that used to be in the tools directory will be useful here since it will tell you the version of every gl function that is used in blender.
Author
Member

@JasonWilkins thx for feedback.

Besides technical ( the actual detecting ) we should also figure out the communication with the user (UI) side of things.

@JasonWilkins thx for feedback. Besides technical ( the actual detecting ) we should also figure out the communication with the user (UI) side of things.

I checked a bit on that yesterday and it may be possible to just destroy the window with a loud pop-up (a simple message box should do) in such cases. (The crappy thing being that we need to initialize the GL context first to get the GL version)

I checked a bit on that yesterday and it may be possible to just destroy the window with a loud pop-up (a simple message box should do) in such cases. (The crappy thing being that we need to initialize the GL context first to get the GL version)

In https://developer.blender.org/D706 I have a GPU_print_error function that prints to the console, but maybe a hook could be setup to send errors to a place a user can see more easily.

I need to fix it so that it takes a format string, so I can route all gpu error through it (there are still a few fprintf left)

I could also add severity flags if we only want to send certain errors to the user and reserve others for debugging.

In https://developer.blender.org/D706 I have a GPU_print_error function that prints to the console, but maybe a hook could be setup to send errors to a place a user can see more easily. I need to fix it so that it takes a format string, so I can route all gpu error through it (there are still a few fprintf left) I could also add severity flags if we only want to send certain errors to the user and reserve others for debugging.

Added subscriber: @mont29

Added subscriber: @mont29
Member

Added subscriber: @MikeErwin

Added subscriber: @MikeErwin
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

@MikeErwin can this be closed?

@MikeErwin can this be closed?
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Mike Erwin self-assigned this 2016-10-18 17:55:02 +02:00
Member

Yes, as of Blender 2.77 we are very clear about what GL version is supported. Extension checks seem to be complete. Blender closes with a message if the host system can't run it.

Yes, as of Blender 2.77 we are very clear about what GL version is supported. Extension checks seem to be complete. Blender closes with a message if the host system can't run it.
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
6 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#41324
No description provided.