Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2008 11:55:09 -0400
From:      Robert Noland <rnoland@FreeBSD.org>
To:        "Paul B. Mahol" <onemda@gmail.com>
Cc:        freebsd-x11 <freebsd-x11@freebsd.org>, jimmiejaz@gmail.com
Subject:   Re: [CFT] drm updates
Message-ID:  <1220025309.37942.35.camel@squirrel.corp.cox.com>
In-Reply-To: <3a142e750808290354x2578a075r50ab0cd6edc21ed5@mail.gmail.com>
References:  <48B1A590.2040701@gmail.com> <3a142e750808260741p224bd68aw52711eab7e76aa59@mail.gmail.com> <3a142e750808260851u13de6cf9jf2640c195f9be81e@mail.gmail.com> <1219769914.58043.11.camel@squirrel.corp.cox.com> <3a142e750808270307k237c5660ha98e8bcdfbddc4dc@mail.gmail.com> <1219850374.61484.7.camel@squirrel.corp.cox.com> <3a142e750808281007r42bbe4d0u53be9c0074386c10@mail.gmail.com> <1219944411.61066.5.camel@squirrel.corp.cox.com> <3a142e750808281145m3d49839fv4665066d1791e4e6@mail.gmail.com> <1219953332.2212.4.camel@squirrel.corp.cox.com> <3a142e750808290354x2578a075r50ab0cd6edc21ed5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-3CDwYmdW9Y5KK4SDA5W6
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2008-08-29 at 12:54 +0200, Paul B. Mahol wrote:
> On 8/28/08, Robert Noland <rnoland@freebsd.org> wrote:
> > On Thu, 2008-08-28 at 20:45 +0200, Paul B. Mahol wrote:
> >> On 8/28/08, Robert Noland <rnoland@freebsd.org> wrote:
> >> > On Thu, 2008-08-28 at 19:07 +0200, Paul B. Mahol wrote:
> >> >> On 8/27/08, Robert Noland <rnoland@freebsd.org> wrote:
> >> >> > On Wed, 2008-08-27 at 12:07 +0200, Paul B. Mahol wrote:
> >> >> >> On 8/26/08, Robert Noland <rnoland@freebsd.org> wrote:
> >> >> >> > On Tue, 2008-08-26 at 17:51 +0200, Paul B. Mahol wrote:
> >> >> >> >> Here is more kernel debug info (after updating libdrm and tes=
ting
> >> >> >> >> with
> >> >> >> >> glxgears)
> >> >> >> >
> >> >> >> > I don't think that the two issues are related, but try this
> >> >> >> > patch...
> >> >> >> > It
> >> >> >> > should at least, resolve the issue below.
> >> >> >> >
> >> >> >> > robert.
> >> >> >>
> >> >> >> Issue bellow is fixed, previous problem still exist.
> >> >> >>
> >> >> >> textdump of panic when unloading drm attached.
> >> >> >
> >> >> > Ok, The locking semantics are a nightmare... Give this a try, it
> >> >> > should
> >> >> > correct both the previous issue as well as this one.
> >> >> >
> >> >> > robert.
> >> >> >
> >> >>
> >> >> Panic fixed, now only Xorg crashing when using glxgears (,...) rema=
ins
> >> >> ;)
> >> >
> >> > Ok, what hardware are you using again?  Can you manually load drm
> >> > modules and set hw.dri.0.debug=3D1 and send me the debug output?
> >> >
> >> > robert.
> >>
> >> Hardware: "Mobile 945GM/GU Express Integrated Graphics Controller"
> >> Debug ouptut attached.
> >
> > Alright, try this...  I was pointed at this from another thread, but
> > your trace confirms why it doesn't work, at least with your driver.
> >
> > robert.
> >
>=20
> Nothing improved with that patch, still crash with glxgears, and lock
> with stellarium.

ok, I don't understand why I'm not seeing any of this on my 965gm...  If
you want to send me another debug trace, I'll see if I can tell what is
going on now... Also, please send me a copy of your xorg.conf.

> How to make sure that this is really drm problem and not i915, Xorg,
> mesa-ports that need recompiling?

If you are using current ports tree, then nothing should need rebuilding
that I can think of.  I have been using git libdrm and xf86-video-intel
driver, but what is in ports now should be fine I think.  The updated
libdrm should only be required to get the new vblank code to allow it to
disable vblank interrupts.

There is a bug which prevents vblanks irqs from being disabled after a
vt switch, but it shouldn't have a real impact on functionality.

robert.


--=-3CDwYmdW9Y5KK4SDA5W6
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEABECAAYFAki4G90ACgkQM4TrQ4qfROMykwCePGdCdDAMaGl0fotSqfAMJRoG
288An0q2s+mvaBVygJ5VO6H4ag5yO6Cc
=I/Ez
-----END PGP SIGNATURE-----

--=-3CDwYmdW9Y5KK4SDA5W6--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1220025309.37942.35.camel>