ok, changed the code and recompiled the source.

Now the drm module recognizes the card and inits it.
/dev/dri/card0 is present even though not accessable by any user besides root.
(flags are ok and i also have a proper DRI Section in config...)

glxinfo reports dri is enabled.
no gl stuff works. glxgears shows nothing.

in X log :


this is the card :

(II) SAVAGE(0): VESA VBE OEM Vendor: S3 Incorporated.
(II) SAVAGE(0): VESA VBE OEM Product: VBE 2.0
(II) SAVAGE(0): VESA VBE OEM Product Rev: Rev 1.0
(--) SAVAGE(0): Chip: id 8c2e, "SuperSavage/PM64IXC_SDR"
(--) SAVAGE(0): Engine: "SuperSavage"
(--) SAVAGE(0): mapping MMIO @ 0xc0100000 with size 0x80000
(II) SAVAGE(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 
0x0000
(--) S3:support device 15.
(--) S3:tv size 0x0.



this is drm stuff :


(--) SAVAGE(0): mapping framebuffer @ 0xe8000000 with size 0x1000000
(==) SAVAGE(0): Write-combining range (0xe8000000,0x1000000)
(II) SAVAGE(0): Splitting WC range: base: 0xe4000000, size: 0x5000000
(==) SAVAGE(0): Write-combining range (0xe8000000,0x1000000)
(==) SAVAGE(0): Write-combining range (0xe4000000,0x5000000)
(II) SAVAGE(0): map aperture:0x41301000
(--) SAVAGE(0): SavageMatchBiosMode:chose mode 13e at 75Hz.
(II) SavageSetVESAMode:mode=0x13e,refresh=75HZ
(II) SAVAGE(0): [drm] bpp: 32 depth: 24
(II) SAVAGE(0): [drm] Sarea 2200+872: 3072
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) SAVAGE(0): [drm] DRM interface version 1.1
(II) SAVAGE(0): [drm] created "savage" driver at busid "pci:0000:01:00.0"
(II) SAVAGE(0): [drm] added 8192 byte SAREA at 0xe08d9000
(II) SAVAGE(0): [drm] mapped SAREA 0xe08d9000 to 0x46301000
(II) SAVAGE(0): [drm] framebuffer handle = 0xe8000000
(II) SAVAGE(0): [drm] added 1 reserved context for kernel
(II) SAVAGE(0): [agp] Mode 0x1f000217 [AGP 0x8086/0x3575; Card 0x5333/0x8c2e]
(II) SAVAGE(0): [agp] 16384 kB allocated with handle 0x00000001
(II) SAVAGE(0): [agp] agpTextures microcode handle = 0xd0000000
(II) SAVAGE(0): [agp] agpTextures mapped at 0x00000000
(II) SAVAGE(0): [drm] aperture handle = 0xe4000000
(II) SAVAGE(0): [drm] Status handle = 0xe08f4000
(II) SAVAGE(0): [agp] Status page mapped at 0x46303000
(II) SAVAGE(0): [dri] visual configs initialized
(**) SAVAGE(0): DRI is enabled
(II) SAVAGE(0): virtualX:1400,virtualY:1050
(II) SAVAGE(0): bpp:32,tiledwidthBytes:5632,tiledBufferSize:5947392
(II) SAVAGE(0): bpp:32,widthBytes:5632,BufferSize:5914624
(II) SAVAGE(0): videoRambytes:0x01000000
(II) SAVAGE(0): textureSize:0xffce3000
(II) SAVAGE(0): textureSize:0x00000000
(II) SAVAGE(0): textureOffset:0x00fdf000
(II) SAVAGE(0): depthOffset:0x00a33000,depthPicth:5632
(II) SAVAGE(0): backOffset:0x00487000,backPicth:5632
(EE) SAVAGE(0): Memory manager initialization to (0,0) (1408,-1) failed
(==) SAVAGE(0): Backing store disabled
(**) Option "dpms"
(**) SAVAGE(0): DPMS enabled
(II) SAVAGE(0): X context handle = 0x00000001
(II) SAVAGE(0): [drm] installed DRM signal handler
(II) SAVAGE(0): [DRI] installation complete
(II) SAVAGE(0): [junkers]pSAVAGEDRIServer:
[LOTS OF STUFF DELETED]
(II) SAVAGE(0): [junkers]       BCIcmdBuf:map:0x00010000
(II) SAVAGE(0): [junkers]       status:handle:0xe08f4000
(II) SAVAGE(0): [junkers]       status:offset:0x00000000
(II) SAVAGE(0): [junkers]       status:size:0x00002000
(II) SAVAGE(0): [junkers]       status:map:0x00000000
(II) SAVAGE(0): [junkers]       sarea_priv_offset:0x00000898
(II) SAVAGE(0): Direct rendering enabled
(--) SAVAGEInitMC: There is no enough memory!
(**) SAVAGE(0): XvMC is not enabled
(WW) SAVAGE(0): Option "ForceInit" is not used
(==) RandR enabled


-- snip.----

see the "not enough memory" error... 

Hope this helps... ;)

 regards Marco


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to