Re: [gentoo-user] Continued Xorg crashes

2009-04-18 Thread William Kenworthy
On Fri, 2009-04-17 at 17:35 -0500, Paul Hartman wrote:
 On Fri, Apr 17, 2009 at 4:42 PM, Mark Knecht markkne...@gmail.com wrote:
  On Fri, Apr 17, 2009 at 2:18 PM, Paul Hartman
  paul.hartman+gen...@gmail.com wrote:
  On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
  This started as part of Michael's thread about Myth crashing.
  mythfrontend is segfaulting for me also, but my problem has spread to
  pretty much any application that tries to display video - mplayer,
  xine and Myth all crash with similar errors. Only xine doesn't crash X
  completely and leaves behind anything in terms of clues.
 
  It looks like maybe a problem with xv overlays. You can try using a
  different output driver than xv. Also, try adding AccelMethod to your
  device section in xorg.conf if you don't have it:
 
  Option AccelMethod XAA
 
  If that doesn't help, maybe try EXA instead of XAA.
 
  Also, if you're using anything like compiz of KDE4 desktop effects,
  try turning it off.
 
  Right now I don't have an xorg.conf file as the new xorg upgrade guide
  encourages you to dump it. I'm not overly comfortable with that and
  will likely try creating a new xorg or using my old one later. I'll
  try your idea as soon as I get to that.
 
 I'm not sure if video device options such as AccelMethod can be set
 via FDI... I think they may still belong in xorg.conf, just not input
 devices. I have nothing but the video device options in my xorg.conf
 :)
 
 Also as someone suggested in a similar thread recently, maybe give
 driconf a try as well.
 

No, driconf isnt helping me - vmware also does for me, and sometimes
after a tuxonice suspend to ram.  Almost seems to be anything creating a
heavy load and while accessing video on the i915.  In some cases I am
left with a X mouse cursor and that can move in xy, but not click.
Trying to ssh in and restart x doesnt work, and when rebooting the last
screen stays displayed (the original x window at the time of crash)
stays up until the warm start point is reached.  ive found 2.6.28 is
more stable than 2.6.29, but not by a lot ...

BillK






[gentoo-user] Continued Xorg crashes

2009-04-17 Thread Mark Knecht
Hi,
   This started as part of Michael's thread about Myth crashing.
mythfrontend is segfaulting for me also, but my problem has spread to
pretty much any application that tries to display video - mplayer,
xine and Myth all crash with similar errors. Only xine doesn't crash X
completely and leaves behind anything in terms of clues.

   I've also tried upgrading xorg-x11 to version 7.4. No changes.

m...@dragonfly ~/Desktop $ xine
This is xine (X11 gui) - a free video player v0.99.5.
(c) 2000-2007 The xine Team.
X Error of failed request:  BadAlloc (insufficient resources for operation)
 Major opcode of failed request:  140 (XVideo)
 Minor opcode of failed request:  19 ()
 Serial number of failed request:  1814
 Current serial number in output stream:  1815
m...@dragonfly ~/Desktop $

  Note that this isn't even trying to play the file, it's just trying
to start the user interface.

  I see segfault and error/warning messages in dmesg:

mtrr: no MTRR for f000,800 found
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
X[22596]: segfault at 0 ip  sp bf91df1c error 4 in Xorg[8048000+179000]
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5
X[22764]: segfault at 2d8 ip b7f266c4 sp bfd56a80 error 4 in
libdrm_intel.so.1.0.0[b7f25000+7000]
[drm:i915_getparam] *ERROR* Unknown parameter 5
[drm:i915_getparam] *ERROR* Unknown parameter 5

   The MTRR warnings have been around forever on this machine. I think
the drm:i915 warning is benign in that it's supposedly saying the
kernel doesn't have gem support, but I could be very wrong about that.

   The kernel is recent but not the most up to date.

   Does *anyone* have an idea what I should do to debug this further?
I've never managed to get good backtrace info under Gentoo so that's
probably a struggle I'd rather not deal with if possible, especially
for something as complicated as X. The segfault looks like something
uninitialized to me but what do I know... (Not much!)

   I can send all sorts of machine/Gentoo info if requested.

   Anyway, all thoughts appreciated.

Cheers,
Mark



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Volker Armin Hemmann
On Freitag 17 April 2009, Mark Knecht wrote:
 Hi,
This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

