Turnip: Difference between revisions
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''Turnip''' - open Vulkan 1.1, 1.2, 1.3(Freedreno) driver for Qualcomm Adreno | [[ru:Turnip(ru)]] | ||
'''Turnip''' - open Vulkan 1.1, 1.2, 1.3(Freedreno) driver for Qualcomm Adreno 616+ graphics accelerators. Included in the free implementation of the Vulkan & OpenGL graphics APIs - Mesa3D. To access the GPU, use <code>/dev/kgsl-3d0. /dev/dri/card</code> | |||
'''Turnip''', like the rest of the Vulkan drivers, supports DXVK - DirectX (in Wine) on top of Vulkan. | '''Turnip''', like the rest of the Vulkan drivers, supports DXVK - DirectX (in Wine) on top of Vulkan. | ||
Also thanks to enthusiasts, '''Turnip''' along with '''[[Zink]]''' can be used to get full hardware acceleration in [[About ExaGear|ExaGear]] (currently DXVK is not supported due to a truncated X-server in ExaGear that does not support dri3 required by DXVK.) | Also thanks to enthusiasts, '''Turnip''' along with '''[[Zink]]''' [[Turnip+Zink in ExaGear|can be used]] to get full hardware acceleration in [[About ExaGear products|ExaGear]] (currently DXVK is not supported due to a truncated X-server in ExaGear that does not support dri3 required by DXVK.) | ||
==Using Turnip to Build Mesa== | == Using Turnip to Build Mesa == | ||
To build '''Turnip''' into '''Mesa''', you need to specify these options when building: <code>meson build -D vulkan-drivers=freedreno -D freedreno-kgsl=true</code> | To build '''Turnip''' into '''Mesa''', you need to specify these options when building: <code>meson build -D vulkan-drivers=freedreno -D freedreno-kgsl=true</code> | ||
====Using Turnip+Zink for Hardware OpenGL on GPUs that don't support it==== | ==== Using Turnip+Zink for Hardware OpenGL on GPUs that don't support it ==== | ||
Adreno GPUs only support OpenGL ES by default. To use Zink (Vulkan->OpenGL translator) build Mesa with these flags: <code>meson build -D platforms=x11,wayland -D gallium-drivers=swrast,zink -D vulkan-drivers=freedreno -D dri3=enabled - D glx=dri -D freedreno-kgsl=true</code> | Adreno GPUs only support OpenGL ES by default. To use Zink (Vulkan->OpenGL translator) build Mesa with these flags: <code>meson build -D platforms=x11,wayland -D gallium-drivers=swrast,zink -D vulkan-drivers=freedreno -D dri3=enabled - D glx=dri -D freedreno-kgsl=true</code> | ||
Full instructions for rebuilding Turnip+Zink for use in ExaGear can be found [[Turnip+Zink in ExaGear|here]]. | Full instructions for rebuilding Turnip+Zink for use in ExaGear can be found [[Turnip+Zink in ExaGear|here]]. | ||
==Supported GPUs== | == Supported GPUs == | ||
As of September 25, 2022, Turnip supports the following Adreno GPUs: | As of September 25, 2022, Turnip supports the following Adreno GPUs: | ||
#Adreno 616(Qualcomm Snapdragon 710, 712) | #Adreno 616(Qualcomm Snapdragon 710, 712) | ||
Line 23: | Line 24: | ||
#Adreno 660(Qualcomm Snapdragon 888, 888+) | #Adreno 660(Qualcomm Snapdragon 888, 888+) | ||
GPU Adreno 7xx series is currently not supported, for 3D acceleration in '''ExaGear Windows Emulator use VirGL Overlay.''' | GPU Adreno 7xx series is currently not supported, for 3D acceleration in '''ExaGear Windows Emulator use VirGL Overlay.''' | ||
==Links== | == Links == | ||
[https://github.com/mesa3d/mesa Mesa GitHub repository] | [https://github.com/mesa3d/mesa Mesa GitHub repository] |
Latest revision as of 23:33, 16 October 2022
Turnip - open Vulkan 1.1, 1.2, 1.3(Freedreno) driver for Qualcomm Adreno 616+ graphics accelerators. Included in the free implementation of the Vulkan & OpenGL graphics APIs - Mesa3D. To access the GPU, use /dev/kgsl-3d0. /dev/dri/card
Turnip, like the rest of the Vulkan drivers, supports DXVK - DirectX (in Wine) on top of Vulkan.
Also thanks to enthusiasts, Turnip along with Zink can be used to get full hardware acceleration in ExaGear (currently DXVK is not supported due to a truncated X-server in ExaGear that does not support dri3 required by DXVK.)
Using Turnip to Build Mesa
To build Turnip into Mesa, you need to specify these options when building: meson build -D vulkan-drivers=freedreno -D freedreno-kgsl=true
Using Turnip+Zink for Hardware OpenGL on GPUs that don't support it
Adreno GPUs only support OpenGL ES by default. To use Zink (Vulkan->OpenGL translator) build Mesa with these flags: meson build -D platforms=x11,wayland -D gallium-drivers=swrast,zink -D vulkan-drivers=freedreno -D dri3=enabled - D glx=dri -D freedreno-kgsl=true
Full instructions for rebuilding Turnip+Zink for use in ExaGear can be found here.
Supported GPUs
As of September 25, 2022, Turnip supports the following Adreno GPUs:
- Adreno 616(Qualcomm Snapdragon 710, 712)
- Adreno 618(Qualcomm Snapdragon 720G, 730, 730G, 732G)
- Adreno 619(Qualcomm Snapdragon 750G, 480)
- Adreno 619L(Qualcomm Snapdragon 690)
- Adreno 620(Qualcomm Snapdragon 765, 765G)
- Adreno 630(Qualcomm Snapdragon 845, 850)
- Adreno 640(Qualcomm Snapdragon 855, 855+, 860)
- Adreno 642L(Qualcomm Snapdragon 778G)
- Adreno 650(Qualcomm Snapdragon 865, 865+)
- Adreno 660(Qualcomm Snapdragon 888, 888+)
GPU Adreno 7xx series is currently not supported, for 3D acceleration in ExaGear Windows Emulator use VirGL Overlay.