Hey guys, I'm working on some OpenGL code and I noticed some peculiarities on one of my machines which don't happen on any of the other ones. After messing around with my code I managed to get it working but I have no idea why the changes I made caused it to work, and how to detect this other than hardcoding the renderer's name, so I decided to ask here.
GL_RENDERER AMD Radeon HD 5700 Series
I've also tested using a core, core and forward compat, compatibility and default OpenGL profile.
Here's what I'm doing each frame:
When performing this I get the result in the attached video. Random flickering, and sometimes the last texture being drawn is not displayed. I'd like to stress that I have checked the parameters that go into the functions stated below and have tested them on a variety of machines and GPUs including the Mesa3D llvmpipe, and therefore do not believe my ranges are wrong, but rather that I'm making a wrong assumption somewhere.
I got the scene to render properly by using only "GL_MAP_WRITE_BIT" and by limiting my activated textures (and uniform array size) to 1. The driver specifies that it supports both the GL_ARB_gpu_shader5 extension (which I've tried to request) and I'm using GLSL 440 therefore uniform indexing of opaque types should work. Additionally, I do not see why the invalidate buffer and flush explicit bits would cause problems either, considering the stated driver support.
I would greatly appreciate it if someone could shed some insight on this.
You seem to be a developer using OpenGL coding. There is a specific AMD Forum where you can probably get better assistance from here: OpenGL & Vulkan but you probably going to first have to post it here to get Whitelisted by one of the Moderators so that you have full access to these Developer's AMD Forums from here: https://community.amd.com/community/devgurus/newcomers-start-here
In OpenGL & Vulkan there is one thread concerning OpenGL and RX 5700 series GPU Cards but several threads concerning OpenGL:
Thank you for the quick response. I'll post there, although I believe my question is more driver related.
Also, I'd like to clarify that I'm talking about the old AMD Radeon HD 5700 Series and not the new RX 5700.
Oops, didn't catch that. The HD5700 is considered to be legacy and not supported by AMD Driver updates. you only have a choice of two drivers:
1- WHQL 2015
You can download them from AMD download page from here: https://www.amd.com/en/support/graphics/amd-radeon-hd/ati-radeon-hd-5000-series/ati-radeon-hd-5750 -(Same driver for the HD5750. These are the only two shown at AMD Download page).
If your problem is a driver issue than you are out of luck since there are no more newer AMD Drivers for that HD5xxx series GPU Cards except those two mentioned above.
I figured the GPU is too old to receive driver updates, but I'd still like to know why it behaves in the way it does (if it's intended) and how to detect this behavior so I can work around it.
Maybe someone in the Developer's Forum can answer your question or you can always open an Online AMD Service Request (Official AMD SUPPORT) from here: https://www.amd.com/en/support/contact-email-form