Page MenuHome

OpenGL / GfxProject
ActivePublic

Details

Recent Activity

Today

Stefano (stefmalawi) added a comment to T56996: Lagging when rotating the view.

I might have some insight that may help debug the problem. I am using macOS 10.14.2 on a MacBook Pro late 2013 (model 11,2), with Intel Iris Pro 1536 MB and Blender 2.80 2019-01-22. It seems as though the problem is related to displaying (or rather not displaying) certain Overlays. Steps to reproduce:

Tue, Jan 22, 1:16 PM · BF Blender, OpenGL / Gfx, Platform: Mac OS X
Camille (Ekiwnox) added a comment to T56996: Lagging when rotating the view.

For me it doesn't change anything with the changes on the info.plist file !
Hope to have a solution soon for this issue !

Tue, Jan 22, 7:57 AM · BF Blender, OpenGL / Gfx, Platform: Mac OS X

Fri, Jan 18

Clément Foucault (fclem) closed T58243: Flickering of viewport when rotating and zooming as Resolved by committing rBd5b4d71ee7b8: DRW: Increase frustum culling precision.
Fri, Jan 18, 10:23 AM · BF Blender, OpenGL / Gfx

Thu, Jan 17

Rombout Versluijs (rombout) added a comment to T58392: Texture limit size not working.

I want to bump this thread, still is present in 2.80, d844271aef2d, 2019-01-15, 19:24

Thu, Jan 17, 1:22 AM · OpenGL / Gfx, BF Blender

Tue, Jan 15

Campbell Barton (campbellbarton) updated the task description for T51366: Empty image improvements to replace background.
Tue, Jan 15, 1:18 AM · Code Quest, BF Blender: 2.8, OpenGL / Gfx

Mon, Jan 14

yoann (softyoda) added a comment to T51366: Empty image improvements to replace background.

I don't know if it is a bug, or just a feature not yet implemented, but video playback on empty or importing as an image on plan does not work.
Should I report a bug?

Mon, Jan 14, 9:32 PM · Code Quest, BF Blender: 2.8, OpenGL / Gfx
Camille (Ekiwnox) added a comment to T56996: Lagging when rotating the view.

Still an issue with the 2.80 Beta macOS 64 bit, 2826c2be545e.
It works on two of my Apple device on macOS Mojave smoothly.
I only have the problem with my Macbook retina on macOS Mojave with Intel HD Graphics 4000 1536 MB.

Mon, Jan 14, 8:34 PM · BF Blender, OpenGL / Gfx, Platform: Mac OS X

Thu, Jan 10

Bastien Montagne (mont29) placed T57647: Z fighting when lowering unit scale up for grabs.
Thu, Jan 10, 10:19 PM · OpenGL / Gfx, BF Blender: 2.8
Tiaan Basson (Spoopy) reopened T57647: Z fighting when lowering unit scale as "Open".

Hi guys,

Thu, Jan 10, 9:42 PM · OpenGL / Gfx, BF Blender: 2.8

Wed, Jan 9

Philipp Oeser (lichtwerk) closed T58177: Blender 2.8 beta crash when taking snap of viewport as Resolved.

As of 19-Dec-18 bug is fixed I think because now blender don't crash

Wed, Jan 9, 7:53 PM · BF Blender, OpenGL / Gfx, Images & Movies
Philipp Oeser (lichtwerk) added a project to T57606: Simple sculpting changes in Solid ( and Wireframe ) are not reflected in LookDev or Rendered mode: OpenGL / Gfx.
Wed, Jan 9, 10:15 AM · OpenGL / Gfx, BF Blender, Sculpting and Painting
Philipp Oeser (lichtwerk) merged task T60326: Sculpting strokes not showing in LookDev / Rendered modes into T57606: Simple sculpting changes in Solid ( and Wireframe ) are not reflected in LookDev or Rendered mode.
Wed, Jan 9, 10:14 AM · OpenGL / Gfx, Sculpting and Painting, BF Blender
Philipp Oeser (lichtwerk) added a comment to T60326: Sculpting strokes not showing in LookDev / Rendered modes.

same as T58181, T57606, will merge these...

