<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:bgoglin</id>
  <title>Brice Goglin's Blog</title>
  <subtitle>Brice Goglin</subtitle>
  <author>
    <name>Brice Goglin</name>
  </author>
  <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom"/>
  <updated>2009-11-05T17:58:25Z</updated>
  <lj:journal userid="10730461" username="bgoglin" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://bgoglin.livejournal.com/data/atom" title="Brice Goglin's Blog"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:18689</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/18689.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=18689"/>
    <title>Fun with SuperMicro BIOS and PCI-NUMA</title>
    <published>2009-10-31T12:23:33Z</published>
    <updated>2009-11-05T17:58:25Z</updated>
    <category term="pci"/>
    <category term="linux"/>
    <content type="html">&lt;p&gt;
We have a SuperMicro machine with a X8DAH motherboard at work. It contains 2 Intel Xeon Nehalem X5550 (8 cores, 16 threads total) with 3 GPUs. As several Nehalem motherboards, there are actually 2 IO hubs, one near each socket.
&lt;/p&gt;
&lt;pre&gt;
  ---------   ------------   ------------   ---------
  | Mem#0 |===| Socket#0 |===| Socket#1 |===| Mem#1 |
  ---------   ------------   ------------   ---------
                   ||             ||
               -----------   -----------
               | IOHub#0 |===| IOHub#1 |
               -----------   -----------
                   ||             ||
                 GPU#0         GPU#1+2
&lt;/pre&gt;
&lt;p&gt;
So PCI devices behind one IO Hub are closer to one socket than to the other one. So DMA performance depends on where the target memory is located: in the memory near one socket, or in the other memory node. The motherboard manual tells us which PCI slots are actually behind which IO hub (and thus near which socket/memory). And benchmarking our GPUs confirms the actual position of each PCI devices in the above picture. But we want to find out such information automatically to ease deployment and portability of applications. Linux may report such information through sysfs:
&lt;/p&gt;
&lt;pre&gt;
  $ cat /sys/bus/pci/devices/0000:{02:00.0,84:00.0,85:00.0}/local_cpulist
  0,2,4,6,8,10,12,14
  0,2,4,6,8,10,12,14
  0,2,4,6,8,10,12,14
&lt;/pre&gt;
&lt;p&gt;
However, this is wrong since 0,2,4,6,8,10,12,14 means &lt;em&gt;near socket #0&lt;/em&gt; while 2 GPUs are actually near socket #1 (CPUs 1,3,5,7,9,11,13,15). This could have been a bug in the Linux kernel, but it's actually a bug in the BIOS (Linux just needs to report what the BIOS tells). So we talked to SuperMicro about it and tried upgrading the BIOS.
&lt;/p&gt;

&lt;br /&gt;

&lt;p&gt;
The first BIOS upgrade (from 1.0 to 1.0b) went kind of bad: the machine didn't boot anymore at all, not even any BIOS message on screen. Fortunately, we removed the GPUs and it booted again. But Linux didn't have any NUMA information at all. It was just saying there was a single NUMA node instead of 2. So we just forgot about all this mess and downgraded back to the older BIOS.
&lt;/p&gt;
&lt;p&gt;
Another BIOS update came out recently (1.0c) so I contacted SuperMicro to know if it was worth upgrading. At some point, they asked me to try disabling NUMA in the current BIOS. The machine didn't boot anymore... except after removing some GPUs. Exactly as above. It seems that there is an incompatibility between disabling NUMA in the BIOS and having multiple GPUs in the machine. And the first BIOS upgrade apparently disabled NUMA by default, causing all the above problems with BIOS 1.0b.
&lt;/p&gt;

&lt;br /&gt;

&lt;p&gt;
So we had to try upgrading again, and make sure NUMA wasn't left disabled by default again. Instead of going back to 1.0b, I upgraded the BIOS to the latest release (1.0c) directly. And now the machine finally reports the right PCI-NUMA information!
&lt;/p&gt;
&lt;pre&gt;
  $ cat /sys/bus/pci/devices/0000:{02:00.0,84:00.0,85:00.0}/local_cpulist
  0-3,8-11
  4-7,12-15
  4-7,12-15
&lt;/pre&gt;
&lt;p&gt;
You might have noticed that CPU numbering changed in the meantime (CPU number interleaving is different), but I don't care since we have hwloc (&lt;a href="http://www.open-mpi.org/projects/hwloc/"&gt;Hardware Locality&lt;/a&gt;) to deal with it. Now the development version of our lstopo tool reports the whole machine topology, including PCI, as expected:
&lt;/p&gt;
&lt;div align="center"&gt;
 &lt;a href="http://pics.livejournal.com/bgoglin/pic/00002zb7"&gt;
  &lt;img src="http://pics.livejournal.com/bgoglin/pic/00002zb7" width="326" /&gt;
 &lt;/a&gt;
&lt;/div&gt;

&lt;br /&gt;

&lt;p&gt;
In short, if you have a X8DAH motherboard, don't disable NUMA in the BIOS (why would you do that anyway?) since it causes boot failures in some cases (when 3 GPUs are connected here), and upgrade to 1.0c if you care about memory/PCI locality/performance (which is probably the case anyway).
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/18689.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:18559</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/18559.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=18559"/>
    <title>Debian/X.org notes - i865 fixed, Xserver 1.6 entering testing soon</title>
    <published>2009-09-13T00:02:15Z</published>
    <updated>2009-09-13T18:28:21Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
No Xorg update entered testing since Lenny was released. The last big remaining bug in unstable was the Intel driver locking up on i865 when the UXA/GEM acceleration is used (and 2.8.x only supports UXA so there is no work around). See &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541307"&gt;#541307&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
Fortunately, Eric Anholt found out that it was caused by a kernel bug in the intel-agp driver. The fix is not in vanilla 2.6.31, so you'll have to apply the &lt;a href="http://lists.freedesktop.org/archives/intel-gfx/2009-September/004122.html"&gt;patch&lt;/a&gt; or wait for an updated 2.6.31.x kernel to be released. &lt;/p&gt;

&lt;p&gt;
Anyway, the Intel driver 2.8.1 as well as Xserver 1.6 and Mesa 7.5 will enter testing soon. If you have a i865, make sure your kernel contains the above fix or you'll likely experience lockups soon after X startup.
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt; If building the intel-agp driver as a module, you will also need &lt;a href="http://lists.freedesktop.org/archives/intel-gfx/2009-September/004128.html"&gt;another small patch&lt;/a&gt; to export the &lt;tt&gt;clflush_cache_range()&lt;/tt&gt; function to modules.
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt; Everything just entered testing of real.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/18559.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:18277</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/18277.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=18277"/>
    <title>Debian/X.org notes - Quick Updates</title>
    <published>2009-07-27T07:29:34Z</published>
    <updated>2009-07-27T07:32:05Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
Another round of quick notes about X in unstable while
the XSF team is on vacation.
&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&lt;u&gt;
&lt;b&gt;Intel Driver and PAE kernels&lt;/b&gt;
&lt;/u&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
If upgrading to xserver-xorg-video-intel broke X or made it very slow,
make sure you are not using a PAE/bigmem kernel. The Intel driver now
enforces UXA for acceleration. But UXA requires GEM support in the kernel,
and GEM is not compatible with PAE before 2.6.31.
So if you have PAE in your kernel (CONFIG_HIGHMEM64), i.e. for instance
if you are using a -bigmem kernel, your Xorg.0.log will say:
&lt;/p&gt;
&lt;pre&gt;
  (EE) intel(0): [drm] Failed to detect GEM.  Kernel 2.6.28 required.
  (EE) intel(0): Failed to become DRM master.
&lt;/pre&gt;
&lt;p&gt;
Obviously, 2.6.30 should be enough when 2.6.28 is required. But 2.6.30 with PAE is not.
&lt;/p&gt;

