Xorg crashes and reboots my computer

François Leclerc fleclerc at gmail.com
Tue Jan 26 03:29:03 UTC 2010


Thank you so much for your patience!

I will try that!

Cheers!

François.

2010/1/25 Robert Noland <rnoland at freebsd.org>

> On Mon, 2010-01-25 at 22:07 -0500, François Leclerc wrote:
> > Ok!
> >
> > How do you apply the patch? I am a newbie and have never done this!
>
> cd /usr/ports && patch -C -p0 -s -i <patchfile>
>
> if that doesn't show any errors, then
>
> patch -p0 -s -i <patchfile>
>
> rebuild/install at least libGL and dri.
>
> you will need to either manually bump the version of libdrm or get it
> from one of the other patches.  IIRC, it needs to be at 2.4.15 or
> higher.
>
> robert.
>
> > After the patch has been applied, what ports do I upgrade? Just mesa?
> >
> > Thanks!
> >
> >
> > 2010/1/25 Robert Noland <rnoland at freebsd.org>
> >         On Mon, 2010-01-25 at 21:57 -0500, François Leclerc wrote:
> >         > Ok... so I'll install mesa from the mesa7.6.1 rc4 archive
> >         file I got.
> >         >
> >         > Is it better to use the final released mesa 7.6.1 from the
> >         mesa web
> >         > site?
> >
> >
> >         http://people.freebsd.org/~rnoland/mesa-7.6.1-release.patch
> >
> >
> >         robert.
> >
> >         > Thanks!
> >         >
> >         >
> >         > 2010/1/25 Robert Noland <rnoland at freebsd.org>
> >         >         On Mon, 2010-01-25 at 21:40 -0500, François Leclerc
> >         wrote:
> >         >         > Hi again,
> >         >         >
> >         >         > Mesa 7.6.1 is pretty recent and includes a new
> >         driver for
> >         >         r600 cards
> >         >         > like mine. Should I install that?
> >         >         >
> >         >         > For drm, I guess I will have to find a patched
> >         version.
> >         >         Someone gave
> >         >         > me a link to a mesa 7.6.1 rc4 file that includes a
> >         makefile
> >         >         for drm. I
> >         >         > guess I'll try that. And see if mesa 7.6.1 is ok,
> >         unless you
> >         >         think it
> >         >         > will likely don't work.
> >         >
> >         >
> >         >         Yes, you can use my mesa-7.6.1-final patch and just
> >         bump
> >         >         liddrm manually
> >         >         or take the libdrm patch from the other diff.
> >         >
> >         >         robert.
> >         >
> >         >
> >         >         > Thanks!
> >         >         >
> >         >         >
> >         >         > 2010/1/25 Robert Noland <rnoland at freebsd.org>
> >         >         >         On Mon, 2010-01-25 at 20:34 -0500,
> >         François Leclerc
> >         >         wrote:
> >         >         >         > Hi Robert,
> >         >         >         >
> >         >         >         > Here are my Xorg log and xorg.conf
> >         files.
> >         >         >
> >         >         >
> >         >         >         Ok, I think what it is referring to is
> >         mesa... Which
> >         >         if you
> >         >         >         aren't
> >         >         >         running from git or using one of the
> >         patches isn't
> >         >         new enough
> >         >         >         to support
> >         >         >         your card with 3D.  I posted a patch for
> >         the mesa
> >         >         ports a
> >         >         >         little while
> >         >         >         back to x11@ I think.  I didn't include
> >         libdrm in my
> >         >         patch,
> >         >         >         but there
> >         >         >         are a couple of patches floating around
> >         for that as
> >         >         well.
> >         >         >
> >         >         >         If it is for some reason still crashing,
> >         then it
> >         >         will take a
> >         >         >         lot more
> >         >         >         detailed debugging to sort it out.  I
> >         regularly use
> >         >         an HD
> >         >         >         4650, but I
> >         >         >         have a 3650 and 3850 around here somewhere
> >         also...
> >         >         >
> >         >         >         robert.
> >         >         >
> >         >         >
> >         >         >         > Thanks,
> >         >         >         >
> >         >         >         > François.
> >         >         >         >
> >         >         >         >
> >         >         >         > 2010/1/25 Robert Noland
> >         <rnoland at freebsd.org>
> >         >         >         >         On Mon, 2010-01-25 at 19:55
> >         -0500,
> >         >         François Leclerc
> >         >         >         wrote:
> >         >         >         >         > Hi,
> >         >         >         >         >
> >         >         >         >
> >         >         >         >         > I have new information. I said
> >         in an
> >         >         earlier
> >         >         >         message that
> >         >         >         >         when I
> >         >         >         >         > disabled dri and dri2, things
> >         worked
> >         >         well - when
> >         >         >         issuing a
> >         >         >         >         xinit
> >         >         >         >         > command. It does, only when I
> >         get back
> >         >         in console
> >         >         >         mode,
> >         >         >         >         there is an
> >         >         >         >         > error (which occured when
> >         xinit was
> >         >         called):
> >         >         >         >         >
> >         >         >         >         > (EE) RADEON(0): [dri]
> >         >         RADEONDRIGetVersion failed
> >         >         >         (libdri too
> >         >         >         >         old)
> >         >         >         >         >
> >         >         >         >         > I had removed X, deleted my
> >         ports tree,
> >         >         rebuilt it
> >         >         >         using
> >         >         >         >         portsnap and
> >         >         >         >         > then re-installed X. What
> >         needs to be
> >         >         updated now
> >         >         >         if my
> >         >         >         >         library is
> >         >         >         >         > "too old"?
> >         >         >         >
> >         >         >         >
> >         >         >         >         I would need to see the full log
> >         at least
> >         >         to have a
> >         >         >         clue...
> >         >         >         >          It is most
> >         >         >         >         likely referring to either
> >         libdrm or the
> >         >         actual
> >         >         >         kernel...
> >         >         >         >
> >         >         >         >         robert.
> >         >         >         >
> >         >         >         >
> >         >         >         >         > Thanks.
> >         >         >         >         >
> >         >         >         >         >
> >         >         >         >         > 2009/12/30 Robert Noland
> >         >         <rnoland at freebsd.org>
> >         >         >         >         >         On Wed, 2009-12-30 at
> >         14:43
> >         >         -0500,
> >         >         >         François Leclerc
> >         >         >         >         wrote:
> >         >         >         >         >         > Hi,
> >         >         >         >         >         >
> >         >         >         >         >         > I saw that someone
> >         already
> >         >         posted
> >         >         >         something
> >         >         >         >         similar. I have
> >         >         >         >         >         the same
> >         >         >         >         >         > problem.
> >         >         >         >         >         >
> >         >         >         >         >
> >         >         >         >
> >         >         >
> >         >
> >
> http://lists.freebsd.org/pipermail/freebsd-x11/2009-December/009124.html
> >         >         >         >         >         >
> >         >         >         >         >         > My system is: Intel
> >         Q6600 on a
> >         >         ASUS
> >         >         >         Maximus X38
> >         >         >         >         board with a
> >         >         >         >         >         Radeon HD 3870.
> >         >         >         >         >         >
> >         >         >         >         >         > I have FreeBSD - 8.0
> >         - STABLE
> >         >         - AMD64
> >         >         >         installed.
> >         >         >         >         >         >
> >         >         >         >         >         > It doesn't matter
> >         which driver
> >         >         I use
> >         >         >         (radeon or
> >         >         >         >         radeonhd),
> >         >         >         >         >         my machine
> >         >         >         >         >         > freezes or reboots
> >         when
> >         >         switching to
> >         >         >         graphical
> >         >         >         >         mode. Note
> >         >         >         >         >         that my xorg.conf
> >         >         >         >         >         > file is ok as per
> >         "Xorg
> >         >         -config
> >         >         >         xorg.conf -retro":
> >         >         >         >         I get the
> >         >         >         >         >         grey screen and
> >         >         >         >         >         > my mouse cursor is
> >         working
> >         >         correctly.
> >         >         >         Things get
> >         >         >         >         bad when I
> >         >         >         >         >         "xinit" or
> >         >         >         >         >         > "startx". If I
> >         disable "dri"
> >         >         and "dri2"
> >         >         >         >         >         in /etc/X11/xorg.conf
> >         things
> >         >         work
> >         >         >         >         >         > flawlessly.
> >         >         >         >         >         >
> >         >         >         >         >         > I read the list and
> >         someone
> >         >         else
> >         >         >         mentionned a new
> >         >         >         >         version of
> >         >         >         >         >         Xorg (7.6.1 I
> >         >         >         >         >         > think) is due soon.
> >         Will it
> >         >         fix issues
> >         >         >         like the
> >         >         >         >         one we are
> >         >         >         >         >         having? When will
> >         >         >         >         >         > it be released?
> >         >         >         >         >
> >         >         >         >         >
> >         >         >         >         >         The "7.6.1" that is
> >         referred to
> >         >         is Mesa,
> >         >         >         not Xorg.
> >         >         >         >          (libGL and
> >         >         >         >         >         dri,
> >         >         >         >         >         among other bits)
> >          That is
> >         >         needed for 3d.
> >         >         >          I'll need
> >         >         >         >         a bit
> >         >         >         >         >         more info
> >         >         >         >         >         before I can try to
> >         diagnose the
> >         >         issue
> >         >         >         though.
> >         >         >         >          Let's start
> >         >         >         >         >         with a
> >         >         >         >         >         "pciconf -lvb".  I may
> >         already
> >         >         have a
> >         >         >         patch to fix
> >         >         >         >         this, but
> >         >         >         >         >         the
> >         >         >         >         >         reported issue is
> >         generally
> >         >         screen
> >         >         >         corruption, not
> >         >         >         >         panics.
> >         >         >         >         >
> >         >         >         >         >         robert.
> >         >         >         >         >
> >         >         >         >         >         > Like the other
> >         poster, I can
> >         >         work with
> >         >         >         VESA in the
> >         >         >         >         meantime,
> >         >         >         >         >         but I would
> >         >         >         >         >         > prefer this issue
> >         fixed!
> >         >         >         >         >         >
> >         >         >         >         >         > Cheers!
> >         >         >         >         >         >
> >         >         >         >         >         > François
> >         >         >         >         >
> >         >         >         >         >         >
> >         >         >
> >         _______________________________________________
> >         >         >         >         >         >
> >         freebsd-x11 at freebsd.org
> >         >         mailing list
> >         >         >         >         >         >
> >         >         >         >
> >         >         >
> >         >
> >         http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> >         >         >         >         >         > To unsubscribe, send
> >         any mail
> >         >         to
> >         >         >         >         >
> >         >         "freebsd-x11-unsubscribe at freebsd.org"
> >         >         >         >         >         --
> >         >         >         >         >         Robert Noland
> >         >         <rnoland at FreeBSD.org>
> >         >         >         >         >         FreeBSD
> >         >         >         >         >
> >         >         >         >         >
> >         >         >         >
> >         >         >         >         --
> >         >         >         >
> >         >         >         >         Robert Noland
> >         <rnoland at FreeBSD.org>
> >         >         >         >         FreeBSD
> >         >         >         >
> >         >         >         >
> >         >         >         >
> >         >         >
> >         >         >         --
> >         >         >
> >         >         >         Robert Noland <rnoland at FreeBSD.org>
> >         >         >         FreeBSD
> >         >         >
> >         >         >
> >         >         >
> >         >
> >         >         --
> >         >
> >         >         Robert Noland <rnoland at FreeBSD.org>
> >         >         FreeBSD
> >         >
> >         >
> >         >
> >
> >         --
> >
> >         Robert Noland <rnoland at FreeBSD.org>
> >         FreeBSD
> >
> >
> >
> --
>  Robert Noland <rnoland at FreeBSD.org>
> FreeBSD
>
>


More information about the freebsd-x11 mailing list