New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD hangs with multidraw on Linux #9

Closed
michaelmarks opened this Issue May 21, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@michaelmarks
Copy link
Contributor

michaelmarks commented May 21, 2014

Ubuntu 14.04 LTS
OpenGL renderer string: AMD Radeon R9 200 Series
OpenGL version string: 4.4.12874 Compatibility Profile Context 14.10.1006

The multidraw examples do not work on my linux config. Examples that use Shader Draw Params hang my config. Requiring a kill -9 on the process

GLMultiDraw-NoSDP only renders one of the cubes.
GLMultiDraw-SDP hangs the driver

If you replace gl_DrawIDARB with gl_BaseInstanceARB for GLMultiDraw-SDP, the driver does not hang. The output then matches GLMultiDraw-NoSDP. But note that output is still incorrect.

@michaelmarks

This comment has been minimized.

Copy link
Contributor

michaelmarks commented May 23, 2014

I believe glMultiDrawElementsIndirect only works on AMD linux drivers when a GL_DRAW_INDIRECT_BUFFER is bound. I added a new solution TextureArrayMultiDrawBuffer that works while TextureArrayMultiDraw does not.

Note that SDP & NoSDP work when a GL_DRAW_INDIRECT_BUFFER is bound. When one isn't bound, NoSDP renders incorrectly while SDP hangs the driver.

@daVinci1980 daVinci1980 closed this Feb 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment