Trouble with OpenGL on AMD Vega GPU
-
I had an working application with an OGLWidget that does not use gl calls, but the pure painEvent->paint flow. It was working perfectly in my virtualmachine and also on targets with intel graphics (I see also its gpu utilisation)
now we switched to an SBC based on amd ryzen, with vega 3 graphics. driver are upto date, tool like GPU-Z shows openGL is isntalled and working in version 4.6
unfortunately the GPU widget wont render there. the OGLWidget just shows whatever was there before (for example if changeing tab, it shows the previous tab). as OGLWidget is deprecated, I tried switching to QOpenGLWidget, which again works perfectly on my intel integrated and Vm targets. On the AMD Vega target it has even more severe consequences: the tab in stacked widget with the GL widget does not render at all (all other tabs work, trying to switch to the tab with the GL widget does nothing and is stuck on the previously selected tab)
I also tried to fiddle around wiht the options, like QSurfacePfile, QSurfaceFromat ,...but the outcome stayed the same
I have to use qt 5.9.9 with mvcs15-32bit. I am not out of ideas on why this does not work...any hints? ideas?
-
Hi,
It could be an issue with graphics driver or a Qt bug but I would guess the former since you have it running with your other graphics stack.
While you are locked to 5.9.9, can you test a more recent version to rule out a Qt issue ?