Failed to submit batch buffer (Xorg)

Another Xorg update

After my last Xorg update I've lost the nice ability to log into my KDE. Well, this sucks because I spent a long time compiling kdelibs and friends so I really want to use it.

Symptoms

A blank screen on login. You can even see your mouse pointer but nothing else.

If you take a look at the Xorg log you'll see X is mad about a "batch buffer thingie".

Error in /var/log/Xorg.0.log:
(EE) intel(0): Failed to submit batch buffer, expect rendering corruption or even a frozen display: No such device

The Solution

Pretty ease to solve this one. Either upgrade your kernel to something like 2.6.36 or better (recommended) or block xf86-video-intel>2.14.

Permanent solution

Upgrade your kernel. I was running an old 2.6.32-tuxonice-r7. Upgraded to 2.6.36 and... Welcome back, KDE.

# emerge --sync && emerge --update gentoo-sources

Workaround (if you're in a hurry)

Add this to /etc/portage/package.mask

>=x11-drivers/xf86-video-intel-2.14.0

and recompile.

# emerge --update x11-drivers/xf86-video-intel