Wed, Jan 9, 10:14 AM · OpenGL / Gfx, Sculpting and Painting, BF Blender
Philipp Oeser (lichtwerk) merged task T58181: Sculpt doesn't update properly in LookDev or Rendered display modes into T57606: Simple sculpting changes in Solid ( and Wireframe ) are not reflected in LookDev or Rendered mode.
Wed, Jan 9, 10:14 AM · BF Blender, OpenGL / Gfx, Sculpting and Painting
Philipp Oeser (lichtwerk) added a comment to T58181: Sculpt doesn't update properly in LookDev or Rendered display modes.

same as T60326, T57606, will merge these...

Wed, Jan 9, 10:13 AM · BF Blender, OpenGL / Gfx, Sculpting and Painting
Philipp Oeser (lichtwerk) edited projects for T60326: Sculpting strokes not showing in LookDev / Rendered modes, added: BF Blender, Sculpting and Painting, OpenGL / Gfx; removed BF Blender: 2.8.
Wed, Jan 9, 10:10 AM · OpenGL / Gfx, Sculpting and Painting, BF Blender
Philipp Oeser (lichtwerk) assigned T60339: shading error in sculpt mode to Clément Foucault (fclem).

assuming this is a display thing (as going out of sculptmode - and back in - seems to solve), but not sure (havent checked code...)
@Clément Foucault (fclem): does this ring a bell?

Wed, Jan 9, 10:07 AM · OpenGL / Gfx, Sculpting and Painting, BF Blender

Mon, Jan 7

slawek (nezumi) added a comment to T58243: Flickering of viewport when rotating and zooming.

Ow yeah when you carefully match the distance or angle you can make it stay in incorrect mode. Sorry I used "flickering" incorrectly.

Mon, Jan 7, 9:52 PM · BF Blender, OpenGL / Gfx
Sebastian Parborg (zeddb) assigned T58243: Flickering of viewport when rotating and zooming to Clément Foucault (fclem).

Actually, I can reproduce this now too (don't know why I couldn't before). It seems to only happen in ortho view.

Mon, Jan 7, 10:38 AM · BF Blender, OpenGL / Gfx
slawek (nezumi) added a comment to T58243: Flickering of viewport when rotating and zooming.

Still the same with Build from January 6 2019, but I have never encountered that problem with files that were created inside of Blender 2.8. Attached file was made in 2.79 and loaded into 2.8, re-saved. Maybe it is some sort of weird, marginal glitch.

Mon, Jan 7, 3:29 AM · BF Blender, OpenGL / Gfx

Fri, Jan 4

Sergey Sharybin (sergey) closed T56315: Blender 2.8 with software GL does not start as Resolved.

The software-gl used in official builds is now updated, and supports OpenGL 3.3.

Fri, Jan 4, 12:57 PM · BF Blender, OpenGL / Gfx

Thu, Jan 3

Brecht Van Lommel (brecht) closed T58250: Crash instead of error message on Linux for unsupported OpenGL as Resolved by committing rB3c411f5ba1d4: Fix T58250: crash starting Blender on X11 without OpenGL 3.3..
Thu, Jan 3, 4:48 PM · BF Blender, Platform: Linux, OpenGL / Gfx
Brecht Van Lommel (brecht) added a comment to T58250: Crash instead of error message on Linux for unsupported OpenGL.

For updating software OpenGL to support Blender 2.8, there is T56315: Blender 2.8 with software GL does not start.

Thu, Jan 3, 4:48 PM · BF Blender, Platform: Linux, OpenGL / Gfx
Brecht Van Lommel (brecht) reassigned T56315: Blender 2.8 with software GL does not start from Clément Foucault (fclem) to Sergey Sharybin (sergey).

@Sergey Sharybin (sergey), I guess updating the mesa libraries to the latest version is a job for the platform maintainer.

Thu, Jan 3, 4:25 PM · BF Blender, OpenGL / Gfx
Brecht Van Lommel (brecht) merged T58095: blender 2.8 crashes while opening into T58250: Crash instead of error message on Linux for unsupported OpenGL.
Thu, Jan 3, 4:22 PM · BF Blender, Platform: Linux, OpenGL / Gfx

Wed, Jan 2

Paweł (Wiggle) added a comment to T56996: Lagging when rotating the view.

@Camille (Ekiwnox) Should you change "true" to "false" in these two lines

