Archive for the ‘linux’ Category

Portal on linux

Wednesday, October 15th, 2008

Portal: Prelude triggered me to finally try out Portal under linux / wine. Actually the only games I played since I’m on linux are Urban Terror and … Peggle Extreme. :) Don’t laugh, it was a Steam test. ;) And I didn’t have any space to install anything bigger. Until I bought that 0.5TB drive a while ago, still didn’t fill that one up, so today I decided to try it out under opensuse 11.0 with KDE 4.1 and wine 1.1.6. I somehow messed up my steam install under 10.3 and since I got 15GB free on my suse 11 partition and up to date video drivers (since it is also a kde 4 tryout install), this seemed like an ideal environment. Indeed, it actually went very smoothly.

  • install latest wine from build service
  • install iexplore gecko replacement by surfing to an url: wine iexplore http://winehq.org
  • download steam msi (exe no longer needed!) and run: wine start steaminstall.msi
  • see the update fail and resume it manually: nice -n 19 wine Steam.exe or wine steamTmp.exe SelfUpdate “Steam.exe” 14
  • create a desktopshortcut from steam. you have to use kde 4.1 folderview if you actually want to see it ;)
  • run!

Some screenshots to prove ;)


Portal on linux / wine Portal on linux / wine

While framerate seems okay and my savegames and profile seem intact, I did experience some graphical glitch: when looking through portals, sometimes white flicker occurs. I didn’t investigate any further as it’s late enough.

Optimizing the linux boot process

Tuesday, October 14th, 2008

How fast your linux boots, really depends on your distro and of course it’s their job to have it boot as fast as possible. They try as much as possible scenarios and make sane decisions on where to optimize. But they can’t test every possible configuration, so what if you just end up with a suboptimal situation (possibly without realizing? :)). Even if you know your boot takes too much time, how would you locate the culprit(s)?

This is where Bootchart jumps in. Bootchart is a tool which makes it possible assess resource consumption throughout boot time. It is really simple to set up, just add a kernel param! Data is collected in memory using tmpfs and dumped to disk at the end of the boot process. This data then gets processed by a java app which outputs an SVG/PNG.

It seems the opensuse guys, actually coolo, used this tool to optimize boot performance for opensuse 10.3. I must say I am quite satisfied with my opensuse boot times although I do have the impression that 11.0 seems to be a tad slower than 10.3. So I’m definitely going to try out this tool and compare the results :)

Thanks to my brother for the tip.

Part 2

Accidentally, a few hours after writing this post, I ran into this very interesting article about boot speedups presented at the Linux Plumbers Conference last month. (Watch a modified fedora boot in 5 secs on an eeePC)

openSUSE fan

Monday, July 7th, 2008

I have these linux habits which are hard to control and recently I discovered a new one while working on my windows box at work.

You know you’re a

  • linux fan when you type ‘ls’ every time you mean ‘dir’
  • KDE/KWin fan when you try moving/resizing windows with the alt+mouse buttons
  • and now, here it comes.. ;)

  • openSUSE fan when you type ‘net suse’ instead of ‘net use’

I needed 3 tries before I got it right! :)

openSUSE forum

Thursday, June 12th, 2008

first thing one does, when getting stuck on a problem with openSUSE is google it up. If nothing turns up, check the bugtracker. No luck? Check the fora. Yes, this is where the pain starts. Until recently, there were, like, 3 fora or something where you had to look up and create an account if you wanted to add a remark, ask a question. They finally combined forces and merged them all and made them even official! That’s great news I believe. Having a single point of access for support questions is really important, even more for early adopters. With openSUSE 11 right around the corner, the timing couldn’t have been any better!

of course, you can always join the #suse IRC channel on freenode if you’re a more chattive type of person ;)

why openSUSE 11

Monday, June 9th, 2008

As you might have guessed by the countdown on the right, I’m anxiously awaiting the opensuse 11 release. IMO, the revamped package management system will be THE killer feature. Not only will it have the fastest dependency solver on the planet, by using lzma compression (cfr. 7zip) it will have smaller file sizes yielding even faster installs!

Even though this release will be a .0 release, I will be eagerly upgrading as every time I install new software / patches, I am reminded how fed up I am with 10.3’s package system. This is my only complaint about openSUSE 10.3! They claim it should not be a problem for average users with not much repositories. So now I know: even on linux I’m not a ‘normal’ user. ;) (which was confirmed by a suse guy @ fosdem looking at my repository list ;))

9 days to go, mmmmm :)