Summary: | media-libs/mesa-10.4.2 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jospezial <jospezial> |
Component: | [OLD] Library | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ab4bd, alexander, bruce, lockert.fredrick, mmk, paolo.pedroni, rodolphe.rocca, sven.koehler, v10lator, vindex17, wadlax |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
mesa-10.4-dont-require-llvm-for-r300.patch
mesa-10.4.1.ebuild |
Description
jospezial
2014-12-16 18:45:18 UTC
One of the bugs in 10.3.x gives you a black screen in the Battle.net app under wine with Intel HD graphics. mesa 10.4.0 fixes that (actually I'm running 10.4.0rc4 for a while now without problems). Created attachment 392692 [details, diff]
mesa-10.4-dont-require-llvm-for-r300.patch
my test so far with a copied mesa-10.3.5.ebuild to mesa-10.4.1.ebuild Copied the https://bugs.gentoo.org/attachment.cgi?id=392692 patch to files dir. --- mesa-10.3.5.ebuild 2014-12-08 19:50:55.000000000 +0100 +++ mesa-10.4.1.ebuild 2014-12-30 17:17:45.629199036 +0100 @@ -207,7 +207,7 @@ fi # relax the requirement that r300 must have llvm, bug 380303 - epatch "${FILESDIR}"/${PN}-10.2-dont-require-llvm-for-r300.patch + epatch "${FILESDIR}"/${PN}-10.4-dont-require-llvm-for-r300.patch # fix for hardened pax_kernel, bug 240956 [[ ${PV} != 9999* ]] && epatch "${FILESDIR}"/glx_ro_text_segm.patch ----------------------------------------------------- create manifest and fetch was no problem. merging: first it is masked: # /usr/portage/profiles/package.mask: # Michał Górny <mgorny@gentoo.org> (08 Dec 2014) # Complete redesign, masked for testing. after unmasking it I get: emerge -va1 =mesa-10.4.1 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U #] media-libs/mesa-10.4.1::overlay_jl [10.4.0::overlay_jl] USE="classic dri3 egl gallium gbm llvm nptl opencl openmax r600-llvm-compiler udev vdpau xa xvmc -bindist -debug -gles1 -gles2 -openvg -osmesa -pax_kernel -pic (-selinux) -wayland" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="nouveau r100 r200 r300 r600 radeon (-freedreno) -i915 -i965 -ilo -intel -radeonsi -vmware" 0 KiB [blocks B ] >=media-libs/mesa-10.3.5-r1 (">=media-libs/mesa-10.3.5-r1" is blocking app-admin/eselect-opengl-1.2.7) Total: 1 package (1 upgrade), Size of downloads: 0 KiB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (app-admin/eselect-opengl-1.2.7:0/0::gentoo, installed) pulled in by >=app-admin/eselect-opengl-1.2.6 required by (x11-proto/glproto-1.4.17:0/0::gentoo, installed) >=app-admin/eselect-opengl-1.0.8 required by (x11-base/xorg-server-1.16.2.901:0/1.16.1::gentoo, installed) >=app-admin/eselect-opengl-1.2.7 required by (media-libs/mesa-10.4.1:0/0::overlay_jl, ebuild scheduled for merge) (media-libs/mesa-10.4.1:0/0::overlay_jl, ebuild scheduled for merge) pulled in by >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=media-libs/mesa-9.1.6[egl,abi_x86_64(-)]) required by (media-libs/gst-plugins-bad-1.2.4-r1:1.0/1.0::gentoo, installed) media-libs/mesa required by (media-libs/libprojectm-2.1.0-r1:0/0::gentoo, installed) media-libs/mesa[egl,gbm] required by (x11-base/xorg-server-1.16.2.901:0/1.16.1::gentoo, installed) media-libs/mesa[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (media-libs/mesa[egl,abi_x86_64(-)]) required by (dev-qt/qtgui-4.8.6-r1:4/4::gentoo, installed) media-libs/mesa required by (media-libs/libtxc_dxtn-1.0.1-r1:0/0::gentoo, installed) media-libs/mesa required by (app-emulation/emul-linux-x86-opengl-20140508:0/0::gentoo, installed) >=media-libs/mesa-9.1.6[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=media-libs/mesa-9.1.6[abi_x86_64(-)]) required by (virtual/opengl-7.0-r1:0/0::gentoo, installed) >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=media-libs/mesa-9.1.6[egl,abi_x86_64(-)]) required by (x11-libs/cairo-9999:0/0::gentoo, installed) media-libs/mesa[egl?,gles1?,gles2?] (media-libs/mesa[egl]) required by (x11-apps/mesa-progs-8.2.0:0/0::gentoo, installed) >=media-libs/mesa-9.1.6[egl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=media-libs/mesa-9.1.6[egl,abi_x86_64(-)]) required by (x11-libs/libva-1.4.1:0/0::gentoo, installed) >=media-libs/mesa-9.1.6[opencl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=media-libs/mesa-9.1.6[opencl,abi_x86_64(-)]) required by (virtual/opencl-0-r4:0/0::gentoo, installed) =mesa-10.4.1 media-libs/mesa[egl] required by (net-libs/webkit-gtk-2.4.7:3/25::gentoo, installed) media-libs/mesa[egl] required by (net-libs/webkit-gtk-2.4.7-r200:2/2::gentoo, installed) >=media-libs/mesa-7.10 required by (kde-base/kwin-4.11.14:4/4.11::gentoo, installed) >=media-libs/mesa-9.2.0[nptl=] (>=media-libs/mesa-9.2.0[nptl]) required by (x11-base/xorg-server-1.16.2.901:0/1.16.1::gentoo, installed) For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked I have to emerge it still with --nodeps . Patches apply. compile and merge wents fine. * QA Notice: Unrecognized configure options: * * --disable-gallium-egl * --with-opencl-libdir * --disable-gallium-egl * --with-opencl-libdir * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * r200_sanity.c:626:33: warning: iteration 366u invokes undefined behavior [-Waggressive-loop-optimizations] Created attachment 392870 [details] mesa-10.4.1.ebuild (In reply to jospezial from comment #0) > We have to decide between the old and the new eselect-opengl model. It looks like a decision has been made: The new model is no longer masked. So here's the ebuild I'm using for 10.4.1, it's based on the ebuild for 10.3.5-r1 from the main tree and the 9999 ebuild from the ixit overlay and comment #3. This also adds the d3d9 USE flag. Credit for this goes to the ixit overlay. I tested the ebuild from #c4
The d3d9 USE flag should be added to /usr/portage/profiles/use.desc
>>> Completed installing mesa-10.4.1 into /var/tmp/portage/media-libs/mesa-10.4.1/image/
* QA Notice: Unrecognized configure options:
*
* --with-opencl-libdir
* --with-opencl-libdir
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* r200_sanity.c:626:33: warning: iteration 366u invokes undefined behavior [-Waggressive-loop-optimizations]
so something is wrong in line 290
# opencl stuff
if use opencl; then
myconf+="
$(use_enable opencl)
--with-opencl-libdir="${EPREFIX}/usr/$(get_libdir)/OpenCL/vendors/mesa"
--with-clang-libdir="${EPREFIX}/usr/lib"
"
fi
* QA Notice: Missing soname symlink(s):
*
* usr/lib64/libXvMCgallium.so.1 -> libXvMCnouveau.so.1.0.0
* usr/lib64/libXvMCgallium.so.1 -> libXvMCr600.so.1.0.0
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2e6fc0647a93f7091068d1a75ba5948b9bff5da3 configure: remove non-functional --with-opencl-libdir The parameter used to control where the gallium pipe-drivers were installed, but was broken since commit 45270fb0fd1abd7619933c2845f9dc74cdfbe6fd Author: Matt Turner <mattst88@gmail.com> Date: Thu Sep 13 10:45:01 2012 -0700 targets/pipe-loader: Convert to automake Considering that nowadays the pipe-drivers can be used by more than just the opencl target, even fixing this up will not be the best idea. Meanwhile, 10.4.2 was released today [1]. Summary should be updated accordingly :) [1] http://lists.freedesktop.org/archives/mesa-dev/2015-January/074231.html Bumped |