[ltp] Solved (partly): Radeon PCI works faster, but without TCL ;-)

André Wyrwa linux-thinkpad@linux-thinkpad.org
Sat, 10 Jan 2004 01:46:32 +0100


Hi,

I'm glad I can tell that my problem almost vanished:

> browsing the DRI pages again, i fiddled a bit with the environment
> variables and found that setting R200_NO_TCL results in rates above 500
> fps. I even got 600 fps once.
> 
> But, of course disabling TCL results in some ugly effects, mostly
> objects touching the border of their visual getting deleted (best case)
> or loosing parts of them (very very ugly).

I recompiled Xfree86 4.3.99.902 without any optimization and did put
some export R200_NO_TCL into my /etc/profiles.

Now glxgears runs nicely with a little below 600 fps and the ugly
effects don't show up anymore either.

So the problem was TCL on the one side (still don't quite understand
that) and my optimization (-O2 -march=pentium3 -fomit-frame-pointers
-mmmx -msse -mfpmath=sse) on the other.

The idea that it might be related to optimization came from reading on
the DRI pages that Mesa uses mmx/sse optimization for TCL functionality.

glxgears framerate, btw, was little under 700 fps with optimization
enabled, but i'm willing to have this 100 fps tradeoff for getting rid
of the sideeffects.


This is now the most weird setup I've ever had and it works so great
that I'm once again amazed by the Thinkpad technology and the linux
support:

- Thinkpad T23, featuring:
  - PIII 1.13 GHz
  - 756 MB RAM
  - 40 GB HD
  - UltraBay DVD drive
  - UltraCam (bit buggy, but working)
- 2631 type dock, featuring
  - cheap fake key (got the dock without one and fake was 3,-eur ;-) )
  - ATI Radeon 9000 PCI (now with reasonable DRI support) with an
    external NEC TFT Panel (which unfortunately doesn't feature DVI)
  - UltraBay CDRW drive (TEAC CD-W28E in a CD-Roms UltraBay frame)
  - Sony ClieGear CompactFlash WiFi Card in PCMCIA port via CardCaddy
  - Canon PowerShot S30 (every now and then connected through USB)
  - UltraBay 2000 floppy externally connected
  - Wacom DigitizerII tablet, connected through serial port

Still remaining problems:

- trying to switch to VT hangs X (problem with the radeon driver)
- hibernation still not implemented
- bios suspend has known problems and only gives a beep when docked
- parallel port ZIP drive seems not to like the dock (neither in widows)
- broken ACPI support
- unfortunately i got a model without internal antennas


Thanks again for all your help so far.

Andre.