May 202006
 

I’ve gone back to Ubuntu. I’m convinced that Ubuntu is the best Linux distro in the world for desktops and laptops. After battling with Fedora Core 5 for a month or so I’m 100% convinced of this. Here’s why:

  • Suspend to RAM in Fedora Core never worked correctly, even with the Suspend 2 kernel.
  • Suspend to disk worked most of the time, but sometimes failed.
  • Fedora did not support the IPW2200 series wireless card out of the box.
  • Fedora’s installation now uses logical volumes, which caused major headaches with other distros.
  • Fedora’s configuration made it difficult to control certain things such as GDM control. Furthermore, it didn’t have any support for 915resolution or 855resolution.

There are other things as well, but most of the major pains are these. Ubuntu 6.06 flight 7 worked fine for all of these directly out of the box, with NO configuration (except 915resolution, which I’m used to now).

Ubuntu 6.06 has a great look and feel. It is snappy and responsive and just plain works. Plus, DRI is now working perfectly and I can use OpenGL again. Plus, suspend works great even with DRI enabled, this is great news.

Lastly, I did manage to get the VGA out working in Ubuntu and I’m pretty sure it will work the same in FC5, but I’m never going back again. I’ll put the directions in a separate post.

Apr 292006
 

If you are using the new linux kernel (2.6.x) and remote debugging is slow, there was a change in the kernel that revealed a bug in the JDK with remote debugging. There is a fix thoug by running this command:

sudo /sbin/sysctl -w net.ipv4.tcp_abc=0

This changes the algorithm that breaks up TCP packets (if I recall correctly) and essentially makes sending a ton of tiny packets faster, which is the bug in the Java debugging architecture.

Apr 182006
 

I’ve been trying FC5 on my laptop to see if it fixes any of the software and libraries that were keeping me from running the latest stuff on Ubuntu. I found that it does fix a lot of libraries and also fixes the Intel 855 video driver issue that I was having and now my cards able to be accessed via DRI and OpenGL actually works. Anyways, here’s my summary of FC5 installation:

1. Get the 855resolution from yum or apt or source and install it.
2. Add this line to your /etc/rc.local file:

/usr/sbin/855resolution 7e 1280 800

3. Download the Intel Pro wireless firmware version 2.4 from this website: http://ipw2200.sf.net. There is a firmware link at the top. And you MUST use the 2.4 firmware.
4. Un-tar this into /lib/firmware
5. Reboot

This should be everything you need to do in order to get the widescreen resolution to work and the wireless to work. You still need to configure the wireless setup in the System > Administration > Network application. You will need to create a new device configuration that is a wireless configuration. You will also need to ensure that the firmware was loaded correctly by looking at the “Hardware” tab. The IPW should be listed as a wireless device and not a wired (ethernet) device.

If you get totally sick of yum, because it totally sucks, I would install apt. There is a summary of how to do this here:

http://www.howtoforge.com/perfect_setup_fedora_core_5

Feb 172006
 

EDIT: These instructions are for Ubuntu version 5 and lower! If you are installing Ubuntu 6 and higher, you only need to run a single command:

sudo apt-get install 915resolution

/EDIT

Well, I’ve gone back to Linux and of course it wasn’t pretty. Driver support just will NEVER be as fast as it is for Windows. Sorry but it is true. So, I spent sometime trying not to give up and switch back to Windows.

At first I thought it was my fonts. If you installed linux from 1990-2002 it was always the fonts. I spent sometime installing cleartypes, true types, fixed width, etc. No luck.

Then I noticed that I had this monster f-ing headache and started looking at my display. Everything was blurry and stretched. The icons should have been squares or circles but were rectangles and ovals. I then googled for wide screen laptop and Ubuntu and had to piece through so much crap to figure it out. Plus, nothing I found gave me the trick to getting it all to work, which I finally figured out. Here’s my step by step:

  1. Download 855resolution from http://perso.wanadoo.fr/apoirier/. I think this is also in the universe section of apt.
  2. Ensure you have all the gcc, libgcc, g++, libg++, and dev packages installed. I could step through this, but I won’t because just install ALL of them. Anything that has gcc or cpp or g++ in the name, install it. You’ll save yourself headaches in the future. This includes all -dev packages as well. (Since this is ubuntu, use apt-cache search and apt-get install).
  3. Make and install this as root using the directions from the README.txt in the tarball. Don’t worry about all the other crap, just the Installing section.
  4. Next, I did this the hard way, but you might be able to hack up /etc/init.d/rc or find a chkconfig that works for Ubuntu. I ran out of steam and gave up at this point. Make a script in /etc/init.d that runs the 855resolution executable with the parameters you need to install your resolution to the graphics BIOS. There are a lot of good resources online about how to do this, but essentially you run 855resolution -l and then pick a resolution you will never use and replace it with your real resolution. The Dell 700m has a standard resolution of 1280×800. My script looks like this:
  5. #! /bin/sh
    
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    PROG=/usr/sbin/855resolution
    NAME=855resolution
    DESC=855resolution
    
    test -x $DAEMON || exit 0
    
    set -e
    case "$1" in
      start)
            echo -n "Starting $DESC: "
            $PROG 7d 1280 800
            echo "$NAME."
            ;;
      stop)
            #echo -n "Stopping $DESC: "
            #echo "$NAME."
            ;;
      restart|force-reload)
            #echo -n "Stopping $DESC: "
            #echo "$NAME."
            echo -n "Starting $DESC: "
            $PROG 7d 1280 800
            echo "$NAME."
            ;;
      *)
            N=/etc/init.d/$NAME
            # echo "Usage: $N start" >&2
            echo "Usage: $N start" >&2
            exit 1
            ;;
    esac
    
    exit 0
    
  6. I then added this to my runlevels in /etc/rc[2-5].d as a symlink named S10855resolution. This is the trick! You have to name this using S10 or something lower like S08 in order for it to be run prior to the Ubuntu GDM init script. Since Ubuntu uses a graphical display during startup, it starts GDM pretty early. You need to start 855resolution prior to GDM starting.
  7. If you want to further tweak your display settings. Follow the next steps. Otherwise, reboot and you should have a nice looking Ubuntu Linux install on a wide-screen laptop.
  8. Download this little helper: http://gtf.sourceforge.net/. The website gives compile directions.
  9. Run gtf to get your modeline for your exact video card.
  10. Copy whatever gtf outputs to your /etc/X11/xorg.conf file in the “monitor” section. There should be an existing modeline for your display. You can comment that one out and put in this new one.
  11. Reboot

Hopefully I didn’t miss anything. If you have issues, leave me comments and I can update this post.