OpenGL buffer creation error on MacBook Pro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Medium
|
Unassigned |
Bug Description
This is on a 2016 MacBook Pro running Mojave (10.14.3 (18D42)). KiCad 5.1.0, as released.
I keep my MacBook Pro's internal display's resolution at 1920x1200 although the retina will do almost twice this, mainly because it's still readable to me.
If I plug in an external display I get an OpenGL error (unable to allocate buffer) if its set resolution exceeds the internal display's scaled resolution in either X or Y. So 1920x1020 is fine on the external display (its aspect ratio doesn't support 1920x1200), but anything higher and either eeschema or newpcb will fail to allocate an OpenGL buffer and _sometimes_ falls back on software rendering. Sometimes all of KiCad simply appears to exit. If I set the internal retina display to 3360x2100, then I can use the external display at the same. (or slightly less on the height due to the different aspect ratio.) The external display is a 4K monitor.
Other OpenGL software works fine, including Fusion 360 and Ultimaker Cura. But they may possibly use different Apple frameworks for rendering (I have no familiarity with any of this).
Either way, it looks like during OpenGL initialization it uses the wrong display to create the buffer.
Not sure what to attach or what else to provide, it's pretty straightforward to reproduce. (I'm not at a suitable external display right now, unfortunately, so can't copy the exact error message.)
I use Display Manager to manage the scaled display resolutions.
Changed in kicad: | |
importance: | Undecided → Medium |
status: | New → Incomplete |
Where I wrote "If I plug in an external display I get an OpenGL error " I meant "If I plug in an external display and run KiCad and launch either eeschema or newpcb I get an OpenGL error "