[Openchrome-users] CX700 / EX10000

David Shay david
Mon Apr 2 18:31:59 PDT 2007


Xavier Bachelot wrote:
> David Shay wrote:
>> On 3/29/07, Xavier Bachelot <xavier at bachelot.org> wrote:
>>> David Shay wrote:
>>> > I've just started setting up my EX10000 with the CX700.  I've pretty
>>> > much gotten to the same place that another user here has, with an
>>> > ability to run up to 1600x1200 (the maximum my DVI-D monitor 
>>> supports),
>>> > as long as I use "VBEModes".
>>> >
>>> > I am using Gentoo with a 2.6.20 kernel. Latest svn openchrome with 
>>> the
>>> > patch from trac ticket 78. DRM 1.1.0 20060810.
>>> >
>>> CX700 support is now in the experimental branch, no patch needed 
>>> anymore.
>>>
>>> > Other info: Tried starting up with KDE 3.5 initially, but the screen
>>> > would flash on and off randomly. Went back to straight X and all 
>>> was OK
>>> > again.  From straight X, tried to start up konqueror, and experienced
>>> > the same flashing.  Something odd going on, not sure if its opengl
>>> > related or not.
>>> >
>>> > Also getting some drmAcquire memory errors as well.  AGP Memory in 
>>> BIOS
>>> > set to 32MB as I believe it should be.  Like other individual that 
>>> got
>>> > this far, regular mplayer with -xv crashed system.  With xvmc 
>>> patches,
>>> > it simply says it can't find a surface -- not sure if that's 
>>> related to
>>> > the memory acquire failures or not.  Can't find the log for those 
>>> right
>>> > now -- will try to send later tonight.
>>> >
>>> Xv and XvMC are working inside the experimental branch.
>>>
>>> This has not received a lot of testing so far, your inputs would be
>>> appreciated.
>>>
>>
>> OK. Downloaded the experimental branch. Mplayer -xv works without
>> crashing the machine. xvmc still can't find a surface, but that I
>> believe is because I'm still getting drm errors.  Here is a portion of
>> Xorg.0.log:
>>
>> (II) VIA(0): - Color maps etc. set up
>> (EE) VIA(0): [drm] drmAgpAcquire failed 19
>> (II) VIA(0): [dri] use pci.
>> (II) VIA(0): [drm] Using 51476192 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 23.
>> (EE) VIA(0): [drm] Failed to initialize DMA ring-buffer: 14
>> (II) VIA(0): direct rendering enabled
>> via_video.c : viaInitVideo :
>> (II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
>> Fulfilled via DRI at 15363200
>> (II) VIA(0): Benchmarking video copy. Less is better.
>> (--) VIA(0): Timed   libc YUV420 copy... 1592748. Throughput: 298.0 
>> MiB/s.
>> (--) VIA(0): Timed kernel YUV420 copy... 1583765. Throughput: 299.7 
>> MiB/s.
>> (--) VIA(0): Timed    SSE YUV420 copy... 1219454. Throughput: 389.2 
>> MiB/s.
>> (--) VIA(0): Timed    MMX YUV420 copy... 1507194. Throughput: 314.9 
>> MiB/s.
>> (--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
>> (--) VIA(0): Timed   MMX2 YUV420 copy... 1274434. Throughput: 372.4 
>> MiB/s.
>> Freed 15363200 (pool 2)
>> (--) VIA(0): Using SSE YUV42X copy for video.
>> via_video.c : viaSetupImageVideo:
>> via_video.c : viaGetPortAttribute : port 0 75
>> via_video.c :    ColorKey 0x821
>> via_video.c : viaGetPortAttribute : port 0 78
>>    AutoPaint = 00000001
>> via_video.c : viaGetPortAttribute : port 0 73
>>    xvBrightness = 00005000
>> via_video.c : viaGetPortAttribute : port 0 74
>>    xvContrast = 00010000
>> via_video.c : viaGetPortAttribute : port 0 77
>>    xvSaturation = 00010000
>> via_video.c : viaGetPortAttribute : port 0 76
>>    xvHue = 00000000
>> via_video.c : viaResetVideo:
>> via_video.c : num_adaptors : 0
>> (II) VIA(0): [XvMC] Registering viaXvMC.
>> (II) VIA(0): [XvMC] Initialized XvMC extension.
>>
>> Right now I have the Video setting in BIOS set to 64MB. I've also
>> tried 32MB. I thought in the past I had problems if it was higher.
>>
>> Thoughts?
> try to use Options "NoXvDMA" in the device section of your xorg conf.
>
> mplayer might not be the best testbed, as XvMC VLD support is still not
> in upstream mplayer. I'm more confortable with xine.
>
> Regards,
> Xavier
>
>
OK.  Will try "NoXvDMA" when I get back to my device in about a week.  
I'm fine with xine or mplayer -- in the past I had audio issues with 
xine, but it doesn't matter. Just to be sure, I should load the agpgart, 
via_agp, and drm modules before starting X, correct?  Should the Video 
BIOS memory go back to 32MB?  Just trying to rule out everything -- I've 
gotten accelerated MPEG with openchrome working on several VIA 
motherboards before, just never got high-def working yet. Does NoXvDMA 
have anything to do with the drmAgpAcquire errors, or what could be the 
cause of those?








More information about the Openchrome-users mailing list