649
edits
(New page(translated)) |
No edit summary |
||
Line 1: | Line 1: | ||
'''[[ | '''[[Turnip]][[Zink|+Zink]]''' in [[About ExaGear products|'''ExaGear Windows Emulator''']] is used as one of the methods to achieve full hardware acceleration for the new Adreno GPUs using xlib (an X Window System client function library written in C language). dri3 does not currently support hardware acceleration due to limitations of the '''ExaGear''' X server. | ||
For a list of ''GPU Adreno'' that support '''Turnip+Zink''' drivers, see [[Turnip(en)#Supported GPUs|here]]. | |||
The '''Turnip, Zink''' drivers are part of the '''''Mesa''''' driver, a free implementation of the ''Vulkan, OpenGL API''. | |||
This article shows instructions for compiling '''''Mesa''' with Turnip+Zink'' and then installing the compiled libraries in ''ExaGear Windows Emulator''. | This article shows instructions for compiling '''''Mesa''' with Turnip+Zink'' and then installing the compiled libraries in ''ExaGear Windows Emulator''. | ||
Line 113: | Line 117: | ||
==== Validation in ExaGear ==== | ==== Validation in ExaGear ==== | ||
After copying all the files, you need to copy the usr folder to the ''Download'' folder of the phone, then run '''ExaGear Windows Emulator''', and copy the copied folder to the Z:/ drive with overwriting. | After copying all the files, you need to copy the usr folder to the ''Download'' folder of the phone, then run '''ExaGear Windows Emulator''', and copy the copied folder to the Z: / drive with overwriting. | ||
If the standard ''ExaGear'' cache is used (which is not recommended) then it must be modified by adding the <code>vulkan-tools</code> package. How to modify the cache and add packages to it is described in [[Modifying caches in ExaGear#Adding packages, replacing Wine in caches|here]]. You also need to download [https://drive.google.com/file/d/1L4pd-hdA_3PLxyMXwlrDMWjOuO62kjKv/view?usp=sharing terminal emulator] for ExaGear. | If the standard ''ExaGear'' cache is used (which is not recommended) then it must be modified by adding the <code>vulkan-tools</code> package. How to modify the cache and add packages to it is described in [[Modifying caches in ExaGear#Adding packages, replacing Wine in caches|here]]. You also need to download [https://drive.google.com/file/d/1L4pd-hdA_3PLxyMXwlrDMWjOuO62kjKv/view?usp=sharing terminal emulator] for ExaGear. | ||
Line 119: | Line 123: | ||
Open a terminal and enter the command <code>vulkaninfo</code> (if you use the original '''ExaGear Windows Emulator''' cache and there is a missing libraries error, you need to download and install them additionally). After all the errors have been fixed and the <code>vulkaninfo</code> command has run successfully and the '''Vulkan API and GPU name''' extensions should be shown (or the TU error will be shown, in this case ''Vulkan'' will also work). | Open a terminal and enter the command <code>vulkaninfo</code> (if you use the original '''ExaGear Windows Emulator''' cache and there is a missing libraries error, you need to download and install them additionally). After all the errors have been fixed and the <code>vulkaninfo</code> command has run successfully and the '''Vulkan API and GPU name''' extensions should be shown (or the TU error will be shown, in this case ''Vulkan'' will also work). | ||
You also need to check '''OpenGL''' (type <code>glxgears,</code> should show gears). If gears are displayed, then Turnip+Zink is working. If you get an error that the command was not found, run the [[Wine|Wine]] ported to Windows [http://www2.cs.uidaho.edu/~jeffery/win32/wglgears.exe wglgears] in [[Wine|Wine]]. | You also need to check '''OpenGL''' (type <code>glxgears,</code> should show gears). If gears are displayed, then Turnip+Zink is working. If you get an error that the command was not found, run the [[Wine(en)|Wine]] ported to Windows [http://www2.cs.uidaho.edu/~jeffery/win32/wglgears.exe wglgears] in [[Wine|Wine]]. | ||
If you get an error when starting glxgears instead of gears (wglgears will close), then you may have an unsupported GPU, you can see the list of GPUs that can work with '''Turnip+Zink''' [[Turnip | If you get an error when starting glxgears instead of gears (wglgears will close), then you may have an unsupported GPU, you can see the list of GPUs that can work with '''Turnip+Zink''' [[Turnip#Supported GPUs |here]]. | ||
== Links == | == Links == | ||
[https://github.com/alexvorxx/Zink-Mesa-Xlib/blob/main/README.rst Original instruction by alexvorxx] | [https://github.com/alexvorxx/Zink-Mesa-Xlib/blob/main/README.rst Original instruction by alexvorxx] |