I have a game that requires libwayland-egl
How do I get this library? I'm on Slackware64 14.1. I installed wayland and got the following libs but not libwayland-egl:
Quote:
|
You need to recompile mesa after installing wayland. The following is from my laptop running Slack64-14.1 with many additional packages:
Code:
fskmh@fskmh1:~> grep libwayland-egl.so /var/log/packages/* |
The easiest way to do what fskmh recommends is to download Slackware's mesa source tree, including the SlackBuild and additional files, then just rerun the SlackBuild and upgradepkg the resulting package. See below for instructions.
Code:
wget -r -nH --no-parent --reject="index.html*" --cut-dirs=5 http://slackbuilds.org/mirror/slackware/slackware64-14.1/source/x/mesa/ |
Now I wonder if I should perhaps add a recompiled mesa to the "deps" section of my Plasma 5 repository (which contains a wayland package).
I noticed that some of the KWin stuff would not compile due to absense of wayland-egl which makes running a Plasma 5 Wayland session an impossible task at the moment. |
Quote:
|
Mesa requires a buildflag change:
Code:
--with-egl-platforms="drm,x11,wayland" Also, if you use it, the wayland-1.6.0 package on SBo is probably outdated, but the scripts can be edited to support the latest release. |
ReaperX7 is correct, I forgot to mention that bit.
I have this at the top of my SlackBuild (before arch detection): Code:
DRI_DRIVERS="i915,i965,nouveau,r200,radeon,swrast" Note that I've also installed libomxil-bellagio (hence the --enable-omx) and libtxc_dxtn (hence the --enable-texture-float). Installing libomxil-bellagio is optional but installing libtxc_dxtn is recommended. You can also remove "--enable-gallium-llvm" if you don't have llvm compiled with "--enable-targets". I use this to enable the llvm back-end for my r600 graphics. I see -current has switched to using cmake and my SlackBuild still uses autoconf. I don't know what the equivalent cmake invocation is, perhaps it's a default now. It might be best to use the SlackBuilds from -current if you want to update your graphics stack (libdrm, llvm, mesa) on 14.1, just know that it involves recompiling a fair number of packages, as well as the kernel for newer DRM features). N.B. on Slack64 with multilib the above means also compiling the 32 bit packages and converting the subsequent packages with Alien Bob's convertpkg-compat32 (compat32-tools) (BTW thanks Eric ;-)). I have toyed with writing these SlackBuilds with automatic dual 32/64 bit compilation but this becomes problematic for package management, especially for multiple machines. Code:
./configure \ |
OpenMAX support only really affect AMD GPUs, mainly embedded GPUs, so it's really optional. Plus libomxil-bellagio requires a patch to build at the latest release. Unless you're needing multimedia content support on AMD embedded GPUs, OpenMAX support is unnecessary.
DXTC/S3TC support isn't compiled in at any time, its dynamically loaded so you don't need it at build time. It's nice to have but only for games. OpenCL however will require libclc from the llvm project and it's only available via git. The OpenCL ICD flag is fairly useless and will tend to break the compile. Not only this, but OpenCL support is limited to AMD only in hardware support, while Intel and Nouveau fallback to software support. At best it's moderately useful, yet equally useless. The only real addition you might want to make is actually adding Gallium driver "ilo" for Intel chipsets to utilize Nine support for Wine. This, honestly, is the only useful addition anyone could make to the Mesa build other than adding Wayland support. That's it. |
Quote:
autoconf 2.69 (recompiled) automake 1.11.5 -> 1.14.1 kernel 3.10.17 -> 3.18.0 (have since upgraded to 3.18.24) libdrm 2.4.46 -> 2.4.58 libelf 0.8.13 (recompiled) libevdev 1.2 (added) llvm 3.3 -> 3.4.2 mesa 9.1.7 -> 10.4 (have since upgraded to 10.4.7) qt 4.8.5 -> 4.8.6 xorg 1.14.3 -> 1.15.2 (this was just the server version; I didn't want to list each xorg package individually, since it was 276 packages) |
Quote:
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 04:45 PM. |