Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-16 Thread F. Heitkamp

Mark Vojkovich wrote:

On Tue, 15 Jan 2002, F. Heitkamp wrote:

I saw in some followup message implying that the problem I have been having
could be caused by bonobo.   I tried using just ICEWM, instead of Gnome 
and it
(Xsever)  stayed up and working for 3-4 hours before I logged out.  


Even if bonodo (an X-client I assume) sparks the problem, if
all it's doing is X stuff this is still an X-server issue.  The
X-server itself should never crash.  

My guess would be that it's a font that a particular app uses
that the font renderer chokes on.  It could be some other rendering
problem though.  Perhaps the XDrawArcs problem that was just fixed.
If the server segfaulted, a gdb backtrace would be the first thing
to look at.

I downloaded the latest mozilla trunck.  The X interface froze as I was 
pulling down the URL
list box.  This is farther than I got previously.  Here is a bt from 
mozilla.  Someone may find
it useful (or not.)

0x0f7a6a88 in select () from /lib/libc.so.6
(gdb) bt
#0  0x0f7a6a88 in select () from /lib/libc.so.6
#1  0x0f8fc480 in _XWaitForReadable (dpy=0x10122698) at XlibInt.c:473
#2  0x0f8fd340 in _XRead (dpy=0x10122698, data=0x7178 , size=32) 
at XlibInt.c:1037
#3  0x0f8fe110 in _XReply (dpy=0x10122698, rep=0x7178, extra=0, 
discard=1)
at XlibInt.c:1672
#4  0x0f8fa318 in XTranslateCoordinates (dpy=0x10122698, 
src_win=12583034, dest_win=54,
src_x=0, src_y=0, dst_x=0x71c8, dst_y=0x71cc, child=0x71d0)
at TrCoords.c:48
#5  0x0fa91edc in gdk_window_get_origin () from /usr/lib/libgdk-1.2.so.0
#6  0x0e836060 in NSGetModule () from 
/local/mozilla/components/libwidget_gtk.so
#7  0x0fb9c854 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0
#8  0x0fbd9a38 in gtk_signal_remove_emission_hook () from 
/usr/lib/libgtk-1.2.so.0
#9  0x0fbd8aa4 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#10 0x0fbd60ec in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#11 0x0ecf6638 in gtk_mozarea_get_toplevel_focus ()
   from /usr/local/mozilla/libgtksuperwin.so
#12 0x0fa7b840 in gdk_input_remove () from /usr/lib/libgdk-1.2.so.0
#13 0x0fa7b9f8 in gdk_add_client_message_filter () from 
/usr/lib/libgdk-1.2.so.0
#14 0x0fa7ca8c in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#15 0x0fa7cd6c in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0
#16 0x0fa03054 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#17 0x0fa036c0 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#18 0x0fa03904 in g_main_run () from /usr/lib/libglib-1.2.so.0
#19 0x0fb9a630 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#20 0x0e8204e0 in _SDA_BASE_ () from 
/local/mozilla/components/libwidget_gtk.so
#21 0x0dbf10d0 in NSGetModule () from 
/local/mozilla/components/libnsappshell.so
#22 0x100071d4 in _start ()
#23 0x10007c90 in main ()
#24 0x0f6f0a30 in __libc_start_main () from /lib/libc.so.6

Fred

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



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-06 Thread Mark Vojkovich

On Wed, 31 Dec 1969, F. Heitkamp wrote:

  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...
  /usr/X11R6.test/bin/25382: No such file or directory.
  Attaching to program: /usr/X11R6.test/bin/X, process 25382
  Reading symbols from /usr/lib/libz.so.1...done.
  Loaded symbols for /usr/lib/libz.so.1
  Reading symbols from /lib/libm.so.6...done.
  Loaded symbols for /lib/libm.so.6
  Reading symbols from /lib/libdl.so.2...done.
  Loaded symbols for /lib/libdl.so.2
  Reading symbols from /lib/libc.so.6...done.
  Loaded symbols for /lib/libc.so.6
  Reading symbols from /lib/ld.so.1...done.
  Loaded symbols for /lib/ld.so.1
  0x102f19ac in ?? ()
  (gdb) where
  #0  0x102f19ac in ?? ()
 

  Enter bt for a backtrace.  You should get at least some of the
