2D Acceleration not used using ATI Rage Mobility P/M AGP 2x

2003-11-07 Thread Salvio Sergi
Hi,

I posted this on dri-users and have been suggested to post here...

Everything starts fine with no errors (as you can see from the logs).

The problem I have is that I don't think I have 2D acceleration.

The simple test I do is to just drag a window on the screen... the
redraw is extremely slow and the CPU is maxed out (only when I move
the windows)
This means (I guess) that I do not have 2D acceleration. You can
actually see the redraw happening... really slow.
To add to that, at the time I had windows 2000 server installed on
that machine (Laptop Dell Latitude CPxj, now a Linux only system)
the windows could be moved around really fast so it can't be a
limitation of the hardware.
CPU is a pentium 3 some 600Mhz - 512 MB memory - less than 200MB
used by the system, no swap space used.
I have also tried other colour depths as well as different screen
resolutions (I think I tried all possible permutations): always
with the same results.
I finally tried Accel on and off with no apparent consequence
(same speed)
Thanks,
Salvio
# XFree86 4 configuration created by redhat-config-xfree86

Section ServerLayout
Identifier Default Layout
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files

# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like .txt or .db).  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath  /usr/X11R6/lib/X11/rgb
FontPath unix/:7100
EndSection

Section Module
Load  dbe
Load  extmod
Load  fbdevhw
Load  glx
Load  record
Load  freetype
Load  type1
Load  dri
EndSection

Section InputDevice

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#   Option  Xleds 1 2 3
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#   Option  XkbDisable
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#   Option  XkbModel  pc102
# If you have a US Microsoft Natural keyboard, you can use:
#   Option  XkbModel  microsoft
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#   Option  XkbLayout de
# or:
#   Option  XkbLayout de
#   Option  XkbVariantnodeadkeys
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#   Option  XkbOptionsctrl:swapcaps
# Or if you just want both to be control, use:
#   Option  XkbOptionsctrl:nocaps
#
Identifier  Keyboard0
Driver  keyboard
Option  XkbRules xfree86
Option  XkbModel pc105
Option  XkbLayout gb
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol PS/2
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5
Option  Emulate3Buttons no
EndSection

Section InputDevice

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier  DevInputMice
Driver  mouse
Option  Protocol IMPS/2
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5
Option  Emulate3Buttons no
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameUnknown monitor
HorizSync31.5 - 37.9
VertRefresh  50.0 - 70.0
Option  dpms
EndSection

Section Device
Identifier  Videocard0
Driver  ati
VendorName  Videocard vendor
BoardName   ATI Rage Mobility
VideoRam8192
EndSection

Section Screen
Identifier Screen0
Device Videocard0
MonitorMonitor0
DefaultDepth 16
SubSection Display
Depth 16
Modes1024x768
EndSubSection
EndSection

Section DRI
Group0
Mode 0666
EndSection


XFree86 Version 4.3.0 (Red Hat Linux release: 4.3.0-2)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-3bigmem i686 [ELF] 
Build Date: 27 February 2003
Build Host: porky.devel.redhat.com
 
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.4.20-20.9 ([EMAIL PROTECTED]) (gcc version 3.2.2 20030222 
(Red Hat Linux 3.2.2-5)) #1 Mon Aug 18 

[XFree86] 2D Acceleration not working (nor 3D)

2003-11-05 Thread Salvio Sergi
I have installed Red Hat 9 on both a Latitude CPj and an Inspiron 5100.

These are vanilla installations - none of the two has 2D acceleration 
(and no 3D either)

I have tried the drivers found at xig.com on the Latitude with no 
success (installation was ok but no improvement).

I have also tried dri.sourceforge.net without luck.

Are my cards supported at all?
On the Latitude: ATI Rage Mobility P/M AGP 2x (rev 64)
On the Inspiron: Radeon 7500 (Mobility as well)
Following are some more details on what I have on my Latitude (test 
system, I can mess around with it):



XF86Config
==
...
Section Module
   Load  dbe
   Load  extmod
   Load  fbdevhw
   Load  glx
   Load  record
   Load  freetype
   Load  type1
   Load  dri
EndSection
...
Section Monitor
   Identifier   Monitor0
   VendorName   Monitor Vendor
   ModelNameUnknown monitor
   HorizSync31.5 - 37.9
   VertRefresh  50.0 - 70.0
   Option  dpms
EndSection
Section Device
   Identifier  Videocard0
   Driver  ati
   VendorName  Videocard vendor
   BoardName   ATI Rage Mobility
   VideoRam8192
EndSection
  
   
Section Screen
   Identifier Screen0
   Device Videocard0
   MonitorMonitor0
   DefaultDepth 16
   SubSection Display
   Depth 16
   Modes1024x768
   EndSubSection