Wed, Jan 2, 11:41 PM · BF Blender, OpenGL / Gfx, Platform: Mac OS X
Camille (Ekiwnox) added a comment to T56996: Lagging when rotating the view.

I've the same issue ! I tried the debug thing and it works smoothly with (with 23)
Don't understand what I should change in the info.plist file. Should I delete the line of code or change the "true" to something else ?

Wed, Jan 2, 10:54 PM · BF Blender, OpenGL / Gfx, Platform: Mac OS X
Germano Cavalcante (mano-wii) closed T59773: Crash accessing python gpu module in background mode. as Resolved by committing rB945007b32e9a: Fix T59773: Raise exception if the gpu module is used in backgound mode..
Wed, Jan 2, 2:03 PM · Addons, OpenGL / Gfx, Python, BF Blender

Tue, Jan 1

noki paike (amonpaike) added a comment to T58629: 2.80 refuses to complete startup to reach splash screen - always hangs grey with AMD graphics driver crash notice.

vista or windows 7 .. sux... with these video cards or drivers ..
anyway now the problem has been dammed on windows 10
the performance is at least three times higher than linux ..

Tue, Jan 1, 3:12 AM · BF Blender, OpenGL / Gfx

Mon, Dec 31

Paweł (Wiggle) added a comment to T56996: Lagging when rotating the view.

For me after the introduction of these exchanges is all right.

Mon, Dec 31, 12:44 AM · BF Blender, OpenGL / Gfx, Platform: Mac OS X
Catalin Stan (cataalinux) added a comment to T56996: Lagging when rotating the view.

One quick tip to make blender run fast on retina displays: open Blender's info.plist file and disable:
High Resolution Capable and Supports Automatic Graphics Switching.
This is the main setting change for opengl apps on my mac.
Right click on the Blender app and click show package contents.

Mon, Dec 31, 12:40 AM · BF Blender, OpenGL / Gfx, Platform: Mac OS X

Sat, Dec 29

Bastien Montagne (mont29) merged T59929: Blender 2.8 command line into T59773: Crash accessing python gpu module in background mode..
Sat, Dec 29, 3:30 PM · Addons, OpenGL / Gfx, Python, BF Blender

Fri, Dec 28

Brecht Van Lommel (brecht) added a comment to T53945: Blender crash after enabling GPU render on Mac. Need to restart computer before Blender can be used again.

@shawn (noahnoah), that's unrelated to this bug report. Possibly the path you are rendering to does not exist.

Fri, Dec 28, 10:59 AM · Rendering, Platform: Mac OS X, OpenGL / Gfx, Cycles, BF Blender
shawn (noahnoah) added a comment to T53945: Blender crash after enabling GPU render on Mac. Need to restart computer before Blender can be used again.

what is the solution to this? i just downloaded 2.79b to my mac 2011 and now i get error; 'could not open file for writing'.
any suggestions to a work around in order to render work?

Fri, Dec 28, 10:11 AM · Rendering, Platform: Mac OS X, OpenGL / Gfx, Cycles, BF Blender
Bastien Montagne (mont29) renamed T59828: Crash in OGL drawcode with a specific shader from Crash to Crash in OGL drawcode with a specific shader.
Fri, Dec 28, 9:57 AM · OpenGL / Gfx, BF Blender
Bastien Montagne (mont29) assigned T59828: Crash in OGL drawcode with a specific shader to Clément Foucault (fclem).

@Clément Foucault (fclem) backtrace of crash seems to hint at draw code… ;)

Fri, Dec 28, 9:56 AM · OpenGL / Gfx, BF Blender

Thu, Dec 27

Brecht Van Lommel (brecht) merged T59888: blender-softwaregl crashes on start. into T58250: Crash instead of error message on Linux for unsupported OpenGL.
Thu, Dec 27, 11:26 AM · BF Blender, Platform: Linux, OpenGL / Gfx
noki paike (amonpaike) added a comment to T56362: sub surface scattering does not work on eevee on radeon hd 7600 series.

thanks, now everything works fine

Thu, Dec 27, 11:12 AM · Eevee, OpenGL / Gfx, BF Blender: 2.8

Wed, Dec 26

Bastien Montagne (mont29) added a comment to T59773: Crash accessing python gpu module in background mode..

