Difference between revisions of "ATI Mobility Radeon X300"

From ThinkWiki
Jump to: navigation, search
(Linux driver)
(changed category)
 
(52 intermediate revisions by 20 users not shown)
Line 3: Line 3:
 
|style="vertical-align:top" |
 
|style="vertical-align:top" |
 
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
 
<div style="margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;">
=== ATI Mobility Radeon X300 ===
+
 
This is a ATI video adapter
+
This is an ATI video adapter
=== Features ===
+
 
 +
== Features ==
 
* Chipset: ATI M22
 
* Chipset: ATI M22
 
* PCI ID: 1002:5460
 
* PCI ID: 1002:5460
 
* PCI Express x16
 
* PCI Express x16
* 32 or 128MB GDDR1 video memory
+
* 32 or 64MB GDDR1 on-chip video memory
 +
* [[HyperMemory]] can use system memory for graphics processing - 128MB or 256MB, depending on driver version. The original Windows driver used 128MB;later versions use up to 256MB. This may depend on the amount of RAM installed in the Thinkpad.
 +
* "PowerPlay 4.0" technology for dynamic engine clock, memory clock and core voltage, refresh rate reduction and thermal status reporting.
 
</div>
 
</div>
 
|style="vertical-align:top" |
 
|style="vertical-align:top" |
 
|}
 
|}
  
