Turnip: Difference between revisions

No edit summary
mNo edit summary
 
Line 1: Line 1:
{{Language Banner|russianpagename=Turnip(ru)|englishpagename=Turnip}}
[[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''' - 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>


Line 5: Line 5:


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.)
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 24: 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]