Complete Mesa 9.1.5 and Xorg 1.14.2 complete port for Rosa Fresh (2012.1)
*** ENGLISH *** (per Italiano, vai sotto)
As the time flows, any component of a distribution inevitably become outdated, even the more fundamental ones. This is particularly true for the packages forming the "graphical stack" of a distro, i.e. the various pieces needed to have a working Xserver install: they range from the low-level kernel bits (AKA DRM) to the xorg Xserver with its drivers and libraries and also include other things as libdrm, Mesa, libvdpau, libva, pixman and so on...
All these components usually "grow" as the time passes, receiving bug-fixes, new features or - more interesting - some optimizations; alas, this happens at different paces and times and not always without troubles (e.g.: when the kernel 3.2 introduced a new DRM interface for the nouveau driver, the existing libdrm and Mesa suddenly not only did not build anymore because they still supported the old one, but also completely stopped working). Such situation makes the maintainers of a distribution a little wary when considering an update to the graphic stack packages because they are critical ones and some troubles here can easily break an otherwise working system: so usually they don't do any upgrade at all until the next distro release; however, in this way also the best graphical stack at the distro release time is doomed to become, sooner or later, less interesting or with less performance, while its packages become older and older.
Enters here the MIB: we would like to have for our beloved distro the latest-and-greatest graphical stack components as soon as they are available, to enjoy the new features and improvements they sports, without the need to wait for the next distro release (where usually such changes happen).
So, for all the braves, here is a complete build of all the user-space components of the Rosa 2012.1 graphic stack: libdrm, Mesa and related libraries, pixman, xorg with its libraries and drivers; all conveniently placed in a repository for an easy upgrade.
To do it, if you had added the previous MIB-X13 repo remove it, and then add the repository below and do an upgrade.
ROSA Desktop.Fresh 2012 - 64bit
(we prefer adding also 32bit repo to avoid removing files from wine, skype, and other used 32bit apps...)
Code: Select all
urpmi.addmedia MIB-X14 http://mib.pianetalinux.org/MIB/rosa2012.1/64/testing/mesa-xorg/
urpmi.addmedia MIB-X14_32bit http://mib.pianetalinux.org/MIB/rosa2012.1/32/testing/mesa-xorg/
rpm -e --nodeps x11-driver-video-ati
urpmi --auto-select --auto
urpmi x11-driver-video-ati
#
Code: Select all
urpmi.addmedia MIB-X14 http://mib.pianetalinux.org/MIB/rosa2012.1/32/testing/mesa-xorg/
rpm -e --nodeps x11-driver-video-ati
rpm -e --nodeps x11-driver-video-sis
urpmi --auto-select --auto
urpmi x11-driver-video-ati
urpmi x11-driver-video-sis
#
MIB build features
Generally speaking, a "MIB build" tries for any package in it to enable as many features as it is possible and useful. Here is a detailed list of major changes from the packages present on a "standard" Rosa Desktop Fresh 2012.1 install:
* Libdrm-2.4.44-69.1:
- dropped useless (and potentially dangerous) old patches causing nouveau to be built against the older DRM interface rather than the new one present in kernels >= 3.2;
- enabled experimental drivers (exynos, omap) and added packages for them;
- added means to build man pages (disabled ATM).
* Libvdpau-0.6-69.1:
- updated to new release 0.6.
* Libva-1.1.1-69.1:
- updated to new release 1.1.1;
- and also updated the vaapi-driver-intel to the release 1.0.20.
* Libwayland-1.1.0-69-1:
- updated to new release 1.1.0.
* Llvm-3.2-0.20130301.69.1:
- updated to the latest snapshot of the T. Stellard development tree (for the opencl R600 backend support);
- made llvm and clang more FHS compliant (ie install their library bits in the right path according to the arch).
* Glamor-0.5-0.git20130313.69.1:
- xserver graphics common driver based on the GL library, from the latest snapshot of the main devel tree (at 01/03/2013).
* Libclc-0.0.1-0.20130311:
- An implementation of the OpenCL library needed by the radeon mesa drivers.
* Mesa-9.1.2-69.1:
- added provision to build: osmesa library packages (enabled because it is needed by Wine 1.5.10+); wayland packages (enabled as in the standard packaging);
- enabled opencl support and for the new glsl compiler for radeons;
- enabled support for radeonsi gallium driver (ie: for HD7750 and later AMD video cards);
- now resolved the troubles with the glx-tls build option and nvidia proprietary drivers: there is no more need for a dedicated build
- built also the drivers needed for VmWare (xa state tracker);
- built XvMC support and added a config file needed to having it actually work (but you will have to edit it according to your video card type: for instructions see the included README.XvMC file);
- removed vaapi build support and relevant patch and packages, because it was removed upstream;
- enabled the support of the texture-float feature, and hence the support for OpenGL 3.0 (3.1 on intel and radeon drivers).
* Mesa-libGLU-9.0.0-69.1:
- updated from git snapshot to the final 9.0.0 release (no functional changes, though).
* Freeglut-2.8.0-69.1:
- Added a couple of patches from upstream.
* LibGLw-8.0.0-69.1:
- updated to official release (no functional changes, though).
* Mesa-demos-8.1.0-69.2:
- updated to new release 8.1.0;
- installed more programs than in the standard install;
- kept disabled wayland support due to building failures, related to the changes from wayland pre-1.0 to 1.0 and not yet resolved upstream.
* Pixman 0.29.4-69.1:
- updated to new release 0.29.4.
* Updated Xorg libraries:
- x11-proto-devel (7.7-69.2);
- Xwa3d (1.6.2);
- x11-data-xkbdata (2.8);
- libXdamage (1.1.4);
- libXcomposite 0.4.4);
- libxklavier (5.4);
- libfontenc (1.1.2);
- libxi (1.7.1);
- libXtrap (1.0.1).
* Xorg 1.14.1-69.1:
- updated input drivers: wacom (0.20.0) , synaptics 1.7.0, joystick (1.6.2) and vmmouse (13.0.0);
- updated video drivers: nouveau (1.0.7-0.20130311), cirrus (1.5.2), modesetting (0.6.0), openchrome (0.3.2), mach64 (6.9.4), intel (2.21.6), qxl (0.2.0-0.20130306), ati (7.1.1-0.20130327) and vmware (13.0.1);
- enabled SNA acceleration mode support in the current intel video driver;
- enabled glamor acceleration mode support in both intel and ati video drivers: to test it you will need to add to your xorg.conf file the item
' "Option "AccelMethod" "glamor" ' in the Driver section;
- dropped temporarily Sis video driver as it does not build against the new xserver;
- built Nvidia proprietary drivers against the new server: nvidia173.14.37, nvidia-long-lived-304.88 and nvidia-current-313.26;
- the AMD proprietary ones (fglrx-12.104 and fglrx-legacy-8.097.100.7) still don't support the newer xserver.
* updated utilities:
bdftopcf (1.0.4), beforelight (1.0.5), editres (1.0.6), ico (1.0.4), rgb (1.0.5), viewres (1.0.4), xcalc (1.0.5), xconsole (1.0.5), xedit (1.2.1), xev (1.2.1), xgc (1.0.4), xmag (1.0.5), xmessage (1.0.4), xsetroot (1.1.1), sessreg (1.0.8), xstdcmap (1.0.3), xscreensaver (5.21), xvinfo (1.1.2) and xvidtune (1.0.3).
Please do a test and report your results; we are particularly interested at the results of the use:
- of the "glamor" thing for all Intel and Radeon older than HD 7750;
- of the nvidia proprietary drivers with the Mesa built with the "--enable-glx-tls" option (ie the one in the main repo).
Remember to specify your video hw and video drivers loaded: the output of the command "inxi -F" is usually enough).
Advices to do an effective testing
1) The usual warnings apply here: this is a test repository, so every type of bad things can happen (burning of your video cards or pc or house;
killing of you favourite pet and so on)...
Please make sure to always have a good backup before doing the upgrade and be prepared to restore it if needed.
2) Please also notice that, when toying with the graphical stack and the Xserver, is also useful to temporarily set your SO to do a textual boot rather than a graphical one: in this way you will near always have the chance to reach a working command prompt even if something goes wrong with the update, thus preventing X to work properly; this happens because (at least with the open drivers) a textual boot only involves the kernel DRM and its user-space interface (i.e. libdrm), leaving out all the other graphic stack layers.
NOTE FOR THE USERS OF THE PROPRIETARY FGLRX DRIVERS
Unfortunately AMD is very slow to add the support for newer kernels or xserver to their drivers: ATM they still because still don't support the new xserver 1.14.0 ABI;
we will build them as soon as this support wil be added. So you cannot update the xserver nor do an upgrade of the whole graphical stack at once; however you
still we be able to use many things from our repo to selectively upgrade your system: libva, libwayland, llvm, mesa, mesa-demos and also libxi, all should
work fine even with the older xserver 1.13.2. You only have to update them one at time and not with the simplier "urpmi --auto-select" way.
*** ITALIANO ***
- libdrm 2.4.44
- mesa 9.1.2 con annesso il necessario llvm+clang 3.2
- libclc
- libva 1.1.1 e vaapi-driver-intel 1.0.20
- glamor
- xserver 1.14.1 con annessi driver input e video (free e proprietari)
* llvm e clang sono (si spera) ora FHS-compliant, cioè non mettono più
le loro cose sempre in /usr/lib, ma in %_libdir... e sembra che
continuino a funzionare(!);
* in mesa 9.1.2 è stato attivato il supporto per OpenCL nei driver
radeon free
* i driver X proprietari nvidia sono stati aggiornati: i long-lived alla
versione 304.88 e i current alla 313.26 (rimane da fare la preparazione
del nvidia173 che ancora richiede la patch per i kernel > 3.7); questo
dovrebbe garantire il supporto di xserver 1.14.1 e di detti kernel;
* i driver X per ati e intel sono stati compilati con il supporto anche
per l'accelezione "glamor": per attivarla e testarla bisogna mettere
l'opzione "Option "AccelMethod" "glamor" " nel file xorg.conf
* in mesa 9.1.2 sono stati attivati il supporto per glamor e il driver
radeonsi (necessario alle schede AMD basate su chipset Southern Island:
cioè quelle dalla HD7750 in avanti); questo però ha richiesto la
compilazione di mesa con l'opzione "--enable-glx-tls" che, a quanto
sappiamo, dà fastidio ai driver proprietari nvidia: per questo, come nel
caso dell'xserver 1.13 e di pixman, ho predisposto nella dir no-glxtls
un build di mesa *senza* detta opzione (e, ovviamente, senza il supporto
per i radeonsi) con un numero di release (69.2) > di quella "normale",
in modo da permettere agevolmente l'upgrade...
ROSA Desktop.Fresh 2012 - 64bit
(preferiamo aggiungere anche il repo 32bit repo, per evitare la rimozione di files da wine, skype, ecc,)
Code: Select all
urpmi.addmedia MIB-X14 http://mib.pianetalinux.org/MIB/rosa2012.1/64/testing/mesa-xorg/
urpmi.addmedia MIB-X14_32bit http://mib.pianetalinux.org/MIB/rosa2012.1/32/testing/mesa-xorg/
rpm -e --nodeps x11-driver-video-ati
urpmi --auto-select --auto
urpmi x11-driver-video-ati
#
Code: Select all
urpmi.addmedia MIB-X14 http://mib.pianetalinux.org/MIB/rosa2012.1/32/testing/mesa-xorg/
rpm -e --nodeps x11-driver-video-ati
urpmi --auto-select --auto
urpmi x11-driver-video-ati
#
Ciao da GvM e NicCo