LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Memory detection on ATI Rage 3D II with svideo and composite TV out (https://www.linuxquestions.org/questions/linux-hardware-18/memory-detection-on-ati-rage-3d-ii-with-svideo-and-composite-tv-out-155655/)

Rounan 03-09-2004 09:45 PM

Memory detection on ATI Rage 3D II with svideo and composite TV out
 
Hi!

I've been having a helluva time setting up a Rage 3D II on what will be our entertainment center. Running Gentoo with kernel 2.6.3

I've installed this card in a HP Vectra with an i810 onboard video, so this may be where some of the confusion is. After installing the card, however, it became my default display - there is no longer any output from the i810 adapter, only the ATI card.
Right now, it's not detecting all of the card's RAM - only 2MB is being used, which means I can't get better than 16-bit 1074x768 - I want millions of colors!

#lspci -v:
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage I/II 215GT [Mach64 GT] (rev 41) (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc 3D Rage I/II 215GT [Mach64 GT]
Flags: stepping, medium devsel
Memory at ed000000 (32-bit, non-prefetchable) [size=16M] #<-- note the 16MB
I/O ports at 2000 [size=256]
Memory at ec100000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at <unassigned> [disabled] [size=128K]

relevant XF86Config:

Section "Module"
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
Load "glx"
Load "dri"
EndSection

Section "Files"
#fonts go here
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
# blah it works
EndSection

Section "InputDevice"
# ditto
EndSection

Section "Monitor"
Identifier "My Monitor"
HorizSync 31.5 - 57.0
VertRefresh 50-100
EndSection

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection

Section "Device"
Identifier "** Intel i810 (generic) [i810]"
Driver "i810"
EndSection

Section "Screen"
Identifier "ATI Screen"
Device "ATI Rage3D"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1152x864"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen "ATI Screen"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
Mode 0666
EndSection
-------------------------------------------------------------------------------------

However, in:
Xfree86.0.log:*#'s inserted by me*
(...things go normal...)
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 6.5.3
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
(II) ATI: ATI driver (version 6.5.3) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
#list of Rage128 chipsets
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
#list of radeon chipsets
(II) Primary Device is: PCI 01:00:0
(II) ATI: Candidate "Device" section "ATI Rage3D".
(II) ATI: Unshared 8514/A not probed.
(II) ATI: Unshared Mach64 at PIO base 0x02EC not probed.
(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 Rage3D".
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xec101000 - 0xec10107f (0x80) MX[B]
[6] -1 0 0xec100000 - 0xec100fff (0x1000) MX[B](B)
[7] -1 0 0xed000000 - 0xedffffff (0x1000000) MX[B](B)
[8] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[9] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[10] -1 0 0x00002400 - 0x0000247f (0x80) IX[B]
[11] -1 0 0x00001300 - 0x0000133f (0x40) IX[B]
[12] -1 0 0x00001200 - 0x000012ff (0x100) IX[B]
[13] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]
[14] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[15] -1 0 0x00001800 - 0x0000180f (0x10) IX[B]
[16] -1 0 0x00002000 - 0x000020ff (0x100) IX[B](B)
(II) Loading sub module "atimisc"
(II) LoadModule: "atimisc"
(II) Loading /usr/X11R6/lib/modules/drivers/atimisc_drv.o
(II) Module atimisc: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 6.5.3
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.7
(II) resource ranges after probing:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0 0xec101000 - 0xec10107f (0x80) MX[B]
[6] -1 0 0xec100000 - 0xec100fff (0x1000) MX[B](B)
[7] -1 0 0xed000000 - 0xedffffff (0x1000000) MX[B](B)
[8] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[9] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[10] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[12] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[13] -1 0 0x00002400 - 0x0000247f (0x80) IX[B]
[14] -1 0 0x00001300 - 0x0000133f (0x40) IX[B]
[15] -1 0 0x00001200 - 0x000012ff (0x100) IX[B]
[16] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]
[17] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[18] -1 0 0x00001800 - 0x0000180f (0x10) IX[B]
[19] -1 0 0x00002000 - 0x000020ff (0x100) IX[B](B)
[20] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[21] 0 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(**) ATI(0): Chipset: "mach64".
(**) ATI(0): Depth 24, (--) framebuffer bpp 32
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) ATI(0): Primary V_BIOS segment is: 0xc000
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) ATI(0): VESA BIOS detected
(II) ATI(0): VESA VBE Version 2.0
(II) ATI(0): VESA VBE Total Mem: 2048 kB #<--WHERE IS IT GETTING THIS?
(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: MACH64GT
(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
(II) ATI(0): BIOS Data: BIOSSize=0xC000, ROMTable=0x0108.
(II) ATI(0): BIOS Data: ClockTable=0x0806, FrequencyTable=0x07E0.
(II) ATI(0): BIOS Data: LCDTable=0x0000, LCDPanelInfo=0x0000.
(II) ATI(0): BIOS Data: VideoTable=0x0000, HardwareTable=0x0000.
(II) ATI(0): BIOS Data: I2CType=0x00, Tuner=0x00, Decoder=0x00, Audio=0x0F.
(--) ATI(0): ATI 3D Rage II graphics controller detected.
(--) ATI(0): Chip type 4754 "GT", version 1, foundry SGS, class 0, revision 0x01.
(--) ATI(0): PCI 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.
(II) ATI(0): Storing hardware cursor image at 0xED1FFC00.
(II) ATI(0): Using 8 MB linear aperture at 0xED000000. #OH, NOW 8MB???
(!!) ATI(0): Virtual resolutions will be limited to 2047 kB #NOPE, 2MB AGAIN
due to linear aperture size and/or placement of hardware cursor image area.
(II) ATI(0): Using Block 0 MMIO aperture at 0xEC100400.
(II) ATI(0): Using Block 1 MMIO aperture at 0xEC100000.
(==) ATI(0): Write-combining range (0xed000000,0x200000)
(II) ATI(0): MMIO write caching enabled.
(--) ATI(0): 2048 kB of SGRAM (1:1) detected (using 2047 kB).
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(II) ATI(0): Engine XCLK 66.818 MHz; Refresh rate code 4.
(--) ATI(0): Internal programmable clock generator detected.
(--) ATI(0): Reference clock 157.5/11 (14.318) MHz.
(II) ATI(0): My Monitor: Using hsync range of 31.50-57.00 kHz
(II) ATI(0): My Monitor: Using vrefresh range of 50.00-100.00 Hz
(II) ATI(0): Maximum clock: 133.00 MHz
(II) ATI(0): Not using default mode "1024x768" (insufficient memory for mode)
#LOTS MORE LINES LIKE THAT, TIL:
(--) ATI(0): Virtual size is 832x624 (pitch 832)
(**) ATI(0): Default mode "832x624": 57.3 MHz, 49.7 kHz, 74.6 Hz
(II) ATI(0): Modeline "832x624" 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync
#AND A BUNCH MORE VALID MODELINES
==) ATI(0): DPI set to (75, 75)
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
compiled for 4.3.99.12, module version = 1.2.0
ABI class: XFree86 Video Driver, version 0.7
(II) ATI(0): I2C bus "Mach64" initialized.
(--) ATI(0): ImpacTV chip ID 0x1A detected.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xec100000 - 0xec100fff (0x1000) MS[B]
[1] 0 0 0xed000000 - 0xedffffff (0x1000000) MS[B]
[2] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0 0xec101000 - 0xec10107f (0x80) MX[B]
[8] -1 0 0xec100000 - 0xec100fff (0x1000) MX[B](B)
[9] -1 0 0xed000000 - 0xedffffff (0x1000000) MX[B](B)
[10] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
[11] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
[12] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
[13] 0 0 0x00002000 - 0x000020ff (0x100) IS[B]
[14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
[15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
[16] -1 0 0x00002400 - 0x0000247f (0x80) IX[B]
[17] -1 0 0x00001300 - 0x0000133f (0x40) IX[B]
[18] -1 0 0x00001200 - 0x000012ff (0x100) IX[B]
[19] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]
[20] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]
[21] -1 0 0x00001800 - 0x0000180f (0x10) IX[B]
[22] -1 0 0x00002000 - 0x000020ff (0x100) IX[B](B)
[23] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[24] 0 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) ATI(0): Write-combining range (0xed000000,0x200000)
(II) ATI(0): Largest offscreen areas (with overlaps):
(II) ATI(0): 832 x 5 rectangle at 0,624
(II) ATI(0): 704 x 6 rectangle at 0,624
(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:
Not enough video memory for pixmap cache
(==) ATI(0): Backing store disabled
(==) ATI(0): Silken mouse enabled
(==) RandR enabled
Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved!
(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) Initializing built-in extension RANDR
(**) Option "Protocol" "PS/2"
(**) Mouse1: Protocol: "PS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse1: Buttons: 3
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded

Rounan 03-09-2004 09:47 PM

Sorry for the long post, I can't decipher most of that.

So, basically, how do I convince the ati driver that this card does, indeed, have 16MB of memory??

For reference, I compiled XFree86 from the dri cvs, as per instructions on this page:
http://www.retinalburn.net/linux/tvout.html

Any help is greatly appreciated!

--Rounan


All times are GMT -5. The time now is 04:57 PM.