Mike Erwin (merwin)
Animal

Projects

User Since
Apr 27 2010, 10:07 PM (330 w, 4 d)

Recent Activity

Today

Mike Erwin (merwin) added a comment to T47630: Blender always crash Mac Book 2007, 2GB, Mac OS X 10.7.5.

Actually the line drawing is not wireframe, it's for the selection outline. My mistake!

Sun, Aug 28, 6:00 AM · BF Blender
Mike Erwin (merwin) added a comment to T47630: Blender always crash Mac Book 2007, 2GB, Mac OS X 10.7.5.

This test build changes version to 2.78. New prefs, new startup file.

Sun, Aug 28, 5:56 AM · BF Blender
Mike Erwin (merwin) added a comment to T47630: Blender always crash Mac Book 2007, 2GB, Mac OS X 10.7.5.

Ok, that tells us the very first OpenGL function call is failing. Trying to run code at address 0, which might mean it's being called without an active GL context.

Sun, Aug 28, 5:42 AM · BF Blender

Yesterday

Mike Erwin (merwin) added a comment to T47630: Blender always crash Mac Book 2007, 2GB, Mac OS X 10.7.5.

Try running this one from Terminal.app. It should tell us which line of code leads to the crash, or if the problem is somewhere else.

Sat, Aug 27, 8:57 PM · BF Blender
Mike Erwin (merwin) added a comment to rB7bc9353957f4: Code Cleanup (Non-functional tweaks).

This commit also adds trailing whitespace—the invisible disease—to blank lines.

Sat, Aug 27, 8:57 PM
Mike Erwin (merwin) added a comment to P388 2.8 monkey coding: draw speaker with new immediate mode.

rB9d3813e602b8 Added new functions to Gawain.

Sat, Aug 27, 8:18 PM
Mike Erwin (merwin) committed rB498583844fb7: OpenGL: use new uniform color functions (authored by Mike Erwin (merwin)).
OpenGL: use new uniform color functions
Sat, Aug 27, 8:14 PM
Mike Erwin (merwin) committed rB9d3813e602b8: Gawain: convenience functions for uniform color (authored by Mike Erwin (merwin)).
Gawain: convenience functions for uniform color
Sat, Aug 27, 8:14 PM
Mike Erwin (merwin) added a comment to P388 2.8 monkey coding: draw speaker with new immediate mode.

Thanks for this! Yes it's useful toward T49043

Sat, Aug 27, 7:22 PM
Mike Erwin (merwin) added a comment to T47630: Blender always crash Mac Book 2007, 2GB, Mac OS X 10.7.5.

No I haven't seen the problem on my end.

Sat, Aug 27, 8:47 AM · BF Blender

Fri, Aug 26

Mike Erwin (merwin) added a comment to rB42bbfe7f0a1f: OpenGL: draw grid floor & axes with new immediate mode.

This is derived from work I did spring 2015 in GPU_data_request branch.

Fri, Aug 26, 7:29 AM
Mike Erwin (merwin) committed rB42bbfe7f0a1f: OpenGL: draw grid floor & axes with new immediate mode (authored by Mike Erwin (merwin)).
OpenGL: draw grid floor & axes with new immediate mode
Fri, Aug 26, 7:13 AM

Thu, Aug 25

Mike Erwin (merwin) committed rB060bf1bd288d: OpenGL: draw empties without GLU (authored by Mike Erwin (merwin)).
OpenGL: draw empties without GLU
Thu, Aug 25, 7:46 PM
Mike Erwin (merwin) edited the description of T49042: remove GLU from Blender 2.8.
Thu, Aug 25, 7:31 PM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) committed rBda36b447c7d5: OpenGL: de-GLU the transform manipulator (authored by Mike Erwin (merwin)).
OpenGL: de-GLU the transform manipulator
Thu, Aug 25, 5:48 AM

Tue, Aug 23

Mike Erwin (merwin) committed rB1fc1fd837209: OpenGL: draw area resize handle with new immediate mode (authored by Mike Erwin (merwin)).
OpenGL: draw area resize handle with new immediate mode
Tue, Aug 23, 5:40 AM

Mon, Aug 22