I've also tried upgrading xorg-x11 to version 7.4. No changes.

 m...@dragonfly ~/Desktop $ xine
 This is xine (X11 gui) - a free video player v0.99.5.
 (c) 2000-2007 The xine Team.
 X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  1814
  Current serial number in output stream:  1815
 m...@dragonfly ~/Desktop $

   Note that this isn't even trying to play the file, it's just trying
 to start the user interface.

   I see segfault and error/warning messages in dmesg:

 mtrr: no MTRR for f000,800 found
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 X[22596]: segfault at 0 ip  sp bf91df1c error 4 in
 Xorg[8048000+179000] [drm:i915_getparam] *ERROR* Unknown parameter 5
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 X[22764]: segfault at 2d8 ip b7f266c4 sp bfd56a80 error 4 in
 libdrm_intel.so.1.0.0[b7f25000+7000]
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 [drm:i915_getparam] *ERROR* Unknown parameter 5

The MTRR warnings have been around forever on this machine. I think
 the drm:i915 warning is benign in that it's supposedly saying the
 kernel doesn't have gem support, but I could be very wrong about that.

The kernel is recent but not the most up to date.

Does *anyone* have an idea what I should do to debug this further?
 I've never managed to get good backtrace info under Gentoo so that's
 probably a struggle I'd rather not deal with if possible, especially
 for something as complicated as X. The segfault looks like something
 uninitialized to me but what do I know... (Not much!)

I can send all sorts of machine/Gentoo info if requested.

Anyway, all thoughts appreciated.

 Cheers,
 Mark

have you rebuilt libxv?
what happens if you don't use xv but xshm as output plugin?




Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Paul Hartman
On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
 This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

It looks like maybe a problem with xv overlays. You can try using a
different output driver than xv. Also, try adding AccelMethod to your
device section in xorg.conf if you don't have it:

Option AccelMethod XAA

If that doesn't help, maybe try EXA instead of XAA.

Also, if you're using anything like compiz of KDE4 desktop effects,
try turning it off.



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Mark Knecht
On Fri, Apr 17, 2009 at 2:18 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
 This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

 It looks like maybe a problem with xv overlays. You can try using a
 different output driver than xv. Also, try adding AccelMethod to your
 device section in xorg.conf if you don't have it:

 Option AccelMethod XAA

 If that doesn't help, maybe try EXA instead of XAA.

 Also, if you're using anything like compiz of KDE4 desktop effects,
 try turning it off.

Right now I don't have an xorg.conf file as the new xorg upgrade guide
encourages you to dump it. I'm not overly comfortable with that and
will likely try creating a new xorg or using my old one later. I'll
try your idea as soon as I get to that.

Thanks,
Mark



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Mark Knecht
On Fri, Apr 17, 2009 at 2:14 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 On Freitag 17 April 2009, Mark Knecht wrote:
 Hi,
    This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

    I've also tried upgrading xorg-x11 to version 7.4. No changes.

 m...@dragonfly ~/Desktop $ xine
 This is xine (X11 gui) - a free video player v0.99.5.
 (c) 2000-2007 The xine Team.
 X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  140 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  1814
  Current serial number in output stream:  1815
 m...@dragonfly ~/Desktop $

   Note that this isn't even trying to play the file, it's just trying
 to start the user interface.

   I see segfault and error/warning messages in dmesg:

 mtrr: no MTRR for f000,800 found
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 X[22596]: segfault at 0 ip  sp bf91df1c error 4 in
 Xorg[8048000+179000] [drm:i915_getparam] *ERROR* Unknown parameter 5
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 X[22764]: segfault at 2d8 ip b7f266c4 sp bfd56a80 error 4 in
 libdrm_intel.so.1.0.0[b7f25000+7000]
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 [drm:i915_getparam] *ERROR* Unknown parameter 5

    The MTRR warnings have been around forever on this machine. I think
 the drm:i915 warning is benign in that it's supposedly saying the
 kernel doesn't have gem support, but I could be very wrong about that.

    The kernel is recent but not the most up to date.

    Does *anyone* have an idea what I should do to debug this further?
 I've never managed to get good backtrace info under Gentoo so that's
 probably a struggle I'd rather not deal with if possible, especially
 for something as complicated as X. The segfault looks like something
 uninitialized to me but what do I know... (Not much!)

    I can send all sorts of machine/Gentoo info if requested.

    Anyway, all thoughts appreciated.

 Cheers,
 Mark

 have you rebuilt libxv?
 what happens if you don't use xv but xshm as output plugin?



Hi Volker,

The machine is clean emerge -DuN world, revdep-rebuild. As a test I
just rebuilt libXv and libXvMC but it still crashes.

dragonfly ~ # emerge -pv1 libXv libXvMC

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/libXv-1.0.4  USE=-debug 0 kB
[ebuild   R   ] x11-libs/libXvMC-1.0.4  USE=-debug 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
dragonfly ~ #

Other mplayer formats do not crash. I've tried x11, gl  gl2. They all
work fine. Only

mplayer File.avi

or

mplayer -vo xv FILE.avi

crash X so it seems to be an xv thing. This all used to work before
the upgrade. I'm going to move on to Paul's suggestion about using an
xorg.conf file and see if that helps.