@Jacques Lucke (JacquesLucke) Think most of the time they won't work in background mode, no, which would solve most of the crashes already. For cases where OGL context is used in background mode, indeed that patch sounds OK to me, and it's add-on responsibility to handle the issue properly. And no rush here, it can wait for you to get back from holidays! ;)

Wed, Dec 26, 10:54 PM · Addons, OpenGL / Gfx, Python, BF Blender

Tue, Dec 25

Germano Cavalcante (mano-wii) added a comment to T56362: sub surface scattering does not work on eevee on radeon hd 7600 series.

Added the other driver in rB60b930af3e73

Tue, Dec 25, 7:10 PM · Eevee, OpenGL / Gfx, BF Blender: 2.8
noki paike (amonpaike) added a comment to T56362: sub surface scattering does not work on eevee on radeon hd 7600 series.

you are right, they are the drivers ...
to avoid the famous wireframe problem, I had installed some unofficial drivers .. from guru3d .. https://forums.guru3d.com/threads/16-101-x-pre-gcn-driver-pack.409002/
and they worked well until about a week ago .. even with the new patches you had made.
then recently some old bugs have re-emerged ...

Tue, Dec 25, 5:54 PM · Eevee, OpenGL / Gfx, BF Blender: 2.8
Germano Cavalcante (mano-wii) added a comment to T59773: Crash accessing python gpu module in background mode..

IMHO, first thing first, addons should not call those gpu functions at module level (...)

Tue, Dec 25, 3:41 PM · Addons, OpenGL / Gfx, Python, BF Blender
Germano Cavalcante (mano-wii) added a comment to T56362: sub surface scattering does not work on eevee on radeon hd 7600 series.