symbols if the binaries haven't been stripped.  The section above
is in a module so it can't retrieve the function name.  There is
a hacked version of gdb that can debug XFree86 modules and get
all the symbol names, but I don't know if that works on PPC.
Anyhow, a backtrace should get a least some symbols provided the
binary isn't stripped.


Mark.

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



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-03 Thread Mike

Mark Vojkovich [EMAIL PROTECTED] wrote:
On Wed, 2 Jan 2002, F. Heitkamp wrote:

 module installed.
 
You said it crashed.  Do you mean it segfaulted?  Do you have
 a stack trace?
 
 X just stops.  The image of the session remains in the framebuffer but 
 no interaction
 can take place.  Trying to kill X using the ps command (from
a remote 

   Does the cursor move? 

 terminal)  is
  not able to remove X or the image from the screen.  The only way to get 
 the console
 back is to reboot.  I vaguely remember looking at the log files, and 
 seeing nothing
 out of the ordinary.
 
 I would be glad to provide more information, if I could (suggestions 
 welcome).

   If the server is still running it would be good to see a
gdb backtrace to find out where it is at.  It if segfaulted,
a backtrace on the core dump would be useful.



   Mark.

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


A similar thing happens to me with my VooDoo3 when it freezes during fullscreen 3D and 
one thing you can do to avoid rebooting is to run xinit or whatever in the remote 
session that you used to kill X and you should find that the X server starts up again 
on the main machine and you can use it as normal without rebooting. The only problem 
with this is that if you kill the remote sesson Xgoes down with it. You'll also find 
that if you exit the X session normally the frozen screen that you had before will 
miraculously(?) return.

Mike.



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



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-03 Thread Michel Dänzer

On Thu, 2002-01-03 at 13:47, Mike wrote:

 A similar thing happens to me with my VooDoo3 when it freezes during
 fullscreen 3D and one thing you can do to avoid rebooting is to run
 xinit or whatever in the remote session that you used to kill X and
 you should find that the X server starts up again on the main machine
 and you can use it as normal without rebooting. The only problem with
 this is that if you kill the remote sesson Xgoes down with it.

man nohup (or zsh has disown, ...)

 You'll also find that if you exit the X session normally the frozen
 screen that you had before will miraculously(?) return.

The server restores the VT to whatever it was when it started.

With a real framebuffer device, you should be able to get the console
back using fbset.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-02 Thread F. Heitkamp

Mark Vojkovich wrote:

On Tue, 1 Jan 2002, F. Heitkamp wrote:

When I use my PC (running Linux) as an X terminal, to log into the Mac, 
I am able to
work for hours with no crashes.  Doesn't this raise suspicion that the 
problem is in the
nv driver?


   No.  Like I said, I'd be more suspicious of the font render or
font server.  I don't see that there's anything significantly
different between the x86 and PPC versions of the nv driver.
There's just some register changes programming big endian 
primitives rather than little endian ones, and those obviously
work or it wouldn't be rendering.  I never saw any crashes,
but I wasn't using a font server and didn't have the freetype
module installed.

   You said it crashed.  Do you mean it segfaulted?  Do you have
a stack trace?

X just stops.  The image of the session remains in the framebuffer but 
no interaction
can take place.  Trying to kill X using the ps command (from a remote 
terminal)  is
 not able to remove X or the image from the screen.  The only way to get 
the console
back is to reboot.  I vaguely remember looking at the log files, and 
seeing nothing
out of the ordinary.

I would be glad to provide more information, if I could (suggestions 
welcome).

Fred


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



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2002-01-01 Thread F. Heitkamp