- Mark



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Dale
Mark Knecht wrote:

Does *anyone* have an idea what I should do to debug this further?
 I've never managed to get good backtrace info under Gentoo so that's
 probably a struggle I'd rather not deal with if possible, especially
 for something as complicated as X. The segfault looks like something
 uninitialized to me but what do I know... (Not much!)

I can send all sorts of machine/Gentoo info if requested.

Anyway, all thoughts appreciated.

 Cheers,
 Mark


   

I don't know if you have been following my recent thread or not but what
version of gcc are you using?  I was using gcc 4.3 and I am having
multiple issues with a lot of things.  I can't compile a kernel of if it
compiles some things don't work, sound for example.  Seamonkey crashes
at times for no reason.  I also had trouble with the new xorg-server
crashing with me.   Also, my camera and printer, which are USB, were no
longer found.

To fix this, I went back to gcc 4.1 and started a emerge -ev world.  As
things are being recompiled, things are getting back to normal.  I'm not
saying this will fix your issue but it may be something to consider if
you are using gcc 4.3.  So far, my camera and printer is back, I can
compile a kernel with no errors and Seamonkey is being compiled as I type.

Just something for you to ponder.  Maybe when you have ran out of other
ideas.

Dale

:-)  :-) 



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Volker Armin Hemmann
On Freitag 17 April 2009, Dale wrote:
 Mark Knecht wrote:
 Does *anyone* have an idea what I should do to debug this further?
  I've never managed to get good backtrace info under Gentoo so that's
  probably a struggle I'd rather not deal with if possible, especially
  for something as complicated as X. The segfault looks like something
  uninitialized to me but what do I know... (Not much!)
 
 I can send all sorts of machine/Gentoo info if requested.
 
 Anyway, all thoughts appreciated.
 
  Cheers,
  Mark

 I don't know if you have been following my recent thread or not but what
 version of gcc are you using?  I was using gcc 4.3 and I am having
 multiple issues with a lot of things.  I can't compile a kernel of if it
 compiles some things don't work, sound for example.  Seamonkey crashes
 at times for no reason.  I also had trouble with the new xorg-server
 crashing with me.   Also, my camera and printer, which are USB, were no
 longer found.

 To fix this, I went back to gcc 4.1 and started a emerge -ev world.  As
 things are being recompiled, things are getting back to normal.  I'm not
 saying this will fix your issue but it may be something to consider if
 you are using gcc 4.3.  So far, my camera and printer is back, I can
 compile a kernel with no errors and Seamonkey is being compiled as I type.

 Just something for you to ponder.  Maybe when you have ran out of other
 ideas.

 Dale

 :-)  :-)

 Installed versions:  4.3.3-r2(4.3)!s(01:52:54 29.03.2009)(fortran mudflap 
multilib nls openmp -altivec -bootstrap -build -doc -fixed-point -gcj -gtk -
hardened -ip28 -ip32r10k -libffi -multislot -n32 -n64 -nocxx -nopie -objc -
objc++ -objc-gc -test -vanilla)  

are you sure its gcc and not the kernel you are using? 




Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Mark Knecht
On Fri, Apr 17, 2009 at 2:47 PM, Dale rdalek1...@gmail.com wrote:
 Mark Knecht wrote:

    Does *anyone* have an idea what I should do to debug this further?
 I've never managed to get good backtrace info under Gentoo so that's
 probably a struggle I'd rather not deal with if possible, especially
 for something as complicated as X. The segfault looks like something
 uninitialized to me but what do I know... (Not much!)

    I can send all sorts of machine/Gentoo info if requested.

    Anyway, all thoughts appreciated.

 Cheers,
 Mark




 I don't know if you have been following my recent thread or not but what
 version of gcc are you using?  I was using gcc 4.3 and I am having
 multiple issues with a lot of things.  I can't compile a kernel of if it
 compiles some things don't work, sound for example.  Seamonkey crashes
 at times for no reason.  I also had trouble with the new xorg-server
 crashing with me.   Also, my camera and printer, which are USB, were no
 longer found.

 To fix this, I went back to gcc 4.1 and started a emerge -ev world.  As
 things are being recompiled, things are getting back to normal.  I'm not
 saying this will fix your issue but it may be something to consider if
 you are using gcc 4.3.  So far, my camera and printer is back, I can
 compile a kernel with no errors and Seamonkey is being compiled as I type.

 Just something for you to ponder.  Maybe when you have ran out of other
 ideas.

 Dale


Dale,
   I have sort of been following that thread and it has been on my
mind. I currently do seem to be using 4.3.2 and I've wondered if that
requires a complete rebuild of the machine. I don't mind doing that
but I don't want to start down that path until I've exhausted all
other possibilities as it takes so much time. I'm pretty sure my
current kernel was compiled with 4.3.2 and X certainly was as I built
it this morning.