&lt;p&gt;&lt;i&gt;&lt;u&gt;
&lt;b&gt;Return of the DRI2 breakage&lt;/b&gt;
&lt;/u&gt;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
It looks like the DRI2 breakage in Xserver 1.6.1.901-3 wasn't enterily
fixed in 1.6.2.
According to &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538637"&gt;#538637&lt;/a&gt;,
Xserver 1.6.2 didn't work with KDE4.2 effects when built against Mesa 7.4.4.
Fortunately, Mesa 7.5 is in unstable now, and the new Xserver 1.6.2.901-1 was built against it.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/18277.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:17951</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/17951.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=17951"/>
    <title>Debian/X.org notes - Intel 2.8.0 in Sid, enforces UXA and DRI2</title>
    <published>2009-07-21T14:48:55Z</published>
    <updated>2009-07-21T14:49:07Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
The Intel driver 2.8.0 has been uploaded to unstable. The biggest changes in there is that support for DRI1, XAA and EXA has been dropped. It means that the driver now always uses UXA and DRI2 now.
&lt;/p&gt;

&lt;p&gt;
KMS (Kernel Modesetting) is still optional (and the non-KMS crash from 2.7.99.902 has been fixed in 2.8.0). But you might want to use a recent kernel, which means 2.6.30 or 2.6.31-rc.
&lt;/p&gt;

&lt;p&gt;
There are still some problems with UXA/DRI2 on old boards such as my i865. So if you encounter any big problem, you might want to downgrade to driver 2.7.1 (some old packages are available at &lt;a href="http://people.debian.org/~bgoglin/rebuilds/Xserver1.6/"&gt;here&lt;/a&gt;) and switch away from UXA.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/17951.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:17871</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/17871.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=17871"/>
    <title>Debian/X.org notes - DRI2 fixed in unstable, and more</title>
    <published>2009-07-13T23:02:01Z</published>
    <updated>2009-07-14T22:13:22Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
A couple news from the mostly-offline X Strike Force team:
&lt;/p&gt;

&lt;p&gt;
The previous upload of xserver-xorg-core (2:1.6.1.901-3) severely broke DRI2 and more. 2:1.6.2-1 has been uploaded, it should hopefully fix all this.
&lt;/p&gt;

&lt;p&gt;
Intel driver 2.7.99.902 has landed in experimental as well.
&lt;/p&gt;

&lt;p&gt;
As expected, the arrival of Linux kernel 2.6.30 helped a lot. So if you had problems, especially performance problems with 2.6.29, make sure you try 2.6.30. If you're playing with kernel modesetting, upgrading to kernel 2.6.31 and latest intel driver in experimental is probably a good idea as well.
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt; Intel driver 2.7.99.902 is broken when NOT using Kernel Modesetting,
see &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537052"&gt;#537052&lt;/a&gt;.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/17871.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:17612</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/17612.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=17612"/>
    <title>Debian/X.org notes - Why some X drivers like firmware-linux</title>
    <published>2009-05-11T07:08:41Z</published>
    <updated>2009-05-11T07:11:51Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
We got many bug reports about X being slow.
Many of them are caused by some MTRR/PAT problems in kernel 2.6.29.
But some are not.
&lt;/p&gt;

&lt;p&gt;
It appears to be caused by Debian 2.6.29 kernels not containing
ugly binary graphics firmware anymore.
Indeed, radeon, r128 and mga driver need a firmware for 3D,
but also for some 2D and Xv features (basically everything
that's hardware accelerated).
So if you use one of these X drivers and you have some problems,
a quick look in the kernel logs might tell you that a firmware
is missing.
Installing the firmware-linux package may help then.
We are adding the corresponding Suggests line to X drivers.
&lt;/p&gt;

&lt;p&gt;
Moreover, some people are upgrading to 2.6.30 pre-release
because it contains DRM support for R600 boards.
A ugly binary firmware is needed as well and it has obviously
been removed from Debian 2.6.30 experimental packages.
But firmware-linux does not seem to contain this firmware yet.
So if you want 2.6.30 for R600 DRM, you want to either build
your own 2.6.30 kernel, or wait for an updated firmware-linux
package to be available with R600 firmware.
See &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523467#88"&gt;bug#523467&lt;/a&gt;
for an example.
&lt;/p&gt;


&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/17612.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:17395</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/17395.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=17395"/>
    <title>Debian/X.org notes - Howto get DRI2 on Debian?</title>
    <published>2009-02-14T09:45:45Z</published>
    <updated>2009-02-25T08:40:51Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
Now that the final Mesa 7.3 is available in experimental
(and built on most architectures), it is actually easy to
get DRI2 in Debian if you have an Intel board.
&lt;/p&gt;

&lt;p&gt;
First, make sure you have a recent kernel, otherwise it may
fail miserably.
I am running 2.6.29-rc here, and I am not even sure 2.6.28
would be enough.
Hopefully, one day the driver/server will properly detect
and report problems when it runs on a old kernel :)
&lt;/p&gt;

&lt;p&gt;
Enable the new UXA acceleration architecture with
&lt;tt&gt;Option "AccelMethod" "UXA"&lt;/tt&gt; in the device section
of your xorg.conf.
Restart X.
You should see DRI2 enabled in the log.
Now start Compiz and it works.
You can see a wobbly glxgears!
&lt;/p&gt;

&lt;p&gt;
Well, on my i945, Compiz was very slow by default.
I add to disable &lt;i&gt;Sync to-VBlank&lt;/i&gt; in the display settings
in Compiz' general options.
If you don't want Compiz, you may also try running
&lt;tt&gt;xcompmgr&lt;/tt&gt; and then play with &lt;tt&gt;transset&lt;/tt&gt;
to put transparency on 3D applications.
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt;
Added kernel requirements, added how to make Compiz not slow, removed -a from xcompmgr.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/17395.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:16916</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/16916.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=16916"/>
    <title>Debian/X.org notes - X behavior changes in experimental</title>
    <published>2009-02-14T09:34:28Z</published>
    <updated>2009-02-14T09:35:13Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
Apart from interesting features such as DRI2, KMS or input-hotplug,
there are some minor changes in X in experimental that actually
appear to disturb many users.
&lt;/p&gt;

&lt;p&gt;
 The first one is that Ctrl-Alt-Backspace does not kill X anymore.
There is no easy consensus here, but many people were annoyed of
killing X by mistake, so it's disabled by default now.
To reenable it, add to the ServerFlags section of your xorg.conf:
&lt;pre&gt;
        Option "DontZap" "off"
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
Another one is the background during X startup.
Say goodbye to the old well-known grey background.
Now you get a black background by default.
To revert to the old behavior, pass -retro on
the server command line (for instance in
/etc/X11/xinit/xserverrc).
Note that this option also reenables Ctrl-Alt-Backspace
killing the server.
&lt;/p&gt;

&lt;p&gt;
Finally, you might also see &lt;tt&gt;glxgears&lt;/tt&gt;
reporting very low frame rates (60) on some hardware.
Well, please remember that it is not a benchmark, the
output basically means nothing.
This is why some distros even removed the fps output by default.
The thing is that recent DRM stacks will just synchronize
frame rendering on vertical blanks (can anybody here see
1000fps with human eye?).
So if you have a 60Hz refresh rate, glxgears will report
60fps, that's it.
But it has nothing to do with DRI or 3D being slow.
Please try some relevant 3D programs or benchmarks before
complaining :)
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/16916.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:16734</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/16734.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=16734"/>
    <title>Debian/X.org notes - Howto Input-hotplug?</title>
    <published>2009-01-24T21:07:16Z</published>
    <updated>2009-02-01T11:44:51Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
I have been wondering for a while how to get X.org "input-hotplug"
to work, but I never actually tried before today.
It is actually fairly easy, once you know what to do.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Requirements&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
First, make sure you have the evdev X driver installed
(xserver-xorg-input-evdev).
You might want to use X packages from experimental since
things are much more recent than in Lenny or Sid these days,
and upstream improved input management in the meantime.
Then, if you are not running a pre-packaged kernel,
check the the evdev driver is enabled and loaded in your
kernel (CONFIG_INPUT_EVDEV).
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Telling hal what to do with input devices&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
Now, you need to tell hal how to configure your input devices.
Actually, you do not have much to do since latest
&lt;tt&gt;xserver-xorg-input-evdev&lt;/tt&gt; packages bring what you need.
hal reads all &lt;em&gt;fdi&lt;/em&gt; files under &lt;tt&gt;/usr/share/hal/fdi/policy&lt;/tt&gt;
to find out how devices should be configured.
If you run &lt;tt&gt;lshal&lt;/tt&gt; and look for &lt;em&gt;input&lt;/em&gt;, you should
see that the evdev is planned to drive your input devices.
&lt;/p&gt;

&lt;p&gt;
However, if you look at keyboard devices in lshal (look for &lt;em&gt;input.keys&lt;/em&gt;),
you will see that the US layout is used.
To switch to another layout, you can add some overriding rules
as a new &lt;tt&gt;*.fdi&lt;/tt&gt; file in &lt;tt&gt;/etc/hal/fdi/policy/&lt;/tt&gt;.
For instance, to get French layout:

&lt;pre style="margin-left: 24px; font-size: 80%;"&gt;
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;deviceinfo version="0.2"&amp;gt;
  &amp;lt;device&amp;gt;
    &amp;lt;match key="info.capabilities" contains="input.keys"&amp;gt;
      &amp;lt;-- Enforce XkbLayout=fr and XkbVariant empty --&amp;gt;
      &amp;lt;merge key="input.xkb.layout" type="string"&amp;gt;fr&amp;lt;/merge&amp;gt;
      &amp;lt;merge key="input.xkb.variant" type="string" /&amp;gt;
    &amp;lt;/match&amp;gt;
  &amp;lt;/device&amp;gt;
&amp;lt;/deviceinfo&amp;gt;
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
Thanks to this, you can enforce XkbLayout, XkbVariant and friends
as usual in &lt;tt&gt;/etc/X11/xorg.conf&lt;/tt&gt;.
Don't forget to restart hal after modifying some fdi files.
Then run &lt;tt&gt;lshal&lt;/tt&gt;, and look for Xkb, you should find your setup there.
Note that you can add some matching rules to configure some
devices with different setups if needed.
Just need to read the output of &lt;tt&gt;lshal&lt;/tt&gt; and find something
like a hardware identifier to match on.
&lt;/p&gt;

&lt;p&gt;
You can find some documentation about these rules by looking at the
existing fdi files in &lt;tt&gt;/usr/share/hal/fdi/policy/20thirdparty/&lt;/tt&gt;,
and in the upstream
&lt;a href="http://cgit.freedesktop.org/xorg/xserver/plain/config/x11-input.fdi"&gt;x11-input.fdi&lt;/a&gt; (note that &lt;tt&gt;input.xkb.foo&lt;/tt&gt; is the actual recommended syntax instead of &lt;tt&gt;input.x11_options.XkbFoo&lt;/tt&gt;).
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Touchpads&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
If you have a touchpad and want to use the synaptics driver,
installing the &lt;tt&gt;xserver-xorg-input-synaptics&lt;/tt&gt; will bring
another fdi file.
&lt;tt&gt;/usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi&lt;/tt&gt;
matches &lt;em&gt;input.touchpad&lt;/em&gt; in the device capabilities in hal.
Now the synaptics driver will be automagically loaded for your touchpad
(instead of evdev for regular mice).
Again, you can override this rule in &lt;tt&gt;/etc/hal/fdi/policy/&lt;/tt&gt;
and you can add many configuration options for synaptics as well.
See &lt;tt&gt;/usr/share/hal/fdi/policy/20thirdparty/11-x11-synaptics.fdi&lt;/tt&gt;
to get an example.
&lt;/p&gt;

&lt;p&gt;
Fortunately, you will not have to manually take care of the
above &lt;tt&gt;/etc/hal/fdi/policy/&lt;/tt&gt; file for ever.
The plan is to have hal look at the Debian console configuration
and get at least the keyboard layout from there automatically.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Telling the Xserver to talk to hal&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
Now, you need to tell the Xserver to use what hal wants.
Basically, you want to remove everything about keyboard, mouse
and other input devices from your xorg.conf.
Just drop all &lt;tt&gt;InputDevice&lt;/tt&gt; sections and all references
to them within other sections.
With recent Xserver versions, options &lt;tt&gt;AllowEmptyInput&lt;/tt&gt;
and &lt;tt&gt;AutoAddDevices&lt;/tt&gt; are enabled by default
(otherwise, you might have to add them in the &lt;tt&gt;ServerFlags&lt;/tt&gt;
section).
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Ignoring a device&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
If you do not want Xorg to use one of your input device,
in the past you would just have not talked about it in xorg.conf.
Now, hal notifies the server of all devices, and all of them
are enabled by default. To disable it, you can use something like:
&lt;pre style="margin-left: 24px; font-size: 80%;"&gt;
  &amp;lt;match key="info.product" contains="myname"&amp;gt;
    &amp;lt;remove key="input.x11_driver"/&amp;gt;
  &amp;lt;/match&amp;gt;
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;For more information&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
For more documentation, you want to read
&lt;a href="http://who-t.blogspot.com/"&gt;Peter Hutterer's blog&lt;/a&gt;,
especially
&lt;a href="http://who-t.blogspot.com/2008/07/input-configuration-in-nutshell.html"&gt;this post&lt;/a&gt;
and
&lt;a href="http://who-t.blogspot.com/2008/12/evdev-xorgconf-hal-and-other-fud.html"&gt;this one&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
By the way, if you don't want this input-hotplug thing and you
want to run a recent Xserver anyway, you should set &lt;tt&gt;AllowEmptyInput&lt;/tt&gt;
and &lt;tt&gt;AutoAddDevices&lt;/tt&gt; to off in the &lt;tt&gt;ServerFlags&lt;/tt&gt; section.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Update:&lt;/u&gt;&lt;/b&gt;
Fixed the way to manage fdi files, fixed the syntax of input.xkb.foo rules, added a paragraph about synaptics, added a way to ignore a device, and organized things in sections. Thanks to everybody's comments.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/16734.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:16547</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/16547.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=16547"/>
    <title>Debian/X.org notes - Xserver 1.6, Intel 2.6.1, ... what's up in XSF?</title>
    <published>2009-01-24T20:59:53Z</published>
    <updated>2009-01-24T21:00:12Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
It has been a while since my last post here. Not because nothing
happened, but mostly because I did not have time to do much for X.
Fortunately, Julien is taking good care of X in Debian so we are
still close to latest upstream bits.
Obviously, due to Lenny's freeze, everything is happening in
experimental these days.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Xserver 1.6&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
The release Xserver 1.6 is expected in the near future.
1.6-rc1 (1.5.99.901) entered experimental recently.
Both video and input driver ABIs changed and very few drivers
have been rebuilt so far.
So if you're not running Intel or Radeon, you might not be
able to upgrade yet. Please be patient :)
You might have heard that many things are happening in X.org
these days: DRI2, kernel-modesetting (KMS), RandR 1.3, ...
Everything is not ready yet, but it's getting close for real.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Radeon 6.10.0 and Intel 2.6.1&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
Radeon driver 6.10.0 was released in early 2009.
As usual, it brings many fixes, and improvements for modern
boards (see
&lt;a href="http://www.botchco.com/agd5f/?p=34"&gt;Alex Deucher's blog&lt;/a&gt;
for details).
However, Radeon is not ready for above DRI2 and KMS yet.
Most of the development for these new features is first done in
the Intel driver, which got recently bumped to 2.6.1 as well.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;DRI2&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
DRI2 is the new Direct Rendering Infrastructure.
The most noticeable change from the user point of view is support
for &lt;em&gt;Redirect Direct Rendering&lt;/em&gt;, which basically means
that your 3D application can be wobbly/transparent in Compiz.
See &lt;a href="http://hoegsberg.blogspot.com/2007/08/redirected-direct-rendering.html"&gt;Kristian Høgsberg's blog&lt;/a&gt;
for details.
&lt;/p&gt;

&lt;p&gt;
If you want to try DRI2 on Intel, you have to enable UXA
as the acceleration architecture in xorg.conf
(&lt;tt&gt;Option "AccelMethod" "UXA"&lt;/tt&gt; in the Device section).
DRI2 will then be enabled automatically.
Then, it may or may not work, depending for instance on the hardware.
I get a black screen at startup on i865 while i945 works fine until
I start Compiz (the server suddenly exits for some reason then).
Note that you probably want to upgrade your Mesa packages to
experimental as well here (7.3 has been released recently).
Of course, running git snapshot of various components (Mesa, libdrm,
kernel drm, Intel driver, ...) may help since the released versions
seem to not be entirely ready yet.
But, things should may be ready to use for everybody in the near future.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Kernel Modesetting&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
The other nice feature that makes a lot of noise in X.org these days
is Kernel modesetting (KMS).
It moves the management of mode (aka resolution+rate) into the kernel.
It helps support for switching between different users' sessions,
enables reporting of kernel messages (oops, panics, ...) while X is
running, and reduces the need to blank the screen during boot
(since the kernel can setup the display early and X doesn't have
to change it later independently).
&lt;/p&gt;

&lt;p&gt;
KMS testing requires a bleeding-edge kernel (2.6.29).
Using a git snapshot of the drm stack is probably a good idea
as well since I couldn't get KMS to work on 2.6.29-rc2 here.
Again only Intel will support KMS soon, but other drivers
will follow.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Panning is back (aka RandR 1.3)&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
Xserver 1.6 brings support for the 1.3 version of
the RandR X extension.
Among other improvements, it reintroduces one feature that
many users miss since it was removed back in Xserver 1.3
or so.
"Panning" (often referred to as "Virtual Desktop") gives the
ability to move the display within a larger screen when
the mouse approaches from the border.
Instead of being configured with the Virtual option in
xorg.conf (this option means something else nowadays), it
may now be enabled/tuned with xrandr --panning.
You'll need the latest libxrandr2 and xrandr utilities to
do so (the latter is not uploaded yet).
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/16547.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:16319</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/16319.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=16319"/>
    <title>MMU notifiers brings into Linux what we've been wanted for HPC for a while</title>
    <published>2008-07-29T17:29:05Z</published>
    <updated>2008-07-29T17:29:23Z</updated>
    <category term="linux"/>
    <category term="myri"/>
    <category term="hpc"/>
    <content type="html">&lt;p&gt;
After the addition of ioremap_wc() in 2.6.26, MMU notifiers have now been merged in 2.6.27-rc1. It means that everything we have been wanting in the past to help HPC support is finally available upstream. We thought IB being merged (back in 2.6.11) would make things go fast, but it looks like these important features were not that obvious to people that did not work on HPC for a long time.
&lt;/p&gt;

&lt;p&gt;
Back in 2004, I was trying to get a safe registration cache working in the kernel for distributed storage over Myrinet. User-space regcaches are known to be a mess because they need to intercept malloc/free/munmap to invalidate cached segments. It works sometimes, but it is often a mess. In the kernel, you just can't intercept anything. So I wrote a patch called VMASpy which allowed other subsystems to be notified when part of a "registered" VMA is unmapped or forked. I never submitted it since it couldn't be accepted unless somebody in the kernel (i.e. IB) used it. Given &lt;a href="http://lists.linuxcoding.com/kernel/2005-q2/msg10051.html"&gt;posts like this&lt;/a&gt;, we see that IB people weren't conscious of the problem (nowadays they are interested but something in the IB specs apparently prevents them from using this).
&lt;/p&gt;

&lt;p&gt;
KVM needed some kernel support for its shadow pages, so MMU notifiers were written by Andrea Arcangeli (thanks a lot to him for keeping working on this despite many people not liking it). After a couple months of trolls, here we go with 2.6.27-rc1, we can now register a notifier per mm_struct and get a callback when part of the address space is unmapped. The implementation is very different from my VMASpy and of course much better :) But the final API provides similar features, so it should be great news for people working on registration caches or so.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/16319.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:16043</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/16043.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=16043"/>
    <title>myri10ge broken in 2.6.26, will be fixed in 2.6.26.1</title>
    <published>2008-07-29T16:55:32Z</published>
    <updated>2008-07-29T16:55:43Z</updated>
    <category term="linux"/>
    <category term="myri"/>
    <content type="html">&lt;p&gt;
The myri10ge driver (Ethernet driver for Myri-10G boards) is broken in 2.6.26. It may not do anything at startup. It may also oops when opening the interface. The breakage appeared because the big pile of updates sent for 2.6.26 has been only partially applied (multislice RX is only applied in 2.6.27), and I did not test it intensively enough. Apologies.
&lt;/p&gt;

&lt;p&gt;
2.6.27-rc1 is not affected by the breakage. And 2.6.25 works fine as well. Two patches have been sent to the stable release team for inclusion in 2.6.26.1. In the meantime, you may use Myricom's tarball, take the driver from 2.6.27-rc1 or from 2.6.25, ... or just not use 2.6.26 :)
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/16043.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:15638</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/15638.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=15638"/>
    <title>Debian/X.org notes - xserver-xorg-video-radeon in unstable</title>
    <published>2008-06-22T12:52:05Z</published>
    <updated>2008-06-22T13:25:15Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
 As you may now, the r128 and mach64 drivers were split out of ati recently. However, for Etch-&amp;gt;Lenny transitional reasons, xserver-xorg-video-ati still depends on xserver-xorg-video-r128 and -mach64. If you're bored of having to install these packages on your Radeon machine, beware that there is now xserver-xorg-video-radeon for you in unstable. It just contains the radeon driver and does not depend on any other driver.
&lt;/p&gt;

&lt;p&gt;
 xserver-xorg-video-ati still exists, for transitional reasons. It also provides the "ati" meta-driver which takes care of loading "mach64", "r128" or "radeon" depending on your hardware. If you actually remove xserver-xorg-video-ati, don't forget to update your xorg.conf into Driver "radeon".
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt;
And of course, right after posting this, I get a bug report about the missing Replaces: ati. It will be fixed in 1:6.8.191-3.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/15638.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:15598</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/15598.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=15598"/>
    <title>Debian X.org notes - X.org in Lenny (and more)</title>
    <published>2008-06-14T11:36:16Z</published>
    <updated>2008-06-14T11:43:35Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;&lt;b&gt;&lt;u&gt;Xserver 1.4.2 for Lenny&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
We originally planned to ship Xorg 7.4 and Xserver 1.5 since they were expected
in February. However, Xserver 1.5 (and Mesa 7.1) are not released yet, so we are
going to keep some updated X.org 7.3 for Lenny.
A new Xserver 1.4 snapshot with some security fixes will enter testing soon.
Once this is done, the final Xserver 1.4.2 will be uploaded. It is not perfect
but it is the one you will get for Lenny.
Many people suffered from Xserver 1.4 bugs in the last months, especially on the
input side. Fortunately, many of them have been fixed. Lots of them were also
caused by obsolete config files (that have to be manually fixes unfortunately).
So we hope this Xserver 1.4.2 will be good enough for Lenny.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;XaaNoOffscreenPixmaps by default&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
It is worth noting that XaaNoOffscreenPixmaps will now be the default (when XAA
is enabled, i.e. by default for all drivers but Intel). It helps Compiz and seems
to prevent various rendering problems from happening. Ubuntu and Fedora have been
running such a patch for a while, so it looks like we are going to do the same
for Lenny. To revert to the old behavior, use Option XaaOffscreenPixmaps in the
Device section of your xorg.conf.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;ATI 6.8.191, Intel 2.3.2, Mesa 7.0.3++&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Apart from the server, some big components are getting updated these days:
&lt;/p&gt;

&lt;p&gt;
A new Mesa has been uploaded so that it enters testing before the libs are frozen.
It contains the latest Mesa 7.0.x git snapshot, including lots of bugfixes, especially
for Intel hardware.
Mesa 7.0.3 was already pretty solid, this new one (7.0.3-2) will be even better.
&lt;/p&gt;

