<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
I took a look at NVSync() in nv_xaa.c. I found this:<BR>
<BR>
void NVSync(ScrnInfoPtr pScrn)<BR>
{<BR>
NVPtr pNv = NVPTR(pScrn);<BR>
<BR>
if(pNv->DMAKickoffCallback)<BR>
(*pNv->DMAKickoffCallback)(pScrn);<BR>
<BR>
while(READ_GET(pNv) != pNv->dmaPut);<BR>
<BR>
while(pNv->PGRAPH[0x0700/4]);<BR>
}<BR>
<BR>
Could those while loops be what's sucking up the CPU? How can I check that?<BR>
<BR>
<BR>
On Thu, 2007-01-11 at 09:45, Chris Radlinski wrote:
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#737373"><I>I already posted this on the FreeBSD xorg mailing list and they sent me here.<BR>
<BR>
Here's my rig:<BR>
<BR>
Athlon 4600+ x2<BR>
4 GB DDR400<BR>
Biostar K8T890-A9 motherboard<BR>
Biostar V6202EL16 GeForce 6200 LE PCIE card<BR>
<BR>
I installed FreeBSD 6.1-RELEASE 64-bit with Xorg 7.2 RC3 running Gnome. If I load the nv driver, things run OK for a while but inevitably freeze up. My mouse still works but the rest of the desktop is unresponsive. I can ssh from another machine and see that Xorg is eating up 100% of one of my cores. I'm having exactly the same problem that this guy (http://lists.freedesktop.org/archives/xorg/2006-March/013478.html) reported in March. I don't have this problem with the vesa driver.<BR>
<BR>
The last time this happened, I connected to Xorg with gdb and got this stack trace:<BR>
<BR>
(gdb) bt<BR>
#0 0x0000000801d37134 in NVSync ()<BR>
from /usr/X11R6/lib/xorg/modules/drivers//nv_drv.so<BR>
#1 0x00000008035f3008 in XAAGlyphs ()<BR>
from /usr/X11R6/lib/xorg/modules//libxaa.so<BR>
#2 0x0000000000506fdf in DamageExtensionInit ()<BR>
#3 0x00000000004fd1df in RenderExtensionInit ()<BR>
#4 0x0000000000445e3d in Dispatch ()<BR>
#5 0x000000000042eae5 in main ()<BR>
<BR>
What else can I do to help debug this problem?<BR>
<BR>
Thanks. <BR>
<HR>
<PRE>_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org</FONT>
<A HREF="http://lists.freedesktop.org/mailman/listinfo/xorg"><U>http://lists.freedesktop.org/mailman/listinfo/xorg</U></I></A></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>