Mesa is a 3-D graphics library with an API which is very similar to that of OpenGL.*
Mesa is a 3-D graphics library with an API which is very similar to
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
syntax or state machine, it is being used with authorization from
Silicon Graphics, Inc.(SGI). However, the author does not possess an
OpenGL license from SGI, and makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with SGI. Those who
want a licensed implementation of OpenGL should contact a licensed
vendor.
Please do not refer to the library as MesaGL (for legal reasons). It's
just Mesa or The Mesa 3-D graphics library.
* OpenGL is a trademark of Silicon Graphics Incorporated.
- Devel package for openSUSE:Factory
-
104
derived packages
- Links to openSUSE:Factory / Mesa
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout X11:XOrg/Mesa && cd $_
- Create Badge
Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
Mesa-rpmlintrc | 0000000523 523 Bytes | |
Mesa.changes | 0000313705 306 KB | |
Mesa.keyring | 0000398858 390 KB | |
Mesa.spec | 0000036886 36 KB | |
README.updates | 0000000413 413 Bytes | |
U_clover-llvm-move-to-modern-pass-manager.patch | 0000004642 4.53 KB | |
U_fix-mpeg1_2-decode-mesa-20.2.patch | 0000000658 658 Bytes | |
_constraints | 0000000569 569 Bytes | |
_link | 0000000139 139 Bytes | |
_multibuild | 0000000056 56 Bytes | |
baselibs.conf | 0000004614 4.51 KB | |
manual-pages.tar.bz2 | 0000137685 134 KB | |
mesa-23.2.0-rc4.tar.xz | 0018844408 18 MB | |
mesa-23.2.0-rc4.tar.xz.sig | 0000000119 119 Bytes | |
n_add-Mesa-headers-again.patch | 0000000474 474 Bytes | |
n_drirc-disable-rgb10-for-chromium-on-amd.patch | 0000001234 1.21 KB | |
n_stop-iris-flicker.patch | 0000000983 983 Bytes | |
u_dep_xcb.patch | 0000001165 1.14 KB | |
u_fix-build-on-ppc64le.patch | 0000001560 1.52 KB |
Comments 63
akilgus wrote
Is there any chance to get the build for 13.2 fixed in this repository? There seems to be no unresolvable technical show stopper: https://build.opensuse.org/package/show?project=home%3Aaevseev&package=Mesa
sndirsch wrote
Of course this would be possible despite openSUSE 13.2 will be out of support pretty soon. Seems you removed U_cso-don-t-release-sampler-states-that-are-bound.patch. Not sure why? For the additional patch fix-missing-memfd-header.patch, please follow our X11:XOrg patch guidelines. After resolving this you can open a submitrequest against X11:XOrg. Thanks!
akilgus wrote
I did neither remove anything nor add any patch - you seem to mistake me for the maintainer of the repository I mentioned. My motivation for asking is simply not to let increase the number of repositories I use (currently 49 and counting) any further by adding another "home/" repository for packages at least theoretically already available in a repository in use.
sndirsch wrote
Indeed I assumed this would be your repository.
akilgus wrote
Thanks for having revivified providing updated packages for 13.2.
alvarex wrote
will this bump to version 17.1?
avindra wrote
17.2.3 release is cut https://github.com/mesa3d/mesa/releases/tag/mesa-17.2.3
blachner wrote
Could the build be enabled for openSUSE Leap 42.3 to get a Mesa 18 version for this distribution?
sndirsch wrote
Currently it's not possible, since llvm cannot be built for openSUSE 42.3. :-(
blachner wrote
OK. Thank you for your answer.
Do you think it would be possible to build it anytime soon for openSUSE Leap 42.3? Or will it stay at the current offered Mesa version for this distribution?
sndirsch wrote
I can't say. A collegue is/was working on this. But it has no high priority.
mimi_vx wrote
probably not, Newer versions of Mesa also need new version of Wayland libs and protocols. + Bonus six months after the release of Leap 15.0, 42.3 Leap will EOL
sndirsch wrote
Ok. Build against Leap 42.3 is enabled in X11:XOrg again. Looks good so far.
_nobody_ wrote
This comment has been deleted
sndirsch wrote
On my TODO list ...
_nobody_ wrote
This comment has been deleted
sndirsch wrote
Looks like this came in with some autocommit magic crap back from factory. :-(
r773 | buildservice-autocommit | 2018-09-18 09:37:23 | 0273904b5d3bac6a229ef7bd5bf12077 | unknown | rq635013
baserev update by copy to link target
r772 | buildservice-autocommit | 2018-09-11 15:12:48 | 04666deac08cb6669a4cfb681e18d754 | unknown | rq631796
baserev update by copy to link target
Fortunately Tobias Klausmann brought this back, now to 18.2.1 ...
KhazAkar wrote
Please add GALLIUM_HUD support for intel drivers
sndirsch wrote
Intel drivers aren't using gallium at the moment. Not sure what you mean here.
Guillaume_G wrote
Please check/fix %arm and aarch64 before pushing to Factory
_nobody_ wrote
This comment has been deleted
sndirsch wrote
@ryanbach Already checked in ... :-)
_nobody_ wrote
This comment has been deleted
sndirsch wrote
done. :-)
_nobody_ wrote
This comment has been deleted
sndirsch wrote
Thanks. Sounds good! An appropriate submitrequest would be appreciated and accepted. ;-)
akilgus wrote
Is the current (2020-01-09) state of Mesa in this repo supposed to work? There's a mixture of 19.3.1 (e.g. Mesa) and 19.2.6 (e.g. Mesa-dri) packages online - I had to go back to Leap 15.1's Mesa 18.3.2 to get the GUI up and running …
sndirsch wrote
Thanks. Indeed build of Mesa-driver on Leap 15.1/15.2 fails due to llvm version < 8. I'm trying to build llvm8 for Leap 15.1/15.2. Will take some time though ...
akilgus wrote
No need to hurry (at least not because of me). Just wanted to know if I broke something on my side or if the repo's the one to blame … ;)
sndirsch wrote
It has been the Mesa update to 19.3.1 .... which now needs llvm 8 ...
sndirsch wrote
@akilgus Meanwhile build against Leap 15.0/15.1 fixed. :-)
akilgus wrote
Thanks for your work. I'll give the new packages a try within the coming days.
_nobody_ wrote
This comment has been deleted
sndirsch wrote
Already on my TODO list. ;-)
zakhrov wrote
Can we enable the MESA_VK_DEVICE_SELECT layer and the Mesa Vulkan Overlay layer for the Tumbleweed package?
sndirsch wrote
Hmm. Could you come up with a concrete proposal for the package, preferrably a submit request? My guess is that I need to add -Dvulkan-device-select-layer=true as option for meson in specfile, but since you're apparently an expert here, it would be good if you could come up with something well tested.
zakhrov wrote
I have branched the package and tried out some changes. They are in my obs repository here: https://build.opensuse.org/package/show/home:zakhrov:Mesa/Mesa It adds 2 packages. Mesa-vulkan-overlay and Mesa-vulkan-device-select which has the libraries and JSON files
zakhrov wrote
I have submitted a request for it
ukbeast89 wrote
I've tried updating to 21.0.1.
meson.build:21:0: ERROR: Value classic is not boolean (true or false)
sndirsch wrote
Valid values for -Dosmesa have changed. And a lot more. Mesa update won't be trivial this time. I tried for about two hours, but gave up then. May take several days to update Mesa this time. :-(
ukbeast89 wrote
-Dosmesa=classic \
is no longer being used. Removed that option and now noticeERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau"
Looks like mesa has removed it https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Kills-SWRAST
sp1rit wrote
n_drirc-disable-rgb10-for-chromium-on-amd.patch is unneeded as it got fixed in gstreamer a few months ago:
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/410
sndirsch wrote
Thanks. Done. See my latest changelog entry for Mesa sources.
BehzadA wrote
The Crocus driver(Intel 965G(Gen4)-Haswell(Gen7.5 and also Cherryview) Gallium-based driver) has been forgotten in the Spec files.
//-----------------------------------------
%ifarch %{ix86} x86_64
-Ddri-drivers=i915,i965,nouveau,r100,r200 \
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl,iris,crocus \
//------------------------------------------
Currently, the Crocus isn't enabled by default in Mesa 21.2
//------------------------------------------
mesa/meson_options.txt
option( 'prefer-crocus', type : 'boolean', value : false, description : 'Prefer new crocus driver over older i965 driver for gen4-7' )
//---------------------------------------
And users who want to use the Crocus driver should set the 'MESA_LOADER_DRIVER_OVERRIDE=crocus' environment variable, And if there is a problem with video hardware acceleration(vaapi driver), Should set the 'LIBVA_DRIVER_NAME=i965'
sndirsch wrote
Enabled. But currently build on %ix86 fails. This is the bigger issue right now.
BehzadA wrote
Thanks
I'm not a Mesa contributor, But I took a quick look and personally suspected GCC11.x(This is just a guess) because build with GCC7.x is successful(Leap_15.2 Mesa) but fails with GCC11.x, And also I remembered some opened issues on Mesa Gitlab that seems to be related to the GCC11
https://gitlab.freedesktop.org/mesa/mesa/-/issues/5069 https://gitlab.freedesktop.org/mesa/mesa/-/issues/5067 https://gitlab.freedesktop.org/mesa/mesa/-/issues/5068
sndirsch wrote
Thanks. I'm just wondering why Mesa 21.1.6 can still be built on %ix86 with GCC11 in place. So it needs to be related to changes in Mesa 21.2.0.
BehzadA wrote
The issue seems to be solved; Please checks Spec and conf files in my branch. https://build.opensuse.org/package/show/home:BehzadA:branches:X11:XOrg/Mesa Based on https://build.opensuse.org/package/show/home:tobijk:X11:XOrg:Unstable/Mesa Modified by me and need to be reviewed and also "Mesa-dri-kmsro" build is enabled.
sndirsch wrote
Thanks! I've fixed the build against %ix86 now by removing "-flto=auto" from cpp flags.
BehzadA wrote
The i915g driver(Intel Gen3 Gallium-based driver) has been forgotten in the Spec files.
%ifarch %{ix86} x86_64
-Ddri-drivers= \
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl,iris,crocus,i915 \
BehzadA wrote
Also to support legacy platforms that only have classic drivers and Swrast driver
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10557 https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8069/
sndirsch wrote
I'm not aware of an (open)SUSE platform, which only supported classic drivers and swrast drivers. I don't want to readd no longer upstream supported classic drivers.
sndirsch wrote
I wasn't aware of the i915 Gallium driver for Intel Gen3 GPUs. I'll try to add it.
nuklly wrote
Can we enable zink driver in this repo?
sndirsch wrote
Just accepted your submit request. :-)
alois wrote
@sndirsch is this a problem https://www.phoronix.com/news/Fedora-Disable-Bad-VA-API ?
DGalo wrote
Hello, mesa 23.1 was released 13 days ago https://lists.freedesktop.org/archives/mesa-announce/2023-May/000720.html
sndirsch wrote
I tried updating to it, but build fails. https://build.opensuse.org/project/show/home:sndirsch:branches:X11:XOrg
gladiac wrote
this->value
is a union. You might want to use&this->value.u64
instead. The compiler should understand it then.sndirsch wrote
Thanks @gladiac. Hmm, could you be a bit more code specific?
ukbeast89 wrote
@sndirsch
I posted a diff from the latest successful build from home:X0F:HSF. https://pastebin.com/AzR8pwja Massive differences between the 2 spec files.
sndirsch wrote
Thanks @kbeast89. Unfortunately these are radical changes I cannot apply. Any chance you limit this to the change, which just fixes the build in X11:XOrg?
llyyr wrote
You need to build Mesa-drivers with
-Dshader-cache=enabled
and Mesa with-Dxlib-lease=enabled
, that should allow a successful build. Also recommend-Dallow-kcmp=enabled
for both packages, to avoid some scary messages when comparing fds.Check https://build.opensuse.org/package/show/home:llyyr:branches:home:sndirsch:branches:X11:XOrg/Mesa (currently it's failing because there's no gbm.h to remove after successful build but that should be an easy fix)