Showing posts with label Linux Video. Show all posts
Showing posts with label Linux Video. Show all posts

Saturday, May 17, 2008

Mint 5.0 at Home

I recently posted over at TalkBMC about the latest revision of Mint Linux, 5.0 Beta. As usual, when I post things to TalkBMC about Linux I am focused on Enterprise desktop or Enterprise server applications. I said there, in essence that it was hard to believe that this even was a Beta, since it was so stable. At the time I had used it about 24 hours, but as of this writing that has stretched into several days and nothing I wrote there has really changed. Still fast. Still solid. Still beautiful.

Saturday night we decided to stay in. I have been on the road in Boston and Austin for the last two weeks and sitting at home seemed a special treat. It also was a chance to do something I had not been able to for a while: Play with Linux at home. I have had my Apple Macbook with me as my primary computer for weeks now, other than the time I had been able to squeeze in on Mint on my office Dell D620.

I looked over the candidate computers at the house, looking for new place to test out Mint at home. My Acer 5610, of which I have written quite a bit here, is dead now. It stopped having a working trackpad, I took it apart, decided it was not going to be worth messing with, and piled it all in a bag for now. What I do not need is another desktop computer, and a laptop with a broken trackpad is a desktop as far as I can see.

The XO-1 will be getting a new, Fedora based Linux install on it shortly, whenever a small group of XO-1 owners near here next get together. Anne Gentle has the latest and greatest and is ready to get us all in sync. Besides, I am pretty sure the XO-1 would take some serious tweaking to get Ubuntu / Mint going on, and none of what Mint brings to the party is really what the XO-1 is about. Its not about MS WIndows either, but that is another story...

My IBM X30 was running Ubuntu 8.04, and my Dell C400 had Fedora 7. Fedora 9 just released, but I'll not be looking at it for use as a home version of Linux, due to the fact the Redhat has decided that Linux desktops are probably better left to Ubuntu. If you have no idea what I am talking about there, it is a long story, but the ending is that RedHat has decided that consumer desktop computing is not where they want to be right now.

Fedora is not exactly equal to RedHat by any means, but their distro is much harder to get going on home hardware like laptops due to not including any closed source anything, and so many of the wireless cards in laptops still require closed source drivers / firmware.

I needed a laptop for Mint, Fedora 7's old home base was elected. But this led to another problem. The Dell C400 I have I built out of parts, and I never have had a CD for it. It is too old to be able to boot off its USB 1.0 ports with my USB CD drive attached: The BIOS just does not support it. This required pressing into service my IBM X30, and doing something you just can not do with MS Windows.

I took the 80 GB Samsung PATA harddrive out of the C400, and installed it into the IBM X30. I then booted the Mint 5.0 LiveCD, and watched Mint come to life.

