2010-04-11

xf86-video-geode: EXA Composite support broken on X server 1.7

Just a quick note to everyone who recently upgraded their X server to 1.7 on Geode hardware to report that changes in X server since 1.6 have exposed and escalated bugs in our Geode driver that make EXA Compositing fail, resulting in broken image support on GTK2+ applications. As a temporary work-around, add this line to /etc/X11/xorg.conf in the Devices section:

Option "EXANoComposite" "true"

On my Lucid host, this gives me the following minimalistic xorg.conf:

Section "Device"
 Identifier "Geode Video"
 Driver "geode"
 Option "EXANoComposite" "true"
EndSection

We're currently working to produce new upstream packages that default to EXANoComposite as a temporary work-around, so that the driver at least produces useful results by default, and push this to distributions ASAP, especially keeping in mind pending Squeeze and Lucid releases.

Meanwhile, AMD recently assigned new engineers to contribute to the driver's development and to eventually pick up maintenance, so we should soon have a permanent solution to these recent breakages in acceleration support for both GX2 and LX chipsets.

2010-03-09

gThumb: thank you for breaking my workflow!

Just a kind thank you note to the gThumb authors for completely breaking my workflow by re-inventing the paradigm used to save imported pictures. Until now, all my pictures landed in a predictable location, using a predictable filename pattern that was easily searchable. Not anymore. Now, files land into my home directory, according to some recursive folder pattern that further complicates searching for files and requires a few more clicks to accomplish. Dammit! Couldn't you at least make this configurable, so that those of us who prefer to retain the old paradigm can?!

Note: re-inventing an application's paradigms is always a very bad idea. If you're a software developer who is reading this, please keep it in mind and go scratch your itch to change the world somewhere else. Thank you.

Post Scriptum

Many thanks to Damon Lynch for pointing me to his own professional picture importer called Rapid. This is an extremely configurable importing tool and, lo and behold, Damon even offers builds for Ubuntu via his PPA!

Still, the consequence of this mess is that migrating to Rapid means that I'll be loosing gThumb's simple but extremely efficient editing tools. To me, one strength of gTthumb was this unique combination of picture importing with basic editing tools. Now, I'm forced to split these interconnected tasks, simply because someone chose to completely rethink gThumb's paradigms. I'm of course aware of Gimp's existence, but repeated attempts at mastering it made me conclude that it's entirely the wrong software for my needs and essentially overkill. By contrast, gThumb offers just enough tools to enable someone to crop images to useful sizes and to adjust color balances in easy steps; it does the job without hassle, which is not the case with Gimp.

Thinking out loud, it is precisely on days like these that the urge to create my own Linux distribution keeps on coming to mind. Retaining consistent paradigms in the desktop environment and applications that I use, not to mention maintaining the number of duplicate libraries to a bare minimal, has been a constant struggle and, noticing how some developers' urge to re-invent the wheel every other day, using whatever new programming language of the day, persistently takes precedence over keeping system resource consumption to a bare minimum and over preserving user sanity, I'm slowly coming to the conclusion that Free Software has veered way too far into the bazaar and urgently needs a copious amount of cathedral to make it usable for mere mortals again.

Some dpkg-based distribution where the only scripting language allowed is Bourne shell and the only programming languages C or C++ comes to mind. Of course, this would also require porting popular application from e.g. Java, Python, etc. which would be a colossal amount of work. Still, I think that the time has come for this to happen. As an added bonus, this would make applications usable again on embedded devices with spartan CPU, RAM and storage resources, so this project could generate huge benefits to the embedded Linux industry. Based on my experience at my previous jobs, I have a rather clear picture (pun intended) of what needs to be done and of who I would hire to make it happen. What I'm missing are investors. Who's with me?

2010-02-15

Wanted: unsyndicated web mail service - say Google Mail and you're dead

A few days ago, I woke up to the fact that Google has become yet another MSN. The stupid opt-out policy of their latest gadget, Google Buzz, means that I can no longer entrust Google with anything.

In case it wasn't obvious to the idiots at Google, no, I do not want every single person that ever sent me a random e-mail to suddenly get automated access to whatever on-line content I'm producing; I want to choose who will get access to what and be able to change my mind about what any particular individual will get access to at any given time. Most of all, I want this to be opt-in by default. That is, unless I explicitly enabled access to some specific content to a specific individual, the assumption shall be that nobody has access to anything that I produce. Alas, it seems too much to ask from Google.

