Archive for the 'Technology' Category

Ubuntu – Time for a New Install

Saturday, November 1st, 2008

I have been doing alpha and beta testing with Ubuntu since around version 6.06 – Dapper Drake. I have taken this install through every alpha and beta stage and everything in between. In the end, it is still up and running very well with version 8.10 Intrepid Ibex. Although there have been some issues over the transition periods (havoc with network manager and Nvidia drivers mostly), overall, things have gone very well. I would say the upgrade process is about as painless as possible for a distro that does not use the rolling release method.

Finally, after all of these releases, I encountered a problem that I could not seem to fix entirely. Not surprisingly, it was with Nvidia. The issue that I noticed was that I was not able to play any 3D accelerated games in full screen. I am not talking about high level graphically demanding games but rather Frets on Fire. I even installed a derivative of Tuxracer from the Ubuntu repos to test and it would not work either.

Normally I would have continued attacking the issue, but I really wanted to get Frets on Fire but mainly the fork called Fofix working. So, instead, I installed a fresh copy of Ubuntu 8.10 on a different partition for testing. I had testing the same software on a couple of different machines running the same version of Ubuntu and one even contained an Nvidia graphics card. Both worked fine. In fact, the full screen mode had been working fine on my own install until a recent upgrade.

The main issue was with the /usr/lib/libGL.so.1 file which apparently was owned by both the Ubuntu Nvidia package and one called libgl1-mesa-glx. The issue was reported as a bug. My system was actually a 32 bit install but no matter what I tried, I could not fix this issue. I tried using aptitude, dpkg and apt-get along with synaptic to force and overwrite just about anything that I thought would fix the issue. In the end, I figured that after numerous alpha and beta transitions it might be time to try a new install. So, I installed Ubuntu 8.10 final release on a different partition and everything seemed to work as planned. I did uninstall network manager and manually edit the /etc/network/interfaces file in order to achieve using a fixed IP address. Network manager seemed to allow me to edit the settings, but didn’t seem to change them properly. For example, there is no much thing as a Netmask value known as “24″, yet every time I entered 255.255.255.0, that’s what it returned. Network manager is fairly advanced in some respects, but in other ways, it needs a lot of work.

With my fresh install, I have Frets on Fire working and Fofix fires right up in full screen. I had no trouble installing the Nvidia driver provided by the Ubuntu repositories as well. My old install must contain some old files or rules that interfere. Yes, I did use the “Cruft Remover” which is a handy new tool but that didn’t solve this particular problem.

I am fairly confident that had I not taken my install through all of the alpha and beta releases that I would not have encountered this issue. It also makes it nearly impossible to get help on it as not many people would be so masochistic. I am not sure what I will do with my current previous Ubuntu install. I may just keep it around for non-production use and to see the new features only and leave my new install for official releases only.

One of the bonuses with the new install is a faster boot time, nicer and more modern boot screen. In the meantime, I can try a really thorough clean up on my previous install and see what happens from there.

Criterion Rises Above with Burnout Paradise DLC

Saturday, September 20th, 2008

Burnout Paradise PS3 Cover Criterion’s Burnout Paradise has set a new mark with DLC (downloadable content). If you own an Xbox 360 or a PS3 and you don’t have this game and have been considering picking it up, see why it is well worth it. The developers at Criterion are truly the best example of demonstrating that they listen to the customers and actually implement requests. The greatest thing about this is that they did it all for free after the game was released. The most recent update as seen in the video link above is the addition of bikes into gameplay. This re-invents the game in terms of playability and also adds over 70 new challenges. Burnout Paradise is simply the best looking feature rich and dynamic racing game out right now. Many thanks to Criterion to demonstrating how a game should be developed and how to release DLC! Thank you!

Carrier Instant Messenger – Upgraded to 2.5

Saturday, September 20th, 2008

It took a while and surely some people gave up on the project because of the wait, but Carrier has finally been upgraded to version 2.5. This is is significant because the previous version of 2.4.1 had stopped working with the MSN protocol, rendering it useless for anyone who exclusively used those accounts. Version 2.4.1 was released in April and somewhere along the line, the MSN protocol changed and despite requests in the forums, things seemed at a standstill. It wasn’t until late August that the software was updated. There are a lot of great reasons in theory to support the Carrier project, but ultimately we all need a working IM. I even explored the use of Empathy which is going to be the default IM application in future releases of Gnome. It shows a lot of promise and is being developed actively and upgraded regularly which is great. The main difference or advantage between Empathy and traditional IMs is that it will support voice chat and also integrate into Gnome’s environment. An example of this would be that you would see an icon to call someone from within the Evolution email client. It will take some time to move things forward but the future does look promising for Empathy and Gnome.

In terms of the future of Carrier, we can only hope that the recent past is not an indication of future development. Carrier has a great opportunity to attract users. It won’t attract as many as it did when it initially started though since one of the main reasons for its creation was to enable the text resizing box during chats and secondly Pidgin is still the defacto IM client included with a lot of distros. While a lot of Linux users will put forth the extra effort to replace Pidgin with Carrier if they feel strongly enough about it, for most people, they are likely to leave well enough alone.

I am not giving up on Carrier yet though. The current version took a bit long for my liking to be released, but it’s here now and it works very well.

My advice for the developers at Carrier would be to make packages readily available for various distros including the most up to date version and make them easy to find on the website. For example. the preamble for the Ubuntu version still links to version 2.4.1. Also, keep up to date and respond to people in the forums more regularly. After all, from your main stanza on the homepage, you indicate: “What makes us different from the official client, is that we work for you.” If that is truly the case, then it needs to be demonstrated fully.

Operating System Boredom

Saturday, July 19th, 2008