=== Linux driver ===
+
== X.org drivers ==
Use Driver "radeon" in the xorg.conf file - it works at least for xorg 6.8.2, maybe older versions too. Currently (as of xorg 6.8.2) this will only give you 2D-acceleration, though. To enbable 3D acceleration as well you need to use the binary ATI driver [[fglrx]].
 
  
There is also an open source Radeon [http://r300.sf.net/ driver] with 3D acceleration support (merged into [http://dri.freedesktop.org here] recently), but it's still highly experimental and does not support all features.
+
The X.org [[radeon]] driver works well and support 2D acceleration and some other functionality such as basic power amangement. In conjunction with the [[r300]] DRI driver, [[radeon]] also provides 3D acceleration (the latter is not yet stable). ATI provides [[fglrx]], a closed-source Linux-only alternative which adds some functionality such as TV output and advanced power amangement (but has its own stability issues).
  
==== ThinkPad LCD ====
+
=== ThinkPad LCD ===
 
Display on the internal LCD works as long as you set the monitor settings correct.
 
Display on the internal LCD works as long as you set the monitor settings correct.
  
==== External VGA port ====
+
=== External VGA port ===
There are known problems. The driver from ATI turns off the switching between internal and external port.
+
There are known problems. Both the [[radeon]] and [[fglrx]] drivers turn off the switching between internal and external port.
 
 
Workarounds
 
* Don't use the ATI driver if you want to use this feature - use the VESA driver instead.
 
* Start X without an external monitor, and then connect the external monitor. Both displays will be active, and cannot be switched off until you exit X. To have a reasona ble refresh rate on the external monitor (the default is the LCD's 50Hz), use the following in {{path|/etc/X11/xorg.conf}}:
 
 
 
  
==== External VGA port ====
+
==== <tt>vesa</tt> driver ====
There are known problems. The driver from ATI turns off the switching between internal and external port.
+
Using the [[vesa]] driver built into X.org, mode switching modes. However, this loses acceleration and some capabilities.
  
To make switching with, use the "vesa" driver built into X.org instead of the ATI or "radeon" drivers. This loses acceleration and some capabilities.
+
==== <tt>radeon</tt> driver ====
 
+
On-the-fly swiching doesn't work. To activate both ports in clone mode with a reasonable CRT refresh rate, use the following in {{path|/etc/X11/xorg.conf}}:
Alternatively, start X without an external monitor, and then connect the external monitor. Both displays will be active, and cannot be switched off until you exit X. Note that if the external monitor is connected when X starts, the LCD will be deactivated and you will need to restart X. To have a reasonable refresh rate on the external monitor (the default is the LCD's 50Hz), use the following in {{path|/etc/X11/xorg.conf}}:
 
  
 
  Section "Device"
 
  Section "Device"
Identifier  "Videocard0"
+
        Identifier  "Videocard0"
VendorName  "Videocard vendor"
+
        VendorName  "Videocard vendor"
BoardName  "ATI Radeon Mobility X300"
+
        BoardName  "ATI Radeon Mobility X300"
 
   
 
   
Driver      "radeon"
+
        Driver      "radeon"
Option      "DynamicClocks" "on"
+
        Option      "DynamicClocks" "on"
 
   
 
   
Option      "MergedFB" "on"
+
        Option      "MergedFB" "on"
Option      "CRT2Hsync" "50-75"
+
        Option      "MonitorLayout" "LVDS, CRT"
Option      "CRT2VRefresh" "30-82"
+
        Option      "CRT2Hsync" "50-75"
 +
        Option      "CRT2VRefresh" "50-82"
 
  EndSection
 
  EndSection
  
(Tested wth Fedora Core 4 on ThinkPad T43).
+
Note that without the <tt>MonitorLayout</tt> option, if the external monitor is connected when X starts then the LCD will be deactivated and you will need to restart X.
 +
 
 +
(Tested wth Fedora Core 4 on ThinkPad {{T43}}).
  
 
See also the related discussion about [[Additional options for the radeon driver]].
 
See also the related discussion about [[Additional options for the radeon driver]].
  
==== S-Video port (TV-out) ====
+
==== [[fglrx]] driver ====
Linux support status is unknown.
+
On-the-fly works with <tt>aticonfig</tt> in the newest Drivers, see [[Fglrx#Display_Switching_.28Dynamic_Display_Management.29|Display Switching]]. Additionally, to use both ports there is the possibility to either have the monitor connected during X startup, or force activation of both ports by adding
 +
Option  "ForceMonitors" "lvds,crt1"
 +
to the <tt>Device</tt> section in your {{path|/etc/X11/xorg.conf}}. Powering the CRT port consumes 400-500mW, regardless of whether a CRT is attached.
  
There is some generic advise [http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html#4_tvout here] about making it work using the proprietary [[Fglrx]] driver.
+
=== S-Video port (TV-out) ===
  
==== DVI port ====
+
Works with the <b>proprietary</b> [[fglrx]] driver (as of version 8.19.10). To activate, add
??
+
Option  "ForceMonitors" "lvds,tv"
 +
to the <tt>Device</tt> section in your {{path|/etc/X11/xorg.conf}} and restart X.
  
=== Proprietary ATI driver ===
 
The [[fglrx]] driver adds 3D acceleration.
 
  
=== Linux kernel Framebuffer driver ===
+
<s>It also might work with <b>opensource</b> [[R300]] and the [http://bugs.gentoo.org/show_bug.cgi?id=127642 following] patch </s><br>
 +
Use xorg opensource [[R300]] driver version 6.7 and later in order to enable S-Video.
 +
 
 +
=== DVI port ===
 +
Works fine with the [[RandR 1.2]] [[radeon]] driver. The DVI connector is available only through a docking station or port replicator.
 +
 
 +
== 3D acceleration ==
 +
OpenGL 3D acceleration is provided by the proprietary [[fglrx]] driver (when DRI is enabled). Note that performance is affected by the power saving mode.
 +
 
 +
The open source <tt>r300</tt> [[DRM]] module also aims to provide 3D acceleration. This currently requires the CVS/GIT versions of [[X.org]], [[DRM]] and [[Mesa]], and has been observed to occasionally crash (e.g., when running Google Earth or <tt>ppracer</tt>on a {{T43}}). You can [[How to compile an experimental X server|install it experimentally]] for testing.
 +
 
 +
== Linux kernel Framebuffer driver ==
  
 
radeonfb might cause problems with hardware acceleration under X on some systems, vesafb and vesafb-tng on the other hand has been reported to work just fine.
 
radeonfb might cause problems with hardware acceleration under X on some systems, vesafb and vesafb-tng on the other hand has been reported to work just fine.
  
=== ThinkPad's this chip may be found in ===
+
== Clock rates, voltage and power==
 +
{| border="1" cellspacing="0" cellpadding="2"
 +
|+ Clock rates, voltages and power {{footnote|1}}
 +
! Mode !! core freq !! memory freq !! voltage !! idle !! 3DMarks (Windows, 1600x1200, LCD only)
 +
|-
 +
| Performance || 300 || 230 MHz || 1.15V || 2.98 W || 8.28 W
 +
|-
 +
| Balanced || 183 || 210 MHz || 1.00V || 1.71 W || 3.88 W
 +
|-
 +
| Battery || 120 || 105 MHz || 1.00V || 1.61 W || 2.74 W
 +
|}
 +
 
 +
 
 +
{| border="1" cellspacing="0" cellpadding="2"
 +
|+ ATI drivers for Windows {{footnote|2}} and [[fglrx]]
 +
! Mode !! core freq !! memory freq
 +
|-
 +
| Performance || 297.00 || 229.50
 +
|-
 +
| Balanced || 209.25 || 182.25
 +
|-
 +
| Battery || 104.63 || 121.50
 +
|}
 +
 
 +
 
 +
Experimentally, the difference between the Performance and Battery settings under Linux with the <tt>radeon</tt> driver and <tt>DynamicClocks</tt> enabled is roughly 0.3W and 3-4 degrees in GPU temperature on a ThinkPad {{T43}}. Further frequency reduction leads to display flickering or corruption.
 +
 
 +
See [[How to make use of Graphics Chips Power Management features]] for details on how to control this using [[Rovclock]], [[How to make use of Graphics Chips Power Management features|<tt>DynamicClocks</tt> option to the <tt>radeon</tt> driver]] and or the [[fglrx]] driver.
 +
 
 +
Presently the lowest idle-mode power consumption is achieved using the proprietary [[fglrx]] driver and
 +
# aticonfig  --set-powerstate=1 --effective=now
 +
 
 +
== ThinkPads this chip may be found in ==
 
* {{R52}}
 
* {{R52}}
 
* {{T43}}
 
* {{T43}}
 
* {{Z60m}}
 
* {{Z60m}}
  
[[Category:Components]]
+
== External links ==
 +
* [http://www.ati.com/products/radeonx300/specs.html ATI X300 specifications] from ATI
 +
* [http://www.ati.com/products/embedded/mobilityradeonx300/M22-CSP64_Product_Snapshot.pdf "snapshot" data sheet] (refers to the 32MB on-chip, 128MB "HyperMemory" version).
 +
 
 +
{{footnotes|
 +
#according to the [http://www.ati.com/products/embedded/mobilityradeonx300/M22-CSP64_Product_Snapshot.pdf "Snapshot" data sheet] (which refers to the 32MB on-chip, 128MB "HyperMemory" version)
 +
#inspected using [http://www.pbus-167.com/chc.htm Notebook Hardware Control]
 +
}}
 +
 
 +
[[Category:Video Controllers]]

Latest revision as of 13:52, 22 January 2021

This is an ATI video adapter

Features

  • Chipset: ATI M22
  • PCI ID: 1002:5460
  • PCI Express x16
  • 32 or 64MB GDDR1 on-chip video memory
  • HyperMemory can use system memory for graphics processing - 128MB or 256MB, depending on driver version. The original Windows driver used 128MB;later versions use up to 256MB. This may depend on the amount of RAM installed in the Thinkpad.
  • "PowerPlay 4.0" technology for dynamic engine clock, memory clock and core voltage, refresh rate reduction and thermal status reporting.

X.org drivers

The X.org radeon driver works well and support 2D acceleration and some other functionality such as basic power amangement. In conjunction with the r300 DRI driver, radeon also provides 3D acceleration (the latter is not yet stable). ATI provides fglrx, a closed-source Linux-only alternative which adds some functionality such as TV output and advanced power amangement (but has its own stability issues).

ThinkPad LCD

Display on the internal LCD works as long as you set the monitor settings correct.

External VGA port

There are known problems. Both the radeon and fglrx drivers turn off the switching between internal and external port.

vesa driver

Using the vesa driver built into X.org, mode switching modes. However, this loses acceleration and some capabilities.

radeon driver

On-the-fly swiching doesn't work. To activate both ports in clone mode with a reasonable CRT refresh rate, use the following in /etc/X11/xorg.conf:

Section "Device"
       Identifier  "Videocard0"
       VendorName  "Videocard vendor"
       BoardName   "ATI Radeon Mobility X300"

       Driver      "radeon"
       Option      "DynamicClocks" "on"

       Option      "MergedFB" "on"
       Option      "MonitorLayout" "LVDS, CRT"
       Option      "CRT2Hsync" "50-75"
       Option      "CRT2VRefresh" "50-82"
EndSection

Note that without the MonitorLayout option, if the external monitor is connected when X starts then the LCD will be deactivated and you will need to restart X.

(Tested wth Fedora Core 4 on ThinkPad T43).

See also the related discussion about Additional options for the radeon driver.

fglrx driver

On-the-fly works with aticonfig in the newest Drivers, see Display Switching. Additionally, to use both ports there is the possibility to either have the monitor connected during X startup, or force activation of both ports by adding

Option  "ForceMonitors" "lvds,crt1"

to the Device section in your /etc/X11/xorg.conf. Powering the CRT port consumes 400-500mW, regardless of whether a CRT is attached.

S-Video port (TV-out)

Works with the proprietary fglrx driver (as of version 8.19.10). To activate, add

Option  "ForceMonitors" "lvds,tv"

to the Device section in your /etc/X11/xorg.conf and restart X.


It also might work with opensource R300 and the following patch
Use xorg opensource R300 driver version 6.7 and later in order to enable S-Video.

DVI port

Works fine with the RandR 1.2 radeon driver. The DVI connector is available only through a docking station or port replicator.

3D acceleration

OpenGL 3D acceleration is provided by the proprietary fglrx driver (when DRI is enabled). Note that performance is affected by the power saving mode.

The open source r300 DRM module also aims to provide 3D acceleration. This currently requires the CVS/GIT versions of X.org, DRM and Mesa, and has been observed to occasionally crash (e.g., when running Google Earth or ppraceron a T43). You can install it experimentally for testing.

Linux kernel Framebuffer driver

radeonfb might cause problems with hardware acceleration under X on some systems, vesafb and vesafb-tng on the other hand has been reported to work just fine.

Clock rates, voltage and power

Clock rates, voltages and power 1
Mode core freq memory freq voltage idle 3DMarks (Windows, 1600x1200, LCD only)
Performance 300 230 MHz 1.15V 2.98 W 8.28 W
Balanced 183 210 MHz 1.00V 1.71 W 3.88 W
Battery 120 105 MHz 1.00V 1.61 W 2.74 W


ATI drivers for Windows 2 and fglrx
Mode core freq memory freq
Performance 297.00 229.50
Balanced 209.25 182.25
Battery 104.63 121.50


Experimentally, the difference between the Performance and Battery settings under Linux with the radeon driver and DynamicClocks enabled is roughly 0.3W and 3-4 degrees in GPU temperature on a ThinkPad T43. Further frequency reduction leads to display flickering or corruption.

See How to make use of Graphics Chips Power Management features for details on how to control this using Rovclock, DynamicClocks option to the radeon driver and or the fglrx driver.

Presently the lowest idle-mode power consumption is achieved using the proprietary fglrx driver and

# aticonfig  --set-powerstate=1 --effective=now

ThinkPads this chip may be found in

External links


FOOTNOTES [Δ]
  1. according to the "Snapshot" data sheet (which refers to the 32MB on-chip, 128MB "HyperMemory" version)
  2. inspected using Notebook Hardware Control