So now I'm looking for a reliable no-frills webmail service that is too boring to ever get under the radar of any media content giant. First, it was Hotmail no more, now it's Google no more. I also have another simple request: that the selected e-mail address can include hyphens and periods. If anybody knows of any such simple and reliable on-line webmail service, please drop me a line via this blog article's comments. Thanks!

2010-02-11

Ubuntu/Lucid: recovering from yesterday's messy update

Yesterday a silly oversight in the packaging of udev in Ubuntu/Lucid produced a breakage that consistently makes dpkg barf. Here's a simple command line recipe to recover from it. In your terminal application, type:

sudo sed -i 's#copy_exec /lib/udev/firmware.sh#copy_exec /lib/udev/firmware#' /usr/share/initramfs-tools/hooks/udev && sudo dpkg -a --configure && sudo aptitude update && sudo aptitude safe-upgrade

...then press enter. You should be able to resume normal operation right after.

PS: as suggested by others, I revised the above snippet to use sed locally, since not everyone has patch installed.

2010-02-09

OpenOffice's style editing dialogs suck!

Working on some document today, it occurred to me, once again, that OpenOffice's method for designing and applying documents styling totally sucks!

Granted, this was not the first time that I cam to this conclusion but, today, I've come to realize that OpenOffice's paradigms constantly make me waste time trying to form a mental image of how every style element is suppose to relate to the other one, yet without having the full picture available within a single, easy-to-read document. Also, there is a complete lack of consistency in how style elements work. Some want to be defined in millimeters, while others want to be defined in points, while other still in number of lines. What a mess!

In short: to become remotely usable, OpenOffice needs to approach document styling via the "HTML document with a separate CSS style sheet" paradigm. In other words, I need to be able to edit styles globally, as a group and separately from the document content itself, rather than having to click my way through a multitude of dialogs, for each and every type of text elements.

To compare this with web design, there, I can focus on the actual content, formatted around semantic text elements (headers, paragraphs, block quotes, etc.) and then decide on the presentation styling as a separate global process by attaching a CSS style sheet, in which the relation between each type of text element and how it will be displayed is crystal clear, because it's handled as a unified style editing process.

I think that this is one area in which Free Software could innovate in a positive way, by distancing itself from the Redmondesque practices of Microsoft Word, from which OpenOffice borrows too much. How about having a proper Style Editor application (similar to a CSS editor), within the OpenOffice suite, while Open Writer itself would only be allowed to load the style sheets produced by it and to apply them to semantic text text elements?

2010-01-27

Help Wanted: testers for the Geode X.org driver on GX2 "Red Cloud"

A number of small fixes have been committed to the upstream X.org GIT to improve support for the "Red Cloud" Geode variant (called GX2 for late NSC chips and GX for newer rebranded AMD chips) and we desperately need volunteers to test those changes, before we release a new upstream tarball. If you have some Red Cloud hardware on hand and at least basic knowledge of how to compile software on Linux distributions, please contact me to the e-mail address listed in the ChangeLog. Thanks!

PS: if you're on Ubuntu, test packages are available for Lucid via my PPA.

2009-12-21

Bad, bad Linux kernel!

Ever since Linux kernel 2.6.31 was released, my AMD Geode LX800-based FIC ION 603 can no longer boot; I get a fatal kernel crash near the end of the initramfs loading phase. At the crux of the issue seems to be a recently added kernel feature for caching filesystem ACL. I don't even use the ACL feature on my hosts, but there you go; it still crashes the kernel. Sigh.

Having filed a bug on Launchpad and reported the issue upstream failed to produce a fix - despite the sustained involvement of two members of the Ubuntu kernel team members to help me narrow down the cause of this fatal kernel crash.

Mentioning the issue to OLPC kernel developer Andres Salomon, he commented how he finds the new ACL caching code in the ext2/ext3/ext4 filesystem drivers downright creepy, but added that he currently lacks the time to further investigate the issue.

I'm thus wondering if anyone else is experiencing this issue and might possibly have a fix to propose?

Alternately, help towards debugging and fixing this issue is extremely welcome, as this bug will seriously affect users upgrading from older Debian and Ubuntu releases based on pre-2.6.31 kernels, when Debian/Squeeze and Ubuntu/Lucid are published in spring.

PS: yes, the issue still exists in kernel 2.6.32 also.