Mark Vojkovich wrote:

On Sun, 30 Dec 2001, F. Heitkamp wrote:

I've pulled the latest CVS xfree86 and compiled it on my G4 533 dual
Snakebite.  I am also using the latest benh kernel.  My Mac has the
GForce 2MX card (I think.).   I've gotten X to work with the nv driver but it
usually crashes after a few minutes.  Once it crashed when I tried to send
a mail message from Mozilla.  The last crash happened when I was using
gnome and had a couple terminals open.  I am currious as to what kind of
luck others are having?  BTW I am using debian unstable.


It worked for me but I haven't done a whole lot of testing on 
it.  I doubt the crashes are nv driver specific.  I saw problems
with things like starting multiple servers and switching VTs and
stuff like that.  But I believe those are console driver bugs.
If you crashed running Mozilla I'd be more suspicious of the
font renders (freetype, etc...) or the font server, if you are
running one.

When I use my PC (running Linux) as an X terminal, to log into the Mac, 
I am able to
work for hours with no crashes.  Doesn't this raise suspicion that the 
problem is in the
nv driver?

Fred


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



[Xpert]Nvidia Linux PowerMac G4 driver

2001-12-30 Thread F. Heitkamp

I've pulled the latest CVS xfree86 and compiled it on my G4 533 dual
Snakebite.  I am also using the latest benh kernel.  My Mac has the
GForce 2MX card (I think.).   I've gotten X to work with the nv driver but it
usually crashes after a few minutes.  Once it crashed when I tried to send
a mail message from Mozilla.  The last crash happened when I was using
gnome and had a couple terminals open.  I am currious as to what kind of
luck others are having?  BTW I am using debian unstable.

Fred


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



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2001-12-30 Thread Mark Vojkovich

On Sun, 30 Dec 2001, F. Heitkamp wrote:

 I've pulled the latest CVS xfree86 and compiled it on my G4 533 dual
 Snakebite.  I am also using the latest benh kernel.  My Mac has the
 GForce 2MX card (I think.).   I've gotten X to work with the nv driver but it
 usually crashes after a few minutes.  Once it crashed when I tried to send
 a mail message from Mozilla.  The last crash happened when I was using
 gnome and had a couple terminals open.  I am currious as to what kind of
 luck others are having?  BTW I am using debian unstable.

It worked for me but I haven't done a whole lot of testing on 
it.  I doubt the crashes are nv driver specific.  I saw problems
with things like starting multiple servers and switching VTs and
stuff like that.  But I believe those are console driver bugs.
If you crashed running Mozilla I'd be more suspicious of the
font renders (freetype, etc...) or the font server, if you are
running one.


Mark.

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



Re: [Xpert]Nvidia Linux PowerMac G4 driver

2001-12-30 Thread Michel Dänzer

On Sun, 2001-12-30 at 22:35, Mark Vojkovich wrote:
 On Sun, 30 Dec 2001, F. Heitkamp wrote:
 
  I've pulled the latest CVS xfree86 and compiled it on my G4 533 dual
  Snakebite.  I am also using the latest benh kernel.  My Mac has the
  GForce 2MX card (I think.).   I've gotten X to work with the nv driver but it
  usually crashes after a few minutes.  Once it crashed when I tried to send
  a mail message from Mozilla.  The last crash happened when I was using
  gnome and had a couple terminals open.  I am currious as to what kind of
  luck others are having?  BTW I am using debian unstable.
 
 It worked for me but I haven't done a whole lot of testing on 
 it.  I doubt the crashes are nv driver specific.  I saw problems
 with things like starting multiple servers and switching VTs and
 stuff like that.  But I believe those are console driver bugs.
 If you crashed running Mozilla I'd be more suspicious of the
 font renders (freetype, etc...) or the font server, if you are
 running one.

I don't have problems with any of this on a PowerBook with a Rage128 M3.
The only obvious differences are the X and console drivers, but the
latter doesn't affect normal X usage.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert