memononen / nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
zlib License
5.06k stars 767 forks source link

rendering error on macos sierra and a special mac #594

Open hexdump0815 opened 3 years ago

hexdump0815 commented 3 years ago

hello,

i'm trying to get vcvrack (which is using nanovg) working on a somewhat special mac: its a thinkpad x201 (intel i5-520m with gma hd / 5700mhd integrated graphics) running macos sierra hackintosh style, so not really a well supported setup :) ... but anyway everything is working well and so far all apps including opengl apps are working fine - only with vcvrack i get some strange rendering error (see below).

i tried to get closer to the cause and built the glfw examples and all render fine, then i built the gl2 nanovg example and see the same rendering errors i get with vcvrack. i buit it then without glew support (i think) to rule that out as well and still get the same rendering errors which look like this:

hackintosh-rendering

maybe you have an idea what might be the problem resulting in this kind of wrong rendering and maybe you even have an idea how to work around it? i can build the nanovg gl2 example easily for testing (and later i can build vcvrack myself with possible patches applied too in case there is a solution).

as all other opengl apps work fine on this system i hope that there is a way to also make the nanovg example / vcvrack run well on it. i guess its either the old gfx card with some incomplete opengl implementation or the wild mix of hacked drivers used in my setup so that maybe some features are announced which are not there in the hardware (and disabling them by hand might help) maybe?

a lot of thanks in advance and best wishes - hexdump