GPU acceleration is only available if OpenGL drivers exist on the system. This applies to both Windows and Linux. If not, the tool will automatically fallback to CPU implementation, which will not be as performant. (This is also the case when using remote X11 servers i.e. launching the Linux UI in Windows with MobaXTerm-like tools). The minimum expected OpenGL version is 3.1 on both Linux and Windows. While AMDuProf tries to detect the version automatically, should this fail due to unforeseen scenarios, where the tool falls back to CPU rendering, but OpenGL (>= 3.1) is still available, environment variables could be used to tweak the behavior, as listed in the following table.
| Environment Variable | Purpose | Default Value |
|---|---|---|
| AMDUPROF_OPENGL_PROFILE | Specify the OpenGL profile. Valid values are: core,
compatibility and none
(none implies default profile is selected)
. |
none
|
| AMDUPROF_OPENGL_MAJOR | Specify major version of OpenGL, minimum 3. |
3
|
| AMDUPROF_OPENGL_MINOR | Specify minor version of OpenGL for the specified major version. |
1
|
| AMDUPROF_OPENGL_TYPE | Specify whether to use desktop OpenGL or not. This can be used to
disable GPU accelerated graphics entirely if it does no work as
intended. (Valid values are desktop and
none) . |
desktop
|