EndSection
  
   
Section DRI
   Group0
   Mode 0666
EndSection

Output of lspci
===
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M AGP 2x (rev 64) (prog-if 00 [VGA])
   Subsystem: Dell Computer Corporation: Unknown device 00bb
   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
   Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
TAbort- TAbort- MAbort- SERR- PERR-
   Latency: 32 (2000ns min), cache line size 08
   Interrupt: pin A routed to IRQ 11
   Region 0: Memory at fd00 (32-bit, non-prefetchable) [size=16M]
   Region 1: I/O ports at ec00 [size=256]
   Region 2: Memory at fcfff000 (32-bit, non-prefetchable) [size=4K]
   Expansion ROM at unassigned [disabled] [size=128K]
   Capabilities: [50] AGP version 1.0
   Status: RQ=255 SBA+ 64bit- FW- Rate=x1,x2
   Command: RQ=0 SBA- AGP- 64bit- FW- Rate=none
   Capabilities: [5c] Power Management version 1
   Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
   Status: D0 PME-Enable- DSel=0 DScale=0 PME-


XFree86.0.log
=
(II) ATI(0): VESA BIOS detected
(II) ATI(0): VESA VBE Version 2.0
(II) ATI(0): VESA VBE Total Mem: 8128 kB
(II) ATI(0): VESA VBE OEM: ATI MACH64
(II) ATI(0): VESA VBE OEM Software Rev: 1.0
(II) ATI(0): VESA VBE OEM Vendor: ATI Technologies Inc.
(II) ATI(0): VESA VBE OEM Product: MACH64RM
(II) ATI(0): VESA VBE OEM Product Rev: 01.00
(II) ATI(0): VESA VBE DDC supported
(II) ATI(0): VESA VBE DDC Level none
(II) ATI(0): VESA VBE DDC transfer in appr. 2 sec.
(II) ATI(0): VESA VBE DDC read failed
(--) ATI(0): ATI 3D Rage Mobility graphics controller detected.
(--) ATI(0): Chip type 4C4D LM, version 4, foundry TSMC, class 0,
revision 0x01.
(--) ATI(0): AGP bus interface detected;  block I/O base is 0xEC00.
(--) ATI(0): ATI Mach64 adapter detected.
(!!) ATI(0): For information on using the multimedia capabilities
   of this adapter, please see http://gatos.sf.net.
(--) ATI(0): Internal RAMDAC (subtype 1) detected.
(==) ATI(0): RGB weight 565
(==) ATI(0): Default visual is TrueColor
(==) ATI(0): Using gamma correction (1.0, 1.0, 1.0)
(II) ATI(0): Using Mach64 accelerator CRTC.
(--) ATI(0): 1024x768 panel (ID 2) detected.
(--) ATI(0): Panel model Samsung LT141X4-156.
(--) ATI(0): Panel clock is 65.146 MHz.
(II) ATI(0): Using digital flat panel interface.
(II) ATI(0): Storing hardware cursor image at 0xFD7FFC00.
(II) ATI(0): Using 8 MB linear aperture at 0xFD00.
(!!) ATI(0): Virtual resolutions will be limited to 8191 kB
due to linear aperture size and/or placement of hardware cursor image
area.
(II) ATI(0): Using Block 0 MMIO aperture at 0xFCFFF400.
(II) ATI(0): Using Block 1 MMIO aperture at 0xFCFFF000.
(==) ATI(0): Write-combining range (0xfd00,0x80)
(II) ATI(0): MMIO write caching enabled.
(--) ATI(0): 8192 kB of SDRAM (1:1) detected (using 8191 kB).
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(II) ATI(0): Engine XCLK 124.453 MHz;  Refresh rate code 12.
(--) ATI(0): Internal programmable clock generator detected.
(--) ATI(0): Reference clock 29.500 MHz.
(!!) ATI(0): Conflicting XF86Config HorizSync specification(s) ignored.
(WW) ATI(0): Extraneous XF86Config VertRefresh 

[XFree86] 2D Acceleration not working (nor 3D)

2003-11-05 Thread Salvio Sergi
Hi All,

apologies if this gets posted twice...

I have installed Red Hat 9 on two laptops: a Latitude CPj and an 
Inspiron 5100.

These are vanilla installations - none of the two has 2D acceleration 
(and no 3D either).

I have tried the drivers found at xig.com on the Latitude with no 
success (installation was ok but no improvement).
I have also tried dri.sourceforge.net without luck.

Are my cards supported at all?
On the Latitude: ATI Rage Mobility P/M AGP 2x (rev 64)
On the Inspiron: Radeon 7500 (Mobility as well)
Any advise / suggestions are welcome.
Salvio
Following are some more details on what I have on my Latitude (test 
system, I can mess around with it):

