Right now I’m testing various AMD graphics cards on my P550 development system; I have tested both an old R5 230 and a slightly-less-old RX 550.
Both pass through the display output, and I have my debugging info documented over on my GitHub: HiFive Premier P550 · Issue #65 · geerlingguy/sbc-reviews · GitHub
However, there are two issues I’m running into:
- Even using the internal Imagination GPU, most OpenGL applications and tests will crash with the error below.
- When I plug into the AMD card and boot, all the OpenGL calls still seem to prefer the iGPU and not the AMD GPU, even though it seems like it’s loaded fine.
OpenGL error:
ubuntu@ubuntu:~$ DISPLAY=:1 glxinfo -B
name of display: :1
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 68
Current serial number in output stream: 69
Is there a way I can force everything to use the AMD GPU and not try the internal GPU (specifically, applications like SuperTuxKart and utilities like glmark2
)?