🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

swapBuffers crash logout

Started by
3 comments, last by Tommato 3 years, 2 months ago

Hi All

Drawing about 80 millions of polys, call swapBuffers forces logout and a system login window appears. OSX 10.14, OpenGL 3.3 core profile, happens on 3 machines with different cards.

Any idea ?

Thx

Advertisement

That sounds nasty. Any chance of malware in some library you're using?

My tutorials on youtube: https://www.youtube.com/channel/UC9CQOdT1A9JlAks0-PF5vvw
Latest Tutorials:
A simple and intuitive ray triangle intersection algorithm https://youtu.be/XgUhgSlQvic

Möller Trumbore ray triangle intersection explained visually https://youtu.be/fK1RPmF_zjQ

Setting up OpenAL c++ visual studio https://youtu.be/WvND0djMcfE

mattstone2728 said:

That sounds nasty. Any chance of malware in some library you're using?

Never saw viruses on OSX, Of course tried different settings, the behavior is like “the card has a data limit”, e.g. fewer geometry, textures etc - it renders ok, but with more data - crash. But AFAIK it should not be so (more data - slower render, but rendered). The instancing is used intensively

After a day of debugging: crashed glDrawElementsInstances if amount of geometry is big enough, For example, the instances count is 6-7k, works fine with 5K faces per instance, crashes with 20K. Tried to limit total faces count per glDrawElementsInstances call (like up to 1 million of faces). Still crashes

After more debugging: tried glDrawElementsInstanced “part by part” and also insert glFlish after every call.

The crash becomes much more seldom but still here (logout)

This topic is closed to new replies.

Advertisement