Thanks!

- Mark

dragonfly ~ # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.3
 [2] i686-pc-linux-gnu-3.4.4
 [3] i686-pc-linux-gnu-3.4.4-hardened
 [4] i686-pc-linux-gnu-3.4.4-hardenednopie
 [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [6] i686-pc-linux-gnu-3.4.4-hardenednossp
 [7] i686-pc-linux-gnu-4.3.2 *
dragonfly ~ #
dragonfly ~ # emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.3.2-r3  USE=fortran gcj gtk mudflap
nls openmp (-altivec) -bootstrap -build -doc (-fixed-point)
(-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32)
(-n64) -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
dragonfly ~ #



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Dale
Volker Armin Hemmann wrote:
 On Freitag 17 April 2009, Dale wrote:
   
 Mark Knecht wrote:
 
Does *anyone* have an idea what I should do to debug this further?
 I've never managed to get good backtrace info under Gentoo so that's
 probably a struggle I'd rather not deal with if possible, especially
 for something as complicated as X. The segfault looks like something
 uninitialized to me but what do I know... (Not much!)

I can send all sorts of machine/Gentoo info if requested.

Anyway, all thoughts appreciated.

 Cheers,
 Mark
   
 I don't know if you have been following my recent thread or not but what
 version of gcc are you using?  I was using gcc 4.3 and I am having
 multiple issues with a lot of things.  I can't compile a kernel of if it
 compiles some things don't work, sound for example.  Seamonkey crashes
 at times for no reason.  I also had trouble with the new xorg-server
 crashing with me.   Also, my camera and printer, which are USB, were no
 longer found.

 To fix this, I went back to gcc 4.1 and started a emerge -ev world.  As
 things are being recompiled, things are getting back to normal.  I'm not
 saying this will fix your issue but it may be something to consider if
 you are using gcc 4.3.  So far, my camera and printer is back, I can
 compile a kernel with no errors and Seamonkey is being compiled as I type.

 Just something for you to ponder.  Maybe when you have ran out of other
 ideas.

 Dale

 :-)  :-)
 

  Installed versions:  4.3.3-r2(4.3)!s(01:52:54 29.03.2009)(fortran 
 mudflap 
 multilib nls openmp -altivec -bootstrap -build -doc -fixed-point -gcj -gtk -
 hardened -ip28 -ip32r10k -libffi -multislot -n32 -n64 -nocxx -nopie -objc -
 objc++ -objc-gc -test -vanilla)  

 are you sure its gcc and not the kernel you are using? 



   

Yep, as soon as I switched back and recompiled things, they started
working again.  So far, things are getting back to normal and I am about
half way though my emerge -ev world.  I am booting the same kernel that
I have been using for over a year.  One reason I have not upgraded my
kernel is the fact that gcc wouldn't compile a stable kernel.  It would
either error during the compile or things would not work even tho it
should.  Most of the time it would not finish a compile.

This may not be your problem but given what I have been through, I
thought it worth a mention.  If you run out of other ideas, switch back
to a older gcc then emerge -ev mythtv or whatever you need to do to test
this theory.  If that fixes it, then we know that gcc 4.3 has a issue
somewhere.

I hope you get it fixed either way.

Dale

:-)  :-) 



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Dale
Mark Knecht wrote:
 On Fri, Apr 17, 2009 at 2:47 PM, Dale rdalek1...@gmail.com wrote:
   
 Mark Knecht wrote:
 
Does *anyone* have an idea what I should do to debug this further?
 I've never managed to get good backtrace info under Gentoo so that's
 probably a struggle I'd rather not deal with if possible, especially
 for something as complicated as X. The segfault looks like something
 uninitialized to me but what do I know... (Not much!)

I can send all sorts of machine/Gentoo info if requested.

Anyway, all thoughts appreciated.

 Cheers,
 Mark



   
 I don't know if you have been following my recent thread or not but what
 version of gcc are you using?  I was using gcc 4.3 and I am having
 multiple issues with a lot of things.  I can't compile a kernel of if it
 compiles some things don't work, sound for example.  Seamonkey crashes
 at times for no reason.  I also had trouble with the new xorg-server
 crashing with me.   Also, my camera and printer, which are USB, were no
 longer found.

 To fix this, I went back to gcc 4.1 and started a emerge -ev world.  As
 things are being recompiled, things are getting back to normal.  I'm not
 saying this will fix your issue but it may be something to consider if
 you are using gcc 4.3.  So far, my camera and printer is back, I can
 compile a kernel with no errors and Seamonkey is being compiled as I type.

 Just something for you to ponder.  Maybe when you have ran out of other
 ideas.

 Dale

 

 Dale,
