XorgOnTheEdge

Differences between revisions 81 and 134 (spanning 53 versions)
Revision 81 as of 2007-12-27 11:57:12
Size: 6298
Editor: 79
Comment: ati update
Revision 134 as of 2013-01-06 19:41:30
Size: 5724
Editor: penalvch
Comment: RM'd Jaunty & Intrepid sections as both EOL.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Hardy ==
Xorg 7.3 and xorg-server 1.4 have landed in Hardy Heron. The test driver packages in the Gutsy section below should work fine in Hardy as well.

=== ati atombios-support branch ===
This is a development branch of the ati (radeon) driver which also works with R500 cards (no 3D yet). Test packages in https://launchpad.net/~tormodvolden/+archive
 * xserver-xorg-video-ati_6.7.196+git20071216+atombios-support-0ubuntu0tormod

== Gutsy ==
Gutsy includes Xorg 7.2, and ships with xorg-server 1.3. Some packages are from Xorg 7.3.

=== xorg-server ===
Gutsy does not ship with version 1.4, but many fixes from 1.4 have been backported into the gutsy 1.3 version. See http://ubuntuforums.org/showthread.php?t=490982 for more information and discussion.

=== ati driver (a.k.a radeon) ===
The ''ati'' driver pre-release of 6.8 (6.7.195) with support for randr display configuration is in Gutsy. See http://ubuntuforums.org/showthread.php?p=3321087 for more information and discussion. A newer test version can be found in https://launchpad.net/~tormodvolden/+archive
 * xserver-xorg-video-ati_6.7.197-1ubuntu1~tormod

=== avivo and radeonhd drivers ===
The open-source, reverse-engineered ''avivo'' driver for ATI radeon 1100-1900 cards (experimental) is in universe: xserver-xorg-video-avivo (2D only, does not work for all cards)

The new open-source, AMD-sponsored ''radeonhd'' driver for 1xxx-2xxx cards is also in universe: xserver-xorg-video-radeonhd (2D only)

A newer test version of xserver-xorg-video-radeonhd can be found in https://launchpad.net/~tormodvolden/+archive
 * xserver-xorg-video-radeonhd_1.0.0+git20071212-0ubuntu0tormod

The diagnosis tool {{{conntest}}} is not included in the driver package, but a [attachment:rhd_conntest-20071020_i386 386 executable] can be downloaded here.

=== vesa driver ===
A new version of the vesa driver, 1:1.3.0-1ubuntu5, got into Gutsy after Tribe 5.

