ASUS M3A-H/HDMI

From LinuxMCE wiki

Jump to: navigation, search

ASUS M3A-H/HDMI

Below is some info regarding installation. I have it working but it was some trouble to get it working so I hope it is complete.


ASUS M3A-H/HDMI

http://www.asus.com/products.aspx?l1=3&l2=149&l3=639&l4=0&model=2129&modelmenu=2

I use a LG full hd screen and at startup the screen is just not looking good ;-).

What I did is install the latest ATI drivers:

* ssh to your box
* $ sudo apt-get install dpkg-dev debhelper libstdc++5 dkms
* get the latest drivers:
   $wget --no-check-certificate https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/64bit/ati-driver-installer-8-4-x86.x86_64.run


* then I killed some processes:
 * $ sudo killall lmce_launch_manager.sh
 * $ sudo killall  Start_X_Wrapper.sh
* $ sudo apt-get remove nvidia-glx

because of a typo the following does not work: sudo sh ati-driver-installer-8-4-x86.x86_64.run --buildpkg Ubuntu/gutsy


We have to do:

* $ sh ati-driver-installer-8-4-x86.x86_64.run --extract ati-driver
* $ cd ati-driver

modify driver.preinst and driver.postrm and fix the dpkg-diverts. Find the lines where there is a divertion from libGL.so.1 to libGL.so.1.2.xlibmesa (should be around line 71 and 74 for driver.preinst and 28, 32 for driver.postrm) and modify it to libGL.so.1.xlibmesa

* $ sudo sh ati-installer.sh 8.476 --buildpkg Ubuntu/gutsy
* $ sudo dpkg -i fglrx-kernel-source_8.476-0ubuntu1_amd64.deb
* $ sudo dpkg -i xorg-driver-fglrx_8.476-0ubuntu1_amd64.deb
* $ sudo dpkg -i fglrx-amdcccle_8.476-0ubuntu1_amd64.deb
* create a modline for your monitor with gtf. In my case I ran (width height refresh):
  $ gtf 1920 1080 50

which gave me:

 # 1920x1080 @ 50.00 Hz (GTF) hsync: 55.60 kHz; pclk: 141.45 MHz
 Modeline "1920x1080_50.00"  141.45  1920 2032 2232 2544  1080 1081 1084 1112  -HSync +Vsync

So I put it as the modeline in the xorg.conf (the modeline in the Monitor section and refer to it in the screen section with the modes option). I also made sure that fglrx was the driver of the video device.

* Important parts of my /etc/X11/xorg.conf:
Section "Monitor"
        Identifier   "42LF75"
        Option      "DPMS"

  # 1920x1080 @ 50.00 Hz (GTF) hsync: 55.60 kHz; pclk: 141.45 MHz
        Modeline "1920x1080_50.00"  141.45  1920 2032 2232 2544  1080 1081 1084 1112  -HSync +Vsync

        HorizSync       20-500
        VertRefresh     59-61
EndSection

Section "Device"
        Identifier  "ATI Technologies Inc ATI"
        Driver      "fglrx"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "ATI Technologies Inc ATI"
        Monitor    "42LF75"
        DefaultDepth     24
        SubSection "Display"
                Modes           "1920x1080_50.00"
                Virtual         1920 1080
        EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "false"
        Option "RENDER" "true"
EndSection
* I seems that a simlink to the dri is needed:
$ sudo mkdir -p /usr/X11R6/lib64/modules/dri/
$ sudo ln -s /usr/lib/dri/fglrx_dri.so /usr/X11R6/lib64/modules/dri/

- sudo reboot