I have sort of been following that thread and it has been on my
 mind. I currently do seem to be using 4.3.2 and I've wondered if that
 requires a complete rebuild of the machine. I don't mind doing that
 but I don't want to start down that path until I've exhausted all
 other possibilities as it takes so much time. I'm pretty sure my
 current kernel was compiled with 4.3.2 and X certainly was as I built
 it this morning.

 Thanks!

 - Mark

 dragonfly ~ # gcc-config -l
  [1] i686-pc-linux-gnu-3.3.3
  [2] i686-pc-linux-gnu-3.4.4
  [3] i686-pc-linux-gnu-3.4.4-hardened
  [4] i686-pc-linux-gnu-3.4.4-hardenednopie
  [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
  [6] i686-pc-linux-gnu-3.4.4-hardenednossp
  [7] i686-pc-linux-gnu-4.3.2 *
 dragonfly ~ #
 dragonfly ~ # emerge -pv gcc

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild   R   ] sys-devel/gcc-4.3.2-r3  USE=fortran gcj gtk mudflap
 nls openmp (-altivec) -bootstrap -build -doc (-fixed-point)
 (-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32)
 (-n64) -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla 0 kB

 Total: 1 package (1 reinstall), Size of downloads: 0 kB
 dragonfly ~ #


   

I can't say with 100% certainty that this is gcc but I'm 99% sure it is
in my case.  I switched to gcc 4.3 and things just got weird.  Kernels
wouldn't compile, my sound quit working, my USB ports went belly up and
things started crashing.  Seamonkey was one of them.  That started out
on a specific site but then just started crashing even when I was doing
nothing at all.  I would come back and it would be gone.  Then Kmix,
alsamixer wouldn't open any more and a few other weird things.

I'm half way though my emerge -ev world and I can tell you things are a
lot better.  I have not changed any configs, changed kernels or anything
else, just switched back to the old gcc and started a emerge -e world. 

I would exhaust everything else but you may want to keep this in the
back of your mind just in case.  My gcc info:

r...@smoker / # gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2 *
 [2] i686-pc-linux-gnu-4.3.2
r...@smoker / #

Dale

:-)  :-) 



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Paul Hartman
On Fri, Apr 17, 2009 at 4:42 PM, Mark Knecht markkne...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 2:18 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
 This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

 It looks like maybe a problem with xv overlays. You can try using a
 different output driver than xv. Also, try adding AccelMethod to your
 device section in xorg.conf if you don't have it:

 Option AccelMethod XAA

 If that doesn't help, maybe try EXA instead of XAA.

 Also, if you're using anything like compiz of KDE4 desktop effects,
 try turning it off.

 Right now I don't have an xorg.conf file as the new xorg upgrade guide
 encourages you to dump it. I'm not overly comfortable with that and
 will likely try creating a new xorg or using my old one later. I'll
 try your idea as soon as I get to that.

I'm not sure if video device options such as AccelMethod can be set
via FDI... I think they may still belong in xorg.conf, just not input
devices. I have nothing but the video device options in my xorg.conf
:)

Also as someone suggested in a similar thread recently, maybe give
driconf a try as well.



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Volker Armin Hemmann
On Samstag 18 April 2009, Dale wrote:
 Volker Armin Hemmann wrote:
  On Freitag 17 April 2009, Dale wrote:
  Mark Knecht wrote:
 Does *anyone* have an idea what I should do to debug this further?
  I've never managed to get good backtrace info under Gentoo so that's
  probably a struggle I'd rather not deal with if possible, especially
  for something as complicated as X. The segfault looks like something
  uninitialized to me but what do I know... (Not much!)
 
 I can send all sorts of machine/Gentoo info if requested.
 
 Anyway, all thoughts appreciated.
 
  Cheers,
  Mark
 
  I don't know if you have been following my recent thread or not but what
  version of gcc are you using?  I was using gcc 4.3 and I am having
  multiple issues with a lot of things.  I can't compile a kernel of if it
  compiles some things don't work, sound for example.  Seamonkey crashes
  at times for no reason.  I also had trouble with the new xorg-server
  crashing with me.   Also, my camera and printer, which are USB, were no
  longer found.
 
  To fix this, I went back to gcc 4.1 and started a emerge -ev world.  As
  things are being recompiled, things are getting back to normal.  I'm not
  saying this will fix your issue but it may be something to consider if
  you are using gcc 4.3.  So far, my camera and printer is back, I can
  compile a kernel with no errors and Seamonkey is being compiled as I
  type.
 
  Just something for you to ponder.  Maybe when you have ran out of other
  ideas.
 
  Dale
 
  :-)  :-)
 
   Installed versions:  4.3.3-r2(4.3)!s(01:52:54 29.03.2009)(fortran
  mudflap multilib nls openmp -altivec -bootstrap -build -doc -fixed-point
  -gcj -gtk - hardened -ip28 -ip32r10k -libffi -multislot -n32 -n64 -nocxx
  -nopie -objc - objc++ -objc-gc -test -vanilla)
 
  are you sure its gcc and not the kernel you are using?

 Yep, as soon as I switched back and recompiled things, they started
 working again.  So far, things are getting back to normal and I am about
 half way though my emerge -ev world.  I am booting the same kernel that
 I have been using for over a year.  One reason I have not upgraded my
 kernel is the fact that gcc wouldn't compile a stable kernel.  It would
 either error during the compile or things would not work even tho it
 should.  Most of the time it would not finish a compile.

 This may not be your problem but given what I have been through, I
 thought it worth a mention.  If you run out of other ideas, switch back
 to a older gcc then emerge -ev mythtv or whatever you need to do to test
 this theory.  If that fixes it, then we know that gcc 4.3 has a issue
 somewhere.

 I hope you get it fixed either way.

 Dale

 :-)  :-)