Mike Erwin (merwin) committed rB28cf9cfd15ac: NDOF: fix crash on Mac with old drivers (authored by Mike Erwin (merwin)).
NDOF: fix crash on Mac with old drivers
Mon, Aug 22, 5:10 AM

Sun, Aug 21

Mike Erwin (merwin) added a project to T49042: remove GLU from Blender 2.8: Unknown Object (Project).
Sun, Aug 21, 4:32 AM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) added a project to T49043: replace OpenGL immediate mode in Blender 2.8: Unknown Object (Project).
Sun, Aug 21, 4:31 AM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) added a project to T49012: update OpenGL requirements for Blender 2.8: Unknown Object (Project).
Sun, Aug 21, 4:29 AM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) committed rBbe2bc7e0f66b: OpenGL: draw color picker wheel with new immediate mode (authored by Mike Erwin (merwin)).
OpenGL: draw color picker wheel with new immediate mode
Sun, Aug 21, 4:26 AM
Mike Erwin (merwin) committed rBeb717ee9794a: Gawain: more immediate mode functions (authored by Mike Erwin (merwin)).
Gawain: more immediate mode functions
Sun, Aug 21, 4:26 AM
Mike Erwin (merwin) committed rB1e6b3ef1a1e2: cleanup: unused OpenGL utility code (authored by Mike Erwin (merwin)).
cleanup: unused OpenGL utility code
Sun, Aug 21, 4:26 AM

Fri, Aug 19

Mike Erwin (merwin) committed rB7e02d335c0ce: OpenGL: don't poll for errors, rely on KHR_debug (authored by Mike Erwin (merwin)).
OpenGL: don't poll for errors, rely on KHR_debug
Fri, Aug 19, 6:53 AM

Thu, Aug 18

Mike Erwin (merwin) added a comment to rBb10d0058d72d: NDOF: compile 3D mouse code only if WITH_INPUT_NDOF.

Also tested working on Windows & Linux.

Thu, Aug 18, 7:09 AM
Mike Erwin (merwin) committed rBb10d0058d72d: NDOF: compile 3D mouse code only if WITH_INPUT_NDOF (authored by Mike Erwin (merwin)).
NDOF: compile 3D mouse code only if WITH_INPUT_NDOF
Thu, Aug 18, 6:41 AM
Mike Erwin (merwin) committed rBa195dd15d437: NDOF: suppress buttons debug log (authored by Mike Erwin (merwin)).
NDOF: suppress buttons debug log
Thu, Aug 18, 6:41 AM

Wed, Aug 17

Mike Erwin (merwin) committed rBd8f036efd6a5: OpenGL: draw NDOF guide with new immediate mode (authored by Mike Erwin (merwin)).
OpenGL: draw NDOF guide with new immediate mode
Wed, Aug 17, 3:56 AM
Mike Erwin (merwin) committed rB6b34eed21735: Gawain: add v functions to immediate mode (authored by Mike Erwin (merwin)).
Gawain: add v functions to immediate mode
Wed, Aug 17, 3:56 AM

Tue, Aug 16

Mike Erwin (merwin) committed rBb92d76000d93: fix #includes for GPU debug (authored by Mike Erwin (merwin)).
fix #includes for GPU debug
Tue, Aug 16, 11:15 PM
Mike Erwin (merwin) committed rBb8f27b25145b: OpenGL: shaders for simple 3D drawing (authored by Mike Erwin (merwin)).
OpenGL: shaders for simple 3D drawing
Tue, Aug 16, 8:59 PM
Mike Erwin (merwin) added a comment to T49089: GL error.

Reported bug to Intel graphics folks.

Tue, Aug 16, 7:52 AM · OpenGL / Gfx
Mike Erwin (merwin) added a comment to T49089: GL error.

Crash is inside glLinkProgram, called from GPU_shader_create_ex. The vertex & fragment shaders compiled successfully with nothing in their info logs. Intel driver bug??

Tue, Aug 16, 6:23 AM · OpenGL / Gfx
Mike Erwin (merwin) committed rB8619e091072c: OpenGL: tweak legacy 2D shader (authored by Mike Erwin (merwin)).
OpenGL: tweak legacy 2D shader
Tue, Aug 16, 3:47 AM
Mike Erwin (merwin) added a comment to T49089: GL error.

On Intel HD 4600 I'm seeing the same bad behavior @Aaron Carlisle (Blendify) described in IRC. Crash in driver, no GL error reported.

driver stuff
...
20: GPU_shader_create_ex - 0xDBC721C0
19: GPU_generate_pass - 0xDBC77EE0
18: GPU_material_construct_end - 0xDBC5FF50
17: GPU_material_from_blender - 0xDBC5B360
16: GPU_begin_object_materials - 0xDBC43A70
15: draw_mesh_object - 0xDAFF82A0
14: draw_object - 0xDAFE5880
13: view3d_draw_objects - 0xDAFCB890
...

Still need to fix the separate error I see on AMD with the same file. But the Intel one first!

Tue, Aug 16, 3:15 AM · OpenGL / Gfx

Mon, Aug 15

Mike Erwin (merwin) committed rBc00b2d89911e: OpenGL: ignore deprecated API warnings (authored by Mike Erwin (merwin)).
OpenGL: ignore deprecated API warnings
Mon, Aug 15, 8:56 PM
Mike Erwin (merwin) added a comment to T49089: GL error.

Here's my system-info.txt GLSL section

Mon, Aug 15, 8:25 PM · OpenGL / Gfx
Mike Erwin (merwin) added a comment to T49089: GL error.

nVidia has a good FAQ about these limits. Reading carefully now...

Mon, Aug 15, 8:16 PM · OpenGL / Gfx
Mike Erwin (merwin) added a comment to T49089: GL error.

Additional info:

Mon, Aug 15, 8:14 PM · OpenGL / Gfx
Mike Erwin (merwin) added a comment to T49089: GL error.

Actual problem is with glActiveTexture(GL_TEXTURE0 + number), not glEnable.

Mon, Aug 15, 7:38 PM · OpenGL / Gfx
Mike Erwin (merwin) added a comment to T49089: GL error.

Using your file I get an error inside GPU_shader_uniform_texture, might originate further up.

Mon, Aug 15, 11:26 AM · OpenGL / Gfx
Mike Erwin (merwin) added a comment to rBf3d65ad23c7b: OpenGL: debug context on Windows.

Did something similar in master to aid debugging in 2.78 rB2c03d0186a01

Mon, Aug 15, 11:17 AM
Mike Erwin (merwin) committed rB2c03d0186a01: OpenGL: debug context on Windows (authored by Mike Erwin (merwin)).
OpenGL: debug context on Windows
Mon, Aug 15, 10:51 AM
Mike Erwin (merwin) committed rBad6e7a0be15c: OpenGL: backtrace on errors (--debug-gpu) (authored by Mike Erwin (merwin)).
OpenGL: backtrace on errors (--debug-gpu)
Mon, Aug 15, 10:51 AM
Mike Erwin (merwin) committed rB55eb8ce87361: OpenGL: enhance debug output (authored by Mike Erwin (merwin)).
OpenGL: enhance debug output
Mon, Aug 15, 10:51 AM
Mike Erwin (merwin) committed rB23d7ae184397: OpenGL: backtrace on errors (--debug-gpu) (authored by Mike Erwin (merwin)).
OpenGL: backtrace on errors (--debug-gpu)
Mon, Aug 15, 10:02 AM
Mike Erwin (merwin) triaged T49089: GL error as "Confirmed" priority.
Mon, Aug 15, 7:02 AM · OpenGL / Gfx
Mike Erwin (merwin) added a comment to rBa18b2ba64366: Cycles: Use half storage for 16bit files (e.g. 16bit pngs) as well..

Caught up with the half float vs uint16 debate in IRC just after you left.

Mon, Aug 15, 12:58 AM

Sun, Aug 14

Mike Erwin (merwin) committed rBf1ad3483af37: get latest OpenGL version on Windows + AMD (authored by Mike Erwin (merwin)).
get latest OpenGL version on Windows + AMD
Sun, Aug 14, 7:27 AM
Mike Erwin (merwin) committed rB91f04b82a506: early out for ortho grid drawing (authored by Mike Erwin (merwin)).
early out for ortho grid drawing
Sun, Aug 14, 4:34 AM
Mike Erwin (merwin) committed rB90c4ad7387e6: Mac fixes for new ortho grid drawing (authored by Mike Erwin (merwin)).
Mac fixes for new ortho grid drawing
Sun, Aug 14, 4:34 AM
Mike Erwin (merwin) committed rBdb5ad6a79e77: draw ortho grid with new immediate mode (authored by Mike Erwin (merwin)).
draw ortho grid with new immediate mode
Sun, Aug 14, 12:16 AM
Mike Erwin (merwin) committed rBe36af2c2579f: Gawain: increase size of immediate mode buffer (authored by Mike Erwin (merwin)).
Gawain: increase size of immediate mode buffer
Sun, Aug 14, 12:16 AM
Mike Erwin (merwin) committed rBdfbc51f764a8: cleanup: ortho grid drawing (authored by Mike Erwin (merwin)).
cleanup: ortho grid drawing
Sun, Aug 14, 12:16 AM

Fri, Aug 12

Mike Erwin (merwin) added a comment to T48772: 3D View shading issue dependent on Normal map channel.

Good point @Brecht Van Lommel (brecht). I'll try factory settings for both versions and see if results still differ.

Fri, Aug 12, 1:50 AM · BF Blender

Thu, Aug 11

Mike Erwin (merwin) added a comment to T49064: Crash on Graphics Driver issue, macOS with Intel HD Graphics 515 GPU.

The crash report doesn't offer many details. Only that some command leads GPUSupport (an Apple library called internally by the drivers) to peace out. Problem could be in the Intel client driver or Blender's misuse of OpenGL. We have not seen this problem on other drivers, so that driver is suspect.

Thu, Aug 11, 8:15 AM · OpenGL / Gfx, Platform: Mac OS X, BF Blender
Mike Erwin (merwin) committed rB4565f3d0c823: use new immediate mode for UI_draw_box_shadow (authored by Mike Erwin (merwin)).
use new immediate mode for UI_draw_box_shadow
Thu, Aug 11, 7:07 AM
Mike Erwin (merwin) committed rB7664d947b38e: Gawain: allow partial vertex specification (authored by Mike Erwin (merwin)).
Gawain: allow partial vertex specification
Thu, Aug 11, 7:07 AM
Mike Erwin (merwin) committed rB4aadf7331e10: Gawain: tweak immediate mode API (authored by Mike Erwin (merwin)).
Gawain: tweak immediate mode API
Thu, Aug 11, 12:02 AM

Wed, Aug 10

Mike Erwin (merwin) added a comment to rBf537d9628665: Merge branch 'blender2.8' of git.blender.org:blender into blender2.8.

My bad... was using GitHub client for Windows, which has a shiny "Sync" button instead of pull --rebase and push. I'll be more careful in the future.

Wed, Aug 10, 10:36 PM
Mike Erwin (merwin) committed rBf537d9628665: Merge branch 'blender2.8' of git.blender.org:blender into blender2.8 (authored by Mike Erwin (merwin)).
Merge branch 'blender2.8' of git.blender.org:blender into blender2.8
Wed, Aug 10, 10:09 PM
Mike Erwin (merwin) committed rBadbbcefe5722: Gawain: fewer glEnable/DisableVertexAttribArray calls (authored by Mike Erwin (merwin)).
Gawain: fewer glEnable/DisableVertexAttribArray calls
Wed, Aug 10, 10:09 PM
Mike Erwin (merwin) committed rBe7a32365cf9b: Gawain: map vertex format to shader inputs (authored by Mike Erwin (merwin)).
Gawain: map vertex format to shader inputs
Wed, Aug 10, 10:46 AM
Mike Erwin (merwin) committed rB5320a0ad9b30: Gawain: fix compiler warnings (authored by Mike Erwin (merwin)).
Gawain: fix compiler warnings
Wed, Aug 10, 10:46 AM

Tue, Aug 9

