Chovy’s Blog

Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen

Sat, July 21, 2007 — Category: Linux

After many hours, I figured out how to get my ATI x1650 card working (and learned a lot about xorg) with my 1440×900 Acer AL1917W monitor.

Everybody says “ATI sucks on Linux”…I had a difficult time with Nvidia, so I decided to try it. I found it difficult to get it working, but thanks to some great resources, and a few spare hours on Friday night it works!

Be sure to backup your original xorg.conf file in the case of a major foul up… ‘mv xorg.conf xorg.conf.pre-ati.orig’

First, you need to get the ATI proprietary drivers installed, which suprisingly was relatively painless following this ATI Ubuntu guide.

Be sure to test your results with the ‘fglrxinfo’ command. if you did not get something like this, then go back…because you probably made a mistake.

Make sure you make the required xorg.conf changes described above (read through it a few times first, you’ll save yourself a headache if you try to skim through).

“Method 1″ worked fine for me…short of breaking kde-guidance…which now gives me an “orphaned command module” error.


$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: Radeon X1650 Series
OpenGL version string: 2.0.6334 (8.34.8)

After doing that, you may need to do some manual modifications of xorg.conf. Most of the xorg.conf file generated by the ATI driver install mentioned above puts all the Identifiers as “aticonfig-SECTION[0]” where “SECTION” refers to one of “Monitor, Screen, or Device”.

One thing I was disgruntled with was that the above ATI driver installation broke kde-guidance pkg…the “Monitor and Display” interface for “Control Center” in KDE.

This was a bit tiresome trying to fix, so I gave up and figured out to change all resolutions in the following files to reflect 1440×900. I couldn’t find any good info on “orphaned command module” errors…so I gave up and continued to manually change my settings…


$ cd ~/.kde/share/config
$ grep -rl '1440' .

#I inspected them all, but the potential culprits were:
./kdeglobals
./systemsettingsrc
./displayconfigrc
./khelpcenterrc
./kinfocenterrc
./kcontrolrc

Definitely, change ./displayconfigrc, as I believe that is what gets written when you modify your desktop display settings. The others were mostly default window sizes, which you can always adjust once you log back in to the desktop.

The follow block is near the top of xorg.conf and is where you set the defintions to be used. In theory, you could simply add new configurations to the file without deleting your old (and is probably a good idea). I eventually deleted all my old junk since I already made a hardcopy of the entire file.

This portion should have been generated for you in the ATI installations steps to follow mentioned earlier.


Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "aticonfig-Screen[0]" 0 0
        InputDevice    "Generic Keyboard"
        InputDevice    "Configured Mouse"
        InputDevice    "stylus" "SendCoreEvents"
        InputDevice    "cursor" "SendCoreEvents"
        InputDevice    "eraser" "SendCoreEvents"
EndSection

The chain of command goes something like:


ServerLayout -> Screen -> Monitor (and/or Device)

..as far as controlling which Sections to load in xorg.conf by default (it finally started to make sense!).

Below is my relevant “Screen” section:


Section "Screen"
        Identifier "aticonfig-Screen[0]"
        Device     "aticonfig-Device[0]"
        Monitor    "aticonfig-Monitor[0]"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                #16:9 aspect ratios
                Modes   "1440x900" "1366×768" "1280x720" "1024x576"
        EndSubSection
EndSection

Above I added the “Modes” that my monitor would support. This gives us somewhat of a strict control over what Xorg will do…and without it, good luck finding the menu, because mine was off screen at 1980×1400 or something.

In the event your screen or desktop is “hosed”, always remember “ctrl+alt+delete (or backspace)” will dump you back into the console…so you can re-edit xorg.conf.

You can use the handy command-line utility ‘gtf’ to generate the proper Modelines for xorg.conf for the desired resolution (see: ‘man gtf’ for more info):


$ gtf 1440 900 60

  # 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
  Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync

This goes in the relevant “Monitor” section in xorg.conf. I’m not entirely sure if this is necessary. I read somewhere that it is used to override auto-detection, so I figured put it in anyway.

Below is my relevant xorg.conf “Monitor” section with a few modifications:


Section "Monitor"
        Identifier   "aticonfig-Monitor[0]"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"

        #Option     "Preferred Mode" "1280x720_60"
        #Option     "Preferred Mode" "1368x768_60"
        Option      "Preferred Mode" "1440x900_60"

        # gtf => 1280x720 @ 60.00 Hz (GTF) hsync: 44.76 kHz; pclk: 74.48 MHz
        # Modeline "1280x720_60.00"  74.48  1280 1336 1472 1664  720 721 724 746  -HSync +Vsync

        # gtf => 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
        #Modeline "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync

        #gtf => 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
        Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync

EndSection

One thing I am unsure of is running at something smaller than 1440×900 and still use the entire screen dimensions of the monitor. When I tried doing this, I lost screen space….”black bars” on left and right, top and bottom.

Update: Ironically, after I got it all squared away and running, as I finish writing this post I went back to check the verbage for the kde-guidance error, and it now works!. Resolution is still at 640×480 but I won’t mess with that, it is obvious incorrect.

  • Post Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to del.icio.us
  • Post Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to digg
  • Post Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to Furl
  • Add Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to YahooMyWeb
  • Simpify!
  • Post Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to shadows
  • Post Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to Spurl
  • Post Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to BuddyMarks
  • Submit Installing ATI x1650 drivers on Kubuntu with 1440×900 LCD Screen to Slashdot

4 Comments »

Comment by rayjlim

July 21, 2007 @ 1:39 pm

Dude, sorry you had problems w/ Nvidia. I installed Ubuntu on my Sony Vaio laptop w/ an Nvidia graphics card and had no problems. Almost Too easy.

Comment by chovy

August 1, 2007 @ 10:24 am

Hi Ray,

Good to see someone is actually reading my blog besides me :)

Most of my problems were with getting the OpenGL to work properly along with xorg.conf.

I think it would have been about the same, and I do have another nVidia card to install on my Gentoo box, of which I will probably write about as well.

Comment by Joe

August 31, 2007 @ 9:09 pm

Sorry, could you repeat that, I wasn’t really reading your blog the first time you mentioned it. ;)

lol, j/k, I am actually right now trying to find info on whether or not I can use a decimal in the Horizsync and VertRefresh options and your blog came up on google when I looked for xorg.conf on a AL1917W, anyways, I am an experienced linux user and just recently decided to add two monitors on one system since I just started using them at work and have had a spare monitor at home for a while. So I will find an answer tonight, probably in 5 mins, but you might want to answer as well just for anyone else who reads your blog.

Cheers,
Joe Tole

Trackback by Forex.

October 30, 2007 @ 8:06 am

Comparison forex brokers….

Forex instructions. Forex 100 minimum 400 1. Forex ebooks. Managed forex account. Forex day trading. Forex….

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

 
Keyword Advertisers:
SEO Directory SEO Links Free Link Directory Shopping Submission Directory Gardening Tips Political Forum Search Engine Optimization Search Engine Marketing Audio Video Directory SEO Forum Web Development Blog Organic SEO Wiki Web Development Consulting

Learn more about purchasing keyword text link ads on this site.