高通并没有提供如何安装驱动的说明, 那就说明免驱!
启用方法
安装 Mesa 驱动就行
apt install -y mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all mesa-utils vulkan-tools
高通没有提供 OpenCL 驱动, OpenCL 也没法加速
和 Intel 一样, 是没有 Vulkan 加速的
检查
root@wsl:~# glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Microsoft Corporation (0xffffffff)
Device: D3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3) (0xffffffff)
Version: 22.3.6
Accelerated: yes
Video memory: 16082MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.1
Max compat profile version: 4.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (Qualcomm(R) Adreno(TM) 8cx Gen 3)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 22.3.6
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.1 (Compatibility Profile) Mesa 22.3.6
OpenGL shading language version string: 4.10
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 22.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
在 OpenGL renderer string
出现 D3D12
就说明安装成功