Nov 11 2009

Katian 0.01

Posted by Fab

Just a quick note to everyone who had shown interest in this: I have now released version 0.01 of Katian. This release mirrors pretty much the state of my machine right now and I am putting it out for anyone who liked the first version but is looking for fresher packages based on Xubuntu Karmic. I do not, however, recommend installing it. This version is still very rough around the edges and also a bit transitional since I will try to base .02 on Ubuntu proper (with Gnome). The reason for this is that I have run into some limitations with Xfce — I still love Xfce, but I think full Gnome is getting a lot faster on Ubuntu and since I’m not really concerned with .iso sizes I will try if it suits me more. And yes, this distro is bloody massive already.  If you want to try it out, I really recommend using UNetbootin to make a bootable USB stick — It’s so much more 21st century and also saves the planet by not coating it in unused Linux distro discs.

sls-librefm

If despite all the warnings you still want to try this new version out, you can download it here. Make sure you have a recent backup and enjoy! And keep your eyes on this blog or on the Launchpad page for news of version 0.02 which should be arriving relatively soon…


Feb 28 2009

Some Reading Material

Posted by Fab

Just a quick post to draw your attention to two excellent blog posts that Dan posted recently (in case you haven’t seen them already): Yesterday, he published a great opinion piece on the European Parliament’s motion to extend sound copyright even further into the future including a video of a speech given by Becky Hogge at these proceedings. This is definitely worth a read! He also finally released his mammut Sabayon 4 review which we hinted at in Episode 78 — this might be the most scathing review Dan has ever written. Well, for Dan standards, anyway. ;)

With this, I’ll leave you to enjoy your weekend. I myself will probably spend it checking out Jaunty and playing lots of Fallout 3. We will most likely record the next show on Monday evening (CET) — so if you want to catch it live, feel free to stop by.


Oct 5 2008

Server Move Complete

Posted by Fab

As I’ve mentioned on the show already, I’ve recently moved all the various Outlaw assets from Dan’s cPanel hosting to a brand new Linode VPS of my own. We are now running on the server version of Ubuntu Hardy and so far I’m really pleased with it. We are getting about 40 hits a minute on the box now and it’s holding up pretty decent for that. The server is based in Texas which in addition to being a very fitting location for us outlaw types should speed up access for our American listener base.

As already requested by some members of our community, I will write a longer article on the process of setting up the server with detailed examples once the machine has been banged on a bit more and can be considered reasonably reliable.


Sep 14 2008

Spore on Linux

Posted by Fab

In this article, I describe how to get Spore running in Linux with a patched and custom-compiled version of Wine. I’ve been enjoying this game quite a lot lately and wanted to share my method for getting it to work on a penguin powered machine. It was a bit of hacking to figure it all out (especially for a compile-n00b like me) but the resulting howto should be easy enough to follow. I hope this helps a few people. We will also talk about this on Episode 54 of the show which should be released in the next few days.

spore-wine

Disclaimer
To get Spore to work in Linux, you currently have to break the game’s DRM because it does not work with Wine using a so called “no-DVD crack”. This may be illegal in your jurisdiction and I cannot accept any responsibility for anyone doing so. As far as I know (and I am certainly no lawyer) it is currently not illegal to do so here in Germany.

Reference System
I used a Dell XPS m1330 laptop with an Intel Core 2 Duo, 4 GBs of RAM and an NVIDIA GeForce 8400M GS graphics card for this howto. The machine is running Ubuntu 8.04 “Hardy Heron” and I am using the nvidia-glx-new driver provided by Ubuntu.

What to Expect
On the aforementioned system, Spore runs with about 95% quality compared to Windows. Basically, everything works minus the build-in DRM and the most advanced shadow and lighting effects. All the online features seem to work perfectly as far as I can tell. It also probably runs a bit faster than on Windows due to the fact that the OS itself has a lighter overall resource footprint.

Prerequisites
If you currently have any version of Wine installed, uninstall it completely taking care to rename your current .wine folder (i.e. to .wine-old) before you do so.