It seems that once again I’m going through one of my phases where I am getting antsy with operating systems lately. Here are the two main culprits:

Ubuntu  – I’ve done several installs for people lately on newer systems and they just work. Even webcams are working instantly right after installing ‘Cheese’.

Arch Linux – I’ve had Arch installed on several boxes at home for about 5 years. It runs solidly. I use custom kernels (2.6.26) and use 32 bit and 64 bit. I don’t need nor want to make any drastic changes to them.

I’m not saying this is a bad thing, in fact it is quite good, but it does take away the challenge I used to enjoy.

So, when I get into the mood to break something and then try to fix it, I think of using Ubuntu Alpha releases but as mentioned in an earlier post, even those don’t cause me any issues anymore.Moreso than fixing things I’d like to try something that offers some unique value in doing things differently.

I do try out some different distros here and there but I am not really finding anything unique enough to pique my interest. Recently I’ve tried OpenSolaris (just because) and it was a disaster and pretty much unusable (very slow package manager, missing common packages I wanted). I did an upgrade and it wouldn’t boot afterwards.  I also tried OpenSuSE 11, Mandriva Spring and Mint. That’s the story with Linux lately. At one time I did set up a box in only command line and I currently use a custom built Linux router as well. What else is there? ;)

OK, so there is OSX. I’ve used OSX86 and it is a decent OS. I really don’t have anything negative to say about it. I do miss a lot of things that I have in Linux when I use OSX but I understand that it is a designed in a specific manner so I can’t criticize the product but perhaps the concept but I’m not even going to do that. The truth is that it’s decent enough, but doesn’t provide me with anything really interesting and innovative in terms of configuration and such. Also, I am of the belief to truly get the full OSX experience, one needs to switch over to it fully which I am not prepared to do right now and likely never.

In terms of Windows, I’ve made my comments on Vista already and I’m pretty tired of XP. In fact, I would be all over using Vista at work if the opportunity presented itself (assuming Linux was not an option either).

So, where does that leave things now? If anyone has any suggestions, I’m open to trying something out, but I’d like to try something that is unique somehow and offers some kind of benefit or optimization. I’ve tried just about every desktop environment and window manager as well.

The Death of the Swap Partition?

Tuesday, July 15th, 2008

The Death of Swap?

Firstly, my initial disclaimer is that while there will be technical information in this article, it is also based on opinion and personal experience and therefore if anything, it is a personal account of the usefulness or lack thereof of a swap partition and thoughts, ideas and assertions are welcome.

When I first started using Linux many years ago (maybe 6 now), one its distinct unique qualities was the use of a Swap partition. Initially, I didn’t ask too many questions as I was eager to leave behind the OS that had caused me frustration over the past years. As time went on and I gained more experiences with Linux, I continually would use a swap partition on any new installs and would be asked by anyone for whom I created a set up about the reason for creating this swap partition.

In basic terms I was always told that the purpose of the swap partition was mainly to allow the system access to more memory if your RAM was used up. Therefore, this was useful on systems with low amounts of memory or on machines where there would be a lot of RAM usage thus causing it to be fully used and therefore require additional memory which swap would provide.

Even with older machines or ones lacking RAM, I observed that swap was barely used. Typically on systems with at least 1GB of RAM, I never see any swap used. I suppose this could happen if there was a great deal of memory usage due to intense audio, video, compiling or some other kind of processing.

Newer machines will often have 2 CPU cores and at least 1GB of ram and usually I recommend that at least 2GB of RAM is a decent amount for a newer machine. Considering the processing power and inexpensive nature of adding more RAM, what happens to swap? Swap once had a purpose on older machines but now it seems that it is not only becoming unnecessary but also a burden perhaps?

Swap can have some negative affects as well. With the size of new hard drives these days using up 512mb or 1GB or swap space is certainly not an issue but if you like to use all Primary Partitions like me, then all of a sudden out of the gate you are down 1 of 4 Primary Partitions used on a hard drive (I’ve heard there are ways around this but I am not including using third party software to create more Primary Partitions). So, for example, you are building a custom machine where you want several Primary partitions for a particular reason such as:

swap

/boot (to store your kernel and boot settings)

/ (your root filesystem)

/home (a separate home partition to keep your personal files on their own or even to share it with another distro installed on the same machine)

/var (separate log files or perhaps used for package building)

/usr (holds the majority of your application executables and global application settings in /usr/share)

/opt (could be used for applications you compile youself placed in a different directory other than /usr/ to keep them separated)

Clearly, partitioning is a personal choice and the decision is based upon your specific usage. However; if you use a swap partition, all of a sudden you are losing 1 primary partition. So, unless you create logical or extended partitions, it could be that one of your planned partitions is negated.

Swap Partition Pros:

May help speed up older machines lacking memory

May help speed up machines that require an industrial amount of processing (high tech audio, video or compiling) while performing other tasks

Makes your install ‘feel’ more like nix :)

Swap Partition Cons:

Uses up space and a primary partition

Disk Thrashing over time can damage your hard drive

Accessing the hard drive to use virtual memory is slower than RAM

Alternatives:

If you don’t want or need to use a swap partition, you can instead use a swap file. I am not going to post any links on how to do this right now, but if you do a web search for it, you can find lots of examples.

Although I do not plan on changing any of my current long running configurations as my swap partitions are typically the first partition in my table, I do not plan on using them anymore on any new systems – especially any that I plan on which I have multiboot configurations. I have one now where I can share the swap partition, but more than once I have wished that I did not create the swap partition in the first place. To me, there does not seem to be a need to use such a thing on a dual core machine with 4GB of RAM, better yet, it seems like a waste of a primary partition.