== Experimental Xorg packages for Feisty ==
Line 35: Line 3:
Ross Burton has a repository for new Xorg packages built for feisty: http://www.burtonini.com/debian/feisty/
You can either install the xorg-server 1.3 server packages one by one:
If you only want to upgrade to newer, ''stable'' driver releases, see the [[https://launchpad.net/~ubuntu-x-swat/+archive/x-updates|X Updates]] PPA.
Line 38: Line 5:
 * xserver-xorg-core_1.3....deb
 * xserver-xorg-core-dbg_1.3...deb
== Hardy packages ==
Ubuntu 8.04 ships with Xorg 7.3 and an updated xorg-server 1.4.
Line 41: Line 8:
or, to avoid manual dependency and version tracking, add this to {{{/etc/apt/sources.list}}} ==== ati driver ====
The 6.8.0 version of the ati (radeon) driver is in Hardy and also works with R500 cards (no 3D yet). Newer test packages are in https://launchpad.net/~tormodvolden/+archive/ppa

NB: from the 20080302 version, the -ati driver does not support mach64 and r128 cards any longer, they have their own drivers.

==== radeonhd driver ====
The new open-source, AMD-sponsored ''radeonhd'' driver for 1xxx-2xxx cards is in universe: xserver-xorg-video-radeonhd (2D only)
A newer test version of xserver-xorg-video-radeonhd can be found in https://launchpad.net/~tormodvolden/+archive/ppa

The diagnosis tool {{{rhd_conntest}}} is not included in the driver package, but an [[attachment:rhd_conntest_20080429_i386|x86 executable]] can be downloaded here.

== mesa libraries, drm modules, xserver ==
Upgrading mesa libraries involves more dependencies on other libraries and kernel modules and is not so straight forward as a simple card driver package upgrade. See the [[https://launchpad.net/~xorg-edgers|"xorg crack testers" team PPA]] for mesa upgrades and corresponding driver packages.

==== Testing with a live CD/media ====
This is the safest way of testing. Download the {{{xorg-edgers-live-test}}} script from the [[http://bazaar.launchpad.net/~xorg-edgers/xorg-server/xorg-pkg-tools/files|Xorg packaging tools]] repository and copy it to a Ubuntu Desktop CD (I suppose you are using a [[https://help.ubuntu.com/community/Installation/FromUSBStick|bootable USB stick]] to avoid burning CDs anyway). Then boot the CD/media, switch to a virtual console with ctrl-alt-F1 and type:
Line 43: Line 25:
deb http://www.burtonini.com/debian/ feisty/
deb-src http://www.burtonini.com/debian/ feisty/
sudo sh /cdrom/xorg-edgers-live-test
Line 46: Line 27:
and run {{{sudo apt-get update && sudo apt-get upgrade}}}

''Update:'' Xorg 7.3 packages are now coming into Gutsy, and might be more up to date then the packages from Ross. However, you will have to install Gutsy, or rebuild the packages for Feisty (see below).

=== xorg-server ===
Many fixes from 1.4 have been backported into the latest Gutsy 1.3 version, and there are Feisty builds in http://people.ubuntu.com/~bryce/Testing/xorg-server-backports-feisty/
 * xserver-xorg-core_1.3.0.0.dfsg-12ubuntu4feisty_i386.deb
 * xserver-xorg-core-dbg_1.3.0.0.dfsg-12ubuntu4feisty_i386.deb

=== ati driver ===
For ATI cards, get a test build of 6.7.195 from http://tormod.webhop.org/linux/ati/
 * xserver-xorg-video-ati_6.7.195+git20071017tv

=== intel driver ===
Ross Burton's repository includes the intel driver xserver-xorg-video-intel 2.1.

=== savage driver ===
For S3 Savage cards, http://tormod.webhop.org/linux/savage/
 * xserver-xorg-video-savage_2.1.2-6pre_i386.deb
Note that 2.1.2-6 has been released in Gutsy.

=== vesa driver ===
For "all those other" cards and for "failsafe" mode, from http://people.ubuntu.com/~bryce/Testing/xorg-server-backports-feisty/
 * xserver-xorg-video-vesa_1.3.0-1ubuntu5feisty1_i386.deb

=== mesa libraries ===
Ross Burton's repository also includes the new mesa 7.0 libraries:
 * libgl1-mesa-dri...deb
 * libgl1-mesa-glx...deb
 * libglu1-mesa...deb
 * mesa-utils...deb
and it will automatically download the packages from the "xorg crack testers" team, build kernel modules and restart X, all inside the "live" session without touching your hard drive. See also the announcements on the Phoronix forum: [[http://phoronix.com/forums/showthread.php?t=10181|-radeon]] and [[http://www.phoronix.com/forums/showthread.php?t=14235|-intel]]
Line 79: Line 30:
Please keep track of which packages you install. The easiest way to revert to standard Feisty, is to uninstall the packages Please keep track of which packages you install manually or from a PPA. One way to revert to the standard versions, is to uninstall the packages
Line 84: Line 35:
== Building drivers ==
The easiest is to grab the source from either Gutsy or Debian experimental (or unstable) and build them on Feisty. Example for an ati driver:
You can also use {{{apt-cache policy xserver-xorg-core}}} to see what the version is in the main repository, then install this version with for instance:
{{{
sudo apt-get install xserver-xorg-core=2:1.6.0-0ubuntu4
}}}
To see if you have any packages installed from a PPA, run this command after disabling the PPA:
apt-show-versions | grep -v uptodate
Line 87: Line 42:
Find the experimental packages from http://packages.debian.org/xserver-xorg-video-ati and download the .orig.tar.gz, .diff.gz and .dsc files. == Building drivers yourself ==
You can grab the source from Ubuntu, Debian experimental/unstable, or a PPA and build them on your own system. Example for an -ati driver:

Find the experimental package from http://packages.debian.org/xserver-xorg-video-ati and download the .orig.tar.gz, .diff.gz and .dsc files.
Line 92: Line 50:
# apply any test patches here
Line 96: Line 55:
In many cases this will build and install nicely without changes. Otherwise you'll have to patch them... The official Ubuntu source and patches (for older versions) can be found through for instance http://packages.ubuntu.com/xserver-xorg-video-ati Download and unpack them as for the Debian packages, and look at the patches in the debian/patches directory. In many cases it will build and install nicely without changes. Otherwise you'll have to patch it... The official Ubuntu source and patches (for older versions) can be found through for instance http://packages.ubuntu.com/xserver-xorg-video-ati . Download and unpack them with dpkg-source and look at the patches in the debian/patches directory.

To apply a patch (for example an upstream git commit)
, download the patch as raw text, and run
{{{
patch -p1 < $HOME/patch-to-be-tested.diff
}}}
in the patch step above.

See also the {{{auto-xorg-git}}} script from the [[https://edge.launchpad.net/~xorg-edgers|xorg-edgers project]] which builds new pac
kages from git with one simple command.
Line 100: Line 67:
If you would like to try the latest drm from git, you can use this script which will assist you in downloading, compiling and installing the latest drm modules from upstream: attachment:easy-drm-modules-installer.v4 If you would like to try the latest drm from git, you can use the {{{easy-drm-modules-installer}}} script which will assist you in downloading, compiling and installing the latest drm modules from upstream. Download it from the [[http://bazaar.launchpad.net/~xorg-edgers/xorg-server/xorg-pkg-tools/files|Xorg packaging tools]] repository.
Line 104: Line 71:
If the latest version does not work, you can delete the drm-yyyymmdd directory which the script created, and download an older version and rename its "drm" directory to "drm-yyyymmdd" and put it in the same directory as the script. See [https://bugs.launchpad.net/bugs/88905 bug #88905] for the origin of this script. If the latest drm version does not work, you can delete the drm-yyyymmdd directory which the script created, and download an older version and rename its "drm" directory to "drm-yyyymmdd" and put it in the same directory as the script. See [[https://bugs.launchpad.net/bugs/88905|bug #88905]] for the origin of this script.

==== Newer kernels ====
For unofficial Ubuntu packages of newer kernels, see https://wiki.ubuntu.com/KernelMainlineBuilds
Line 108: Line 78:
 * ["Bugs/AtiDriver"]  * [[Bugs/AtiDriver]]
----
CategoryExperimentalEdge

Warning: This is for testing only! Expect to screw up your X if you try this out. This page is meant to help testing of new upstream versions, to see if they fix Ubuntu bugs. If they do, a fix might be backported to the official packages, or they will be available in the next Ubuntu release.

If you only want to upgrade to newer, stable driver releases, see the X Updates PPA.

Hardy packages

Ubuntu 8.04 ships with Xorg 7.3 and an updated xorg-server 1.4.

ati driver

The 6.8.0 version of the ati (radeon) driver is in Hardy and also works with R500 cards (no 3D yet). Newer test packages are in https://launchpad.net/~tormodvolden/+archive/ppa

NB: from the 20080302 version, the -ati driver does not support mach64 and r128 cards any longer, they have their own drivers.

radeonhd driver

The new open-source, AMD-sponsored radeonhd driver for 1xxx-2xxx cards is in universe: xserver-xorg-video-radeonhd (2D only) A newer test version of xserver-xorg-video-radeonhd can be found in https://launchpad.net/~tormodvolden/+archive/ppa

The diagnosis tool rhd_conntest is not included in the driver package, but an x86 executable can be downloaded here.

mesa libraries, drm modules, xserver

Upgrading mesa libraries involves more dependencies on other libraries and kernel modules and is not so straight forward as a simple card driver package upgrade. See the "xorg crack testers" team PPA for mesa upgrades and corresponding driver packages.

Testing with a live CD/media

This is the safest way of testing. Download the xorg-edgers-live-test script from the Xorg packaging tools repository and copy it to a Ubuntu Desktop CD (I suppose you are using a bootable USB stick to avoid burning CDs anyway). Then boot the CD/media, switch to a virtual console with ctrl-alt-F1 and type:

sudo sh /cdrom/xorg-edgers-live-test

and it will automatically download the packages from the "xorg crack testers" team, build kernel modules and restart X, all inside the "live" session without touching your hard drive. See also the announcements on the Phoronix forum: -radeon and -intel

Uninstalling, reverting

Please keep track of which packages you install manually or from a PPA. One way to revert to the standard versions, is to uninstall the packages sudo apt-get remove xserver-xorg-core etc, etc, and clean up /etc/apt/sources.list if you changed it, and reinstall from normal repositories: sudo apt-get install xserver-xorg-core

You can also use apt-cache policy xserver-xorg-core to see what the version is in the main repository, then install this version with for instance:

sudo apt-get install xserver-xorg-core=2:1.6.0-0ubuntu4

To see if you have any packages installed from a PPA, run this command after disabling the PPA: apt-show-versions | grep -v uptodate

Building drivers yourself

You can grab the source from Ubuntu, Debian experimental/unstable, or a PPA and build them on your own system. Example for an -ati driver:

Find the experimental package from http://packages.debian.org/xserver-xorg-video-ati and download the .orig.tar.gz, .diff.gz and .dsc files.

sudo apt-get build-dep xserver-xorg-video-ati
dpkg-source -x xserver-xorg-video-ati_6.6.191-1.dsc
cd xserver-xorg-video-ati-6.6.191
# apply any test patches here
debuild -b -us -uc
cd ..
sudo dpkg -i xserver-xorg-video-ati_6.6.191-1_i386.deb

In many cases it will build and install nicely without changes. Otherwise you'll have to patch it... The official Ubuntu source and patches (for older versions) can be found through for instance http://packages.ubuntu.com/xserver-xorg-video-ati . Download and unpack them with dpkg-source and look at the patches in the debian/patches directory.

To apply a patch (for example an upstream git commit), download the patch as raw text, and run

patch -p1 < $HOME/patch-to-be-tested.diff

in the patch step above.

See also the auto-xorg-git script from the xorg-edgers project which builds new packages from git with one simple command.

Latest drm kernel modules

If you would like to try the latest drm from git, you can use the easy-drm-modules-installer script which will assist you in downloading, compiling and installing the latest drm modules from upstream. Download it from the Xorg packaging tools repository.

The script should start by double-clicking on the downloaded file, however you might have to right-click on it -> Properties -> Permissions and enable "Execute" first.

If the latest drm version does not work, you can delete the drm-yyyymmdd directory which the script created, and download an older version and rename its "drm" directory to "drm-yyyymmdd" and put it in the same directory as the script. See bug #88905 for the origin of this script.

Newer kernels

For unofficial Ubuntu packages of newer kernels, see https://wiki.ubuntu.com/KernelMainlineBuilds


CategoryExperimentalEdge

XorgOnTheEdge (last edited 2013-01-06 19:41:30 by penalvch)