Having gotten all this out of the way, we get to the meat of it. Here’s what I did to get the game to run in Linux (it should work for you as well although you might need to modify certain things if you are using an ATI/AMD video card or if you’re not on Ubuntu):

  1. Make sure you have the following packages installed before you start:
    # aptitude install libgl1-mesa-dev x11proto-gl-dev libasound2-dev
    At least these were the packages I had to install in Hardy to get Wine to compile with OpenGL and ALSA support (crucial if you want to get the game to run at all and with sound as well).
  2. Grab the latest Wine source (1.1.4, at the time of writing) from the official download site
  3. Extract the source tarball to its own directory, cd to that directory
  4. Download this patch to the Wine source and rename it to spore.patch
  5. cd into the wine-x.x.x subfolder with the actual source
  6. Apply the patch by issuing the following command:
    $ patch -p1 < ../spore.patch
  7. If the patching was successful, compile and install Wine with the following command:
    $ tools/wineinstall
    Make yourself a sandwich and some coffee, because the compiling may take a while depending on how fast your CPU is (it took roughly 20 minutes on my 2.5 GHz Core 2 Duo). When Wine asked me if I wanted to install the compiled version to my system, I answered “yes” and consequently had to enter my root password before the installation stage. If you do not want to install the patched version permanently, answer “no”.
  8. Install Spore with the installer from the CD and cancel the DirectX install popup. The install should finish normally. If Wine hangs a bit, leave it to do its thing for a few minutes.
  9. Crack Spore’s stupid DRM (see disclaimer up top!).
  10. Start the game with the provided Wine launcher or by going to the game’s Sporebin directory and typing $ wine SporeApp.exe in the terminal. Enjoy!

If you follow these steps, it should be pretty straightforward to get the game to run on your system. And don’t be afraid of the patching & compiling, it sounds scarier than it is. I did it all in a coffee shop on a half-full laptop battery. Just make sure you back up all your other Wine games and the whole .wine config folder before you do this…

If you have any questions or run into trouble, please post something in this forum topic and I will try to help you as much as I can. You can also ask me for help in #linuxoutlaws on irc.freenode.net whenever I’m in there.


Apr 24 2008

Hardy Released Today

Posted by Fab

The latest, greatest version of Ubuntu, 8.04 “Hardy Heron”, will be released later today. I just published our special episode on this topic. I hope we are not overwhealming you with all these shows… Starting next week, episodes will be released on our semi-regular schedule again, I hope. Of course, if you want to complain, there’s always the forums. Speaking of the forums, they seem to be coming along quite well which is great!

Ubuntu 8.10 is here

Dan and I both have been running the Hardy release candidate and betas respectively and do recommend to upgrade — if you want the details, listen to the above mentioned episode. Pat from the Linux Link Tech Show also seems to love it. With all the hard work that’s gone into making Hardy as great as it is, I want to congratulate the Ubuntu dev team on another great release. You guys rock!

And now, everyone head over to the Ubuntu site and download it once it’s officially released. Let’s turn their servers into burning rubble!


Oct 13 2007

A Week of Distributions

Posted by Dan

Hey folks, my first blog post here. I thought it was time I posted something so here it is :)

As you will know by now the new version of Ubuntu is due out in the next week, that big banner on the sidebar may have given it away. So I plan to spend the next week trying out a new Linux distribution each day to see how I get on before eventually moving to Ubuntu 7.10. I’ve tried a few different distributions in the past but since moving to Ubuntu about a year ago, I have be honest, I haven’t tried much else, certainly not outside of VMware. I guess I got comfortable and just didn’t bother. Since I will be upgrading my system to the new Ubuntu anyway, now seems like a good time to take a little tour of the Linux world and see what’s happening. I can’t promise it will be comprehensive with so many distributions out there though, I can’t try them all in a week so I’ve made a hit list of the major ones I want to try out:

PCLinuxOS 2007 - Never tried this but heard about it quite a lot.

OpenSuSE 10.3 - As much as I hate the Microsoft/Novell deal I have used SuSE in the past and it was my first ever Linux distribution so I owe it another chance.

Mandriva 2008 - Another distribution that has been an old friend to me, the new 2008 version is fresh out this week so I figured I’d try it.

Slackware 12 - I’ve never used Slackware but it has a strong following and has been around a long time. Can’t wait to see what it’s like.

Fedora 7 - This disc has been sat on my desk for ages, I’ve used Fedora and Red Hat many times in the past, the last version I used was Fedora 5 so it’s been a while.

Debian Etch - Lastly I will try out Debian, the distribution which has spawned so many others including Ubuntu of course. I’ve used it on the odd server but never on my desktop, it has a reputation as the purists OS, awkward to use but powerful. We’ll see.

So that’s about it, I missed a few obvious ones I know. Gentoo is not in there basically because I’m not a sadist and I don’t want to compile everything. I have used Sabayon before which is supposed to be the easy to use version of Gentoo but I didn’t bother with it in this experiment as I figured I have enough on my plate.

So that’s it, I’ve backed up my /home partition with rsync and I’m almost ready to go, just got some md5 sums to check and some discs to burn and then I’m off. Wish me luck, I will report back… I hope ;)


Oct 12 2007

MythTV Write-up

Posted by Fab