The IBM gets its wireless from a D-link DWL-G630 PCMCIA card, since IBM only allows their own 802.11 cards into the mini-PCI slot (#&^$^$*). ALL these stupid 802.11G cards I have laying around here from old laptops and I can't use any of then in the IBM without having to either hack the cards internal ID, or the IBM modified BIOS. And for what? the cards are perfectly good cards. grumble grumble. I digress.

Here is where something weird happened. The wireless card was dead while the LiveCD was running. I have never seen that before. It works under Ubuntu 8.04, and Mint 5 is based off that. What in the world is up there? Maybe this really is a beta....

Whatever: I don't need it to work here. The IBM is just the hard drive host mother. Clicking the install, I go through the standard seven dialog panels, and as usual, answer panel 4 with the pull down rather than the time zone map, which I find useless. I manually set up the disks as well, since I want '/' and '/home' in different partitions.

It takes about twenty minutes for the CD to load up the code to the hard drive, and prompt me to say that it is ready for a reboot. This was about twice what it took on the Dell D620 at the office, and it is purely a sign of how much I/O wait there is in an older CD unit, such as what I have in the IBM. 24x CD rather than 4X DVD. Makes a huge difference.

Now, instead of a reboot, I turned off the X30, and I pulled out the Samsung hard drive, replacing the Hitachi 40GB unit with Ubuntu installed on it, and place the host mother aside. The Samsung goes back into the Dell C400, and boots.

Here is the trick no MS Windows computer can do without all sorts of special stuff, like running Sysprep to get it back to a blank state. Linux does not care that the IBM and the Dell are different computers, with different chipsets, and different wireless cards. The Dell TruMobile 1150 MiniPCI card is correctly configured and finds the WAP in the house without issue.

Even though the '/home' I am using came from Fedora 7 and this is now Mint 5.0 Beta, the desktop is just like it used to look. It migrated to Ubuntu with only a minor issue. I had the gnome hardware sensors applet installed in Fedora, and Ubuntu did not put it in by default. No problem. Synaptic can re-install that.

First I fired up MintUpdate and had it bring down 45 updates. This took less than 3 minutes. Then it found another small set it wanted: Maybe 15 or 20 more: I didn't look. This went in taking less than a minute. I set MintUpdates preferences to show me unsafe updates, but not to automatically select them. A few more updates show up, but nothing that looks like anything I need bad enough right now: an Xorg update to the Intel video driver being the main one of interest.

Exiting Mintupdate, I fired up Synaptic from 'System/Administration' and loaded up the things I usually do. GkrellM, HFSPlus, Avahi, Macutils, hardware sensors and hddtemp: Stuff that tells me how the computer is doing, or lets me work with data exchange via HFS formatted USB disks. Not having MS Windows to deal with, all my data exchange is done on HFS right now. When the Mac and Linux support ZFS, I'll go there next. I know that HFS is not the worlds best File System. It is better than VFAT though.

Nothing of a kernel nature came down, so no reboot required. I exited my userid to restart X and then started to play around with the fully configured Mint 5.0 Beta.

My first point of curiosity had to do with video compositing. MS Windows Vista is a total pig here, needing all sorts of special video hardware to work. My Ubuntu and Mint experience had been that Linux with Compiz requires substantially less hardware: the D620 laptop at the office ran composited video extremely quickly with an Intel video chipset not known for its speed. The C400 is much older, and much much slower. It has the Intel 82830M Graphics controller, a 1.2 Ghz processor rather than two 2.0 Ghz processors, and 1Gb RAM rather than the d620'S 2gb. Its harddrive is PATA rather than SATA, and the C400 is a laptop optimized for power savings and portability, not speed.

I turned on Compiz (System / Preferences / Appearance / Visual Effects), and set it to the custom settings that were pre-existing on the computer: I assume they came with Mint. The computer is slightly slower on screen paints, but not so slow as to be unusable. Not even close. I could use 'System / Preferences / Advanced Desktop Effects Settings' (installed by default now! I used to have to go get that off the CD!) to tweak out a few more effects and go even faster if I wanted. For now my major curiosity has been satisfied: Even on old, minimal hardware, the new video compositing engine of Linux, Compiz, runs rings around MS Windows. I could not even install Vista on this C400 if I wanted to.

Firefox RC1 shipped today, so I imagine it will hit the Mint repositories pretty quickly. Clement Lefebvre, Mint 5.0 guiding light, wrote in his blog the he was keeping on eye of FireFox RC1, and had hoped it would be in the Beta. I had hoped it would too: FireFox 3.0 is a huge improvement over 2.x when it comes to things like memory footprint, memory leakage, etc. Very important on a smallish system like this C400.

One important test of the laptop is how well it web surfs, and so I went to watch Keith Olbermann's special comment a few dozen more times:



I turned on and off Compiz, and tweaked the settings, but the little laptop just can't quite hit the full framerate of the MSNBC video player. Still, it was pretty impressive that no matter whether Compiz was on or off, or at minimal effects or the slightly more I tend to use, the frame rate stayed the same. Compiz was not in the way of the video framerate. The minimal hardware overall was.

When Mint 5.0 GA's, I think I'll be making a trip back to Austin to do an ungrade on my brothers computer. He has not called me even once about Mint 4.0, so it is not giving him any problems. But 5.0 is even better, although I had beeter be sure Google Earth works first: That is his "Killer App"

Update: Suspend / Resume: I forgot to mention here that I had tested the Suspend and Resume functionality. My benchmark for Suspend / Resume is the Apple MacBook Pro.

The default for "Cover Closed' at 'System / Preferences / Power Management" is to blank the screen. I changed that to "suspend" on both the D620 and the C400. Both suspend in about 5 or 6 seconds and the D620 takes about that to resume. The C400 take a little longer, maybe 8-10 seconds. Not as fast as the Apple, but still amazingly good, and a huge improvement over what came before it.

have also tested the hibernate function on Ubuntu 8.04 and the IBM X30. That works as well, but takes more like 30 or so seconds, since it is writing its state to the disk and powering completely down. Power up looks like a normal boot except that at one point it freezes for a bit while it realizes that there is hibernation data, restores than, and then suddenly you are back to where you were. Hibernation appears to have no advantages in terms of boot time over a complete normal power up, other than it saves where you were, which can be handy from time to time.

Tuesday, January 22, 2008

Upgrades to Mint 4.0 Home Linux Desktop

I recently updated my Mint 4.0 office machine to have dual monitors, which I noted in my post called "Two Heads" over at TalkBMC. I have to say is turning out to be a huge time saver for all sorts of things. The other day I was looking at the wide spreadsheet while on a conference call, and was able to see the whole thing at once, and not have it be ultra-tiny fonts I could not read. There is no substitute for resolution and square inches!

That experience made me feel pretty good about the prospects for success of a weekend project at my brothers house. He wanted four things:

  1. A new video card so Google Earth would work better

  2. His old email back from his old hard drive and Thunderbird

  3. A new printer for school work

  4. A scanner

I had an Epson 1240 scanner I was going to give him, since I knew it worked well on Linux.

Video Card

Like the upgrade at BMC I went with a GeForce chipset-ed unit. The video card we selected came from the going out of business sale at CompUSA, and had the nVidia 5700 chipset on it. It pretty much had to work, since CompUSA would not be there to return it to.

We pulled out the old, cheap, and feeble video card, and inserted the new AGP unit in its slot. A quick reboot, and it was clear that all was well so far. Screen was there and at the old resolution: I think the cheapo card had been driven by the generic VESA driver and this one was OK with that. I fired up Envy, and it did its thing, downloading the same pile of packages it had on my work system. When it was done, I rebooted, and was greeted with the oddest looking screen: The center of the desktop. No amount of jacking with the resolution or position buttons would return the far right or far left of the screen. I added a Gnome menu to the center of the task bar, and went into the nVidia setup utility to figure this out, and it appears that it was incorrectly detecting the Compaq P900 monitor as being wide screen, 1600 x 1050 or thereabouts. I forced it into 1280 x 1024, and exited X and re-logged in.

It went back to wide screen. It overrode my override!. Doh.

I thought about hand editing the /etc/X11/xorg.conf to force the resolution in, but pondered for a second to be sure there was not some not some easier way I was overlooking. Then a light went on. I went into the Mint / Ubuntu provided 'preferences / screen resolution' and overrode it there instead, and that took. Then I remembered that at work I had to run the nVidia setup widget *as Root* if I wanted stuff to stick. /usr/bin/nvidia-settings is the location of that widget, for future reference.

Google Earth was now as smooth as silk. One down.

ThunderBird

As was suggested to a comment here to my "Repairo" post, the problem of the missing email was in the dot file. It was not quite what was suggested, but it was close. It was very simple:

  • Old Ubuntu based 7.04 Thunderbird put email in ".thunderbird" hidden file

  • New Mint 4.0 (therefore Ubuntu 7.10 based) system put Thunderbird email in ".mozilla-thunderbird"

I do feel silly to have missed that! I moved the new file out of the way (mv .mozilla-thunderbird .mozilla-thunderbird.new), then moved the old file to the new name (mvthunderbird .mozilla-thunderbird).

Mail now back where it belongs. Easy. And of special note: *recovered from an otherwise failed hard drive!*. I love Linux.

I do not know if it was Ubuntu 7.04 to 7.10 that changes the name of the dot file, or if Mint versioned it to be different.

Printer / Scanner

I start this part with an "Opps", as in "Opps I forgot to bring the scanner with me."

While we were at CompUSA with all the other vultures (that is what it felt like), we looked at printers. My son pointed out an HP F4180 Multifunction Printer / Scanner / Copier. It was nearly twenty USD less expensive as CompUSA corporate carrion than its regular already reasonable price. We talked about it for a sec, and went with it.

First off, I usually only buy printers from Epson and HP. Their Linux support is always terrific. Lexmark, as much as I love their keyboards, is a non-starter because they are very bad on Linux, and by extension, Dells printers are off my list, since they are LexMarks. Brother says it has Linux support, but I have just never tried it to be able to say. Getting a printer from a soon not-to-be company was not the time to be trying new things like that.

My default is always Epson. Six colors, color stable ink, separate color cartridges for each color so I only replace the color I am using, and so forth. HP has color stable ink, in some models, and at a premium price. Most of the HP consumer grade stuff is three colors in a single cartridge plus a separate black cartridge.

The big advantage of HP printers: They put the heads in the cartridges, making them easy to refill. If the head clogs up, you just have to replace the cartridge. With Epson, the cost of fixing the heads means that you might as well replace the printer. Still, I have two Epson R380's at the house and like them well. They work on both Linux and the Macs. In fact, the central printer server at my house is an iMac. But I digress.

The HP F4180 plugged in to the Mint 4.0 computer, turned on, appeared in the printer setup menu, configured, and printed all without issue. I clicked on the "Share this Printer" option in the printer setup menu, and then went to my brothers iBook, and set up the printer over there as well, so that now he has a printer for both of his computers.

I installed the Sane stuff with Synaptic, and the scanner checked out just fine as well. Both Xsane and GIMP were able to scan things and save or edit them. Now my forgetting the Epson 1240 was moot.

CD Writer

The CD writer inside the case had failed, and we were using an external, USB attached, generic CD Writer to do that work. My brother wanted to simplify the desk though. Fewer wires laying about. Most of these external USB CD writers are really internal PATA CD drives in a special case, with a special power supply and USB to PATA converter in them. I thought this cheapie CD writer would be like that, and it was. I pulled out the broken CD writer, took the case off the USB CD writer, pulled off the USB to PATA adapter, and installed it in the internal rails. Everything checked out immediately. My operating assumption was that if Linux drove it via USB then via PATA cables was not going to be an issue, but it was nice to see that born out. Now he has a USB/PATA adapter for use with draining data from PATA hard drives, should the need arise.

And Now, the Point

All of this work happened in one day (one small part of day in fact), and was almost trivially easy. Sure, I knew what I was doing going it. I had tried that chipset on Mint already. I knew what kind of printers worked on Linux already. My experience as a Linux person made these upgrades a non-event for my brother. He will now return to happily being a user that can surf the world with Google Earth, print out things, and scan things, and never really know anything about the underlying complexities of it. To him, it will just be a simple computer that does what he needs it to do.

Any vendor supporting Linux can do the same thing, and do it more easily than other OS's because they will have the source code to see how it all works (See my most recent post over at TalkBMC for some thoughts around that).

More evidence that Linux is ready.