Make Headless Server Use Hardware Accelaration

0

I have a headless CentOS 8 Server with an AMD GPU. I want to use hardware acceleration but when I run OpenGL programs with xvfb-run (e.g glxinfo), the system reports I am using software rendering. How can I use hardware acceleration on a headless server?

Note that even though output displays the vendor as WMvare this machine is NOT a virtual machine.

sudo lshw -c display output:

*-display
   description: VGA compatible controller
   product: Cedar [Radeon HD 5000/6000/7350/8350 Series]
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 0
   bus info: pci@0000:01:00.0
   version: 00
   width: 64 bits
   clock: 33MHz
   capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
   configuration: driver=radeon latency=0
   resources: irq:33 memory:e0000000-efffffff memory:f7e20000-f7e3ffff ioport:e000(size=256)  
   memory:c0000-dffff

xvfb-run glxinfo output:

   Extended renderer info (GLX_MESA_query_renderer):
   Vendor: VMware, Inc. (0xffffffff)
Device: llvmpipe (LLVM 9.0.0, 128 bits) (0xffffffff)
Version: 19.3.4
Accelerated: no
Video memory: 7746MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 3.3
Max compat profile version: 3.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.0, 128 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.3.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
linux
centos
headless
gpu
asked on Server Fault Sep 9, 2020 by fedqx

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0