On Tue, Apr 25, 2017 at 11:15 AM, Alvaro Garcia <maxpo...@gmail.com> wrote: > Hi! This worked perfectly! > > But now I have the following problem: > If I set prefered virtual/libgl as my nvidia recipe, then mesa is not > installed and when xorg-xserver is compiling the library libepoxy cannot > compile because of: No package 'egl' found (because this is provided by mesa > I guess) > If I set prefered virtual/libgl as default (mesa) some files are in conflict > (The recipe nvidia-proprietary is trying to install files into a shared area > when those files already exist) because they are provided by mesa and my > nvidia recipe. Files for example: libEGL.so.1, libGL.so or > xorg/modules/extensions/libglx.so
there is mesa-gl recipe too use something liek PREFERRED_PROVIDER_virtual/libgl = "mesa-gl" > > The only thing I saw relative to this problem is for example in mesa.inc > FILES_libegl-mesa = "${libdir}/libEGL.so.*" > > Im stucked again, its being hard to finish this recipe. At this moment I'm > overwritting these files in the installation script (when the roofs are > copied). This solution works and altought its not the right one, at least I > know that overwritting these files is the last step (got hardware > acceleration, playing video by hardware and full hd resolution). > > Thank you for your help! > > > 2017-04-23 17:11 GMT+02:00 Khem Raj <raj.k...@gmail.com>: >> >> On Sun, Apr 23, 2017 at 7:35 AM, Alvaro Garcia <maxpo...@gmail.com> wrote: >> > mesa-driver-i915 >> >> if you are building for x86 based machines and including >> conf/machine/include/x86-base.inc in your machine config then you are >> getting it. You need to define XSERVER variable that fits your >> machine. >> you can start by just removing stuff from the preset value for it >> >> this is current value >> >> XSERVER ?= "${XSERVER_X86_BASE} \ >> ${XSERVER_X86_EXT} \ >> ${XSERVER_X86_I915} \ >> ${XSERVER_X86_I965} \ >> ${XSERVER_X86_FBDEV} \ >> ${XSERVER_X86_VESA} \ >> ${XSERVER_X86_MODESETTING} \ >> " >> >> remove whatever you dont need by overriding it in your machine conf file. > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto