The last time I tried to switch from Debian stable to testing I was hit by a disease known as X.org Server 1.10, and more specifically, fd.o bug #31017, which made my KDE experience less than worthwhile, to say the last. The solution I devised was not particularly productive either.

However, X.org Server 1.11.1 hit Testing a while ago, and it’s what I am using right now — I successfully switched to “wheezy” again, today, and this time it would seem a massive rollback won’t be required, since the aforementioned bug is finally fixed.

I don’t think I can claim the upgrade was smooth, though.

Upgrade Process

While the old apt-get update and apt-get dist-upgrade spell did work, in theory, I encountered a few issues in the process, both before and in middle of the upgrade.

Debian-multimedia.org breaks upgrades, but I think I knew this beforehand from a mailing list post somewhere. The solution was to remove/install and downgrade several packages before proceeding. Luckily, I had a list of packages I pulled from this repository in the synaptic logs to spend as little time as possible cleaning up the dmo mess. Recent developments indicate that using dmo in the first place may have been unnecessary: firstly because some relevant packages can be found in the authentic squeeze-backports repository; secondly because YouTube may have broken Ogg/Theora file processing again.

The upgrade failed in middle of the dist-upgrade run because of a conflict between manpages-dev and libaio-dev (Debian bug #642310). Too lazy to do any web browsing from a text terminal, I simply removed libaio-dev, waited for some packages to finish installing, and ran dist-upgrade again to resume.

Since #1 is mostly my fault, I imagine most people would only need to take care of #2, if at all. I’ll go out on a limb and say that third-party repositories in general are evil, though.

The Aftermath

For some reason I am not willing to investigate further (as it may involve some of my own modifications of the graphics stack configuration), the switch to Debian wheezy caused a Gallium3D driver to be used by GL clients instead of the Mesa Classic DRI2 driver for Intel 965-compatible chipsets. I cannot fathom why this happened and why hardware acceleration still seemed to work in some fashion regardless of the ‘llvmpipe’ label, but it’s not like Gallium3D’s architecture is something I could even begin to understand.

Above you can see a portion of KWin’s stderr I was examining while trying to figure out why GL compositing caused an instant segmentation fault. The renderer string triggered the alarm — it is normally “Mesa DRI Mobile Intel® GM45 Express Chipset” with my custom Mesa 7.11 builds.

Since Debian also uses Mesa 7.11, I’d guess this is all my fault — the version string above is utterly wrong, now that I read it again. Nonetheless, fixing this mess was trivial enough by use of the old fashioned method of making a new Mesa build of my own and installing again to undo wheezy’s changes. (If any potential Debian testing user is reading this, the general recommendation is to not be a lazy bum like me, and use checkinstall or something instead to keep track of experiments with upstream versions of libraries — right now it seems I’ve got Mesa 7.7, 7.11 and 7.12 mixed up.)

KWin works just fine with the correct driver enabled, and unlike the last time I tried wheezy, GL clients run with no noticeable performance regressions.

Conclusion

While trying to diagnose a logout issue that I later solved by setting KDE SC 4.6’s session management options to start a new session on logout (to discard the KDE 4.4 data), I found myself in need of an emergency reboot which shed some lights on my longstanding hard disk noise issues on reicore.

Checking with GSmartControl later I discovered that the Attributes tab title in reicore’s internal HDD info window helpfully turned red, and the Current Pending Sector Count attribute also turned red, and that this attribute changed its value to a non-zero one (1) for the first time.

According to GSmartControl, I should be worried.

Strangely enough, I am not very worried. Next month I’ll probably be able to purchase my next laptop and forget about this mess, and hopefully the hard disk issue isn’t serious enough yet — plus, I have backups, and bluecore still runs.

Now that I know KDE in wheezy is usable again (yay for X.org server 1.11) there’s probably only one issue remaining to be solved: the NVIDIA Optimus dilemma.