Ubuntu

An upgrade too far

Topics

I should work for the Canonical QA team. Whenever I do something on an Ubuntu based machine, hell brakes loose.

Here I am, working on my LTS 12.4 machine, when suddenly I notice that an upgrade to a new LTS is being proposed. Weird, I thought, as 12.10 isn't a LTS. But I couldn't resist, as I got daily errors on my desktop and upgraded, only to find myself in a far worse unstable situation. So I decided to opt for the upgrade to 13.4, hoping this would fix some of the obvious bugs. Alas, something with the nautilus upgrade must have been corrupted, as my new desktop was completely unworkable. Crashing window managers, slow Xorg and worse of all, USB didn't seem to work.

This is probably not even the fault of the people at Ubuntu or Canonical. This is a workstation that has been upgraded from Dapper Drake onwards, and which contains a horrible Nvidia card which is hardly supported anymore by the nvidia/nouveau drivers.

I decided to bite the bullet, and to completely wipe my installation, and reinstall Debian 7.0 aka Wheezy from scratch. Luckily, I had my /home on an separate partition, so the upgrade path would be minimal. Top of all, it seemed that Wheezy had the nvidia-legacy-173 driver, which worked like a charm with my video card.

A default Debian desktop is still crude and spartan, so there is some more work in order to obtain a nice looking graphical environment. The Adwaita/Cupertino theme offers a nice mix of OSX and Elementary components which can compete like that with an Ubuntu setup. And yeah, Gnome-shell is a breeze to work with in comparison with Unity.

Quantal

Topics

Whatever. No more upgrades for me - I decided to stick with LTS editions only. This is going to be so much fun in 2013... I hope that by then I'll get a new desktop - my new distribution will be based on Debian stable or CentOS.

Precise

Topics

It has become a habit that I blog about the Ubuntu upgrade of my desktop, but this year I haven't found the time to do it on a timely manner.
Precise got announced as one of Canonicals best finished products ever, which did me upgrade some days before the official release. How did the upgrade go ? Not so good.

Basically, it bugs the hell out of me that Canonical still cannot refrain itself from messing with the end user settings. This upgrade wasn't any different. Disabling features like Ctrl-Backspace-Delete, the URL paste in Firefox with the middle-mouse button are some of the know stuff.

Some of the nasty upgrade bits :

  • I forgot to pin nvidia-173, so it got removed and as it isn't part of Precise's multiverse (nvidia-current creates high kernel load); my X-config was foobarred. I just gave up and switched to Nouveau.
  • Contrary to a lot of people, I do not find Unity and Dash to become more and more user-friendly with every release; they are working more and more on my nerves. I've tried to install MATE, but there's something broken with the nouveau config, it seems.
  • the upgrade died on my netbook, due to a foobarred /var/lib/dpkg/status
  • the upgrade foobarred my bcm4314 wireless card config on my netbook.
  • the root filesystem gets marked dirty as some processes don't get stopped at shutdown, resulting in a 10-15 second penalty at the next boot.

In the end, I got everything rather quickly in a working state, but I find upgrading and fixing desktop software even more boring than watching the 3456332th episode of Neighbors, just to mention something...
The whole experience has convinced me that I'm not fitting in Canonicals 6 month upgrade process anymore, so I'll probably switch to the LTS release cycle, or to a Debian stable or CentOS based desktop in the future.

Oneiric

Topics

I noticed that the upgrade for Oneiric was available, so I decided to jump in & upgrade my Ubuntu machines. It has become the habit that I encounter all weird stuff & errors during such upgrades, but that's something specific to me, it seems ;)

On my desktop, I returned to the installation program 2 hours later after I started it, only to find a black screen with a mouse pointer. No possibility to restore the screen, so I had no other choice than to kill X, and resort to command-line mockery. I've learned by previous experience that rebooting the machine or restarting X at this point lead to major mayhem on my desktop, so I entered 'dpkg-reconfigure -a' to complete the setup, which it actually did, to my big surprise.

Since Natty, there has been much turmoil on the internetz about something Canonical enforced to the enduser, called Unity. I have skipped this enforced desktop in the past by reverting to the Gnome legacy mode, but it seemed that this was completely foobarred in the current Gnome3 in Oneiric. So what has a man to do in a completely changed environment ? Adapt. I decided actually to try out Unity, and lo and behold, it was actually quite usable. Unfortunately, Unity does not support gnome applets, but I resolved this by running Conky, which adds extra panache to the desktop experience.

There are off course still quirks in Unity. Mocking around with the Compizconfig settings can ruin your desktop experience, although not so disastrous as in Natty. On my netbook, Unity refused to start up, leaving me only with a empty wallpaper. I resolved this by setting the LIBGL_ALWAYS_INDIRECT=1 envvar in my .bashrc.

We'll see how this Gnome3/Unity combination goes. If it really turns out to be an atrocity, there's always KDE or XFCE to revert too...

Natty

Topics

I've upgraded my machines to Natty, the latest (I avoid greatest with a reason here) Ubuntu release. As usual, upgrading Ubuntu is putting 2 steps backwards, and 3 steps forwards, and this release is not different :

- on my desktop, I got the usual crap with the Nvidia driver, but it seems that I'm getting more and more experienced in getting this fixed. One issue remains, and that is that the screen is garbled when resuming the computer. Restarting GDM fixes this temporarily. Will get fixed by the next kernel update. Also Grub config got updated, resulting in a incompatible framebuffer setting for my NVidia card.

