[Openchrome-users] [mythtv-users] MythTV Hanging on Video Exit
Paul Bender
pebender
Fri Jan 27 21:27:18 PST 2006
Thomas Hellstr?m wrote:
> Paul Bender wrote:
>
>>Paul Bender wrote:
>>
>>
>>
>>>Thomas Hellstr?m wrote:
>>>
>>>
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>Hans-Erik.Floryd wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Hi,
>>>>>
>>>>>As has previously been reported on the list there seems to be a problem
>>>>>with exiting video from mythtv. I'm running myth on an SP8000E board and
>>>>>most of the time while exiting video I get back to the myth screen but
>>>>>the system is unresponsive. Logging in remotely I can see X using 100% CPU.
>>>>>
>>>>>I've attempted to trace the problem by adding debug output to the
>>>>>driver. It appears to hang when viaStopVideo calls viaOverlayHide.
>>>>>Adding further debug output to viaOverlayHide actually made the system
>>>>>behave much better, it didn't crash nearly as often. When it did it
>>>>>seemed that it happens while calling FlushVidRegBuffer. There's
>>>>>eventually a while-loop in there (viaWaitVideoCommandFire), and my guess
>>>>>is that for some reason that loop is never exited. This would explain
>>>>>the 100% CPU usage.
>>>>>
>>>>>Apart from this issue the driver is working beautifully, the mpeg2
>>>>>acceleration is great!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>I've made two small fixes related to this report. One bugfix and one fix
>>>>making the above mentioned loop time out after 20 ms, which is a
>>>>reasonable time in this context.
>>>>
>>>>Could you try latest SVN (revision 149) to see if it fixes the problem.
>>>>
>>>>/Thomas
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>When X starts, I get the the message
>>>"Symbol gettimeofday from module
>>>/usr/X11R6/lib/modules/drivers/via_drv.o is unresolved!"
>>>
>>>When I start Live TV in MythTV, it crashes.
>>>
>>>
>>>
>>>
>>By the way, I am using xorg 6.8.2, kernel 2.6.14.5, and glibc 2.3.6.
>>
>>_______________________________________________
>>openchrome-users mailing list
>>openchrome-users at openchrome.org
>>http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>>
>>
>>
> OK. I've tried another approach in latest SVN, avoiding gettimeofday.
>
> /Thomas
>
Great. Thank you. So far, it appears to be working.
More information about the Openchrome-users
mailing list