[Openchrome-users] CN700 XvMC

Trevor Kramer tkramer
Fri Jun 16 09:37:32 PDT 2006


This version gets rid of the error message for me. Thanks Thomas. I  
still only get a blank screen when using XvMC though - but that may  
not be related to drm. Has anyone else gotten XvMC working on a CN700?

Trevor

(II) VIA(0): direct rendering enabled
(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
Fulfilled via DRI at 2766240
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed   libc YUV420 copy... 2131917. Throughput: 333.1  
MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 2150919. Throughput: 330.2  
MiB/s.
(--) VIA(0): Timed    SSE YUV420 copy... 1191789. Throughput: 595.9  
MiB/s.
(--) VIA(0): Timed    MMX YUV420 copy... 1801594. Throughput: 394.2  
MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed   MMX2 YUV420 copy... 1264154. Throughput: 561.8  
MiB/s.
Freed 2766240 (pool 2)
(--) VIA(0): Using SSE YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMC.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(II) VIA(0): - Done


On Jun 16, 2006, at 8:24 AM, Thomas Hellstr?m wrote:

> Trevor Kramer wrote:
>
>> Here is what I get
>>
>> [mythtv at mythtv ~]$ dmesg | grep drm
>> [drm] Initialized drm 1.0.1 20051102
>> [drm] Initialized via 2.10.1 20060615 on minor 0:
>>
>> Is this right - the via driver is using the latest code but is  
>> the  first line correct?
>>
>> I still get the same error in the X output - "DRM memory  
>> allocation  failed"
>>
>> Trevor
>>
> Yes,
> The output is right.
>
> OK, I've found a potential problem. The driver apparently doesn't  
> like to get a bigger memory region than it asked for. Rather than  
> modifying the driver and bumping the drm major version I'll change  
> the way drm reports memory sizes.
>
> Can you try via drm 2.10.2, 20060616?
>
> /Thomas
>
>




More information about the Openchrome-users mailing list