XF86Config
==
...
Section Module
  Load  dbe
  Load  extmod
  Load  fbdevhw
  Load  glx
  Load  record
  Load  freetype
  Load  type1
  Load  dri
EndSection
...
Section Monitor
  Identifier   Monitor0
  VendorName   Monitor Vendor
  ModelNameUnknown monitor
  HorizSync31.5 - 37.9
  VertRefresh  50.0 - 70.0
  Option  dpms
EndSection
Section Device
  Identifier  Videocard0
  Driver  ati
  VendorName  Videocard vendor
  BoardName   ATI Rage Mobility
  VideoRam8192
EndSection
 
  Section Screen
  Identifier Screen0
  Device Videocard0
  MonitorMonitor0
  DefaultDepth 16
  SubSection Display
  Depth 16
  Modes1024x768
  EndSubSection
EndSection
 
  Section DRI
  Group0
  Mode 0666
EndSection

Output of lspci
===
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility
P/M AGP 2x (rev 64) (prog-if 00 [VGA])
  Subsystem: Dell Computer Corporation: Unknown device 00bb
  Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping+ SERR- FastB2B-
  Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium
TAbort- TAbort- MAbort- SERR- PERR-
  Latency: 32 (2000ns min), cache line size 08
  Interrupt: pin A routed to IRQ 11
  Region 0: Memory at fd00 (32-bit, non-prefetchable) [size=16M]
  Region 1: I/O ports at ec00 [size=256]
  Region 2: Memory at fcfff000 (32-bit, non-prefetchable) [size=4K]
  Expansion ROM at unassigned [disabled] [size=128K]
  Capabilities: [50] AGP version 1.0
  Status: RQ=255 SBA+ 64bit- FW- Rate=x1,x2
  Command: RQ=0 SBA- AGP- 64bit- FW- Rate=none
  Capabilities: [5c] Power Management version 1
  Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-


XFree86.0.log
=
(II) ATI(0): VESA BIOS detected
(II) ATI(0): VESA VBE Version 2.0
(II) ATI(0): VESA VBE Total Mem: 8128 kB
(II) ATI(0): VESA VBE OEM: ATI MACH64
(II) ATI(0): VESA VBE OEM Software Rev: 1.0
(II) ATI(0): VESA VBE OEM Vendor: ATI Technologies Inc.
(II) ATI(0): VESA VBE OEM Product: MACH64RM
(II) ATI(0): VESA VBE OEM Product Rev: 01.00
(II) ATI(0): VESA VBE DDC supported
(II) ATI(0): VESA VBE DDC Level none
(II) ATI(0): VESA VBE DDC transfer in appr. 2 sec.
(II) ATI(0): VESA VBE DDC read failed
(--) ATI(0): ATI 3D Rage Mobility graphics controller detected.
(--) ATI(0): Chip type 4C4D LM, version 4, foundry TSMC, class 0,
revision 0x01.
(--) ATI(0): AGP bus interface detected;  block I/O base is 0xEC00.
(--) ATI(0): ATI Mach64 adapter detected.
(!!) ATI(0): For information on using the multimedia capabilities
  of this adapter, please see http://gatos.sf.net.
(--) ATI(0): Internal RAMDAC (subtype 1) detected.
(==) ATI(0): RGB weight 565
(==) ATI(0): Default visual is TrueColor
(==) ATI(0): Using gamma correction (1.0, 1.0, 1.0)
(II) ATI(0): Using Mach64 accelerator CRTC.
(--) ATI(0): 1024x768 panel (ID 2) detected.
(--) ATI(0): Panel model Samsung LT141X4-156.
(--) ATI(0): Panel clock is 65.146 MHz.
(II) ATI(0): Using digital flat panel interface.
(II) ATI(0): Storing hardware cursor image at 0xFD7FFC00.
(II) ATI(0): Using 8 MB linear aperture at 0xFD00.
(!!) ATI(0): Virtual resolutions will be limited to 8191 kB
due to linear aperture size and/or placement of hardware cursor image
area.
(II) ATI(0): Using Block 0 MMIO aperture at 0xFCFFF400.
(II) ATI(0): Using Block 1 MMIO aperture at 0xFCFFF000.
(==) ATI(0): Write-combining range (0xfd00,0x80)
(II) ATI(0): MMIO write caching enabled.
(--) ATI(0): 8192 kB of SDRAM (1:1) detected (using 8191 kB).
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(II) ATI(0): Engine XCLK 124.453 MHz;  Refresh rate code 12.
(--) ATI(0): Internal programmable clock generator detected.
(--) ATI(0): Reference clock 29.500 MHz.
(!!) ATI(0): Conflicting XF86Config HorizSync specification(s) ignored.
(WW)