From owner-freebsd-x11@FreeBSD.ORG Tue Jan 26 03:24:27 2010 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F3D1065780 for ; Tue, 26 Jan 2010 03:24:27 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8DD8FC1F for ; Tue, 26 Jan 2010 03:24:26 +0000 (UTC) Received: from [192.168.1.4] (adsl-149-142-141.bna.bellsouth.net [70.149.142.141]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o0Q3OMgA092126 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 25 Jan 2010 22:24:23 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: =?ISO-8859-1?Q?Fran=E7ois?= Leclerc In-Reply-To: <363673bf1001251907l3b397e8bj33d5d47fcb4928bc@mail.gmail.com> References: <363673bf0912301143x72aa6177g898648a7de5384e@mail.gmail.com> <1262204181.2314.189.camel@balrog.2hip.net> <363673bf1001251655q64accc9oa612c3fa5a87d17c@mail.gmail.com> <1264468144.2869.26.camel@balrog.2hip.net> <363673bf1001251734h6b397040va564be5c0763d6ae@mail.gmail.com> <1264472992.2869.59.camel@balrog.2hip.net> <363673bf1001251840i59a51807tfcbcc567de189f06@mail.gmail.com> <1264473790.2869.61.camel@balrog.2hip.net> <363673bf1001251857h4e622218uca61fac7ee583b41@mail.gmail.com> <1264474871.2869.62.camel@balrog.2hip.net> <363673bf1001251907l3b397e8bj33d5d47fcb4928bc@mail.gmail.com> Content-Type: text/plain; charset="ISO-8859-1" Organization: FreeBSD Date: Mon, 25 Jan 2010 21:24:17 -0600 Message-Id: <1264476257.2869.67.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.4 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX, RCVD_IN_PBL,RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: Xorg crashes and reboots my computer X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2010 03:24:27 -0000 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 if that doesn't show any errors, then patch -p0 -s -i 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 > 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 > > 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 > > > 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 > > > > > 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 > > > > > > > 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@freebsd.org > > mailing list > > > > > > > > > > > > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > > > > > > To unsubscribe, send > any mail > > to > > > > > > > "freebsd-x11-unsubscribe@freebsd.org" > > > > > -- > > > > > Robert Noland > > > > > > > FreeBSD > > > > > > > > > > > > > > > > > > -- > > > > > > > > Robert Noland > > > > > FreeBSD > > > > > > > > > > > > > > > > > > -- > > > > > > Robert Noland > > > FreeBSD > > > > > > > > > > > > > -- > > > > Robert Noland > > FreeBSD > > > > > > > > -- > > Robert Noland > FreeBSD > > > -- Robert Noland FreeBSD