From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Hellstrom Subject: Re: Failing via_cmdbuf_wait Date: Fri, 05 Feb 2010 21:53:18 +0100 Message-ID: <4B6C853E.50308@shipmail.org> References: <20100205000855.3b995f96.robert@kladdkaka.nu> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100205000855.3b995f96.robert@kladdkaka.nu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: =?ISO-8859-1?Q?Robert_H=F6gberg?= Cc: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org Robert H=F6gberg wrote: > Hello. > > I'm trying to debug an issue I'm having with my Via CN400 board. The prob= lem I see is that every time I watch a specific DVD using XvMC the display = freezes completely after a short time. > > The freeze seems to be caused by a failing via_cmdbuf_wait. I don't under= stand why it fails, but it fails with the error message: > *ERROR* via_cmdbuf_wait timed out hw 32700 cur_addr 400 next_addr 87678 > > And all following calls give the same output. It never recovers. > > Any ideas where I should look now? If the buffer isn't emptied as expecte= d, is it a hardware problem? There seems to be no error handling in via_cmd= buf_jump if via_cmdbuf_wait fails. Is it missing or is this situation so fa= tal that it can't be fixed or is it ok to just move along and ignore the pr= oblem? > > There's also a pretty huge delay inside via_cmdbuf_wait. In a worst case = scenario it will sleep 1000000*1ms (1000 seconds). Is that how it should be= ? Seems strange to me. > > All hints are appreciated! > > /Robert > = Hi, Robert. What you're seeing is a GPU hang, Either because of a bug in the kernel = module or perhaps a hardware bug. The AGP DMA code is a bit shaky in the = via drm. That has been fixed in the experimental openChrome drm, (but = that driver suite doesn't support XvMC yet). The fixes haven't been = ported over. /Thomas = > -------------------------------------------------------------------------= ----- > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the busi= ness > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > -- > _______________________________________________ > Dri-devel mailing list > Dri-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dri-devel > = ---------------------------------------------------------------------------= --- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the busine= ss Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com --