- For one or other reason, my (personal) sane scanner config got reset, resulting in lots of trouble when scanning in some documents. After resetting all to gray-and-white, everything worked again. Why is an Ubuntu upgrade messing around with user settings, is completely incomprehensible to me.

- On my netbook, the desktop got upgraded to Unity. Now, there's a bunch talked and written about Unity, resulting in avid haters & lovers for this desktop environment. I find Unity pretty okay wrt features (it reminds me a bit of Ubuntu Netbook Remix, which I was quite fond of). However, the thing is slow as a dog on low-end machines (as netbooks - opening the so-called lenses is enough to hang my Sammy netbook) and sometimes it takes ages to start up.

Also, it is heavily integrated into CompizConfig, which means that

  1. my whole Compiz configuration got changed,
  2. Fiddling with Compiz settings is enough to render your whole desktop unusable

The upgrade to Unity marks a first stage in the major upcoming changes for the desktop for Gnome users. I'm not sure if I'm willing to follow either Canonical or the Gnome folks into their direction. I hope Unity gets mature during the Natty release. If not, XFCE might become a serious desktop environment alternative...

Maverick

Topics

I upgraded my machines to Maverick - nothing much too say, except that the upgrade went pretty smooth. The upgrade on my netbook was the most interesting : the Ubuntu Netbook Remix interface (UNR) was about to be replaced with a brand new interface, called Unity. Now, I still don't like the fact that Ubuntu forces the user interface with every last upgrade to the standard one, but with Unity, all now makes more sense :

  • The placing of the close-minimize-maximize buttons is excellent for minimal mouse gestures
  • The dashboard alike interface of UNR gets replaced with a vertical Windows7/OSX alike dock. With the default maximization of windows, this works great.

However, in Unity, there are still some annoying bugs :

  • I sometimes need to click twice on a startup button before the application starts, as if the dock is too less sensitive.
  • The window title sometimes gets overwritten with other stuff
  • The Ubuntu logo should display a menu if clicked, instead of minimizing all windows. If you want to fire up a non-docked application, you need to go to the Applications button, which displays all installed applications with their icon (which is kind of a mess)

Apart from that, very neat interface.

Lucid

Topics

I had a few spare hours yesterday, so I decided to upgrade to (the beta version of) Ubuntu 10.4, called Lucid Lynx. The upgrade went quite smooth, but I can't say I was completely happy with the end result. As it's getting usual, a typical Ubuntu upgrade is becoming two steps backwards & 3 forward. There were quite some things broken after the upgrade :

  • no framebuffer with the new kernel. Fixed by upgrading to Grub2
  • Gnome 1 called and wants its GDM theme back. No, seriously, GDM looks so horrible that I'm wondering there's something wrong with my config
  • Some users got XFCE as a default window manager
  • The upgrade to Thunderbird 3 removed some of the SMTP server settings for all users.
  • The window control button placement is stupid (I know about the many discussions and the Canonical reasoning behind it, but still). Here's a guide how to place these buttons to the right place again.
  • There is no support any more for the NVidia drivers. I knew I would run into this, I had to downgrade the drivers already in Karmic, but this means bye-bye to Compiz.

Not all is teeth-gnashing :

  • Boot times are faster
  • Overall desktop feeling is faster and snappier
  • Fonts are displayed way better

So, mixed emotions with the upgrade. Hopefully there are some GDM changes before the release hits the road.

Karmic

Topics

Even more Ubuntu trouble : during the upgrade to Karmic, my wife wanted to check her email, switched to another user, and thereby forced the half-upgraded X-server to crash. Wonderfully, the upgrade process kept continuing, but off course I had to kill the ucf dialog processes the upgrade displays at the end of the upgrade. My Grub config and printer definitions were foobarred, but worse off all, my NVidia desktop experience was pure hell : X is slow as a dog, and using Firefox feels like steering a 1000 ton cargo vessel.

It is painfully to track the reason of the lag : upgrading to the latest NVidia drivers didn't solved anything (and removed half of my KDE setup), and reverting to an older Linux kernel gave the same experience. Even ditching NVidia, and using the nv driver seems also slowing the system down. Trying different options in the xorg.conf file was futile (disabling AGP solves *something*), but I'm still in the dark about the true reason of the performance drain, and even worse, there's no solution in sight. From the logs, it seems that 3D is b0rken, but why & how is still unclear.

(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture

Sigh...

Update : downgraded to nvidia-glx-173. Much better now !

Jaunty video

Topics

Never apply last-minute-changes. I noticed an update for my eeePC based Intel card in Jaunty, minutes before I would take it with me on a one month journey. Great, I thought, a performance update. The update, however, removed the Intel card definition from HAL, thereby forcing my Intel video card to a 800x600 VGA display. Not fun if you're one month in the bush, where internet is something SF-alike.
It took me up to Cape Town, where I enjoyed the marvels again of broadband, and got my 1024x768 resolution again.

Jaunty

Topics

I upgraded Gundabad (my main workstation) to Jaunty. Smooth upgrade, as usual in the last two years. I'm well over the stage where I get excited about 'new' features in Ubuntu or Gnome, but I must say I'm generally pleased with the fast boot times.

I upgraded my eeePC too. I had to create a separate lvol for the /var/cache/apt directory, as my root filesystem is way too small to keep the new filesets. The fast boot times are more pronounced here, I guess Jaunty boots under 20 secs ! Unfortunately, this fast behaviour didn't extend up to the Gnome desktop. I noticed lots of lag, and it seemed I got hit by this Intel bug. Upgrading to the kernel, located on http://people.ubuntu.com/~apw/lp349314-jaunty/, gives a better performance, but not yet that of Intrepid.