:(
@Germano Cavalcante (mano-wii)
the bug is back
(...)

Tue, Dec 25, 3:37 PM · Eevee, OpenGL / Gfx, BF Blender: 2.8
Jacques Lucke (JacquesLucke) added a comment to T59773: Crash accessing python gpu module in background mode..

I can fix the Object Scatter and Math Vis addon in that regard (maybe also the UV Export addon).
However, it might take me a couple of days because I'm on vacation and have to work on my Bachelor thesis..
Feel free to assign the addon updates to me.

Tue, Dec 25, 12:29 PM · Addons, OpenGL / Gfx, Python, BF Blender
Bastien Montagne (mont29) added a comment to T59773: Crash accessing python gpu module in background mode..

IMHO, first thing first, addons should not call those gpu functions at module level, that means they get called during first eval of the code (first import). This is bad practice in general, unless absolutely mandatory we avoid that kind of extra processing since it makes Blender loading slower.

Tue, Dec 25, 11:26 AM · Addons, OpenGL / Gfx, Python, BF Blender
noki paike (amonpaike) added a comment to T56362: sub surface scattering does not work on eevee on radeon hd 7600 series.

:(
@Germano Cavalcante (mano-wii)
the bug is back
with also the problems of shading in solid mode--
it is as if the corrections that were made were canceled ..

Tue, Dec 25, 5:49 AM · Eevee, OpenGL / Gfx, BF Blender: 2.8

Mon, Dec 24

Amir Shehata (amir.shehata) added a comment to T59773: Crash accessing python gpu module in background mode..

animation nodes addon also triggers this crash

Mon, Dec 24, 11:36 PM · Addons, OpenGL / Gfx, Python, BF Blender
Germano Cavalcante (mano-wii) added a comment to T59773: Crash accessing python gpu module in background mode..

I think it would be best if the addons chek out these errors themselves.
But for this, instead of crash it would be better to raise an error message:

1diff --git a/source/blender/gpu/GPU_init_exit.h b/source/blender/gpu/GPU_init_exit.h
2index e89c970b7d9..8f1a42c8795 100644
3--- a/source/blender/gpu/GPU_init_exit.h
4+++ b/source/blender/gpu/GPU_init_exit.h
5@@ -38,6 +38,7 @@ extern "C" {
6
7 void GPU_init(void);
8 void GPU_exit(void);
9+bool GPU_is_initialized(void);
10
11 #ifdef __cplusplus
12 }
13diff --git a/source/blender/gpu/intern/gpu_init_exit.c b/source/blender/gpu/intern/gpu_init_exit.c
14index 55d0466c929..d21acb188d9 100644
15--- a/source/blender/gpu/intern/gpu_init_exit.c
16+++ b/source/blender/gpu/intern/gpu_init_exit.c
17@@ -73,7 +73,6 @@ void GPU_init(void)
18 }
19
20
21-
22 void GPU_exit(void)
23 {
24 if (!G.background) {
25@@ -92,3 +91,9 @@ void GPU_exit(void)
26
27 initialized = false;
28 }
29+
30+
31+bool GPU_is_initialized(void)
32+{
33+ return initialized;
34+}
35diff --git a/source/blender/python/gpu/gpu_py_shader.c b/source/blender/python/gpu/gpu_py_shader.c
36index 5f1ea7a33ce..25ffd768a07 100644
37--- a/source/blender/python/gpu/gpu_py_shader.c
38+++ b/source/blender/python/gpu/gpu_py_shader.c
39@@ -29,6 +29,7 @@
40
41 #include "BLI_utildefines.h"
42
43+#include "GPU_init_exit.h"
44 #include "GPU_shader.h"
45 #include "GPU_shader_interface.h"
46
47@@ -721,6 +722,11 @@ static PyObject *bpygpu_shader_from_builtin(PyObject *UNUSED(self), PyObject *ar
48 return NULL;
49 }
50
51+ if (!GPU_is_initialized()) {
52+ PyErr_SetString(PyExc_SystemError, "This function can not be called without a GPU context");
53+ return NULL;
54+ }
55+
56 GPUShader *shader = GPU_shader_get_builtin_shader(shader_id);
57
58 return BPyGPUShader_CreatePyObject(shader, true);
59diff --git a/source/blender/python/gpu/gpu_py_types.c b/source/blender/python/gpu/gpu_py_types.c
60index d9ef0736f8e..b767ee1b56c 100644
61--- a/source/blender/python/gpu/gpu_py_types.c
62+++ b/source/blender/python/gpu/gpu_py_types.c
63@@ -27,6 +27,10 @@
64
65 #include <Python.h>
66
67+#include "BLI_utildefines.h"
68+
69+#include "GPU_init_exit.h"
70+
71 #include "../generic/py_capi_utils.h"
72 #include "../generic/python_utildefines.h"
73
74@@ -43,12 +47,31 @@ static struct PyModuleDef BPyGPU_types_module_def = {
75 .m_name = "gpu.types",
76 };
77
78+static PyObject *bpygpu_type_new_error(
79+ PyTypeObject *UNUSED(type),
80+ PyObject *UNUSED(args),
81+ PyObject *UNUSED(kwds))
82+{
83+ PyErr_SetString(PyExc_SystemError, "This object can not be created without a GPU context");
84+ return NULL;
85+}
86+
87 PyObject *BPyInit_gpu_types(void)
88 {
89 PyObject *submodule;
90
91 submodule = PyModule_Create(&BPyGPU_types_module_def);
92
93+ if (!GPU_is_initialized()) {
94+ /* Warning: Only restarting Blender for it to work again. */
95+ BPyGPUVertFormat_Type.tp_new = bpygpu_type_new_error;
96+ BPyGPUVertBuf_Type.tp_new = bpygpu_type_new_error;
97+ BPyGPUIndexBuf_Type.tp_new = bpygpu_type_new_error;
98+ BPyGPUBatch_Type.tp_new = bpygpu_type_new_error;
99+ BPyGPUOffScreen_Type.tp_new = bpygpu_type_new_error;
100+ BPyGPUShader_Type.tp_new = bpygpu_type_new_error;
101+ }
102+
103 if (PyType_Ready(&BPyGPUVertFormat_Type) < 0)
104 return NULL;
105 if (PyType_Ready(&BPyGPUVertBuf_Type) < 0)

Mon, Dec 24, 11:07 PM · Addons, OpenGL / Gfx, Python, BF Blender
Brecht Van Lommel (brecht) merged T59762: GUI render issues - blender-softwaregl crashes into T58250: Crash instead of error message on Linux for unsupported OpenGL.
Mon, Dec 24, 12:17 AM · BF Blender, Platform: Linux, OpenGL / Gfx

Dec 23 2018

Bastien Montagne (mont29) merged T59787: Blender 2.80 crash when running in batch mode into T59773: Crash accessing python gpu module in background mode..
Dec 23 2018, 1:18 PM · Addons, OpenGL / Gfx, Python, BF Blender