[mythtv] Unichrome/XvMC VLD output segfault

Jarod Wilson jcw at wilsonet.com
Sun Nov 21 05:45:01 UTC 2004


On Nov 20, 2004, at 14:58, James Lever wrote:

> Hi Jarod,
>
> On 21 Nov 2004, at 8:41 AM, Jarod C. Wilson wrote:
>
>> On Nov 20, 2004, at 1:34 PM, Jarod C. Wilson wrote:
>>
>>> I'm running cvs as of Thursday, with the Nov 16 Unichrome package 
>>> set from http://www.kingcot.eclipse.co.uk/unichrome/ on an M10000 
>>> running Fedora Core 2. The one deviation is that I'm running the 
>>> 2.6.9-1.3_FC2 kernel with the DRM module rebuilt against it.
>>
>> Don't deviate, dumb-ass. :-) Flipped back to 2.6.8-1.521 and the 
>> module provided. Everything works fine now. Playing back 720x480, 
>> 8000kbps video with the processor about 20% user, 35% system, 45% 
>> idle.
>
> That's not a nice way to speak to newbies^Wusers on a public mailing 
> list :)

Hey, at least I kept it on the dev list, less of them here... :-)

> (love the reply-to-self, great style with that one)

A little self-deprecation is always fun!

But unfortunately, not all is well w/my EPIA after all. The very first 
recording I watch after starting up the frontend plays just fine. The 
second one never works. Occasionally, I'll get audio for a split 
second, but most of the time, just an infinite black screen.

Verbose output around the start of the second recording starts out:

Using XvMC version: 1.0
2004-11-20 12:09:17.269 XvMCSurfaceTypes::find(w 720, h 1, c 0, i 2, m 
0,sw 0, sh 56, disp, p<= 56, 4800 <=p, port, surfNum)
2004-11-20 12:09:17.269 Trying XvMC port 56
2004-11-20 12:09:17.269 Found a suitable XvMC surface 0
XvMC found and using VLD surface
2004-11-20 12:09:17.270 Using XV port 56
2004-11-20 12:09:17.293 Image size. dispxoff 0, dispyoff: 87, dispwoff: 
1024, disphoff: 593
2004-11-20 12:09:17.293 Image size. imgx 0, imgy: 0, imgw: 720, imgh: 
480
2004-11-20 12:09:18.736 Changing from None to WatchingPreRecorded

After a bunch of "waiting for space on soundcard" errors, I get:

[...]
2004-11-20 12:09:18.940 2112 bytes free on soundcard
2004-11-20 12:09:18.940 waiting for space on soundcard to write zeros: 
have 2112 need 4096
XvMCBeginSurface: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2

And a little later down the line:

2004-11-20 12:09:18.962 waiting for space on soundcard to write zeros: 
have 2240 need 4096
:18.962 _AddSamples bytes=4608, used=13825, free=498175, timecode=85005
[mpegvideo_xvmc_vld @ 0x8e8750]XvMCBeginSurface: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2
XvMCPutSlice: Error: 2

That continues for a while, until this:

2004-11-20 12:09:19.312 audio waiting for space on soundcard: have 3872 
need 4096
2004-11-20 12:09:19.314 Broadcasting free space avail
2004-11-20 12:09:21.011 Timed out waiting for free video buffers.
2004-11-20 12:09:21.011 Attempting video sync thread restart
2004-11-20 12:09:21.015 A previous trial crashed, skipping 2
2004-11-20 12:09:21.015 RTCVideoSync: Could not open /dev/rtc, Device 
or resource busy.
2004-11-20 12:09:21.015 Using audio as timebase
2004-11-20 12:09:21.015 Video timing method: USleep with busy wait
2004-11-20 12:09:21.016 Refresh rate: 11765, frame interval: 33366
2004-11-20 12:09:21.738 DRMVideoSync: VBlank ioctl did not work, 
unimplemented in this driver?
2004-11-20 12:09:21.739 RTCVideoSync: Could not open /dev/rtc, Device 
or resource busy.
2004-11-20 12:09:21.739 Using audio as timebase
2004-11-20 12:09:21.739 Video timing method: USleep with busy wait
2004-11-20 12:09:21.740 Refresh rate: 11765, frame interval: 33366
2004-11-20 12:09:23.012 Timed out waiting for free video buffers.
2004-11-20 12:09:25.014 Timed out waiting for free video buffers.

Then a bunch of the "waiting for free video buffers" messages until I 
kill the frontend.

Anybody got any advice, besides getting that backtrace after all? (bt 
coming shortly).

-- 
Jarod C. Wilson, RHCE
jcw at wilsonet.com

Got a question? Read this first...
     http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
     http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
     http://www.gossamer-threads.com/lists/mythtv/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041120/fde65e14/PGP-0001.pgp


More information about the mythtv-dev mailing list