Turnip+Zink in ExaGear: Difference between revisions

Jump to navigation Jump to search
fixing error 500 adding some </code> brackets since I think shared host security is panicking when it sees linux paths (shrugs)
m (Wikiadmin moved page TurnipZink in ExaGear to Turnip+Zink in ExaGear without leaving a redirect: moving article back to original title as it did not solve issue)
(fixing error 500 adding some </code> brackets since I think shared host security is panicking when it sees linux paths (shrugs))
Line 78: Line 78:


==== include ====
==== include ====
Copy the gbm.h file (located in ~/mesa/src/gbm/main) to the include folder.
Copy the gbm.h file (located in <code>~/mesa/src/gbm/main</code>) to the include folder.


Copy these directories to the usr/include folder: EGL, GL, GLES, GLES2, GLES3, KHR (located in ~/mesa/include)
Copy these directories to the usr/include folder: EGL, GL, GLES, GLES2, GLES3, KHR (located in <code>~/mesa/include</code>)


==== share ====
==== share ====
In share folder create folder vulkan, glvnd, drirc.d, in folder vulkan create folder icd.d, in glvnd folder create folder egl_vendor.d.
In share folder create folder vulkan, glvnd, drirc.d, in folder vulkan create folder icd.d, in glvnd folder create folder egl_vendor.d.
----In the vulkan/icd.d folder, copy the freedreno_icd.i686.json file (located in ~/mesa/build/src/freedreno/vulkan)
----In the <code>vulkan/icd.d</code> folder, copy the freedreno_icd.i686.json file (located in <code>~/mesa/build/src/freedreno/vulkan</code>)


In glvnd/egl_vendor.d/ folder copy 50_mesa.json (located in ~/mesa/build/src/egl)
In <code>glvnd/egl_vendor.d/</code> folder copy 50_mesa.json (located in <code>~/mesa/build/src/egl</code>)


Copy the 00-mesa-defaults.conf file to the drirc.d folder (located in ~/mesa/src/util)
Copy the 00-mesa-defaults.conf file to the drirc.d folder (located in <code>~/mesa/src/util</code>)
----
----


Line 94: Line 94:
In the lib folder, create the i386-linux-gnu folder and copy the files there:
In the lib folder, create the i386-linux-gnu folder and copy the files there:


# libglapi.so, libglapi.so.0, libglapi.so.0.0.0 (located in ~/mesa/build/src/mapi/shared-glapi)
# libglapi.so, libglapi.so.0, libglapi.so.0.0.0 (located in <code>~/mesa/build/src/mapi/shared-glapi</code>)
# libvulkan_freedreno.so (located in ~/mesa/build/src/freedreno/vulkan)
# libvulkan_freedreno.so (located in <code>~/mesa/build/src/freedreno/vulkan</code>)
# libOSMesa.so.8.0.0, libOSMesa.so, libOSMesa.so.8 (found in ~/mesa/build/src/gallium/targets/osmesa)
# libOSMesa.so.8.0.0, libOSMesa.so, libOSMesa.so.8 (found in <code>~/mesa/build/src/gallium/targets/osmesa</code>)
# libGLX_mesa.so.0.0.0, libGLX_mesa.so, libGLX_mesa.so.0 (found in ~/mesa/build/src/glx/)
# libGLX_mesa.so.0.0.0, libGLX_mesa.so, libGLX_mesa.so.0 (found in <code>~/mesa/build/src/glx/</code>)
# libEGL_mesa.so.0.0.0, libEGL_mesa.so, libEGL_mesa.so.0 (located in ~/mesa/build/src/egl)
# libEGL_mesa.so.0.0.0, libEGL_mesa.so, libEGL_mesa.so.0 (located in <code>~/mesa/build/src/egl</code>)
# libgbm.so, libgbm.so.1, libgbm.so.1.0.0 (located in ~/mesa/build/src/gbm/)
# libgbm.so, libgbm.so.1, libgbm.so.1.0.0 (located in <code>~/mesa/build/src/gbm/</code>)


Also create pkgconfig and dri folders in the same lib folder. Copy the following files to the pkgconfig folder:
Also create pkgconfig and dri folders in the same lib folder. Copy the following files to the pkgconfig folder:


# osmesa.pc (located in ~/mesa/build/meson-private/)
# osmesa.pc (located in <code>~/mesa/build/meson-private/</code>)
# gbm.pc (located in ~/mesa/build/meson-private/)
# gbm.pc (located in <code>~/mesa/build/meson-private/</code>)
# dri.pc (located in ~/mesa/build/meson-private/)
# dri.pc (located in <code>~/mesa/build/meson-private/</code>)


Copy these files to the dri folder:
Copy these files to the dri folder:


# zink_dri.so (located in ~/mesa/build/src/gallium/targets/dri)
# zink_dri.so (located in <code>~/mesa/build/src/gallium/targets/dri</code>)
# libgallium_dri.so (located in ~/mesa/build/src/gallium/targets/dri)
# libgallium_dri.so (located in <code>~/mesa/build/src/gallium/targets/dri</code>)


=== Zink-Mesa-Xlib ===
=== Zink-Mesa-Xlib ===


====lib====
====lib====
From the folder '''Zink-Mesa-Xlib''' you need to copy the libGL.so.1.5.0 library (located in ~/mesa/build/src /gallium/targets/libgl-xlib/)
From the folder '''Zink-Mesa-Xlib''' you need to copy the libGL.so.1.5.0 library (located in <code>~/mesa/build/src /gallium/targets/libgl-xlib/</code>)
----
----


Navigation menu