Wanted: a coherent, sane Finnish political party

In more than 11 years in Finland, I've been politically involved in a couple of political parties on the Right side of the spectrum - mainly because those parties tend to favor a free market economy and a work-oriented immigration. In one case, I was invited by fellow immigrants to attend the meetings of their favorite party's English section, because of my expertise on Immigration legislation and common practices. In an other case, a member of the Finnish parliament invited me to participate in his party's immigrant workgroup, which resulted in my getting involved in a number of proactive initiatives and eventually joining that party as a card-carrying member.

Simultaneously, I was approached by no less than 4 Finnish political parties to become a candidate in the municipal elections (in Finland, foreigners who have lived at least 2 years on an A-status residence permit can vote and stand as a candidate in municipal elections).

Despite this, I've come to the conclusion that none of these Finnish political parties is genuine:

On one hand, there's politicians who claim to know everything about the Immigration question and yet their speeches tell an entirely different story than what immigrants experience. On the other hand, there's politicians who complain about the immigrants' lack of participation in political life, but who quickly add that their personal group of supporters is all they're interested in hearing from.

Correlating these facts, it's been found by many politically-involved immigrants that Finnish political parties don't genuinely want to involve immigrants; all they are interested in is acquiring a few extra votes from the immigrant population and in transferring those votes to their party's star Finnish candidate, who often is someone favored by the party's old-timers but disavowed by the majority of grassroot members. In a few more extreme cases, party brasses will sheepishly admit that all they want is «a couple of niggers in the candidate list» to show a vague sense of adhesion to the multicultural agenda - despite the assurances they have given to often naive immigrant candidates that they "genuinely" hope that they'll be elected.

As it turns out, many immigrants are actively involved at the grassroot level and receiving the praises of their Finnish colleagues for their innovative and proactive initiatives. As a result, genuinely interested Finns have joined forces with active immigrants to launch various initiatives for improving Finland's competitive position in the global economy through a thriving cosmopolitanism and a stronger culture of entrepreneurship. For instance, I am personally involved at several public and private sector initiatives.

Nonetheless, grassroot initiatives can only ever accomplish so much; without the unflinching support of Finland's significant political players, several key elements of these innovative solutions cannot be implemented. However, given the grassroot's frustrating experiences of the political scene, one cannot help but wonder:

Is there any Finnish political party whose actions are coherent with its stated political agenda and in sync with the grassroot initiatives being put forward by the immigrants and their Finnish associates?

2009-11-01

modulation wheels on the RIGHT side of the keyboard?

Am I the only one who thinks that a 3-octave synthesizer (low-A to high-C) with the modulation wheels placed on the right side of the keyboard would be the ultimate Funk machine in the hands of people like Bernie Worrell and myself? Something like a NordBass III comes to mind...

Similarly, could synthesizer manufacturers please standardize on keyboard layouts that always start on the low-A and include quick octave transposition buttons? The Roland Rhodes Mk60 included both a 5 octave 64-key layout (low-A to high-C) and two quick octave switch buttons (octave up and octave down), which made it a wonderful MIDI controller. Sadly, this was a one-off and no other keyboard on the market ever adopted this brilliant layout.

How about we go and fix it now? Korg? Nord? Roland? Yamaha? Are you guys listening?

2009-09-22

mailx implementation that won't barf on UTF-8 encoded GECOS information?

Dear Lazyweb,

I've been having problems with cron jobs that mail their output, because they always manage to garble non-ASCII characters into some unreadable crap.

Upon closer inspection, the real culprit seems to be mailx: no single mailx implementation out there seems to have come to terms with the fact that most contemporary operating systems have their GECOS information encoded in UTF-8, rather than in ASCII.

I had very high hopes for the Heirloom implementation of mailx, except that it, too, fails at encoding mail headers in UTF-8.

I'm thus wondering if there's anything I might have overlooked, perhaps a mailx setting that would enforce encoding of the From, To and Subject lines to UTF-8, or otherwise another mailx implementation that in fact does acknowledge the fact that most operating systems these days have their GECOS information encoded in UTF-8?

2009-09-18

Q: How to configure /etc/pulse/client.conf for remote audio sink?

I've spent the last couple of months wondering this and could not find an answer on the otherwise excellent PulseAudio wiki, so I thought that I'd ask the Lazy Web:

