[Openchrome-users] [mythtv-users] MythTV Hanging on Video Exit

Thomas Hellström thomas
Fri Jan 27 01:17:42 PST 2006


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20060127/5e4d2aea/attachment.html



More information about the Openchrome-users mailing list