Mike Erwin (merwin) committed rBe4e1b0c7d353: OpenGL: invalidate buffers the modern way (authored by Mike Erwin (merwin)).
OpenGL: invalidate buffers the modern way
Tue, Aug 9, 11:19 PM
Mike Erwin (merwin) committed rBf3d65ad23c7b: OpenGL: debug context on Windows (authored by Mike Erwin (merwin)).
OpenGL: debug context on Windows
Tue, Aug 9, 9:30 AM
Mike Erwin (merwin) committed rBb7f3fb0ef9d9: Gawain: fix Windows build error (authored by Mike Erwin (merwin)).
Gawain: fix Windows build error
Tue, Aug 9, 8:30 AM
Mike Erwin (merwin) committed rBa77e77599dc2: OpenGL: enhance debug output (authored by Mike Erwin (merwin)).
OpenGL: enhance debug output
Tue, Aug 9, 7:30 AM
Mike Erwin (merwin) committed rB989315379938: OpenGL: fix FBO error messages (authored by Mike Erwin (merwin)).
OpenGL: fix FBO error messages
Tue, Aug 9, 12:03 AM

Mon, Aug 8

Mike Erwin (merwin) committed rB39259fc8ab2d: draw 3D cursor with new immediate mode (authored by Mike Erwin (merwin)).
draw 3D cursor with new immediate mode
Mon, Aug 8, 9:45 PM
Mike Erwin (merwin) committed rBc73e4e99a544: OpenGL: simple 2D shader with flat color (authored by Mike Erwin (merwin)).
OpenGL: simple 2D shader with flat color
Mon, Aug 8, 10:56 AM
Mike Erwin (merwin) committed rB4214b3c44a8d: OpenGL: simplify 3D cursor drawing (authored by Mike Erwin (merwin)).
OpenGL: simplify 3D cursor drawing
Mon, Aug 8, 10:56 AM
Mike Erwin (merwin) committed rB6c65e5a00c40: GPU: bind builtin shader for immediate mode (authored by Mike Erwin (merwin)).
GPU: bind builtin shader for immediate mode
Mon, Aug 8, 10:56 AM
Mike Erwin (merwin) committed rB8e99eec0260f: Gawain: immediate mode set uniforms for active program (authored by Mike Erwin (merwin)).
Gawain: immediate mode set uniforms for active program
Mon, Aug 8, 10:56 AM
Mike Erwin (merwin) created T49043: replace OpenGL immediate mode in Blender 2.8.
Mon, Aug 8, 8:41 AM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) created T49042: remove GLU from Blender 2.8.
Mon, Aug 8, 8:21 AM · Unknown Object (Project), OpenGL / Gfx

Sun, Aug 7

Mike Erwin (merwin) committed rB6fea42d67724: Gawain: initialize & destroy immediate mode (authored by Mike Erwin (merwin)).
Gawain: initialize & destroy immediate mode
Sun, Aug 7, 7:38 AM
Mike Erwin (merwin) committed rB11ffbfb36a94: Gawain: bind a shader for immediate mode (authored by Mike Erwin (merwin)).
Gawain: bind a shader for immediate mode
Sun, Aug 7, 7:38 AM
Mike Erwin (merwin) committed rBf27516839faa: fix simple 2D built-in shaders (authored by Mike Erwin (merwin)).
fix simple 2D built-in shaders
Sun, Aug 7, 7:38 AM
Mike Erwin (merwin) committed rB0ea843054937: Gawain: legacy Mac VBO workarounds (authored by Mike Erwin (merwin)).
Gawain: legacy Mac VBO workarounds
Sun, Aug 7, 7:08 AM
Mike Erwin (merwin) committed rB6b21d22c6084: Gawain: fix VAO and VBO binds (authored by Mike Erwin (merwin)).
Gawain: fix VAO and VBO binds
Sun, Aug 7, 7:08 AM
Mike Erwin (merwin) committed rBe7f9614f079f: Gawain: legacy OpenGL compatibility (authored by Mike Erwin (merwin)).
Gawain: legacy OpenGL compatibility
Sun, Aug 7, 7:08 AM
Mike Erwin (merwin) committed rBa55c5dbcc4b2: Gawain: flesh out immediate mode (authored by Mike Erwin (merwin)).
Gawain: flesh out immediate mode
Sun, Aug 7, 7:08 AM
Mike Erwin (merwin) added a comment to T49012: update OpenGL requirements for Blender 2.8.

Added APPLE_flush_buffer_range to Mac requirements. Useful when updating part of a buffer. This extension has been around a long time and all GPUs support it.