How can I configure /etc/pulse/client.conf to prefer a specific remote audio sink and to automatically fall back to localhost only when that remote sink is not available via Avahi?

I'm already aware of the paprefs applet, but it requires me to manually select the remote audio sink, every time I get back home, which is not what I want.

Instead, I need the PA daemon on this laptop to always try connecting to audio.lan then to localhost and to dynamically switch back and forth between those two hosts according to info provided by the Avahi PA module: if audio.lan is reachable and an audio sink is found, switch to that; if not, fall back to localhost; if audio.lan re-appears on the Avahi radar, switch back to it.

Surely there must be a way to achieve that, but how?

PS: audio.lan runs PA in System mode with IP-based ACL, if it makes any difference.

2009-09-09

wanted: 'lspci -vvv' output for Geode SC1100, SC1200, SC1400

As I'm trying to better document which Geode models bear which PCI vendor and device ID, I'd need volunteers to e-mail me the output of 'lspci -vvv' for their Geode SC1100, SC1200, SC1400 -based hardware. Please send the result to my iki.fi address. Thanks!

PS: the part that interests me is the PCI ID of all Geode CPU and Companion Chips shown by 'lspci'. This requires setting several additional levels of verbosity, because this information is hidden from the normal 'lspci' output.

2009-09-03

wanted: Geode "Red Cloud" GX2 hardware

Ever since X server 1.5 was released, various regressions started affecting our GX2 code in xf86-video-geode. We couldn't figure out what went wrong since our GX2 code hadn't changed in ages and we couldn't think of any ABI or API migration that would cause these regressions.

Well, it turns out that someone had quietly rewritten part of the X server core, which broken things from under our feet.

In the end, the change required to restore operation was minimal, but it nonetheless caused problems for several thin client users who complained loudly while the xf86-video-geode team scratched their head wondering what went wrong.

Still, it essentially meant that GX2 users suffered through Intrepid and Jaunty without a solution in sight, which is of course unacceptable. I'm also aware of at least one startup who lost a fairly lucrative LTSP maintenance contract, simply because their customer's GX2-based thin clients could not be made to work on Ubuntu since Hardy. Ouch!

In order to prevent this from ever happening again and to ensure that regressions get noticed before they reach critical mass, I'd like to solicit a hardware donation: something GX2-based with a small hard-disk or CompactFlash socket and 100baseT Ethernet.

My contact info can be found on my homepage. Please make sure that you contact me upfront to agree on the delivery method, before sending me any hardware.

Thanks!

2009-08-18

xf86-video-geode 2.11.4 - the GX2 edition - almost done

Over the last few days, several improvements in the documentation and some fixes for GX2 issues were committed to the Geode X.org driver, in addition to routine cleanups in the standard includes and build macros. Integration of GX1 support still hasn't started.

We're especially interested in getting feedback from GX2 users as to whether this release restores basic operation for them or not. We published test packages for Ubuntu/Jaunty at:

https://launchpad.net/~q-funk/+archive/ppa

If we haven't heard anything by Friday, we'll release this as xf86-video-geode 2.11.4 as-is.

2009-08-17

RFA: ispell-et, myspell-lv, rus-ispell

As of today, I've decided to Request For Adoption three of the packages I maintain:

  • ispell-et (source for: iestonian, myspell-et, aspell-et) - Estonian spell checking tools,
  • myspell-lv (source for myspell-lv, aspell-lv) - Latvian spell checking tools and
  • rus-ispell (source for irussian, myspell-ru, aspell-ru) - Russian spell checking tools.

In principle, both the Latvian and Russian dictionary packages have a second maintainer, but I've been the only one performing the uploads for a long time which, in absence of any response on their part, suggests that the other maintainers also lack the time to actively maintain these dictionaries.

I'm not worried about the future of the Russian dictionary package, since the number of Debian and Ubuntu users in Russia is huge and constantly increasing. Someone is definitely gonna adopt it and give it all the love and care it deserves.

The Estonian dictionary package has seen a steady increase in the number of users but I never managed to attract a second maintainer for it. Thus, if nobody ever gets around adopting it, it just could be the end of spell checking support for Estonian in Debian and Ubuntu.

As for the Latvian dictionary package, both the low number of users and the unavailability of the other maintainer suggests that it could also be the end of spell checking support for Latvian in Debian and Ubuntu.

Here's to hope that someone reading this will pick up maintenance of these dictionary packages and help provide Debian and Ubuntu users with spell checking aids for Estonian, Latvian and Russian for years to come.

2009-08-13

Don't try this at home, kids!

Probably the most deceptively efficient bug finding tool I've come across in a long time:

sudo apt-get --reinstall --ignore-missing install $(dpkg --get-selections | cut -f 1)

That apparently innocent APT recipe has been found to reveal tons of packaging mistakes, such as dependency cycles and broken maintainer scripts, even in packages as essential as bash and libc6. On systems where insserv is installed, even uglier dependency cycles, this time between init scripts, appear in important packages such as ifupdown and netbase.

Warning: usage of this deceptively simple command line recipe can become addictive and result in mass filing of bugs, especially against packages in development releases such as Debian/Squeeze and Ubuntu/Karmic. The author of this blog article makes no guarantee about how bad of a karma someone might accumulate as a result. You have been warned.

2009-08-12

Nordic expats living in Finland wanted for survey

I'm interested in meeting with Nordic expats (Danemark, Iceland, Norway, Sweden) living in Finland, to hear their experiences of settling down in this country, on two particular topics:

  • How accessible is getting service in Swedish, in general?
  • Did you experience any difficulty in settling down here?

I'm especially interested in hearing stories from academicians and professionals. The material will be used in my report to two organizations where I'm involved, one Swedish-Finn think tank and one national panel on immigration, both of whom are interested in hearing about the experiences of Nordic expats living in Finland.

As I'm aware that many Free Software developers from other Nordic countries relocated to Finland to work at Nokia or at local technology startups, I figured that blogging this request would bring me the widest possible audience for this survey.

Interested expats should contact me via e-mail with a brief description of their story. Later on, we'll probably gather up somewhere and compare views, before I produce my report. Thanks in advance to everyone who agrees to participate in this survey and to those who courteously passed this request forward to friends or relatives fitting the description!

2009-08-09

partial answer to "unexplainable WiFi connection drops"

Previously, I blogged about some unexplainable WiFi connection drops I have been experiencing since a few days. Many thinks to everyone who replied by expressing their ire against Network-Manager. Unfortunately, it seems that the fault might indeed be on the WRT54GL's OpenWRT setup:

See, I have this old ThinkPad that I keep for Debian development purposes and that one runs whatever is on Debian/Testing, connecting to my LAN, using either an RTL8139-based Ethernet or an ATH5K-based WiFi adapter, plugged into the Cardbus slot; these days, more often the Atheros.

Now, this morning, I noticed that my Geode desktop stopped being able to ping both the Dell and the ThinkPad at the same time. Bingo! Now, the question is, how do I track the source of the problem, on this WRT54GL running White Russian?

2009-08-07

Lauching Debian-installer from a chroot on a USB stick?

Dear Lazy Deb,

I was wondering if it's possible to launch debian-installer from a USB stick, either by bootstrapping the netinstall ISO image from command line or by launching d-i as as a collection of binaries installed in a USB chroot that already has a basic Debian distribution installed? While launching debootstrap itself from the USB stick would be possible, I'd miss all the d-i magic to partition the laptop's own hard-disk and detect its hardware at installation time, which is why I explicitly need a way to launch a full d-i from USB. NOTE: no, the laptop's BIOS doesn't support booting via USB, otherwise this would have been already attempted.

Illogical logistics industry

Today, I was checking for prices to ship a parcel abroad and found the most appalling situation ever: the logistics industry has gone mad. Trying different courier services' online price quotation service, I found that:

  • UPS has an online presence that works reliably, as it always had. Their prices are not cheap, but one can at least get a quote after just a few clicks.
  • DHL has an online express service called Ship Now ... which simply doesn't work. After inputing the origin address and moving over to the destination address field, one is left with a "busy" mouse pointer that never returns to allow someone to input the damn address. Repeated attempts at reloading the page did not succeed at improving the situation.
  • FedEx has a Flash-based splash screen, meant for selecting the country of origin, that keeps on cycling during loading and never completes. Their "if you're having troubles viewing this page, click here" link at the bottom of the page simply calls a Javascript bit that... reloads the page. Erm... Right.

The result: two companies that lost potential business over a rather huge and costly parcel, simply because their websites prevents me from getting something as basic as a price quote. It really makes someone wonder, how the hell does that industry keeps itself afloat when they make their services so challenging to even access?