&lt;p&gt;
ATI is still getting a lot of work upstream as usual. 6.8.191 (aka 6.9-rc1) has been
released this week. It brings r6xx support, acceleration for r5xx, EXA Composite
for r3xx/r4xx/r500, textured video support, ... It also fixes many bugs everywhere.
Given the big testing that we had in experimental in the last months, I consider
it much better than 6.8.0, so I decided to put it in unstable even if it's only a
release candidate.
&lt;/p&gt;

&lt;p&gt;
This new ATI does not include the r128 and mach64 drivers anymore. So the new
xserver-xorg-video-r128 and -mach64 packages finally entered unstable as well.
Due to unexpected upstream version numbers for mach64 and r128 and me messing up
with epochs, they have a lower version number (6.8.0-1) than the previous snapshots from
experimental (1:6.8.1~git...). There's almost no code difference though, but people might want
to install the unstable packages anyway. The old snapshots will be removed from
experimental soon.
&lt;/p&gt;

&lt;p&gt;
On the Intel side, a new 2.3.2 is expected soon, without many big improvements from what I have seen.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;X.org post-Lenny Future&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Xorg 7.4/Xserver 1.5 prereleases should arrive in experimental soon. It requires
Mesa 7.1, which still needs some build fix and requires a new yet-to-be-released
libdrm.
Once all these are properly fixed and released, you should for instance be able
to experience some interesting improvement in EXA. It may finally make XAA useless
for real.
Also, Xorg 7.4 will simplify the Xserver package maintenance since its build won't
need the whole Mesa source anymore (the GLcore module that AIGLX uses will be
built/shipped within Mesa).
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Stop build-depending on xutils!&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Also, we've been trying to cleanup the dependency mess in many X packages for
a while. We removed the obsolete dependency from xutils to xutils-dev which
was only needed for Sarge-&amp;gt;Etch upgrade (xutils-dev was split out of xutils).
However, many packages still wrongly build-depend on xutils. Lucas reported that
removing this useless dependency in the latest Xorg upload caused 84 FTBFS.
So, we're going to revert the change to avoid adding 84 RC bugs. However,
everybody build-depending on xutils, please check whether you actually need
xutils or xutils-dev so that we can quickly fix this after Lenny.
&lt;p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/15598.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:15162</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/15162.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=15162"/>
    <title>Debian X.org notes - Radeon Textured Xvideo in experimental, r128 and mach64 split out</title>
    <published>2008-03-02T14:57:00Z</published>
    <updated>2008-03-02T16:34:01Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
 After xf86-video-ati 6.8.0 got released, George Sapountzis split the old r128
 and mach64 subdrivers out of the common ati wrapper. So, starting from 6.8.1,
 the &lt;tt&gt;xserver-xorg-video-ati&lt;/tt&gt; package only contains the &lt;tt&gt;radeon&lt;/tt&gt;
 subdriver. The other subdrivers have been moved to their own &lt;tt&gt;xserver-xorg-video-r128&lt;/tt&gt;
 and &lt;tt&gt;-mach64&lt;/tt&gt; packages. All of them just landed in experimental.
&lt;/p&gt;

&lt;p&gt;
 Your existing xorg.conf should work as before. I don't have any Mach or Rage
 board, so please test these new packages and report back if they don't work.
 Note that if your xorg.conf contains &lt;tt&gt;Driver "ati"&lt;/tt&gt;, you'll need to
 keep &lt;tt&gt;xserver-xorg-video-ati&lt;/tt&gt; installed. If you only have the &lt;tt&gt;mach64&lt;/tt&gt;
 or &lt;tt&gt;r128&lt;/tt&gt; package installed, you need switch to &lt;tt&gt;Driver "mach64"&lt;/tt&gt;
 or &lt;tt&gt;"r128"&lt;/tt&gt; in xorg.conf.
&lt;/p&gt;

&lt;p&gt;
 On the &lt;tt&gt;radeon&lt;/tt&gt; side, the upstream developers are still very active. The
 last feature that has been added is &lt;em&gt;Textured Xvideo&lt;/em&gt;. The Xvideo
 extension is usually implemented using the hardware overlay, which basically
 inserts the video on screen at the very end of the rendering. While working
 very well, this feature conflicts with compositing managers such as Compiz
 which cannot transform the Xvideo image.
&lt;/p&gt;

&lt;p&gt;
 The radeon driver now exposes a Texture Xvideo adaptor which is composite-aware,
 which means you can have wobbly Xvideo players in Compiz. The Overlay adaptor
 is still the default since the Textured video isn't considered stable enough yet.
 To enable it, you can use something like:
&lt;pre&gt;
    mplayer -vo xv:port=74 foo.avi
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
 Where do I get this port 74 from? Just look at the output of &lt;tt&gt;xvattr&lt;/tt&gt;
 or &lt;tt&gt;xvinfo&lt;/tt&gt;:
&lt;pre&gt;
    $ xvattr
    Found Xv 2.2
    Adaptor: 0
    Name: ATI Radeon Video Overlay
     Port: 73
     [...]
    Adaptor: 1
    Name: Radeon Textured Video
     Port: 74
     Port: 75
     [...]

    $ xvinfo
    X-Video Extension version 2.2
    screen #0
     Adaptor #0: "ATI Radeon Video Overlay"
      number of ports: 1
      port base: 73
      [...]
     Adaptor #1: "Radeon Textured Video"
      number of ports: 16
      port base: 74
      [...]
&lt;/pre&gt;
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/15162.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:15063</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/15063.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=15063"/>
    <title>Debian X.org notes - No, DisplaySize and DPI are not (always) broken</title>
    <published>2008-01-19T10:15:38Z</published>
    <updated>2008-01-19T10:18:52Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
 We are getting many bugs about wrong DPI configuration and DisplaySize not working. In most of the cases, it is actually caused by  a confusion between Monitor sections in xorg.conf and RandR 1.2 outputs.
&lt;/p&gt;

&lt;p&gt;
With a default config, RandR 1.2 drivers will basically associate the unique Monitor section with their first output, even if not enabled. Bug &lt;a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461501"&gt;#461501&lt;/a&gt; is a good example of this issue.
&lt;/p&gt;

&lt;p&gt;
 RandR 1.2 drivers (intel, ati, nv for G80, mga in experimental, radeonhd so far) require that you specify which output is attached to which monitor. If you have a Monitor section with identifier "Foo" connected on output "BAR", then you want the following in your Device section:
&lt;pre&gt;
    Option "Monitor-BAR" "Foo"
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
 Or (easier), just rename identifier "Foo" into "BAR". You need to add such a section for each output that you want to tweak (DisplaySize, ModeLine, PreferredMode). Then your tweaks will be applied to the right monitor/output.
 See the &lt;a href="http://wiki.debian.org/XStrikeForce/HowToRandR12"&gt;HowToRandR12&lt;/a&gt; sections III.1 and III.3 for details.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/15063.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:14593</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/14593.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=14593"/>
    <title>Debian X.org notes - One year of X.org BTS maintenance</title>
    <published>2008-01-06T12:28:24Z</published>
    <updated>2008-01-06T16:08:02Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