Sun, Aug 7, 6:11 AM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) edited the description of T49012: update OpenGL requirements for Blender 2.8.
Sun, Aug 7, 6:07 AM · Unknown Object (Project), OpenGL / Gfx

Fri, Aug 5

Mike Erwin (merwin) committed rB4571fdde0ecf: OpenGL: transition to ARB FBOs, remove runtime checks (authored by Mike Erwin (merwin)).
OpenGL: transition to ARB FBOs, remove runtime checks
Fri, Aug 5, 3:12 AM
Mike Erwin (merwin) committed rB58697444bbb9: OpenGL: remove runtime check for EXT_gpu_shader4 (authored by Mike Erwin (merwin)).
OpenGL: remove runtime check for EXT_gpu_shader4
Fri, Aug 5, 3:12 AM
Mike Erwin (merwin) committed rB32757d488f50: OpenGL: require EXT_gpu_shader4 & ARB_framebuffer_object on Mac (authored by Mike Erwin (merwin)).
OpenGL: require EXT_gpu_shader4 & ARB_framebuffer_object on Mac
Fri, Aug 5, 3:12 AM
Mike Erwin (merwin) added a comment to T49012: update OpenGL requirements for Blender 2.8.

According to Apple's OpenGL matrix the following helpful extensions are available on all GPUs that are capable of running Blender 2.8:

  • EXT_gpu_shader4
  • ARB_framebuffer_object
Fri, Aug 5, 12:12 AM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) edited the description of T49012: update OpenGL requirements for Blender 2.8.
Fri, Aug 5, 12:01 AM · Unknown Object (Project), OpenGL / Gfx

Thu, Aug 4

Mike Erwin (merwin) committed rB797f1896fa02: OpenGL: immediate mode work-alike (authored by Mike Erwin (merwin)).
OpenGL: immediate mode work-alike
Thu, Aug 4, 10:06 PM
Mike Erwin (merwin) committed rB396dd824285d: OpenGL: add simple shaders for 2D drawing (authored by Mike Erwin (merwin)).
OpenGL: add simple shaders for 2D drawing
Thu, Aug 4, 10:06 PM
Mike Erwin (merwin) committed rB42d816a3d9d6: Blender 2.8 requires Mac OS 10.7 or later (authored by Mike Erwin (merwin)).
Blender 2.8 requires Mac OS 10.7 or later
Thu, Aug 4, 9:13 AM
Mike Erwin (merwin) committed rB3d9cc4d3f174: support automatic GPU switching on Mac (authored by Mike Erwin (merwin)).
support automatic GPU switching on Mac
Thu, Aug 4, 9:13 AM
Mike Erwin (merwin) committed rBb3cb7e265230: OpenGL: on Mac use legacy 2.1 or core 3.2 (authored by Mike Erwin (merwin)).
OpenGL: on Mac use legacy 2.1 or core 3.2
Thu, Aug 4, 8:37 AM

Wed, Aug 3

Mike Erwin (merwin) committed rB0d1f0116febf: OpenGL: Blender 2.8 on X11 requires GL 3.0 (authored by Mike Erwin (merwin)).
OpenGL: Blender 2.8 on X11 requires GL 3.0
Wed, Aug 3, 11:59 PM
Mike Erwin (merwin) added a comment to rBeccf5a6f8186: OpenGL: Blender 2.8 on Windows requires GL 3.2.

This implements the Windows part of T49012

Wed, Aug 3, 10:52 PM
Mike Erwin (merwin) created T49012: update OpenGL requirements for Blender 2.8.
Wed, Aug 3, 10:47 PM · Unknown Object (Project), OpenGL / Gfx
Mike Erwin (merwin) committed rBeccf5a6f8186: OpenGL: Blender 2.8 on Windows requires GL 3.2 (authored by Mike Erwin (merwin)).
OpenGL: Blender 2.8 on Windows requires GL 3.2
Wed, Aug 3, 8:47 PM

Tue, Aug 2

Mike Erwin (merwin) added a comment to T48772: 3D View shading issue dependent on Normal map channel.

Thanks for the info!

Tue, Aug 2, 4:44 PM · BF Blender