I don't have problems. In fact, gcc4.3 worked very fine for me - but I also do 
not use acient kernels or software from the stone ages of programing (aka 2008 
;) )




Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Dale
Volker Armin Hemmann wrote:
 On Samstag 18 April 2009, Dale wrote:
   
 Volker Armin Hemmann wrote:
 
 On Freitag 17 April 2009, Dale wrote:
   
 Mark Knecht wrote:
 
Does *anyone* have an idea what I should do to debug this further?
 I've never managed to get good backtrace info under Gentoo so that's
 probably a struggle I'd rather not deal with if possible, especially
 for something as complicated as X. The segfault looks like something
 uninitialized to me but what do I know... (Not much!)

I can send all sorts of machine/Gentoo info if requested.

Anyway, all thoughts appreciated.

 Cheers,
 Mark
   
 I don't know if you have been following my recent thread or not but what
 version of gcc are you using?  I was using gcc 4.3 and I am having
 multiple issues with a lot of things.  I can't compile a kernel of if it
 compiles some things don't work, sound for example.  Seamonkey crashes
 at times for no reason.  I also had trouble with the new xorg-server
 crashing with me.   Also, my camera and printer, which are USB, were no
 longer found.

 To fix this, I went back to gcc 4.1 and started a emerge -ev world.  As
 things are being recompiled, things are getting back to normal.  I'm not
 saying this will fix your issue but it may be something to consider if
 you are using gcc 4.3.  So far, my camera and printer is back, I can
 compile a kernel with no errors and Seamonkey is being compiled as I
 type.

 Just something for you to ponder.  Maybe when you have ran out of other
 ideas.

 Dale

 :-)  :-)
 
  Installed versions:  4.3.3-r2(4.3)!s(01:52:54 29.03.2009)(fortran
 mudflap multilib nls openmp -altivec -bootstrap -build -doc -fixed-point
 -gcj -gtk - hardened -ip28 -ip32r10k -libffi -multislot -n32 -n64 -nocxx
 -nopie -objc - objc++ -objc-gc -test -vanilla)

 are you sure its gcc and not the kernel you are using?
   
 Yep, as soon as I switched back and recompiled things, they started
 working again.  So far, things are getting back to normal and I am about
 half way though my emerge -ev world.  I am booting the same kernel that
 I have been using for over a year.  One reason I have not upgraded my
 kernel is the fact that gcc wouldn't compile a stable kernel.  It would
 either error during the compile or things would not work even tho it
 should.  Most of the time it would not finish a compile.

 This may not be your problem but given what I have been through, I
 thought it worth a mention.  If you run out of other ideas, switch back
 to a older gcc then emerge -ev mythtv or whatever you need to do to test
 this theory.  If that fixes it, then we know that gcc 4.3 has a issue
 somewhere.

 I hope you get it fixed either way.

 Dale

 :-)  :-)
 

 I don't have problems. In fact, gcc4.3 worked very fine for me - but I also 
 do 
 not use acient kernels or software from the stone ages of programing (aka 
 2008 
 ;) )



   

Well, the kernel that would not compile is a gentoo-sources-2.6.29-r1, I
also tried gentoo-sources-2.6.29, gentoo-sources-2.6.28-r2 and
gentoo-sources-2.6.27-r7.  I don't think those are that old.  I run
mostly stable with only a few exceptions.  I wouldn't call that the
stone age.  After all, 2008 was only a few months ago.

If it works for you, great.  Point of my reply was that it is not
working here for me.  I'm not dreaming, I am as sure of that as anything
else on this machine.  I even tested it with a CD to make sure my
hardware was good.  It is, gcc 4.3 appears not to be.

Dale

