Hi!
How to enable hardware acceleration on Ubuntu 21.04 with AMDGPU?
$ cat .config/sublime-text/Packages/User/Preferences.sublime-settings
{
"ignored_packages":
[
"Vintage",
],
"hardware_acceleration": "opengl"
}
$ glxinfo | grep "OpenGL"
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 5700 XT (NAVI10, DRM 3.40.0, 5.11.0-17-generic, LLVM 11.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.0.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.0.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.0.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
$ subl -v
Sublime Text Build 4107
But the diagnostic version is not printed in the console when start subl
. So i assume the hardware acceleration is not working.
Thanks!
Daniel