One year ago, I started triaging the X.org BTS (by replying to #163057 iirc). I closed almost 1600 bugs since then, bringing the remaining ones to about 900 today. I am kind of proud of &lt;a href="http://ftp.es.debian.org/~ender/XSF_bugs/graphs/total-year.png"&gt;Ender's graph&lt;/a&gt; (when the URL works...). Even if the actual BTS triaging is done now, I still try to take care of X.org bugs. And it's not that easy unfortunately...
&lt;/p&gt;

&lt;p&gt;
Almost 650 new bugs were opened this year against X.org packages. 250 of them are already fixed, more than one hundred have been forwarded upstream. It doesn't mean that 300 bugs still apply to our packaging. Most of our X packages are simple (apart from the xserver-xorg postinst mess that David is cleaning). But, there are lots of problems that we have no clue about, or that miss some info because people can't upgrade to unstable, ...
&lt;/p&gt;

&lt;p&gt;
I am sometimes tired of getting so many bugs without being able to do much about them. Maybe because upstream doesn't care enough about some problems (lots of drivers are unmaintained and get broken more and more when new features are added for a couple more important drivers). So, I sometimes tend to concentrate my work on what I like and trust. Some people noticed that xserver-xorg-video-ati get very often updated these days (6 uploads in the last 20 days). Of course, the reason is that I own a r300 board :) But also because its upstream devs are very good, it's very nice and easy to work with them.
&lt;/p&gt;

&lt;p&gt;
Of course, we have a lot of work and few people to do it. That's kind of sad since playing with X is very interesting. Most users are very happy when discovering things like RandR 1.2 or Compiz. Getting a chance to test them early and understand their internals is very cool. But, as said in some other posts, hacking on X.org doesn't seem to look fun. If you're interested anyway, taking care of the bugs is a very easy way to learn a lot. I had no clue about X one year ago and I learned a lot by taking care of the BTS. I would be glad to get some help now :)
&lt;/p&gt;



&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/14593.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:14265</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/14265.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=14265"/>
    <title>Debian X.org notes - ATI 6.7.197 in unstable, AtomBIOS r500/600 support in experimental</title>
    <published>2007-12-21T08:13:10Z</published>
    <updated>2007-12-21T17:05:27Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
 I finally uploaded the ATI RandR 1.2 driver to unstable. This is xserver-xorg-video-ati 1:6.7.197-1. Lots of people were already using the experimental packages to get the RandR 1.2 support. And it looks pretty good, at least not worse than the obsolete 1:6.6.193-3 that has been in unstable during the last months or the prehistoric 1:6.6.3-2 still in testing.
&lt;/p&gt;

&lt;p&gt;
 Things are (again) moving fast upstream. Right after the 6.7.197 released, they merged 2 important branches in master:
 &lt;ul&gt;
 &lt;li&gt;
  &lt;b&gt;atombios-support&lt;/b&gt; brings support for r500 and r600 boards using AtomBIOS. Yes, this is for the same boards as the ones supported by the old avivo and the recent radeonhd driver, but the implementation differs a lot. See &lt;a href="http://airlied.livejournal.com/53129.html"&gt;Dave Airlie's blog entry&lt;/a&gt;.
 &lt;/li&gt;
 &lt;li&gt;
  &lt;b&gt;zaphod-lolz&lt;/b&gt; brings back support for the old Zaphod mode that lots of people have been missing. If you like having two screens (:0.0 and :0.1), you might like this. See &lt;a href="http://airlied.livejournal.com/54069.html"&gt;Dave Airlie's blog entry&lt;/a&gt; for some details.
 &lt;/li&gt;
 &lt;/ul&gt;
&lt;p&gt;

&lt;p&gt;
 Given how important all this is, I also uploaded a new snapshot of upstream master into experimental. This is xserver-xorg-video-ati 1:6.7.198~git20071221.be7f8fd3-1. Merry Christmas!
&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt;
Looks like this is Radeon day. A new version (1.1.0) of the radeonhd driver has been released, so I just uploaded it to unstable too.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/14265.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:13886</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/13886.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=13886"/>
    <title>Debian X.org notes - Upcoming Xserver 1.4.1, Intel 2.2 and friends</title>
    <published>2007-11-11T13:12:45Z</published>
    <updated>2007-11-11T17:06:49Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
Once ftp-master is back, several important X updates should arrive. The first one is a Xserver pre-1.4.1 snapshot (the official 1.4.1 is expected soon). It will bring many input fixes, for instance for broken LEDs (reported 12 times). Unfortunately, there are still some input bugs in there, for instance &lt;a href="https://bugs.freedesktop.org/show_bug.cgi?id=13114"&gt;upstream bug #13114&lt;/a&gt; which is kind of annoying (I can't play xmoto anymore).
&lt;/p&gt;

&lt;p&gt;
A new release of the Intel driver is coming soon. The first release candidate, 2.1.99, has been uploaded to experimental. The most noticable changes include some fix for VT switch and the support for some rare LVDS chipsets (ch701x). Also EXA is now enabled by default, which is good news since XAA had some bugs that won't ever be fixed (for instance when using XV in Compiz, see &lt;a href="https://bugs.freedesktop.org/show_bug.cgi?id=10912"&gt;upstream bug #10912&lt;/a&gt;). Before 2.2 is released, we might get a fix for backlight support which got fixed on some boards while broken again on some others in the past (see &lt;a href="https://bugs.freedesktop.org/show_bug.cgi?id=11527"&gt;upstream bug #11527&lt;/a&gt;).
&lt;/p&gt;

&lt;p&gt;
The new Mesa 7.0.2 release might be worth taking a look too since it brings many fixes, including a working &lt;tt&gt;__gluInvertMatrix()&lt;/tt&gt; which should solve many GLU-related problems that have been reported, and some fixes for several Blender crashes.
&lt;/p&gt;

&lt;p&gt;
Not much activity on the xserver-xorg-video-ati side recently. But given how well it works these days, I am seriously thinking of uploading the next snapshot to unstable (1:6.6.193-3 didn't help a lot there).
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/13886.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:13803</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/13803.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=13803"/>
    <title>Debian X.org notes - RandR 1.2 guide</title>
    <published>2007-10-14T11:12:44Z</published>
    <updated>2007-10-14T20:23:20Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
Given the massive changes implied by multiple RandR 1.2 drivers being available, and looking at how many bugs were reported because of wrong X configuration, I wrote a &lt;a href="http://wiki.debian.org/XStrikeForce/HowToRandR12"&gt;RandR 1.2 guide&lt;/a&gt; on the wiki. It should at least be useful for people upgrading from old drivers...
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/13803.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:13317</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/13317.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=13317"/>
    <title>Remote Console Access with IPMI on Dell 2950</title>
    <published>2007-10-14T10:41:21Z</published>
    <updated>2007-10-14T10:42:22Z</updated>
    <content type="html">&lt;p&gt;
I have been installing several Dell 2950 boxes recently and managed to configure &lt;i&gt;Remote Console Access&lt;/i&gt; through IPMI 2.0. Since there are no nice/complete how-to in Google, here's one.
&lt;/p&gt;

&lt;p&gt;
You should first choose a new sub-network for IPMI. Although the IPMI network traffic uses the same physical network than the &lt;b&gt;first&lt;/b&gt; interfaces of the boxes (make sure this one is connected), it has different MAC addresses and should use different IP addresses. If your boxes have 10.0.0.x regular IP addresses, you may for instance use &lt;b&gt;10.0.99.x&lt;/b&gt; for IPMI. Adding corresponding hostnames (for instance &lt;b&gt;xxx-ipmi&lt;/b&gt; for host xxx) in your DNS or &lt;tt&gt;/etc/hosts&lt;/tt&gt; file might be good too.
&lt;/p&gt;

&lt;p&gt;
At the end of the BIOS boot, press &lt;b&gt;Ctrl-e&lt;/b&gt; to enter the &lt;b&gt;Remote Access Setup&lt;/b&gt; and enable actual IPMI Remote Access
(note that all this may also be configured from Linux using ipmitool after loading some ipmi kernel modules).
&lt;ul&gt;
 &lt;li&gt;Set &lt;b&gt;IPMI over LAN&lt;/b&gt; to &lt;b&gt;on&lt;/b&gt;&lt;/li&gt;
 &lt;li&gt;Enter the &lt;i&gt;LAN parameters&lt;/i&gt; menu:
 &lt;ul&gt;
  &lt;li&gt;Set &lt;b&gt;IP Address source&lt;/b&gt; to &lt;b&gt;static&lt;/b&gt;&lt;/li&gt;
  &lt;li&gt;Set &lt;b&gt;Ethernet IP Address&lt;/b&gt; to &lt;b&gt;10.0.99.x&lt;/b&gt;&lt;/li&gt;
  &lt;li&gt;Set &lt;b&gt;Subnet Mask&lt;/b&gt; to &lt;b&gt;255.255.255.0&lt;/b&gt;&lt;/li&gt;
  &lt;li&gt;Set &lt;b&gt;Hostname string&lt;/b&gt; to something like &lt;b&gt;xxx-ipmi&lt;/b&gt;&lt;/li&gt;
 &lt;/ul&gt;&lt;/li&gt;
 &lt;li&gt;Enter the &lt;i&gt;LAN User Configuration&lt;/i&gt; menu:
 &lt;ul&gt;
  &lt;li&gt;Set &lt;b&gt;Account User Name&lt;/b&gt; to some login&lt;/li&gt;
  &lt;li&gt;Enter a password in &lt;b&gt;Enter Password&lt;/b&gt; and again below in &lt;b&gt;Confirm Password&lt;/b&gt;
 &lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
IPMI is now configured correctly. You should be able to ping the IPMI IP addresses.
&lt;pre&gt;
    $ ping 10.0.99.x
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
Now, you may for instance reboot a node using the following line. Replace &lt;tt&gt;cycle&lt;/tt&gt; with &lt;tt&gt;status&lt;/tt&gt; to see the status, &lt;tt&gt;off&lt;/tt&gt; to shutdown, &lt;tt&gt;on&lt;/tt&gt; to start.
&lt;pre&gt;
    ipmitool -I lan -H 10.0.99.x -U login -P passwd chassis power cycle
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
Now we need to configure console redirection. It makes it possible to send the BIOS, Grub, and ttyS1 output through IPMI on the network on the &lt;b&gt;first&lt;/b&gt; network interface. Note that COM2/ttyS1 is mandatory, it may not be COM1/ttyS0 instead. After booting, press &lt;b&gt;F2&lt;/b&gt; to enter the BIOS. Go in the &lt;i&gt;Serial Communication&lt;/i&gt; menu:
&lt;ul&gt;
 &lt;li&gt;Set &lt;b&gt;Serial Communication&lt;/b&gt; to &lt;b&gt;On with Console Redirection via COM2&lt;/b&gt;&lt;/li&gt;
 &lt;li&gt;Set &lt;b&gt;Remote Terminal Type&lt;/b&gt; to &lt;b&gt;VT100/VT220&lt;/b&gt;&lt;/li&gt;
 &lt;li&gt;Set &lt;b&gt;Redirection After Boot&lt;/b&gt; to &lt;b&gt;Enabled&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;

&lt;p&gt;
With this configuration, you should see the BIOS and Grub output remotely using:
&lt;pre&gt;
    $ ipmitool -I lanplus -H 10.0.99.x -U login -P password sol activate
&lt;/pre&gt;
&lt;p&gt;

&lt;p&gt;
Then we want to see the kernel booting remotely. This is done by adding the following to the kernel command line. With Grub, you might want to add it to &lt;tt&gt;# kopt=...&lt;/tt&gt; and then run &lt;tt&gt;update-grub&lt;/tt&gt; to update all automatic entries.
&lt;pre&gt;
    console=ttyS1,57600 console=tty0
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
And finally, you might want to get a console login remotely through IPMI. To do so, add the following line to /etc/inittab:
&lt;pre&gt;
    T0:23:respawn:/sbin/getty -L ttyS1 57600 vt100
&lt;/pre&gt;
&lt;/p&gt;

&lt;p&gt;
With all this setup, the above &lt;tt&gt;ipmitool sol activate&lt;/tt&gt; line will display the same thing than the physical console on the machine, which makes it very nice to configure the BIOS, change the kernel, debug, ... Note that &lt;b&gt;~&lt;/b&gt; is the control character when using the console redirection. And &lt;b&gt;~.&lt;/b&gt; may be used to leave the console. Also &lt;tt&gt;ipmitool sol deactivate&lt;/tt&gt; may help if somebody did not leave the console correctly.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/13317.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:13122</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/13122.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=13122"/>
    <title>Debian X.org notes - RadeonHD driver in experimental</title>
    <published>2007-09-19T06:32:04Z</published>
    <updated>2008-11-08T23:43:17Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
The driver for ATI r5xx/r6xx boards that Suse developers have been working on for about 2 months with the &lt;a href="http://bgoglin.livejournal.com/12755.html"&gt;recently released specifications&lt;/a&gt; has been pushed to the freedesktop repository as &lt;t&gt;xf86-video-radeonhd&lt;/t&gt;. So David packaged it and uploaded it in experimental as &lt;tt&gt;xserver-xorg-video-radeonhd&lt;/tt&gt;.
&lt;/p&gt;

&lt;p&gt;
Of course, the driver is still very young, probably similarly stable than the now deprecated &lt;tt&gt;xserver-xorg-video-avivo&lt;/tt&gt;. So if you want to test it, debug it and get it to work, you might want to join the corresponding IRC channel (&lt;tt&gt;#radeonhd&lt;/tt&gt; on Freenode) and subscribe to the mailing list (&lt;tt&gt;radeonhd&lt;/tt&gt; on the OpenSuse server, details are in the topic of the IRC channel). If not on IRC or on the mailing list, bugs should be reported at &lt;tt&gt;http://bugzilla.freedesktop.org&lt;/tt&gt;, product &lt;tt&gt;xorg&lt;/tt&gt;, component &lt;tt&gt;driver/radeonhd&lt;/tt&gt;.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/13122.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:12835</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/12835.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=12835"/>
    <title>Debian X.org notes - MGA driver gets RandR 1.2 too</title>
    <published>2007-09-16T22:02:56Z</published>
    <updated>2007-09-16T22:03:19Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
Now that David pushed X.org 7.3 to unstable, experimental is available again for release candidates. So I just pushed &lt;tt&gt;xserver-xorg-video-mga&lt;/tt&gt; 1.9.99. This is the first release candidate of the MGA driver with RandR 1.2 support. For the record, it means enabling/disabling/resizing/moving outputs dynamically.
&lt;/p&gt;

&lt;p&gt;
If you're planning to test it, you might want to read the &lt;a href="http://lists.freedesktop.org/archives/xorg-announce/2007-September/000404.html"&gt;upstream announce&lt;/a&gt; first. Tilman Sauerbeck did a very good job, but he doesn't have all kinds of board to test this. At least, the dual DVI G550 is known to not work. It might be good to report problems, either to us or directly to Tilman (IRC might be faster than reporting a bug...).
&lt;/p&gt;

&lt;p&gt;
As usual, you might want to refer to
&lt;a href="http://bgoglin.livejournal.com/10214.html"&gt;this&lt;/a&gt; and &lt;a href="http://bgoglin.livejournal.com/9846.html"&gt;this&lt;/a&gt; to update your &lt;tt&gt;xorg.conf&lt;/tt&gt; for RandR 1.2, and also &lt;a href="http://bgoglin.livejournal.com/10423.html"&gt;this post&lt;/a&gt; if the server doesn't choose the right mode by default.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/12835.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:12755</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/12755.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=12755"/>
    <title>Debian X.org notes - Got specs?</title>
    <published>2007-09-12T20:22:20Z</published>
    <updated>2007-09-12T20:35:57Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
So, this time it was for real! AMD really meant it when they announce the release of specifications of ATI boards last weeks. During XDS2007 at Cambridge, we received the actual specs, 2 PDFs files, 460 pages for the M56 (Mobility X1600, r5xx board) and 436 pages for rv630. The files are now online, but I am not going to give the link here since the web server already suffered too much today (and the URL is easy to find anyway).
&lt;/p&gt;

&lt;p&gt;
People should NOT understand this as if we were going to get an open-source driver for all ATI boards next weeks. First, these are only 2D specifications for r500 and r600. 3D specs are expected in a couple weeks once AMD fixes the remaining issues. r300 specs might arrive later. Also, these specifications are pretty hard to use, as expected. There are something like 9000 registers in r6xx boards, and these PDF files are just description of these registers. It's of course far away from being a &lt;i&gt;"How-to write a driver?"&lt;/i&gt;. So if you want to help, there will be lots of things to do.
&lt;/p&gt;

&lt;p&gt;
We also got a demo from some Suse guys of the driver there are working on. They got these specs about 2 months ago. And they already have some part of modesetting working. It means you might get your X server to start. There are about one hundreds different chipsets with their own quirks, so still lots of work to do. And then lots of performance things, 3D, ... to do. This driver is called "Radeon HD" so far. It will remain separated for now, but it might end up being merged with the upstream ATI driver later since the 3D engine are very similar (I personally hope it will happen).
&lt;/p&gt;

&lt;p&gt;
The reverse-engineered Avivo driver is dead now then. Fortunately, Jerome Glisse has been aware of the event for a couple months now, so he didn't waste to much time working on it. &lt;tt&gt;xserver-xorg-video-avivo&lt;/tt&gt; will remain in Debian experimental until the new driver arrives. The good thing about Avivo is that it (and the ongoing Nouveau driver for Nvidia) led to the development of very nice reverse-engineering tools (revenge, renouveau, mmio trace, ...). They will be very useful for other graphic boards, or even some network hardware.
&lt;/p&gt;

&lt;p&gt;
Of course, many thanks to AMD for making this happen!
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/12755.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:bgoglin:12340</id>
    <link rel="alternate" type="text/html" href="http://bgoglin.livejournal.com/12340.html"/>
    <link rel="self" type="text/xml" href="http://bgoglin.livejournal.com/data/atom/?itemid=12340"/>
    <title>Debian X.org notes - X.org 7.4 plans - What we expect for Lenny</title>
    <published>2007-09-11T14:27:17Z</published>
    <updated>2007-09-11T19:14:42Z</updated>
    <category term="debian"/>
    <category term="xorg"/>
    <category term="planet.d.o"/>
    <content type="html">&lt;p&gt;
The release plan for Xserver 1.5 and Xorg 7.4 was discussed during the X.org Developers' Summit in Cambridge (September 10-12th). This is what we expect to ship with Lenny, so here are some details about the upcoming.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Timeline&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
As usual, there will be a 6 months release cycle. So &lt;b&gt;Xorg 7.4 is expected on March 1st, 2008&lt;/b&gt;. There won't probably be any new Xserver release before that since some changes (already merged) require all drivers to be updated anyway. So Xserver 1.5 is expected on the same date.
&lt;/p&gt;

&lt;p&gt;
Since there are already some known problems in Xserver, they also plan to release &lt;b&gt;Xserver 1.4.1 on November 1st&lt;/b&gt;.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;PCI Rework&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
The master branch of Xserver already contains the long-expected &lt;tt&gt;pci-rework&lt;/tt&gt; which is supposed to fix all the PCI domains and other non-trivial PCI hierarchy support (important for ia64, but also for some powerpc and sparc users).
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;RandR&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
People having Intel, ATI or recent Nvidia boards learnt to love the RandR 1.2 extension which provides the ability to enable/disable, resize, rotate, move outputs within a single big virtual screen. More transformations should be possible with &lt;b&gt;RandR 1.3&lt;/b&gt;. Hopefully, there will also be some standardization regarding output names in various drivers, or at least a way to retrieve the type of each output (LVDS, DVI, VGA, TV, ...). And the server should get an abstraction object to describe GPUs, which might make the support for multiple boards easier.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Input&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
On the input side, &lt;b&gt;XKB 2&lt;/b&gt; and &lt;b&gt;XGE&lt;/b&gt; should be merged, which shouldn't be really visible to end-users but should make internals much better. Then &lt;b&gt;MPX&lt;/b&gt; (&lt;b&gt;Multi-Pointer X server&lt;/b&gt;) might be in Xserver 1.5 too (if all semantics issues get fixed first). It would mean support for &lt;b&gt;multiple independent keyboard/mouse pairs&lt;/b&gt; or so. See &lt;a href="http://wearables.unisa.edu.au/mpx/"&gt;the MPX page&lt;/a&gt; for details.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Compositing&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Compositing still gets a lot of attention. Several distributions are actually thinking of enabling Compiz by default. EXA (the new acceleration architecture that has been designed for compositing) got improved a lot in Xserver 1.4. Several drivers including Intel and ATI r300 already work great with EXA (no need to use XAA + XAANoOffscreenPixmaps anymore) which means Compiz works very smoothly, even when resizing windows. XAA won't be removed soon though since lots of things needs to be fixed before that. There are also several videos available online, like &lt;a href="http://youtube.com/watch?v=0MUOn_nJmRA"&gt;this one&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;
But one big piece is still missing for compositing: &lt;b&gt;directed rendering to redirected windows&lt;/b&gt;. So far, if you start
&lt;tt&gt;glxgears&lt;/tt&gt; in Compiz, you will see that the gears completely ignore wobbli-ness of windows, other windows overriding them, cube rotation, ... they keep rendering of top of everything without any effect. Getting true support for compositing such windows requires lots of work in all parts of the DRI stack. Kristian Høgsberg got it to work (and we even get a great demo). See &lt;a href="http://hoegsberg.blogspot.com/2007/08/redirected-direct-rendering.html"&gt;Kristian's blog&lt;/a&gt;
for details. Upstream devs are now working on integrating all modifications nicely in upstream Xserver, drivers, DRM module, Mesa, ... Once this works, you can get &lt;tt&gt;GLX_EXT_texture_from_pixmap&lt;/tt&gt; for both direct and indirect rendering, and full support for GLX 1.4 in the server (only 1.2 is supported as of now).
&lt;/p&gt;

&lt;p&gt;
Also, redirected windows (let's say a wobbly window on a side of Compiz' cube) should get input events correctly thanks to &lt;b&gt;input transformation&lt;/b&gt; in Xserver 1.5 (event coordinates will be converted into the redirected window coordinate space before being passed to the client application).
&lt;p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Kernel-related reworks&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Compositing improvements actually require a large rework of the memory management in the server. Basically, we need a global management for both 2D and 3D object allocations, so that you can get both to work fine without having to change config options (things like &lt;tt&gt;XAANoOffscreenPixmaps&lt;/tt&gt; or &lt;tt&gt;FbTexPercent&lt;/tt&gt;). All this is related to the  TTM (&lt;b&gt;Translation Table Maps&lt;/b&gt;, see these &lt;a href="http://www.tungstengraphics.com/xdevconf2006.pdf"&gt;slides&lt;/a&gt; for details) which has been under development for a while. It requires to change the interface with the kernel DRM modules, and it won't happen before 2.6.24. The Xserver part of the work is not big, so it might still be done before 1.5 is released. Fortunately, once all this is ready, people should stop complaining about memory allocation failures, Compiz being slow because one option is not enabled by default, ...
&lt;/p&gt;

&lt;p&gt;
Another hot topic in the X.org/kernel area is about &lt;b&gt;moving modesetting in the kernel&lt;/b&gt;. When you get a kernel panic, you only actually see it if not running X (or if logging kernel messages through the network). So your machine freezes, you don't know why, you have no way to know, and you just reboot. Getting panic messages on X would be much better. To do so, the kernel needs to now which mode is currently in use on the monitor and then it will render the message on the framebuffer. This require lots of work, so it will unlikely be in Xserver 1.5 though.
&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;u&gt;Miscellaneous&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;
Xserver 1.5 will also contain &lt;b&gt;XACE&lt;/b&gt; (security framework), the cleanup of the ABI (explicit &lt;tt&gt;_X_EXPORT&lt;/tt&gt; required), and possibly &lt;b&gt;glucose&lt;/b&gt; (OpenGL acceleration for X, see &lt;a href="http://zrusin.blogspot.com/2006/08/glucose-and-graphics.html"&gt;Zack Rusin's blog&lt;/a&gt;).
&lt;/p&gt;

&lt;p&gt;
I asked whether there was actually some work on building the &lt;tt&gt;GLcore&lt;/tt&gt; server module as a part of Mesa so that building Xserver does not require the whole Mesa source anymore. People seem to agree the current situation is a real pain for distributions and we should make this change happen. But the actual work has to be done in Mesa anyway, we'll see what happens.
&lt;/p&gt;

&lt;div align="right"&gt;(&lt;a href="http://bgoglin.livejournal.com/12340.html"&gt;Permanent link&lt;/a&gt;)&amp;nbsp;&lt;/div&gt;</content>
  </entry>
</feed>
