I've posted some previous messages about the Xserver
problem I am having.  I have a G4 533 dualie Snakebit
I am running Debian unstable.  I am using ICEWM.
The machine came with the GForce 2MX.

When I start up X it runs for several minutes fine.
At some point it appears to stop.  I can still move
the mouse cursor around.  I put a debug statement
in nv_xaa.c at the suggestion of Mark V.  The statement
checks if NVSebsequentScanlineCPUToScreenColorExpandFill
arguments w and h are ever zero.

I put in a statement like this:
if( w==0 || h==0 )
        ErrorF( "w=%d, h=%d\n", w, h );

I've looked through the XFree log and no error was
printed.  Where should this error message go if it
is triggered?

The other thing I noticed when looking at "top" output
is that the X server seems to be stuck in a loop as it is
eating 50% CPU and 2.5% Mem.  I have 768MB on this machine.

24873 root      17   0 62580  12M  2960 R    50.0  2.5  16:46 X

Linux pmac 2.4.18-ben0 #2 SMP Sat Mar 9 10:22:24 EST 2002 ppc unknown

How can I get X to give up some more debug information?

How do a find out what 0x1027e118 is?
 
Attaching to the XFree server shows:
pmac:/exports/src/XFree86-cvs/xc/config/cf# gdb /usr/X11R6/bin/XFree86 24873
GNU gdb 2001-09-15-cvs (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-unknown-linux-gnu"...(no debugging symbols 
found)...
/exports/src/XFree86-cvs/xc/config/cf/24873: No such file or directory.
Attaching to program: /usr/X11R6/bin/XFree86, process 24873
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/ld.so.1
0x1027e118 in ?? ()
(gdb) bt
#0  0x1027e118 in ?? ()
(gdb) 
-- 

pmac:/proc/24873# grep 101  maps
10000000-10193000 r-xp 00000000 03:0b 209157     /usr/X11R6/bin/XFree86
101a2000-101d2000 rw-p 00192000 03:0b 209157     /usr/X11R6/bin/XFree86
101d2000-10b7d000 rwxp 00000000 00:00 0
3001c000-3001d000 rw-s 91101000 03:0b 130618     /dev/mem

pmac:/proc/24873# more status 
Name:   X
State:  R (running)
Tgid:   24873
Pid:    24873
PPid:   24872
TracerPid:      0
Uid:    1000    0       0       0
Gid:    1000    1000    1000    1000
FDSize: 256
Groups: 1000 29 
VmSize:    64872 kB
VmLck:         0 kB
VmRSS:     12992 kB
VmData:     9932 kB
VmStk:        72 kB
VmExe:      1612 kB
VmLib:      1520 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 8000000000301000
SigCgt: 00000000518066cb
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff

pmac:/proc/24873# more cpu 
cpu  294515 69
cpu0 468 38
cpu1 294047 31

Fred
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to