This is the same card I have. I don't think patching the Xserver to use a 16MB aperture for an 8MB card is a good idea. :) The 8M of memory is correctly detected, but 1K is reserved because of the hardware cursor, so the useable mem is 8191kB instead of 8192kB. At any rate, with front+back+depth buffers and 128 scanlines for pixmap cache, the current static allocation scheme doesn't allow for 1024x768 @ 24-bit depth. You can use 800x600 @ 24-bit depth or you can drop down to 16-bit depth. I'm working on a patch to allow using only AGP mem for textures, and using the mem remaining after front/back/depth buffer allocation for pixmap cache rather than a hardcoded 128 scanlines. This allows 1024x768 @ 24-bit depth. However, as Felix points out, 3D performance suffers quite a bit at 24-bit depth.
On Thu, 11 Jul 2002, Mike Mestnik wrote: > Ok the patch is atttached, you have what we call a "Mach64 LB" or PCI_CHIP_MACH64LB. > In order to use this patch you'l need to build from source. > > --- Shan Mignot <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I've recently downloaded the dri package > > (mach64-20020705-linux.i386.tar.bz2) for the mach64 chipset and tried > > to set things up. Here is what lspci reports about my graphic card: > > > > 01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage LT Pro > > AGP-133 (rev dc) (prog-if 00 [VGA]) > > Subsystem: CLEVO/KAPOK Computer: Unknown device 0280 > > 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: 8 min, 66 set, cache line size 08 > > Region 0: Memory at fd000000 (32-bit, non-prefetchable) > > [size=16M] > > Region 1: I/O ports at 2000 [size=256] > > Region 2: Memory at fc100000 (32-bit, non-prefetchable) > > [size=4K] > > Expansion ROM at <unassigned> [disabled] [size=128K] > > Capabilities: <available only to root> > > > > Although XFree86 detects 8 Mo of video memory, it does not use of the > > it and hence the buffer allocation fails and xdm refuses to start my > > window manager. Here is what I think is relevant from my XFree86.0.log > > file: > > > > (II) ATI: Candidate "Device" section "ATI 3D LT PRO". > > (II) ATI: Shared PCI/AGP Mach64 in slot 1:0:0 detected. > > (II) ATI: Shared PCI/AGP Mach64 in slot 1:0:0 assigned to active > > "Device" section "ATI 3D LT PRO". > > (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: MACH64LP > > (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 LT Pro graphics controller detected. > > (--) ATI(0): Chip type 4C42 "LB", version 4, foundry UMC, class 0, > > revision 0x03. > > (--) ATI(0): AGP bus interface detected; block I/O base is 0x2000. > > (--) 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 888 > > (==) 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 LG LP150X1. > > (--) 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 0xFD000000. > > (!!) 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 0xFC100400. > > (II) ATI(0): Using Block 1 MMIO aperture at 0xFC100000. > > (==) ATI(0): Write-combining range (0xfd000000,0x800000) > > (II) ATI(0): MMIO write caching enabled. > > (--) ATI(0): 8192 kB of SGRAM (1:1) detected (using 8191 kB). > > (WW) ATI(0): Cannot shadow an accelerated frame buffer. > > (--) ATI(0): Internal programmable clock generator detected. > > (--) ATI(0): Reference clock 29.500 MHz. > > (WW) ATI(0): DRI static buffer allocation failed -- need at least 8192 > > kB video memory > > (II) ATI(0): Largest offscreen areas (with overlaps): > > (II) ATI(0): 1024 x 1279 rectangle at 0,768 > > (II) ATI(0): 768 x 1280 rectangle at 0,768 > > (II) ATI(0): Using XFree86 Acceleration Architecture (XAA) > > Screen to screen bit blits > > Solid filled rectangles > > 8x8 mono pattern filled rectangles > > Indirect CPU to Screen color expansion > > Solid Lines > > Offscreen Pixmaps > > Setting up tile and stipple cache: > > 32 128x128 slots > > 10 256x256 slots > > > > (==) ATI(0): Backing store disabled > > (==) ATI(0): Silken mouse enabled > > (**) Option "dpms" > > (**) ATI(0): DPMS enabled > > (II) ATI(0): Direct rendering disabled > > (II) Initializing built-in extension MIT-SHM > > (II) Initializing built-in extension XInputExtension > > (II) Initializing built-in extension XTEST > > (II) Initializing built-in extension XKEYBOARD > > (II) Initializing built-in extension LBX > > (II) Initializing built-in extension XC-APPGROUP > > (II) Initializing built-in extension SECURITY > > (II) Initializing built-in extension XINERAMA > > (II) Initializing built-in extension XFree86-Bigfont > > (II) Initializing built-in extension RENDER > > (II) Keyboard "Generic Keyboard" handled by legacy driver > > (**) Option "Protocol" "PS/2" > > (**) Configured Mouse: Protocol: "PS/2" > > (**) Option "CorePointer" > > (**) Configured Mouse: Core Pointer > > (**) Option "Device" "/dev/psaux" > > (==) Configured Mouse: Buttons: 3 > > (**) Option "Emulate3Buttons" "true" > > (**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50 > > (**) Option "ZAxisMapping" "4 5" > > (**) Configured Mouse: ZAxisMapping: buttons 4 and 5 > > (II) XINPUT: Adding extended input device "Configured Mouse" (type: > > MOUSE) > > AUDIT: Thu Jul 11 16:00:59 2002: 245 X: client 2 rejected from local > > host > > Auth name: XDM-AUTHORIZATION-1 ID: -1 > > AUDIT: Thu Jul 11 16:00:59 2002: 245 X: client 3 rejected from local > > host > > Auth name: XDM-AUTHORIZATION-1 ID: -1 > > > > And here is the content of my /etc/X11/XF86-Config-4 file: > > > > Section "Files" > > FontPath "unix/:7100" # local font > > server > > # if the local font server has problems, we can fall back on > > these > > FontPath "/usr/lib/X11/fonts/misc" > > FontPath "/usr/lib/X11/fonts/cyrillic" > > FontPath "/usr/lib/X11/fonts/100dpi/:unscaled" > > FontPath "/usr/lib/X11/fonts/75dpi/:unscaled" > > FontPath "/usr/lib/X11/fonts/Type1" > > FontPath "/usr/lib/X11/fonts/Speedo" > > FontPath "/usr/lib/X11/fonts/100dpi" > > FontPath "/usr/lib/X11/fonts/75dpi" > > EndSection > > > > Section "Module" > > Load "GLcore" > > Load "bitmap" > > Load "dbe" > > Load "ddc" > > Load "dri" > > Load "extmod" > > Load "freetype" > > Load "glx" > > Load "int10" > > Load "pex5" > > Load "record" > > Load "speedo" > > Load "type1" > > Load "vbe" > > Load "xie" > > EndSection > > > > Section "InputDevice" > > Identifier "Generic Keyboard" > > Driver "keyboard" > > Option "CoreKeyboard" > > Option "XkbRules" "xfree86" > > Option "XkbModel" "pc101" > > Option "XkbLayout" "us" > > EndSection > > > > Section "InputDevice" > > Identifier "Configured Mouse" > > Driver "mouse" > > Option "CorePointer" > > Option "Device" "/dev/psaux" > > Option "Protocol" "PS/2" > > Option "Emulate3Buttons" "true" > > Option "ZAxisMapping" "4 5" > > EndSection > > > > Section "Device" > > Identifier "ATI 3D LT PRO" > > Driver "ati" > > VendorName "ATI" > > BoardName "MACH64 LB" > > Chipset "ati" > > ChipId 0x4c42 > > ChipRev 0xdc > > BusId "PCI:1:0:0" > > VideoRam 8192 > > EndSection > > > > Section "Monitor" > > Identifier "Generic Monitor" > > Option "DPMS" > > VendorName "Monitor Vendor" > > ModelName "Monitor Model" > > EndSection > > > > Section "Screen" > > Identifier "Default Screen" > > Device "ATI 3D LT PRO" > > Monitor "Generic Monitor" > > DefaultDepth 24 > > SubSection "Display" > > Depth 1 > > Modes "1024x768" "800x600" "640x480" > > EndSubSection > > SubSection "Display" > > Depth 4 > > Modes "1024x768" "800x600" "640x480" > > EndSubSection > > SubSection "Display" > > Depth 8 > > Modes "1024x768" "800x600" "640x480" > > EndSubSection > > SubSection "Display" > > Depth 15 > > Modes "1024x768" "800x600" "640x480" > > EndSubSection > > SubSection "Display" > > Depth 16 > > Modes "1024x768" "800x600" "640x480" > > EndSubSection > > SubSection "Display" > > Depth 24 > > Modes "1024x768" "800x600" "640x480" > > EndSubSection > > EndSection > > > > Section "ServerLayout" > > Identifier "Default Layout" > > Screen "Default Screen" > > InputDevice "Generic Keyboard" > > InputDevice "Configured Mouse" > > EndSection > > > > I would really appreciate if anyone could give me a clue of what is > > really the problem and what needs to be fixed. > > > > Thanks, > > > > Shan > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > PC Mods, Computing goodies, cases & more > > http://thinkgeek.com/sf > > _______________________________________________ > > Dri-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/dri-users > > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com -- Leif Delgass http://www.retinalburn.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel