Advertisement

freeglut multithreaded on AMD GPUs

Started by April 21, 2020 01:12 AM
14 comments, last by taby 4 years, 9 months ago

Since everyone keeps telling me to get away from freeglut, I may just do that. Thanks again!

it better you write the exact code so we can see if multithreading is hamdled properly additional information is what type of os you aim.

Advertisement

Dear @_weirdcat_ :

The thread function is at: https://github.com/sjhalayka/julia4d3/blob/401afb08f168b67cf25c202c821ef46e43cf852c/ssao.h#L700

The function that calls the thread function is at: https://github.com/sjhalayka/julia4d3/blob/401afb08f168b67cf25c202c821ef46e43cf852c/ssao.h#L1389

Good news! Someone with an nVidia GPU ran my app and it works great. So the problem is the AMD driver! How does one even go about talking to AMD about such a thing, I wonder? Thanks again for your help, everyone.

Ahh bad news. it apparently crashes on nVidia too. Sorry about the confusion.

This leaves me no choice … I've got to do the computation in the same thread as the interface. I will consider switching over to GLFW and Dear Im_gu at the same time.

This topic is closed to new replies.

Advertisement