I honestly wasn't sure whether to put this here or in games, but it doesn't necessarily pertain to gaming.
I finally got my X1650Pro working under X after a bunch of headaches. I had to get agpgart/via_agp/drm/radeon as modules, for some reason it wouldn't work when compiled into the kernel. After that I still had some error messages about AIGLX:
Code:
(EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/xorg/modules/dri/r300_dri.so: undefined symbol: __driCreateNewScreen_20050727)
Someone suggested I get a new X server, so I went and grabbed the server.. that necessitated Mesa 7.2, fine. Ooops, need libdrm 2.3.1 or better! Go at it. Build 7.2, copy the libs, make some new symlinks, configure still says I have 7.0.2. Wtf? The way that pkg-config works is probably one of the stupidest things I've ever seen. Get that going. Configure finishes for xorg 1.5.1, go to make it.. I have compile errors (bad header somewhere?), I give up on 1.5 for the night. Now I'm trying to try out the cool new direct rendering, so I load up Alien Arena.
GL_VENDOR: DRI R300 Project
GL_RENDERER: Mesa DRI R300 20060815 AGP 4x x86/MMX+/3Dnow!+/SEE TCL
Cool! X finally started and isn't slow as crap and I might actually be able to play a game?! AWESOME!
So I get 0.5fps once in the game. Try disabling shaders, shadows, etc.. no good.
dmesg output:
Code:
[ 11.218707] Linux agpgart interface v0.103
[ 60.280479] agpgart: Detected VIA KT400/KT400A/KT600 chipset
[ 60.295884] agpgart-via 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
[ 101.519202] [drm] Initialized drm 1.1.0 20060810
[ 101.689753] [drm] Initialized radeon 1.29.0 20080528 on minor 0
[ 125.503156] agpgart-via 0000:00:00.0: AGP 3.5 bridge
[ 125.503188] agpgart-via 0000:00:00.0: putting AGP V3 device into 4x mode
[ 125.503257] pci 0000:01:00.0: putting AGP V3 device into 4x mode
[ 125.927214] [drm] Setting GART location based on new memory map
[ 125.927229] [drm] Loading R500 Microcode
[ 125.927265] [drm] Num pipes: 1
[ 125.927274] [drm] writeback test succeeded in 1 usecs
lspci:
Code:
01:00.0 VGA compatible controller: ATI Technologies Inc RV535 [Radeon X1650 Series] (rev 9e) (prog-if 00 [VGA controller])
Subsystem: PC Partner Limited Unknown device 0850
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (2000ns min), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at c0000000 (32-bit, prefetchable) [size=256M]
Region 1: I/O ports at 9800 [size=256]
Region 2: Memory at dfef0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at dfec0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] AGP version 3.0
Status: RQ=256 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW+ Rate=x4
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
01:00.1 Display controller: ATI Technologies Inc RV535 [Radeon X1650 Series] (rev 9e)
Subsystem: PC Partner Limited Unknown device 0851
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 128 (2000ns min), Cache Line Size: 32 bytes
Region 0: Memory at dfee0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Some of the result of grep "RADEON\|drm" Xorg.0.log.. lots edited out:
Code:
(II) RADEON: Driver for ATI Radeon chipsets:
ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI RV610, ATI RV670,
(WW) RADEON: No matching Device section for instance (BusID PCI:1:0:1) found
(II) RADEON(0): MMIO registers at 0x00000000dfef0000: size 64KB
(II) RADEON(0): PCI bus 1 card 0 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "BusType" "AGP"
(**) RADEON(0): Option "AGPFastWrite" "1"
(**) RADEON(0): Option "EnablePageFlip" "1"
(**) RADEON(0): Option "AccelMethod" "EXA"
(**) RADEON(0): Option "DRI" "1"
(II) RADEON(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) RADEON(0): RGB weight 888
(II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
(--) RADEON(0): Chipset: "ATI Radeon X1650" (ChipID = 0x71c7)
(WW) RADEON(0): R500 support is under development. Please report any issues to xorg-driver-ati@lists.x.org
(--) RADEON(0): Linear framebuffer at 0x00000000c0000000
(--) RADEON(0): BIOS at 0xdfec0000
(II) RADEON(0): AGP card detected
(**) RADEON(0): Forced into AGP mode
(II) RADEON(0): [dri] Found DRI library version 1.3.0 and kernel module version 1.29.0
(**) RADEON(0): Page Flipping disabled on r5xx and newer chips.
(II) RADEON(0): Will try to use DMA for Xv image transfers
(II) RADEON(0): Generation 2 PCI interface, using max accessible memory
(II) RADEON(0): Detected total video RAM=524288K, accessible=262144K (PCI BAR=262144K)
(--) RADEON(0): Mapped VideoRAM: 262144 kByte (128 bit DDR SDRAM)
(**) RADEON(0): Using EXA acceleration architecture
(II) RADEON(0): Allocating from a screen of 262144 kb
(II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x009c4000
(II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x009c8000
(II) RADEON(0): Will use 10000 kb for front buffer at offset 0x00000000
(II) RADEON(0): Will use 10000 kb for back buffer at offset 0x009cc000
(II) RADEON(0): Will use 10000 kb for depth buffer at offset 0x01390000
(II) RADEON(0): Will use 115712 kb for textures at offset 0x01d54000
(II) RADEON(0): Will use 116400 kb for X Server offscreen at offset 0x08e54000
(II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
(II) RADEON(0): [drm] framebuffer handle = 0xc0000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): X context handle = 0x1
(II) RADEON(0): [drm] installed DRM signal handler
(==) RADEON(0): Using AGP 4x
(WW) RADEON(0): WARNING: Using the AGPFastWrite option is not recommended.
(**) RADEON(0): Enabling AGP Fast Writes.
(II) RADEON(0): [agp] Mode 0x1f000a19 [AGP 0x1106/0x3189; Card 0x1002/0x71c7]
Soo.. what can I do?!
Limited to 256MB out of the 512MB, bleh. :\ I just noticed it's using all of the VRAM it can access. I'm about to try to tell it to piss off and that that's stupid.. hopefully it helps, but I guess we'll see. What else can I do?