:-)  :-) 



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Volker Armin Hemmann
On Samstag 18 April 2009, Dale wrote:
 Volker Armin Hemmann wrote:
  On Samstag 18 April 2009, Dale wrote:
  Volker Armin Hemmann wrote:
  On Freitag 17 April 2009, Dale wrote:
  Mark Knecht wrote:
 Does *anyone* have an idea what I should do to debug this further?
  I've never managed to get good backtrace info under Gentoo so that's
  probably a struggle I'd rather not deal with if possible, especially
  for something as complicated as X. The segfault looks like something
  uninitialized to me but what do I know... (Not much!)
 
 I can send all sorts of machine/Gentoo info if requested.
 
 Anyway, all thoughts appreciated.
 
  Cheers,
  Mark
 
  I don't know if you have been following my recent thread or not but
  what version of gcc are you using?  I was using gcc 4.3 and I am
  having multiple issues with a lot of things.  I can't compile a kernel
  of if it compiles some things don't work, sound for example. 
  Seamonkey crashes at times for no reason.  I also had trouble with the
  new xorg-server crashing with me.   Also, my camera and printer, which
  are USB, were no longer found.
 
  To fix this, I went back to gcc 4.1 and started a emerge -ev world. 
  As things are being recompiled, things are getting back to normal. 
  I'm not saying this will fix your issue but it may be something to
  consider if you are using gcc 4.3.  So far, my camera and printer is
  back, I can compile a kernel with no errors and Seamonkey is being
  compiled as I type.
 
  Just something for you to ponder.  Maybe when you have ran out of
  other ideas.
 
  Dale
 
  :-)  :-)
 
   Installed versions:  4.3.3-r2(4.3)!s(01:52:54 29.03.2009)(fortran
  mudflap multilib nls openmp -altivec -bootstrap -build -doc
  -fixed-point -gcj -gtk - hardened -ip28 -ip32r10k -libffi -multislot
  -n32 -n64 -nocxx -nopie -objc - objc++ -objc-gc -test -vanilla)
 
  are you sure its gcc and not the kernel you are using?
 
  Yep, as soon as I switched back and recompiled things, they started
  working again.  So far, things are getting back to normal and I am about
  half way though my emerge -ev world.  I am booting the same kernel that
  I have been using for over a year.  One reason I have not upgraded my
  kernel is the fact that gcc wouldn't compile a stable kernel.  It would
  either error during the compile or things would not work even tho it
  should.  Most of the time it would not finish a compile.
 
  This may not be your problem but given what I have been through, I
  thought it worth a mention.  If you run out of other ideas, switch back
  to a older gcc then emerge -ev mythtv or whatever you need to do to test
  this theory.  If that fixes it, then we know that gcc 4.3 has a issue
  somewhere.
 
  I hope you get it fixed either way.
 
  Dale
 
  :-)  :-)
 
  I don't have problems. In fact, gcc4.3 worked very fine for me - but I
  also do not use acient kernels or software from the stone ages of
  programing (aka 2008 ;) )

 Well, the kernel that would not compile is a gentoo-sources-2.6.29-r1, I
 also tried gentoo-sources-2.6.29, gentoo-sources-2.6.28-r2 and
 gentoo-sources-2.6.27-r7.  I don't think those are that old.  I run
 mostly stable with only a few exceptions.  I wouldn't call that the
 stone age.  After all, 2008 was only a few months ago.

 If it works for you, great.  Point of my reply was that it is not
 working here for me.  I'm not dreaming, I am as sure of that as anything
 else on this machine.  I even tested it with a CD to make sure my
 hardware was good.  It is, gcc 4.3 appears not to be.

 Dale

 :-)  :-)

and have you ever tried a kernel without stupid patches - aka vanilla sources?




Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Mark Knecht
On Fri, Apr 17, 2009 at 2:18 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
 This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

 It looks like maybe a problem with xv overlays. You can try using a
 different output driver than xv. Also, try adding AccelMethod to your
 device section in xorg.conf if you don't have it:

 Option AccelMethod XAA

 If that doesn't help, maybe try EXA instead of XAA.

 Also, if you're using anything like compiz of KDE4 desktop effects,
 try turning it off.



OK, I tried XAA and EXA. I see evidence in Xorg.0.log that they are
each recognized but both ways I'm still crashing X.

This is very disappointing, but at least I can run mplayer on this
machine if I remember to set the decoder type.

Our emails are crossing in the ether. I'm building driconf now and
will see what I can do with that. I'm not sure what to try. driconf
doesn't seem very happy. It cannot find glxinfo, and I just found out
that glxgears is no longer on the system. Did that change with
xorg-7.4 or do I need to re-emerge something? I cannot remember.

Anyway, I'll keep plugging away at this. Thanks for the idea on driconf.

