[Openchrome-users] CN700 XvMC

Thomas Hellström thomas
Thu Jun 15 03:24:37 PDT 2006


Hi!
Trevor Kramer wrote:

>Hello,
>
>I have successfully gotten X running on a EPIA EN12000E (CN700,  
>vt1625) using a patch supplied on the mailing list for tv-out. I also  
>built the latest drm code adding the new pci ids the to  
>drm_pciids.txt file. Xv works and dri is initialized but when using  
>XvMC in mythtv I just a black screen.  This is outputted on the  
>system log.
>
>agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
>agpgart: Xorg tried to set rate=x12. Setting to AGP3 x8 mode.
>agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
>agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
>[drm:via_mem_alloc] *ERROR* Attempt to allocate from uninitialized  
>memory manager.
>
>  
>
The memory managemement stuff in DRM has just been rewritten.
This apparently detects an error in the openchrome driver since it tries to
allocate memory before the memory manager has been initialized. I think 
this is actually only for the Xv memcpy timing, but it needs to be fixed.

Could you file a trac ticket for this?

/Thomas

>here is a snippet from the x log
>
>(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x314
>(II) VIA(0): [drm] Found AGP v3 compatible device. Trying AGP 8X mode.
>(II) VIA(0): [drm] Trying to enable AGP fast writes.
>(II) VIA(0): [drm] drmAgpEnabled succeeded
>(II) VIA(0): [drm] agpAddr = 0xe0000000
>(II) VIA(0): [drm] agpBase = (nil)
>(II) VIA(0): [drm] agpAddr = 0xe0000000
>(II) VIA(0): [drm] agpSize = 0x01e00000
>(II) VIA(0): [drm] agp physical addr = 0x00000000
>(II) VIA(0): [dri] use agp.
>(II) VIA(0): [drm] Using 64074912 bytes for DRM memory heap.
>(II) VIA(0): [dri] frame buffer initialized.
>(II) VIA(0): X context handle = 0x1
>(II) VIA(0): [drm] installed DRM signal handler
>(II) VIA(0): [DRI] installation complete
>(II) VIA(0): [dri] kernel data initialized.
>(II) VIA(0): [drm] Irq handler installed, using IRQ 21.
>(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP  
>offset 0x1e00000.
>(II) VIA(0): direct rendering enabled
>(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
>DRM memory allocation failed
>(II) VIA(0): [XvMC] Registering viaXvMC.
>(II) VIA(0): [XvMC] Initialized XvMC extension.
>(II) VIA(0): - Done
>
>any idea why the memory allocation is failing?
>
>Thanks,
>
>
>Trevor
>_______________________________________________
>openchrome-users mailing list
>openchrome-users at openchrome.org
>http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>Main page:
>http://www.openchrome.org
>Wiki:
>http://wiki.openchrome.org
>User Forum:
>http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1
>  
>




More information about the Openchrome-users mailing list