As promised, I have just finished an in-depth write-up of my experiences with setting up MythTV which we talked about on the last episode of the podcast. I have also included a few pictures of the different stages of progression through the project. I think the end result looks very slick. If you liked our MythTV episode and you want to know a bit more about my experiences, read on. As always: If you have any questions about this or want to tell us about your experiences with MythTV, use the “contact” button at the top.

mythbox1I wanted to have a TiVo for ages, but after fruitlessly waiting for quite some time for the damn things, or some comparable solution to be available here in Germany, I finally decided to roll my own. Once I reached that conclusion, there was no question to make it Linux based, of course. If I go through the trouble of researching all this stuff to build my own system instead of choosing an appliance, I want it as flexible as possible. mythbox2That led me to picking MythTV as the software solution and I had been busily planning the project for a few months in advance while saving enough money to start buying the hardware. That point finally came and I ordered a sleek little XPS 210 and a stylish 19” widescreen LCD monitor from Dell. I have been very happy with their laptops for years and the XPS 210 is exactly the form factor I was looking for; the plan was to find a really nice looking, compact machine since it has to sit in my living room all year round. mythbox3I had been toying with the idea of buying a Mac mini from Apple but that system, while being smaller, isn’t upgradable at all and since it doesn’t include a DVB-S card, it wasn’t a a good choice for what I had in mind. Not to mention that it is way overpriced for what it is. Still to get DVB-S functionality in the Dell machine, I had to find a low profile PCI compliant DVB-S tuner card, which luckily I did — although it wasn’t easy and did involve a lot of research on the topic. Finally, with all parts ordered, I was ready to build my very own open source, next-gen DVR system running Linux. Or so I thought…
mythbox4After about three weeks of waiting for Dell to build my system (as it turns out some parts were backordered), I finally got my XPS210. As I started to unpack this gorgeous system, I immediately realised that I’d made a mistake when I spec’d out the hardware. I had bought an PCI tuner card inspite the fact that this system only has PCIe slots! This was an especially grave mistake, since there are currently no drivers for PCIe devices in Linux. mythbox5Well, since I hadn’t really expected this to be easy — if I had been looking for an easy, albeit crippled, solution I would’ve used Vista’s Media Center for this — I just treated it as another challenge on the long way to becoming a Linux guru and pushed it to my backlog for the moment, set up the system anyway, opened it up for the first time and just enjoyed the wonderful engineering for a bit. The XPS210 really is an amazing little PC. It’s only about 9.5 cm wide and the inside of the chassis is totally crammed, but it’s a beautiful system nonetheless. It is also totally tool-less, meaning that you can take all the main components apart without having to use a screwdriver — it’s all pins and doohickeys. I am also really happy I bought a Dell monitor; this 19” widescreen has a really nice design and the picture is impeccable. It has the solid feel of high quality hardware about it, which I like a lot.

mythbox6First on the list was getting MythTV up and running. I definitely wanted to try Mythbuntu because I liked the idea of the project. Unfortunately, the Live CD wouldn’t even boot (and yes, I did check the MD5 hash). I suspect a conflict with the BIOS since even in my working setup now, the machine refuses to reboot, it just halts — Dell probably put some new exotic BIOS into this thing that the Linux kernel doesn’t fully support yet. I resorted to downloading the alternate install CD of Ubuntu Feisty and following this guide which turned out to work quite well. I basically had to install a command line only version of Feisty and then use aptitude to install the MythTV packages, which wasn’t hard. MythTV automatically installs Openbox as a desktop environment for itself and then displays the GUI configuration screens so that you can complete the install. I had no problems whatsoever in setting it up. mythbox7Since I didn’t have a working DVB-S capture card yet, I did not configure the TV functions at this point, which obviously means that there wasn’t much MythTV could actually do at this stage. I therefore turned my attention to installing some plugins like MythDVD, MythMusic, MythVideo and MythWeb. All this went quite well and I then spend some more time at configuring those to my liking (using xine as my player for video and DVD content and Firefox as the browser for MythWeb, for example). Since I have quite a big video collection of DVD rips residing on several hard drives around here, I spend most of the next day copying that content over to the mythbox. For that purpose, I set up an OpenSSH server to access the mythbox from my laptop which allows me to mount the /var/lib/mythtv directory directly onto my desktop and copy the stuff over using a GUI. I could’ve also used the command line, but since I have multiple backups of everything I was glad for the graphical interface, it was hard enough to sort it all out as it was.

After getting all of this to work, I could finally watch some Firefly episodes on this thing. Everything worked great and the system was very stable, except that I had some pretty noticeable tearing effects in the video playback. This was of course due to the fact that hardware acceleration wasn’t enabled by default. I knew when I bought the system, that getting this to work might turn out to be hairy since the machine has got an ATI graphics chip in it; a Radeon X1300 to be precise — and ATI is notorious for providing very poor support for open source solutions. Their fglrx driver is crap, a poor implementation if I ever saw one, and it took me about two days of heavy duty hacking to get it to work with my 2.6.20-16-generic kernel. It sure wasn’t fun, but I’m pretty proud of myself that I got it working. That it took two days to do this is manifest to the fact that ATI’s proprietary, crapshot driver needs a complete overhaul. That their drivers are supposed to be open sourced soon will fix this, I hope. The only little problem that remains is the fact that for some weird, random reason (as documented on the MythTV bug tracker) I cannot use the IMDb information grabbing script in MythVideo without the DRI component of the fglrx driver crashing mythfrontend as I found out via this blog post. For now I just don’t use that script and enter all my data manually until I can upgrade to a fixed version without using the nightly builds. At this point the video plugin with all my ripped content, the music playback and the web surfing parts did work and were very stable, but I still couldn’t watch live TV yet. That was the next hurdle I had to overcome: I needed to find a DVB-S card for this thing.

mythbox8After I had decided my only hope at this point would be a USB receiver, I looked around on nearly a hundred sites, forums and wikis for the right hardware that would work with my kernel version and setup. The first USB box I bought, a TechniSat SkyStar USB Plus, should have worked, except it turned out to be a rebranded card from another manufacturer whos drivers weren’t supported. I resold the thing on eBay and kept searching until I finally came across another card that I could actually buy here in Germany and which did work: The Pinnacle PCTV 400e. I found a used one pretty cheap somewhere on the ‘net and I was very, very happy to see the thing announce itself properly via dmesg when I plugged it into the machine. After a quick hunt on the web for the proper firmware for the box, I just dumped the .fw file into Ubuntu’s /lib/firware directory and it now gets automatically loaded on startup when the kernel registers the PCTV device. mythbox9The next step then was to set up the TV functions in mythtv-setup, that’s the step I skipped earlier, and then have it automatically scan all available channels and put that data into MythTV’s database. Configuring this wasn’t hard, but some choices seem kinda arbitrary when you don’t know what you’re actually doing. In cases like this, wikis and forums will be your saviour! Next, I assigned sensible numbers to the three dozen or so channels I mostly watch and started scheduling recordings and finally watched some live TV.

The last piece of the puzzle that still eluded me at this point was a working remote control. The Pinnacle USB box does come with one, but it turns out that the driver for the device doesn’t support sending the RC signals back to Linux. Although I was very happy at finally having found a capture card that worked, the remote problem still irked me. After all, what’s a TV without a remote control? I knew that to get a remote control to work with most programs in Linux, you need to set up something called LIRC so I had a look around for remotes that were compatible with that program. I figured out that I could get what they call an MCE remote very cheaply on eBay. The irony here is that those things are specifically made to control XP and Vista Media Center machines. Therefore mine has an ugly Vista logo bubble in the middle — I really have to put a Tux sticker over that some time… Anyway, the remote I bought wasn’t that hard to configure and after assigning all the buttons and fixing some smaller startup issues with LIRC, it works perfectly. The best thing about this remote control is the fact that it uses RF instead of infrared signals, which vastly improves the range of the remote and means it doesn’t need a line of sight to the receiver to work. With everything in place, this meant that after over six weeks of work, I finally had finished my project.

As you can see from this account, hacking together a MythTV box isn’t exactly an easy or very userfriendly process. For me, something immediately looses the label “user friendly” at the point it asks you to compile anything. But despite all of the sweat and blood, it is definitely worth it. MythTV is a great system; it is very powerful, very flexible and getting it to work is a hugely rewarding process. And on top of all this, I learned incredibly much in solving all the problems along the way. Spending a lot of money on a box you just plunck down beside your TV may be very easy, but mastering the skill and knowledge to hack together the system yourself is much more fun! But the most important selling point of MythTV for me is the ability to customise every aspect of the user experience. You just can’t do that with an out-of-the-box solution.


Oct 4 2007

Gutsy Special

Posted by Fab

As you might have noticed, the new Ubuntu version 7.10 (Gutsy Gibbon) will be released in exactly two weeks. Since Dan and I are both avid Ubuntu users — as you might have guessed by now — we are planning to do a special release day episode for this event which will be out on the same day, October 18, if all goes well. We will try to give you an overview of the new features and might also talk a bit about our experiences with Ubuntu in general.

If you are currently an Ubuntu user or if you are interested in moving to Ubuntu, it would be great if you write us a short email via the contact form. You can ask us questions or tell us about your experiences with Ubuntu (positive and negative) and what you expect from this release and we’ll try to get whatever it is you have to say on the show. Anyway, we’re looking forward to Gutsy and hope you are too!