Cheers,
Mark



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Dale
Volker Armin Hemmann wrote:
 On Samstag 18 April 2009, Dale wrote:
   
 Volker Armin Hemmann wrote:
 
   
 I don't have problems. In fact, gcc4.3 worked very fine for me - but I
 also do not use acient kernels or software from the stone ages of
 programing (aka 2008 ;) )
   
 Well, the kernel that would not compile is a gentoo-sources-2.6.29-r1, I
 also tried gentoo-sources-2.6.29, gentoo-sources-2.6.28-r2 and
 gentoo-sources-2.6.27-r7.  I don't think those are that old.  I run
 mostly stable with only a few exceptions.  I wouldn't call that the
 stone age.  After all, 2008 was only a few months ago.

 If it works for you, great.  Point of my reply was that it is not
 working here for me.  I'm not dreaming, I am as sure of that as anything
 else on this machine.  I even tested it with a CD to make sure my
 hardware was good.  It is, gcc 4.3 appears not to be.

 Dale

 :-)  :-)
 

 and have you ever tried a kernel without stupid patches - aka vanilla sources?



   

Nope, never had a reason to.  Thing is, they compile just fine with gcc
4.1 so why should I try that?  It doesn't compile or work with gcc 4.3
but does compile and work with gcc 4.1.  That along with everything else
tells me that at least on this rig, gcc 4.3 has a problem.  NOTHING
changed except for the compiler.  No configs, not my make.conf, not
anything.  Not even the version of software changed.  I switched to gcc
4.1 and things are getting back to normal. 

This isn't just a kernel problem.

Dale

:-)  :-) 



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Paul Hartman
On Fri, Apr 17, 2009 at 6:17 PM, Mark Knecht markkne...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 2:18 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
 This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

 It looks like maybe a problem with xv overlays. You can try using a
 different output driver than xv. Also, try adding AccelMethod to your
 device section in xorg.conf if you don't have it:

 Option AccelMethod XAA

 If that doesn't help, maybe try EXA instead of XAA.

 Also, if you're using anything like compiz of KDE4 desktop effects,
 try turning it off.



 OK, I tried XAA and EXA. I see evidence in Xorg.0.log that they are
 each recognized but both ways I'm still crashing X.

 This is very disappointing, but at least I can run mplayer on this
 machine if I remember to set the decoder type.

 Our emails are crossing in the ether. I'm building driconf now and
 will see what I can do with that. I'm not sure what to try. driconf
 doesn't seem very happy. It cannot find glxinfo, and I just found out
 that glxgears is no longer on the system. Did that change with
 xorg-7.4 or do I need to re-emerge something? I cannot remember.

 Anyway, I'll keep plugging away at this. Thanks for the idea on driconf.

Could it be you don't have mesa-progs installed? (Or perhaps even mesa itself?)



Re: [gentoo-user] Continued Xorg crashes

2009-04-17 Thread Mark Knecht
On Fri, Apr 17, 2009 at 5:26 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 6:17 PM, Mark Knecht markkne...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 2:18 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 17, 2009 at 4:02 PM, Mark Knecht markkne...@gmail.com wrote:
 This started as part of Michael's thread about Myth crashing.
 mythfrontend is segfaulting for me also, but my problem has spread to
 pretty much any application that tries to display video - mplayer,
 xine and Myth all crash with similar errors. Only xine doesn't crash X
 completely and leaves behind anything in terms of clues.

 It looks like maybe a problem with xv overlays. You can try using a
 different output driver than xv. Also, try adding AccelMethod to your
 device section in xorg.conf if you don't have it:

 Option AccelMethod XAA

 If that doesn't help, maybe try EXA instead of XAA.

 Also, if you're using anything like compiz of KDE4 desktop effects,
 try turning it off.



 OK, I tried XAA and EXA. I see evidence in Xorg.0.log that they are
 each recognized but both ways I'm still crashing X.

 This is very disappointing, but at least I can run mplayer on this
 machine if I remember to set the decoder type.

 Our emails are crossing in the ether. I'm building driconf now and
 will see what I can do with that. I'm not sure what to try. driconf
 doesn't seem very happy. It cannot find glxinfo, and I just found out
 that glxgears is no longer on the system. Did that change with
 xorg-7.4 or do I need to re-emerge something? I cannot remember.

 Anyway, I'll keep plugging away at this. Thanks for the idea on driconf.

 Could it be you don't have mesa-progs installed? (Or perhaps even mesa 
 itself?)


Yeah, it seems mesa-progs isn't installed which explains the lack of
glxgears. I guess that was jsut included by default with the old
server.

I do note that while I have xorg-x11-7.4 installed, I only have
mesa-7.3-r1, not 7.4. Are those intended to match up 1 for 1? Probably
doesn't matter...

Thanks,
Mark