[ltp] ATI Driver - Thinkpad T43 w/ X300

noc ops linux-thinkpad@linux-thinkpad.org
Mon, 06 Mar 2006 17:52:57 -0800


noc ops wrote:
> 
> Jiang Qian wrote:
> 
>>On Mon, Mar 06, 2006 at 05:11:28PM -0800, noc ops wrote:
>>
>>
>>>Jiang Qian wrote:
>>>
>>>
>>>>On Mon, Mar 06, 2006 at 04:54:55PM -0800, noc ops wrote:
>>>>
>>>>
>>>>
>>>>>Jiang Qian wrote:
>>>>>
>>>>>
>>>>>
>>>>>>On Mon, Mar 06, 2006 at 04:22:39PM -0800, noc ops wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Looking for some thoughts regarding the driver I'm looking to use for my
>>>>>>>TP T43 w/ x300.
>>>>>>>
>>>>>>>According to ati's website (ati.com), section under
>>>>>>>
>>>>>>>
>>>>>>>Notebooks with ATI Graphics->
>>>>>>>
>>>>>>>ATI Proprietary Linux x86 Display Drivers for XFREE86 / X. Org Version
>>>>>>>8.22.5->
>>>>>>>
>>>>>>>->ati-driver-installer-8.22.5-i386.run
>>>>>>>
>>>>>>>appears to be the most current driver.
>>>>>>
>>>>>>If you don't mind closed source driver tainting your kernel, it works 
>>>>>>pretty well for me with X300. I'm using a version earlier: 8.21.7.  
>>>>>>Stability is very good: I use it with Xorg 8.2 and patched vanilla 
>>>>>>2.6.12.4 and my T43 has very long uptime(30 days to be precise. It 
>>>>>>crashed because I removed the battery to my fridge--longer battery 
>>>>>>time--and my apartment's power failed.) I use suspend to ram a couple of 
>>>>>>times a day so that's about 100 suspend-to-ram cycles(to get it to work 
>>>>>>you need to patch the kernel, though). No random lockup for me though I 
>>>>>>don't play games. 3D is working of course, and the power save mode does 
>>>>>>make my laptop cooler(it's at least comparable and quite possibly better 
>>>>>>than the dynamic clock on open source driver).
>>>>>>Jiang
>>>>>
>>>>>-----------------
>>>>>My current newly installed ubuntu has X.org v6.8.2. I'm guessing I
>>>>>should leave this as is unless people think this is not a stable release.
>>>>>
>>>>>I will go ahead and install ati-driver-installer-8.22.5-i386.run unless
>>>>>you think 8.21.7 is more stable and gives better output.
>>>>>
>>>>>
>>>>>regards,
>>>>>/virendra
>>>>
>>>>Never tried the later version but in my experience ATI didn't have a lot 
>>>>of regression so it's probably safe to get the latest driver. On thing 
>>>>to note: you want to generate the package for your own distribution and 
>>>>then use your own package management to install it.  This is because ati 
>>>>driver install some different library files and symbolic links so that 
>>>>it's best to let your distro to take care of it. See
>>>>http://thinkwiki.org/wiki/Problems_with_fglrx
>>>>for pitfalls for your distro. For example for my own distro I did
>>>>./ati-driver-installer-8.21.7-i386.run --buildpkg Ubuntu/5.04
>>>>It generates five packages. I installed them then compile the kernel 
>>>>modules.
>>>>Jiang
>>>
>>>---------------------
>>>This is how I'm planning on installing the driver. Let me know if I'm
>>>missing anything.
>>>
>>>#sudo apt-get install gcc-3.4 module-assistant build-essential fakeroot
>>>dh-make debconf libstdc++5 gcc-3.3-base
>>>#sudo sh ./ati-driver-installer-8.22.5-i386.run --buildpkg Ubuntu/breezy
>>>#sudo dpkg -i xorg-driver-fglrx_8.22.5-1_i386.deb
>>>#sudo dpkg -i fglrx-control_8.22.5-1_i386.deb
>>>#sudo dpkg -i fglrx-kernel-source_8.22.5-1_i386.deb
>>>#sudo m-a prepare
>>>#sudo m-a update
>>>#sudo m-a a-i fglrx
>>
>>What are the m-a a-i stuff? I did up dpkg -i fglrx-kernel-source part.  
>>Then I did the following:
>>sudo tar xfj fglrx.tar.bz2
>>sudo cd modules
>>sudo chmod u+x make.sh
>>sudo ./make.sh
>>sudo mv fglrx.ko to /lib/modules/yourkernelversion/misc
>>sudo depmod -ae
>>
>>
>>>Do I need to run aitconfig (see below)?
>>
>>No I did not. I backed up my old xorg.conf then I changed
>>Section "Device"
>>Driver "fglrx"
>>Options "VideoOverlay" "on"
>>Options "OpenGLOverlay" "off"
>>Options "UseInternalAGPART" "no"
> 
> -------------------
> The above commands crashes my X. See my xorg.conf
> 
> Section "Device"
>         Identifier      "Generic Video Card"
>         Driver          "fglrx"
> #       Options         "VideoOverlay"          "on"
> #       Options         "OpenGLOverlay"         "off"
> #       Options         "UseInternalAGPART"     "no"
>         BusID           "PCI:1:0:0"
> EndSection
> 
> Section "Monitor"
>         Identifier      "Generic Monitor"
>         Option          "DPMS"
>         HorizSync       28-70
>         VertRefresh     43-60
> EndSection
> 
> Section "Screen"
>         Identifier      "Default Screen"
>         Device          "Generic Video Card"
>         Monitor         "Generic Monitor"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           1
>                 Modes           "1400x1050"
>         EndSubSection
>         SubSection "Display"
>                 Depth           4
>                 Modes           "1400x1050"
>         EndSubSection
>         SubSection "Display"
>                 Depth           8
>                 Modes           "1400x1050"
>         EndSubSection
>         SubSection "Display"
>                 Depth           15
>                 Modes           "1400x1050"
>         EndSubSection
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1400x1050"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1400x1050"
>         EndSubSection
> EndSection
> 
> Section "ServerLayout"
>         Identifier      "Default Layout"
>         Screen          "Default Screen"
>         InputDevice     "Generic Keyboard"
>         InputDevice     "Configured Mouse"
>         InputDevice     "Synaptics Touchpad"
> EndSection
> 
> Section "DRI"
>         Mode    0666
> EndSection
> 
> 
> vrode@ubuntu:~$ glxinfo | grep -i opengl
> or
> vrode@ubuntu:~$ fglrxinfo
> 
> display: :0.0  screen: 0
> OpenGL vendor string: ATI Technologies Inc.
> OpenGL renderer string: MOBILITY RADEON X300 Generic
> OpenGL version string: 2.0.5642 (8.22.5)
> 
> 
> 
> vrode@ubuntu:~$ grep fglrx /var/log/Xorg.0.log
> 
> (II) LoadModule: "fglrx"
> (II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
> (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
> (II) fglrx(0): pEnt->device->identifier=0x8210658
> (II) fglrx(0): === [R200PreInit] === begin, [s]
> (II) fglrx(0): PCI bus 1 card 0 func 0
> (**) fglrx(0): Depth 24, (--) framebuffer bpp 32
> (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
> (==) fglrx(0): Default visual is TrueColor
> (==) fglrx(0): RGB weight 888
> (II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
> (==) fglrx(0): Gamma Correction for I is 0x06419064
> (==) fglrx(0): Gamma Correction for II is 0x06419064
> (==) fglrx(0): Buffer Tiling is ON
> (II) fglrx(0): Primary V_BIOS segment is: 0xc000
> (--) fglrx(0): Chipset: "MOBILITY RADEON X300 (M22 5460)" (Chipset = 0x5460)
> (--) fglrx(0): (PciSubVendor = 0x1014, PciSubDevice = 0x056e)
> (--) fglrx(0): board vendor info: third party graphics adapter - NOT
> original ATI
> (--) fglrx(0): Linear framebuffer (phys) at 0xc0000000
> (--) fglrx(0): MMIO registers at 0xa8100000
> (==) fglrx(0): ROM-BIOS at 0x000c0000
> (II) fglrx(0): VESA BIOS detected
> (II) fglrx(0): VESA VBE Version 2.0
> (II) fglrx(0): VESA VBE Total Mem: 65472 kB
> (II) fglrx(0): VESA VBE OEM: ATI MOBILITY RADEON X600
> (II) fglrx(0): VESA VBE OEM Software Rev: 1.0
> (II) fglrx(0): VESA VBE OEM Vendor: ATI Technologies Inc.
> (II) fglrx(0): VESA VBE OEM Product: CP24
> (II) fglrx(0): VESA VBE OEM Product Rev: 01.00
> (--) fglrx(0): VideoRAM: 65536 kByte, Type: DDR SGRAM / SDRAM
> (II) fglrx(0): PCIE card detected
> (WW) fglrx(0): board is an unknown third party board, chipset is supported
> (II) fglrx(0): Connected Display1: LCD on internal LVDS
> (II) fglrx(0):  Display1: No EDID information from DDC.
> (II) fglrx(0): Derived EDID from BIOS and internal tables for Display1:
> (II) fglrx(0): Display1 EDID data ---------------------------
> (II) fglrx(0): Manufacturer: MS_  Model: 0  Serial#: 0
> (II) fglrx(0): Year: 1990  Week: 0
> (II) fglrx(0): EDID Version: 1.3
> (II) fglrx(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
> (II) fglrx(0): Sync:Serration on. V.Sync Pulse req. if CompSync or
> SyncOnGreen
> (II) fglrx(0): Max H-Image Size [cm]: horiz.: 40  vert.: 30
> (II) fglrx(0): Gamma: 1.00
> (II) fglrx(0): DPMS capabilities: StandBy Suspend Off; Non RGB
> Multicolor Display
> (II) fglrx(0): First detailed timing is preferred mode
> (II) fglrx(0): redX: 0.000 redY: 0.000   greenX: 0.000 greenY: 0.000
> (II) fglrx(0): blueX: 0.000 blueY: 0.000   whiteX: 0.000 whiteY: 0.000
> (II) fglrx(0): Manufacturer's mask: 0
> (II) fglrx(0): Supported additional Video Mode:
> (II) fglrx(0): clock: 85.0 MHz   Image Size:  0 x 0 mm
> (II) fglrx(0): h_active: 1400  h_sync: 1432  h_sync_end 1496 h_blank_end
> 1600 h_border: 0
> (II) fglrx(0): v_active: 1050  v_sync: 1050  v_sync_end 1050 v_blanking:
> 1062 v_border: 0
> (II) fglrx(0): End of Display1 EDID data --------------------
> (WW) fglrx(0): Specified desktop setup not supported: 8
> (II) fglrx(0): Primary Controller - LCD on internal LVDS
> (II) fglrx(0): Internal Desktop Setting: 0x00000004
> (II) fglrx(0): POWERplay version 3.  4 power states available:
> (II) fglrx(0):   1. 297/230MHz @ 50Hz [enable load balancing]
> (II) fglrx(0):   2. 105/122MHz @ 50Hz [low voltage, enable sleep]
> (II) fglrx(0):   3. 250/230MHz @ 50Hz [thermal diode mode]
> (II) fglrx(0):   4. 209/182MHz @ 50Hz [low voltage]
> (==) fglrx(0): Qbs disabled
> (==) fglrx(0): FAST_SWAP disabled
> (==) fglrx(0):  PseudoColor visuals disabled
> (==) fglrx(0): Using gamma correction (1.0, 1.0, 1.0)
> (==) fglrx(0): Center Mode is disabled
> (==) fglrx(0): TMDS coherent mode is enabled
> (II) fglrx(0): Total of 12 modes found for primary display.
> (--) fglrx(0): Virtual size is 1400x1050 (pitch 1408)
> (**) fglrx(0): *Mode "1400x1050": 85.0 MHz (scaled from 0.0 MHz), 53.1
> kHz, 50.0 Hz
> (II) fglrx(0): Modeline "1400x1050"   84.96  1400 1432 1496 1600  1050
> 1051 1052 1062
> (**) fglrx(0):  Default mode "1280x1024": 85.0 MHz (scaled from 0.0
> MHz), 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "1280x1024"   84.96  1280 1376 1432 1600  1024
> 1038 1039 1062
> (**) fglrx(0):  Default mode "1152x864": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "1152x864"   84.96  1152 1344 1384 1600  864 959
> 960 1062
> (**) fglrx(0):  Default mode "1024x768": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "1024x768"   84.96  1024 1264 1312 1600  768 910
> 911 1062
> (**) fglrx(0):  Default mode "800x600": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "800x600"   84.96  800 1144 1192 1600  600 826
> 827 1062
> (**) fglrx(0):  Default mode "640x480": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "640x480"   84.96  640 1064 1112 1600  480 766
> 767 1062
> (**) fglrx(0):  Default mode "640x400": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "640x400"   84.96  640 1064 1112 1600  400 726
> 727 1062
> (**) fglrx(0):  Default mode "640x350": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "640x350"   84.96  640 1088 1128 1600  350 702
> 703 1062
> (**) fglrx(0):  Default mode "512x384": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz
> (II) fglrx(0): Modeline "512x384"   84.96  512 1024 1064 1600  384 719
> 720 1062
> (**) fglrx(0):  Default mode "400x300": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz (D)
> (II) fglrx(0): Modeline "400x300"   84.96  400 968 1008 1600  150 827
> 828 1062 doublescan
> (**) fglrx(0):  Default mode "320x240": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz (D)
> (II) fglrx(0): Modeline "320x240"   84.96  320 928 968 1600  120 767 768
> 1062 doublescan
> (**) fglrx(0):  Default mode "320x200": 85.0 MHz (scaled from 0.0 MHz),
> 53.1 kHz, 50.0 Hz (D)
> (II) fglrx(0): Modeline "320x200"   84.96  320 928 968 1600  100 727 728
> 1062 doublescan
> (--) fglrx(0): Display dimensions: (400, 300) mm
> (--) fglrx(0): DPI set to (88, 88)
> (==) fglrx(0): NoAccel = NO
> (==) fglrx(0): HPV inactive
> (==) fglrx(0): FSAA enabled: NO
> (==) fglrx(0): FSAA Gamma enabled
> (==) fglrx(0): FSAA Multisample Position is fix
> (==) fglrx(0): NoDRI = NO
> (II) Loading sub module "fglrxdrm"
> (II) LoadModule: "fglrxdrm"
> (II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a
> (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
> (II) fglrx(0): Depth moves disabled by default
> (==) fglrx(0): Capabilities: 0x00000000
> (==) fglrx(0): CapabilitiesEx: 0x00000000
> (==) fglrx(0): cpuFlags: 0x8000001d
> (==) fglrx(0): cpuSpeedMHz: 0x0000031e
> (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
> (==) fglrx(0): UseFastTLS=0
> (==) fglrx(0): BlockSignalsOnLock=1
> (==) fglrx(0): EnablePrivateBackZ = NO
> (II) fglrx(0): UMM Bus area:     0xc07ad000 (size=0x03843000)
> (II) fglrx(0): UMM area:     0xc07ad000 (size=0x03843000)
> (II) fglrx(0): driver needs X.org 6.8.x.y with x.y >= 0.0
> (II) fglrx(0): detected X.org 6.8.2.0
> (II) fglrx(0): doing DRIScreenInit
> (II) fglrx(0): [drm] DRM interface version 1.0
> (II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
> (II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0c0c000
> (II) fglrx(0): [drm] mapped SAREA 0xe0c0c000 to 0xb7b2d000
> (II) fglrx(0): [drm] framebuffer handle = 0xc0000000
> (II) fglrx(0): [drm] added 1 reserved context for kernel
> (II) fglrx(0): DRIScreenInit done
> (II) fglrx(0): Kernel Module Version Information:
> (II) fglrx(0):     Name: fglrx
> (II) fglrx(0):     Version: 8.22.5
> (II) fglrx(0):     Date: Feb  7 2006
> (II) fglrx(0):     Desc: ATI FireGL DRM kernel module
> (II) fglrx(0): Kernel Module version matches driver.
> (II) fglrx(0): Kernel Module Build Time Information:
> (II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.12-10-386
> (II) fglrx(0):     Build-Kernel MODVERSIONS:        no
> (II) fglrx(0):     Build-Kernel __SMP__:            no
> (II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
> (II) fglrx(0): [drm] register handle = 0xa8100000
> (II) fglrx(0): [pcie] 65536 kB allocated with handle 0xdeadbeef
> (II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
> (II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
> (II) fglrx(0): [drm] texture shared area handle = 0xe0f0a000
> (II) fglrx(0): shared FSAAScale=1
> (II) fglrx(0): DRI initialization successfull!
> (II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x007ad000
> (II) fglrx(0): Splitting WC range: base: 0xc0000000, size: 0x7ad000
> (II) fglrx(0): Splitting WC range: base: 0xc0400000, size: 0x3ad000
> (II) fglrx(0): Splitting WC range: base: 0xc0600000, size: 0x1ad000
> (II) fglrx(0): Splitting WC range: base: 0xc0700000, size: 0xad000
> (II) fglrx(0): Splitting WC range: base: 0xc0780000, size: 0x2d000
> (II) fglrx(0): Splitting WC range: base: 0xc07a0000, size: 0xd000
> (II) fglrx(0): Splitting WC range: base: 0xc07a8000, size: 0x5000
> (==) fglrx(0): Write-combining range (0xc07ac000,0x1000)
> (==) fglrx(0): Write-combining range (0xc07a8000,0x5000)
> (==) fglrx(0): Write-combining range (0xc07a0000,0xd000)
> (==) fglrx(0): Write-combining range (0xc0780000,0x2d000)
> (==) fglrx(0): Write-combining range (0xc0700000,0xad000)
> (==) fglrx(0): Write-combining range (0xc0600000,0x1ad000)
> (==) fglrx(0): Write-combining range (0xc0400000,0x3ad000)
> (==) fglrx(0): Write-combining range (0xc0000000,0x7ad000)
> (II) fglrx(0): FBMM initialized for area (0,0)-(1408,1429)
> (II) fglrx(0): FBMM auto alloc for area (0,0)-(1408,1050) (front color
> buffer - assumption)
> (==) fglrx(0): Backing store disabled
> (==) fglrx(0): Silken mouse enabled
> (==) fglrx(0): Using hardware cursor (scanline 1056)
> (II) fglrx(0): Largest offscreen area available: 1408 x 365
> (**) fglrx(0): DPMS enabled
> (II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
> (II) fglrx(0): Acceleration enabled
> (II) fglrx(0): X context handle = 0x00000001
> (II) fglrx(0): [DRI] installation complete
> (II) fglrx(0): Direct rendering enabled
> (II) fglrx(0): Interrupt handler installed at IRQ 16
> 
> 
> 
> 
> regards,
> /virendra
----------------
one more thing, w/

#glxgears -iacknowledgethatthistoolisnotabenchmark

I get about 1328 FPS.



regards,
/virendra


> 
> 
> 
> 
> 
>>also disable any mentions of composite and transparency if you added it 
>>to your xorg.conf yourself.
>>Of course you cal also use aticonfig --initial and answer a bunch of 
>>questions and get a xorg.conf but do back up before that.
>>
>>
>>
>>>#sudo aticonfig --initial
>>>
>>>
>>>Please advice.
>>>
>>>
>>>regards,
>>>/virendra
>>>
>>>
>>>
>>>>>>>Has anyone used this driver? If so, is this the correct driver for TP
>>>>>>>T43 w/ X300?
>>>>>>>
>>>>>>>
>>>>>>>Please advice.
>>>>>>>
>>>>>>>
>>>>>>>regards,
>>>>>>>/virendra
>>>>>>>-- 
>>>>>>>The linux-thinkpad mailing list home page is at:
>>>>>>>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>>>>>
>>>>>-- 
>>>>>The linux-thinkpad mailing list home page is at:
>>>>>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>>>
>>>-- 
>>>The linux-thinkpad mailing list home page is at:
>>>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad