<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bgoglin</id>
	<title>ThinkWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.thinkwiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bgoglin"/>
	<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/wiki/Special:Contributions/Bgoglin"/>
	<updated>2026-06-09T23:54:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=R300&amp;diff=22622</id>
		<title>R300</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=R300&amp;diff=22622"/>
		<updated>2006-06-04T21:06:19Z</updated>

		<summary type="html">&lt;p&gt;Bgoglin: works on T43p too&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== R300 drivers with DRI support ==&lt;br /&gt;
In post-2.6.13 development kernels (and also 2.6.13-mm3), DRM support for the [http://r300.sourceforge.net/ R300] chips from ATI has been included. Together with a bleeding-edge version of [http://www.mesa3d.org/ Mesa] (at least 6.3.2), this will allow 3D acceleration support for systems having a chip like this without the need for the ATI binary only driver ([[Fglrx]]). The latest beta releases of [http://www.x.org/ X.Org] for 6.9/7.0 already have Mesa 6.3.2, but building the R300 DRI drivers is disabled by default.&lt;br /&gt;
&lt;br /&gt;
== Kernel configuration ==&lt;br /&gt;
You need to build AGP support with&lt;br /&gt;
   # CONFIG_AGP=y&lt;br /&gt;
   # CONFIG_AGP_INTEL=y  #for a ThinkPad T41p&lt;br /&gt;
and the Radeon DRM support with &lt;br /&gt;
   # CONFIG_DRM=y&lt;br /&gt;
   # CONFIG_DRM_RADEON=y&lt;br /&gt;
Alternatively, can also build modules instead of including the code into the kernel. The modules will then be automatically loaded when X starts up.&lt;br /&gt;
&lt;br /&gt;
If everything works well, the device /dev/dri/card0 should show up.&lt;br /&gt;
&lt;br /&gt;
== Mesa ==&lt;br /&gt;
If your distribution does not offer binary packages of the current Mesa development packages, you need to build them yourself. It might also be possible that the DRI driver is included in your X.Org packages, just look out for a file like {{path|/usr/X11R6/lib/modules/dri/r300_dri.so}}.&lt;br /&gt;
&lt;br /&gt;
== X configuration ==&lt;br /&gt;
You will need to load the dri and GLcore extensions with&lt;br /&gt;
   # Section &amp;quot;Module&amp;quot;&lt;br /&gt;
   #    ...&lt;br /&gt;
   #    module &amp;quot;dri&amp;quot;&lt;br /&gt;
   #    module &amp;quot;GLcore&amp;quot;&lt;br /&gt;
   #    ...&lt;br /&gt;
   # EndSection&lt;br /&gt;
Note: In Xorg 7.0 you don't need to load GLCore manually anmore&lt;br /&gt;
&lt;br /&gt;
My radeon configuration looks like this&lt;br /&gt;
   # Section &amp;quot;Device&amp;quot;&lt;br /&gt;
   #    Identifier  &amp;quot;firegl&amp;quot;&lt;br /&gt;
   #    Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
   #    BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
   #    ....&lt;br /&gt;
   #    Option      &amp;quot;AGPFastWrite&amp;quot;  &amp;quot;off&amp;quot; # &amp;quot;on&amp;quot; freezes my laptop&lt;br /&gt;
   #    Option      &amp;quot;AGPMode&amp;quot;       &amp;quot;4&amp;quot; # this value depends on your hardware, this one is for a T41p&lt;br /&gt;
   #    Option      &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
   #    Option      &amp;quot;ColorTiling&amp;quot;   &amp;quot;on&amp;quot;&lt;br /&gt;
   # EndSection&lt;br /&gt;
&lt;br /&gt;
X will silently ignore if DRI cannot be activated for your card, so you should check yor X logfile. Just search for DRI and/or DRM. Afterwards, you might want to do the usual glxinfo/glxgears magic.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
*{{Debian}} Packages: http://packages.debian.org/libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Performance ==&lt;br /&gt;
With 2.6.14-rc1 + Mesa 6.3.2, glxgears (the one and only Linux 3D benchmark) gives ~2200 FPS on my ThinkPad T41p with a FireGL Mobility T2 and a 1.7GHz Pentium M, 1GB RAM.&lt;br /&gt;
&lt;br /&gt;
There is to note that the Color-depth has great effect on this value.&lt;br /&gt;
on my R50p with 24Bit I get about 2k fps, with 16Bit i get about 1k-1.5k fps&lt;br /&gt;
&lt;br /&gt;
With 2.6.15 + Mesa 6.3.2, glxgears gives ~1480 FPS on a ThinkPad T43 with a Radeon Mobility X300 and a 1.86GHz Pentium M, 512MB RAM, when AGPMode=8, EnablePageFlip=on, AGPFastWrite=on and RenderAccel=on. Adding AccelMethod=EXA reduces to 700 FPS but makes the Composite Extension be usable.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
* Useful thread about two possible gotchas in Ubuntu Dapper: http://www.ubuntuforums.org/showthread.php?t=110008&amp;amp;page=5 (in short: mv /usr/X11R6/lib/modules/dri /usr/X11R6/lib/modules/dri.old;ln -s /usr/lib/dri /usr/X11R6/lib/modules/dri;apt-get remove --purge xorg-driver-fglrx)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Useful links ==&lt;br /&gt;
* [http://r300.sourceforge.net The original R300 development page]&lt;br /&gt;
* [http://www.mesa3d.org Mesa 3D graphics library]&lt;br /&gt;
* [http://wiki.x.org/wiki/ChangesSince68 Rough changelog for X.Org 6.9]&lt;br /&gt;
&lt;br /&gt;
== ThinkPads that may be supported ==&lt;br /&gt;
Supported chips, as found in select IBM ThinkPads (please add your own ones!):&lt;br /&gt;
* [[ATI Mobility FireGL T2]]&lt;br /&gt;
** {{R50p}}&lt;br /&gt;
** {{T41p}}, {{T42p}}&lt;br /&gt;
* [[ATI Mobility Radeon X300]]&lt;br /&gt;
** {{R52}}&lt;br /&gt;
** {{T43}}&lt;br /&gt;
** {{Z60m}}&lt;br /&gt;
* [[ATI Mobility FireGL M24 1T]]&lt;br /&gt;
** {{T43p}}&lt;/div&gt;</summary>
		<author><name>Bgoglin</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=Additional_options_for_the_radeon_driver&amp;diff=18094</id>
		<title>Additional options for the radeon driver</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=Additional_options_for_the_radeon_driver&amp;diff=18094"/>
		<updated>2006-01-15T19:33:00Z</updated>

		<summary type="html">&lt;p&gt;Bgoglin: ColorTiling, EnablePageFlip, AccelMethod&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Options for the radeon driver are documented on the radeon(4x) man page.&lt;br /&gt;
&lt;br /&gt;
==External Monitors==&lt;br /&gt;
You can use '''MergedFB''' to provide dualhead '''Xinerama'''-like setups. MergedFB's pseudo-Xinerama is not Xorg server's Xinerama. You don't have to enable Xorg server's Xinerama to use MergedFB's pseudo-Xinerama. However, applications compiled with Xinerama support (Gentoo users USE=&amp;quot;xinerama&amp;quot;) can interpret pseudo-Xinerama hints, for example, to maximize to a single monitor instead of spanning two monitors.&lt;br /&gt;
&lt;br /&gt;
The following (partial) '''Xorg''' config will make the Radeon card use '''1024x768''' on the internal lcd display and '''1280x1024''' on the external ('''Note''': only one screen/monitor section is needed (it controls the setup of the internal monitor) even though we have two displays):&lt;br /&gt;
'''N.B.:''' Modes used in the ''MetaModes'' also have to be present in the ''screen'' modes section.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
         Identifier      &amp;quot;ATI&amp;quot;&lt;br /&gt;
         Driver          &amp;quot;radeon&amp;quot;&lt;br /&gt;
         '''# accelration'''&lt;br /&gt;
         Option          &amp;quot;AGPMode&amp;quot; &amp;quot;4&amp;quot;&lt;br /&gt;
         Option          &amp;quot;EnablePageFlip&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         Option          &amp;quot;RenderAccel&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         '''# enable (partial) PowerPlay features'''&lt;br /&gt;
         Option          &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         '''# use bios hot keys on thinkpad (aka fn+f7)'''&lt;br /&gt;
         Option          &amp;quot;BIOSHotkeys&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
         '''# enable radeon specific xinerama'''&lt;br /&gt;
         Option          &amp;quot;MergedFB&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
         Option          &amp;quot;CRT2Position&amp;quot; &amp;quot;RightOf&amp;quot;&lt;br /&gt;
         Option          &amp;quot;CRT2Hsync&amp;quot; &amp;quot;50-75&amp;quot;&lt;br /&gt;
         Option          &amp;quot;CRT2VRefresh&amp;quot; &amp;quot;30-82&amp;quot;&lt;br /&gt;
         Option          &amp;quot;MetaModes&amp;quot; &amp;quot;1024x768-1280x1024&amp;quot;&lt;br /&gt;
         Option          &amp;quot;MergedNonRectangular&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
         BusID           &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;InternalLCD&amp;quot;&lt;br /&gt;
         Option &amp;quot;DPMS&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
         Identifier &amp;quot;Default Screen&amp;quot;&lt;br /&gt;
         Device &amp;quot;ATI&amp;quot;&lt;br /&gt;
         Monitor &amp;quot;InternalLCD&amp;quot;&lt;br /&gt;
         DefaultDepth 24&lt;br /&gt;
         SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                 Depth 24&lt;br /&gt;
                 Modes &amp;quot;1024x768&amp;quot;&lt;br /&gt;
         EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note: The '''CRT2''' directives always applies for the external monitore regardless of type (LCD, CRT...). The option '''MergedNonRectangular''' is needed to force the screens into two different sizes.&lt;br /&gt;
&lt;br /&gt;
===External Monitors and Docking Stations/Port Replicators===&lt;br /&gt;
I seems that '''Xorg''' incorectly discovers the external displays when connected to a docking station/port replicator - the only solution to this problem (at least that I know of) is to start the laptop (and boot all the way into X) prior to inserting it in the dock.&lt;br /&gt;
&lt;br /&gt;
It also happens that if you are attempting to use the mergedFB trick to&lt;br /&gt;
do dual head with out a docking station, you have to start X on the laptop&lt;br /&gt;
LCD first, then plug a monitor into the VGA port.  If the external monitor&lt;br /&gt;
is already plugged in, the internal LCD will be blank.&lt;br /&gt;
&lt;br /&gt;
==AGP speed==&lt;br /&gt;
&lt;br /&gt;
By default, the open source radeon driver forces 1x AGP speed. Quote from the developers:&lt;br /&gt;
&lt;br /&gt;
 tuning to the highest speed possible has caused hangs on some boxes, with no&lt;br /&gt;
 discernable pattern, so we default to 'slow but safe' whilst giving the option&lt;br /&gt;
 to go fast if the user wants to try it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Higher speeds can be enabled by adding '''Option &amp;quot;AGPMode&amp;quot; &amp;quot;X&amp;quot;''' (where X is a number) in the '''Device''' section in {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
        VendorName  &amp;quot;IBM Thinkpad&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATIdd Mobility FireGL 7800&amp;quot;&lt;br /&gt;
        '''Option      &amp;quot;AGPMode&amp;quot; &amp;quot;4&amp;quot;'''&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With this option enabled (set to 4x speed), the X11 server should print ({{path|/var/log/Xorg.0.log}}):&lt;br /&gt;
&lt;br /&gt;
 (**) RADEON(0): Option &amp;quot;AGPMode&amp;quot; &amp;quot;4&amp;quot;&lt;br /&gt;
 (**) RADEON(0): Using AGP 4x mode&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==AGP Fast Writes==&lt;br /&gt;
&lt;br /&gt;
By default, the open source radeon driver disables AGP Fast Writes. Fast Writes can be enabled by adding '''Option &amp;quot;AGPFastWrite&amp;quot; &amp;quot;yes&amp;quot;''' in the '''Device''' section in {{path|/etc/X11/xorg.conf}}.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
        VendorName  &amp;quot;IBM Thinkpad&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Mobility FireGL 7800&amp;quot;&lt;br /&gt;
        '''Option      &amp;quot;AGPFastWrite&amp;quot; &amp;quot;yes&amp;quot;'''&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Dynamic Clock scaling==&lt;br /&gt;
&lt;br /&gt;
Please see:&lt;br /&gt;
&lt;br /&gt;
*[[How to make use of Graphics Chips Power Management features]] &amp;lt;tt&amp;gt;(save even more battery power)&amp;lt;/tt&amp;gt;&lt;br /&gt;
*[https://bugs.freedesktop.org/show_bug.cgi?id=2187 Xorg bug] &amp;lt;tt&amp;gt;DynamicClocks may hang your machine&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Color Tiling==&lt;br /&gt;
&lt;br /&gt;
ColorTiling is supposed to be enabled by default. But, it looks like setting it explicitely to &amp;quot;on&amp;quot; increases the FPS in glxgears.&lt;br /&gt;
&lt;br /&gt;
         Option          &amp;quot;ColorTiling&amp;quot;   &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Acceleration Architecture==&lt;br /&gt;
&lt;br /&gt;
By default, the XAA architecture is used. EXA is newer and supposed to have better performance. It looks like it reduces the FPS in glxgears (maybe because it disables Page Flip) but makes the Composite extension be fast.&lt;br /&gt;
&lt;br /&gt;
        Option          &amp;quot;AccelMethod&amp;quot;   &amp;quot;EXA&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Page Flip==&lt;br /&gt;
&lt;br /&gt;
Page Flip increases performance but is not always supported. It will be disabled if the EXA architecture is used.&lt;br /&gt;
&lt;br /&gt;
         Option          &amp;quot;EnablePageFlip&amp;quot;        &amp;quot;on&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Related Links ==&lt;br /&gt;
*[http://www.x.org/X11R6.8.2/doc/radeon.4.html xorg 6.8.2 Radeon manual page]&lt;/div&gt;</summary>
		<author><name>Bgoglin</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=R300&amp;diff=18091</id>
		<title>R300</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=R300&amp;diff=18091"/>
		<updated>2006-01-15T19:16:35Z</updated>

		<summary type="html">&lt;p&gt;Bgoglin: performance on T43&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== R300 drivers with DRI support ==&lt;br /&gt;
In post-2.6.13 development kernels (and also 2.6.13-mm3), DRM support for the [http://r300.sourceforge.net/ R300] chips from ATI has been included. Together with a bleeding-edge version of [http://www.mesa3d.org/ Mesa] (at least 6.3.2), this will allow 3D acceleration support for systems having a chip like this without the need for the ATI binary only driver ([[Fglrx]]). The latest beta releases of [http://www.x.org/ X.Org] for 6.9/7.0 already have Mesa 6.3.2, but building the R300 DRI drivers is disabled by default.&lt;br /&gt;
&lt;br /&gt;
== Kernel configuration ==&lt;br /&gt;
You need to build AGP support with&lt;br /&gt;
   # CONFIG_AGP=y&lt;br /&gt;
   # CONFIG_AGP_INTEL=y  #for a ThinkPad T41p&lt;br /&gt;
and the Radeon DRM support with &lt;br /&gt;
   # CONFIG_DRM=y&lt;br /&gt;
   # CONFIG_DRM_RADEON=y&lt;br /&gt;
Alternatively, can also build modules instead of including the code into the kernel. The modules will then be automatically loaded when X starts up.&lt;br /&gt;
&lt;br /&gt;
If everything works well, the device /dev/dri/card0 should show up.&lt;br /&gt;
&lt;br /&gt;
== Mesa ==&lt;br /&gt;
If your distribution does not offer binary packages of the current Mesa development packages, you need to build them yourself. It might also be possible that the DRI driver is included in your X.Org packages, just look out for a file like {{path|/usr/X11R6/lib/modules/dri/r300_dri.so}}.&lt;br /&gt;
&lt;br /&gt;
== X configuration ==&lt;br /&gt;
You will need to load the dri and GLcore extensions with&lt;br /&gt;
   # Section &amp;quot;Module&amp;quot;&lt;br /&gt;
   #    ...&lt;br /&gt;
   #    module &amp;quot;dri&amp;quot;&lt;br /&gt;
   #    module &amp;quot;GLcore&amp;quot;&lt;br /&gt;
   #    ...&lt;br /&gt;
   # EndSection&lt;br /&gt;
&lt;br /&gt;
My radeon configuration looks like this&lt;br /&gt;
   # Section &amp;quot;Device&amp;quot;&lt;br /&gt;
   #    Identifier  &amp;quot;firegl&amp;quot;&lt;br /&gt;
   #    Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
   #    BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
   #    ....&lt;br /&gt;
   #    Option      &amp;quot;AGPFastWrite&amp;quot;  &amp;quot;off&amp;quot; # &amp;quot;on&amp;quot; freezes my laptop&lt;br /&gt;
   #    Option      &amp;quot;AGPMode&amp;quot;       &amp;quot;4&amp;quot; # this value depends on your hardware, this one is for a T41p&lt;br /&gt;
   #    Option      &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
   #    Option      &amp;quot;ColorTiling&amp;quot;   &amp;quot;on&amp;quot;&lt;br /&gt;
   # EndSection&lt;br /&gt;
&lt;br /&gt;
X will silently ignore if DRI cannot be activated for your card, so you should check yor X logfile. Just search for DRI and/or DRM. Afterwards, you might want to do the usual glxinfo/glxgears magic.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
*{{Debian}} Packages: http://packages.debian.org/libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Performance ==&lt;br /&gt;
With 2.6.14-rc1 + Mesa 6.3.2, glxgears (the one and only Linux 3D benchmark) gives ~2200 FPS on my ThinkPad T41p with a FireGL Mobility T2 and a 1.7GHz Pentium M, 1GB RAM.&lt;br /&gt;
&lt;br /&gt;
There is to note that the Color-depth has great effect on this value.&lt;br /&gt;
on my R50p with 24Bit I get about 2k fps, with 16Bit i get about 1k-1.5k fps&lt;br /&gt;
&lt;br /&gt;
With 2.6.15 + Mesa 6.3.2, glxgears gives ~1480 FPS on a ThinkPad T43 with a Radeon Mobility X300 and a 1.86GHz Pentium M, 512MB RAM, when AGPMode=8, EnablePageFlip=on, AGPFastWrite=on and RenderAccel=on. Adding AccelMethod=EXA reduces to 700 FPS but makes the Composite Extension be usable.&lt;br /&gt;
&lt;br /&gt;
== Useful links ==&lt;br /&gt;
* [http://r300.sourceforge.net The original R300 development page]&lt;br /&gt;
* [http://www.mesa3d.org Mesa 3D graphics library]&lt;br /&gt;
* [http://wiki.x.org/wiki/ChangesSince68 Rough changelog for X.Org 6.9]&lt;br /&gt;
&lt;br /&gt;
== ThinkPads that may be supported ==&lt;br /&gt;
Supported chips, as found in select IBM ThinkPads (please add your own ones!):&lt;br /&gt;
* [[ATI Mobility FireGL T2]]&lt;br /&gt;
** {{R50p}}&lt;br /&gt;
** {{T41p}}, {{T42p}}&lt;br /&gt;
* [[ATI Mobility Radeon X300]]&lt;br /&gt;
** {{R52}}&lt;br /&gt;
** {{T43}}&lt;br /&gt;
** {{Z60m}}&lt;/div&gt;</summary>
		<author><name>Bgoglin</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=ATI_Mobility_Radeon_X300&amp;diff=14409</id>
		<title>ATI Mobility Radeon X300</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=ATI_Mobility_Radeon_X300&amp;diff=14409"/>
		<updated>2006-01-08T22:10:45Z</updated>

		<summary type="html">&lt;p&gt;Bgoglin: r300 works with xorg 6.9.0&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin: 0; margin-right:10px; border: 1px solid #dfdfdf; padding: 0em 1em 1em 1em; background-color:#F8F8FF; align:right;&amp;quot;&amp;gt;&lt;br /&gt;
=== ATI Mobility Radeon X300 ===&lt;br /&gt;
This is an ATI video adapter&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* Chipset: ATI M22&lt;br /&gt;
* PCI ID: 1002:5460&lt;br /&gt;
* PCI Express x16&lt;br /&gt;
* 32 or 64MB GDDR1 on-chip video memory&lt;br /&gt;
* &amp;quot;HyperMemory&amp;quot;: can use system memory for graphics processing&lt;br /&gt;
* &amp;quot;PowerPlay 4.0&amp;quot; technology for dynamic engine clock, memory clock and core voltage, refresh rate reduction and thermal status reporting.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|style=&amp;quot;vertical-align:top&amp;quot; |&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See [http://www.ati.com/products/radeonx300/specs.html specifications] from ATI, as well as the [http://www.ati.com/products/embedded/mobilityradeonx300/M22-CSP64_Product_Snapshot.pdf &amp;quot;snapshot&amp;quot; data sheet] (referes to the 32MB on-chip, 128MB &amp;quot;HyperMemory&amp;quot; version).&lt;br /&gt;
&lt;br /&gt;
=== Linux driver ===&lt;br /&gt;
Use Driver &amp;quot;radeon&amp;quot; in the xorg.conf file - it works at least for xorg 6.8.2, maybe older versions too. xorg 6.8.2 will only give you 2D-acceleration, though. To enable 3D acceleration as well you need to use xorg 6.9.0 or later. It uses 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 a little bit experimental and may not support all features.&lt;br /&gt;
&lt;br /&gt;
You may also use the binary ATI driver [[fglrx]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== ThinkPad LCD ====&lt;br /&gt;
Display on the internal LCD works as long as you set the monitor settings correct.&lt;br /&gt;
&lt;br /&gt;
==== External VGA port ====&lt;br /&gt;
There are known problems. Both the &amp;lt;tt&amp;gt;radeon&amp;lt;/tt&amp;gt; and [[fglrx]] drivers turn off the switching between internal and external port.&lt;br /&gt;
&lt;br /&gt;
=====With the &amp;lt;tt&amp;gt;vesa&amp;lt;/tt&amp;gt; driver=====&lt;br /&gt;
Using the &amp;quot;vesa&amp;quot; driver built into X.org, mode switching modes. However, this loses acceleration and some capabilities.&lt;br /&gt;
&lt;br /&gt;
=====With the &amp;lt;tt&amp;gt;radeon&amp;lt;/tt&amp;gt; driver=====&lt;br /&gt;
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}}:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Videocard0&amp;quot;&lt;br /&gt;
        VendorName  &amp;quot;Videocard vendor&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Radeon Mobility X300&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
        Option      &amp;quot;MergedFB&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
        Option      &amp;quot;MonitorLayout&amp;quot; &amp;quot;LVDS, CRT&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CRT2Hsync&amp;quot; &amp;quot;50-75&amp;quot;&lt;br /&gt;
        Option      &amp;quot;CRT2VRefresh&amp;quot; &amp;quot;50-82&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note that without the &amp;lt;tt&amp;gt;MonitorLayout&amp;lt;/tt&amp;gt; option, if the external monitor is connected when X starts then the LCD will be deactivated and you will need to restart X. &lt;br /&gt;
&lt;br /&gt;
(Tested wth Fedora Core 4 on ThinkPad {{T43}}).&lt;br /&gt;
&lt;br /&gt;
See also the related discussion about [[Additional options for the radeon driver]].&lt;br /&gt;
&lt;br /&gt;
=====With the [[fglrx]] driver=====&lt;br /&gt;
On-the-fly switching doesn't work either. To use both ports, either have the monitor connected during X startup, or force activation of both ports by adding&lt;br /&gt;
 Option  &amp;quot;ForceMonitors&amp;quot; &amp;quot;lvds,crt1&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}}. Powering the CRT port consumes 400-500mW, regardless of whether a CRT is attached.&lt;br /&gt;
&lt;br /&gt;
==== S-Video port (TV-out) ====&lt;br /&gt;
&lt;br /&gt;
Works with the proprietary [[fglrx]] driver (as of version 8.19.10). To activate, add&lt;br /&gt;
 Option  &amp;quot;ForceMonitors&amp;quot; &amp;quot;lvds,tv&amp;quot;&lt;br /&gt;
to the &amp;lt;tt&amp;gt;Device&amp;lt;/tt&amp;gt; section in your {{path|/etc/X11/xorg.conf}} and restart X.&lt;br /&gt;
&lt;br /&gt;
==== DVI port ====&lt;br /&gt;
??&lt;br /&gt;
&lt;br /&gt;
=== 3D acceleration ===&lt;br /&gt;
OpenGL 3D acceleration is provided by the proprietary [[fglrx]] driver (when DRI is enabled). Note that performance is affected by the power saving mode.&lt;br /&gt;
&lt;br /&gt;
=== Linux kernel Framebuffer driver ===&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
=== Clock rates, voltage and power===&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+ Clock rates, voltages and power {{footnote|1}}&lt;br /&gt;
! Mode !! core freq !! memory freq !! voltage !! idle !! 3DMarks (Windows, 1600x1200, LCD only)&lt;br /&gt;
|-&lt;br /&gt;
| Performance || 300 || 230 MHz || 1.15V || 2.98 W || 8.28 W&lt;br /&gt;
|-&lt;br /&gt;
| Balanced || 183 || 210 MHz || 1.00V || 1.71 W || 3.88 W&lt;br /&gt;
|-&lt;br /&gt;
| Battery || 120 || 105 MHz || 1.00V || 1.61 W || 2.74 W&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot;&lt;br /&gt;
|+ ATI drivers for Windows {{footnote|2}} and [[fglrx]]&lt;br /&gt;
! Mode !! core freq !! memory freq&lt;br /&gt;
|-&lt;br /&gt;
| Performance || 297.00 || 229.50&lt;br /&gt;
|-&lt;br /&gt;
| Balanced || 209.25 || 182.25&lt;br /&gt;
|-&lt;br /&gt;
| Battery || 104.63 || 121.50&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Experimentally, the difference between the Performance and Battery settings under Linux with the &amp;lt;tt&amp;gt;radeon&amp;lt;/tt&amp;gt; driver and &amp;lt;tt&amp;gt;DynamicClocks&amp;lt;/tt&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
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|&amp;lt;tt&amp;gt;DynamicClocks&amp;lt;/tt&amp;gt; option to the &amp;lt;tt&amp;gt;radeon&amp;lt;/tt&amp;gt; driver]] and or the [[fglrx]] driver.&lt;br /&gt;
&lt;br /&gt;
Presently the lowest idle-mode power consumption is achieved using the proprietary [[fglrx]] driver and &lt;br /&gt;
 # aticonfig  --set-powerstate=1 --effective=now&lt;br /&gt;
&lt;br /&gt;
=== ThinkPads this chip may be found in ===&lt;br /&gt;
* {{R52}}&lt;br /&gt;
* {{T43}}&lt;br /&gt;
* {{Z60m}}&lt;br /&gt;
&lt;br /&gt;
{{footnotes|&lt;br /&gt;
#according to the [http://www.ati.com/products/embedded/mobilityradeonx300/M22-CSP64_Product_Snapshot.pdf &amp;quot;Snapshot&amp;quot; data sheet] (which refers to the 32MB on-chip, 128MB &amp;quot;HyperMemory&amp;quot; version)&lt;br /&gt;
#inspected using [http://www.pbus-167.com/chc.htm Notebook Hardware Control]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Components]]&lt;/div&gt;</summary>
		<author><name>Bgoglin</name></author>
		
	</entry>
	<entry>
		<id>https://www.thinkwiki.org/w/index.php?title=R300&amp;diff=14381</id>
		<title>R300</title>
		<link rel="alternate" type="text/html" href="https://www.thinkwiki.org/w/index.php?title=R300&amp;diff=14381"/>
		<updated>2006-01-07T21:06:14Z</updated>

		<summary type="html">&lt;p&gt;Bgoglin: works on T43 too&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== R300 drivers with DRI support ==&lt;br /&gt;
In post-2.6.13 development kernels (and also 2.6.13-mm3), DRM support for the [http://r300.sourceforge.net/ R300] chips from ATI has been included. Together with a bleeding-edge version of [http://www.mesa3d.org/ Mesa] (at least 6.3.2), this will allow 3D acceleration support for systems having a chip like this without the need for the ATI binary only driver ([[Fglrx]]). The latest beta releases of [http://www.x.org/ X.Org] for 6.9/7.0 already have Mesa 6.3.2, but building the R300 DRI drivers is disabled by default.&lt;br /&gt;
&lt;br /&gt;
== Kernel configuration ==&lt;br /&gt;
You need to build AGP support with&lt;br /&gt;
   # CONFIG_AGP=y&lt;br /&gt;
   # CONFIG_AGP_INTEL=y  #for a ThinkPad T41p&lt;br /&gt;
and the Radeon DRM support with &lt;br /&gt;
   # CONFIG_DRM=y&lt;br /&gt;
   # CONFIG_DRM_RADEON=y&lt;br /&gt;
Alternatively, can also build modules instead of including the code into the kernel. The modules will then be automatically loaded when X starts up.&lt;br /&gt;
&lt;br /&gt;
If everything works well, the device /dev/dri/card0 should show up.&lt;br /&gt;
&lt;br /&gt;
== Mesa ==&lt;br /&gt;
If your distribution does not offer binary packages of the current Mesa development packages, you need to build them yourself. It might also be possible that the DRI driver is included in your X.Org packages, just look out for a file like /usr/X11R6/lib/modules/dri/r300_dri.so.&lt;br /&gt;
&lt;br /&gt;
== X configuration ==&lt;br /&gt;
You will need to load the dri and GLcore extensions with&lt;br /&gt;
   # Section &amp;quot;Module&amp;quot;&lt;br /&gt;
   #    ...&lt;br /&gt;
   #    module &amp;quot;dri&amp;quot;&lt;br /&gt;
   #    module &amp;quot;GLcore&amp;quot;&lt;br /&gt;
   #    ...&lt;br /&gt;
   # EndSection&lt;br /&gt;
&lt;br /&gt;
My radeon configuration looks like this&lt;br /&gt;
   # Section &amp;quot;Device&amp;quot;&lt;br /&gt;
   #    Identifier  &amp;quot;firegl&amp;quot;&lt;br /&gt;
   #    Driver      &amp;quot;radeon&amp;quot;&lt;br /&gt;
   #    BusID       &amp;quot;PCI:1:0:0&amp;quot;&lt;br /&gt;
   #    ....&lt;br /&gt;
   #    Option      &amp;quot;AGPFastWrite&amp;quot;  &amp;quot;off&amp;quot; # &amp;quot;on&amp;quot; freezes my laptop&lt;br /&gt;
   #    Option      &amp;quot;AGPMode&amp;quot;       &amp;quot;4&amp;quot; # this value depends on your hardware, this one is for a T41p&lt;br /&gt;
   #    Option      &amp;quot;DynamicClocks&amp;quot; &amp;quot;on&amp;quot;&lt;br /&gt;
   #    Option      &amp;quot;ColorTiling&amp;quot;   &amp;quot;on&amp;quot;&lt;br /&gt;
   # EndSection&lt;br /&gt;
&lt;br /&gt;
X will silently ignore if DRI cannot be activated for your card, so you should check yor X logfile. Just search for DRI and/or DRM. Afterwards, you might want to do the usual glxinfo/glxgears magic.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
*{{Debian}} Packages: http://packages.debian.org/libgl1-mesa-dri&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Performance ==&lt;br /&gt;
With 2.6.14-rc1 + Mesa 6.3.2, glxgears (the one and only Linux 3D benchmark) gives ~2200 FPS on my ThinkPad T41p with a FireGL Mobility T2 and a 1.7GHz Pentium M, 1GB RAM.&lt;br /&gt;
&lt;br /&gt;
There is to note that the Color-depth has great effect on this value.&lt;br /&gt;
on my R50p with 24Bit I get about 2k fps, with 16Bit i get about 1k-1.5k fps&lt;br /&gt;
&lt;br /&gt;
== Useful links ==&lt;br /&gt;
* [http://r300.sourceforge.net The original R300 development page]&lt;br /&gt;
* [http://www.mesa3d.org Mesa 3D graphics library]&lt;br /&gt;
* [http://wiki.x.org/wiki/ChangesSince68 Rough changelog for X.Org 6.9]&lt;br /&gt;
&lt;br /&gt;
== ThinkPads that may be supported ==&lt;br /&gt;
Supported chips, as found in select IBM ThinkPads (please add your own ones!):&lt;br /&gt;
* [[ATI Mobility FireGL T2]]&lt;br /&gt;
** {{T41p}}, {{T42p}}, {{R50p}}&lt;br /&gt;
* [[ATI Technologies Inc M22 (Radeon Mobility M300)]]&lt;br /&gt;
** {{T43}}&lt;/div&gt;</summary>
		<author><name>Bgoglin</name></author>
		
	</entry>
</feed>