Skip to main content

Switching from XFree to X.org

I have finally made the switch from XFree86 to X.org. On Gentoo I pretty much followed the instructions posted on the Gentoo forums. After setting up the font directories correctly i.e., switch from /usr/X11R6/lib/X11/fonts to /usr/share/fonts, KDE was working as usual. There were two problems however:

  • Direct Rendering was disabled on my ATI Radeon 7200.
  • For some reason all the Mozilla apps (Mozilla, Firefox, Thunderbird, etc.) would crash as soon as they started rendering a page

The first problem was unrelated to the X.org upgrade and was just something that I noticed now. It was easily solved by following this email thread. Essentially I had to make sure that the agpgart module was loaded before the radeon module. I have a VIA KLE133 AGP chipset and so in /etc/modules.autoload.d/kernel-2.6, I have the modules specified in this order:

  • agpgart
  • via-agp
  • radeon

With this setup, dmesg should report detection of the AGP chipset first (e.g.: agpgart: Detected VIA KLE133 chipset) followed by initialization of the Radeon card (e.g.: [drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc Radeon R100 QD [Radeon 7200]). Also, since i have an older Radeon card, I didn't have to use the new ATI drivers. OpenGL settings are to use the base X.org implementation i.e., opengl-update xorg-x11 (as opposed to opengl-update ati for the ATI drivers).

On my machine, glxgears now reports a frame rate of around 1005 fps as opposed to the earlier 125fps!

Using strace, I figured out that the problem with Mozilla was that some of the fonts in the /usr/share/fonts/TTF were readable only by root. I made them readable ad now Mozilla is working again.

Comments

Popular posts from this blog

Migrating from Palm Calendar to Google Calendar and iPhone

Here are the free steps to migrate from Palm's date book (or Pimlico's DateBk6 ) calendar to Google calendar for full iPhone sync. First, sync Palm with Palm Desktop . Next, open Palm Desktop, select the Calendar view, navigate to File | Export, select Export Type as Date Book Archive, Range as All and provide a file name. This will export the calendar data as Date Book Archive (.dba). There's a paid tool called DBA2CSV that converts .dba files to .csv files. However this can be done for free using Yahoo Calendar. Login into Yahoo Calendar and via Settings/Import, import the .dba file. It helps to have an empty Yahoo Calendar. Via Settings/Export, export the calendar as .csv file. Login to Google Calendar (also works with Google Apps For Your Domain GAFYD Calendar) and import the .csv file into any of the calendars. It is a good idea to create a test calendar and test the import before importing into your real calendar. That way if anything goes wrong, you can delet...

AD-5526 Digital Multimeter

The AD-5526 is an ancient multimeter from A&D but for $10 one can’t complain. Has all the basic features one would expect from a multimeter and at 5.2 cm X 9.5 cm X 2.6 cm, it’s quite compact. Uses a LRV08 12V alkaline battery – not a common battery in the USA.

Lead Tide SIM Reader

I recently came across a cheap little device for reading SIM cards . It was available from Meritline for less than USD 5 with free shipping. Curious to see what it was like, I ordered one. The device came in a small package along with a mini CD containing drivers. The packaging advertised the device as the LEAD TIDE Sim reader . Like most things these days, it's made in China. The device has a USB 1.1 interface. There was no product code or number anywhere on the packaging. Installing the drivers for the device turned out to be harder than I expected. The mini CD's autorun installed some stuff but Microsoft Windows XP couldn't install any suitable driver for the device. The mini-CD had several top level directories with what appeared to be product codes but I couldn't match any to the device itself since it had no product code. Google searches revealed that I wasn't alone in my endeavors to get the device working . Further digging revealed pointers to some thir...