Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2009 01:56:27 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Brandon Gooch <jamesbrandongooch@gmail.com>
Cc:        Michiel Boland <michiel@boland.org>, FreeBSD Current <freebsd-current@freebsd.org>, Mattia Rossi <mrossi@swin.edu.au>
Subject:   Re: still problems with intel video
Message-ID:  <1238136987.8491.173.camel@balrog.2hip.net>
In-Reply-To: <179b97fb0903262114i511ec294ief17475d673e70c9@mail.gmail.com>
References:  <49CB70BD.3040607@boland.org> <1238086577.1792.30.camel@balrog.2hip.net> <49CC43C4.7030905@swin.edu.au> <1238126285.8491.2.camel@balrog.2hip.net> <179b97fb0903262114i511ec294ief17475d673e70c9@mail.gmail.com>

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

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

On Thu, 2009-03-26 at 23:14 -0500, Brandon Gooch wrote:
> On Thu, Mar 26, 2009 at 10:58 PM, Robert Noland <rnoland@freebsd.org> wro=
te:
> > On Fri, 2009-03-27 at 14:11 +1100, Mattia Rossi wrote:
> >> Robert Noland wrote:
> >> > On Thu, 2009-03-26 at 13:10 +0100, Michiel Boland wrote:
> >> >
> >> >> Hi. I still have problems with a very slow display after logging ou=
t of an X
> >> >> session and/or switching VTYs. The problem goes away if I add
> >> >> hw.pci.enable_msi=3D0 to /boot/loader.conf.
> >> >>
> >> >> Last csupped Mar 26 09:49 CET.
> >> >>
> >> >> System is Dell optiplex 745. Has built-in Intel Graphics Media Acce=
lerator 950
> >> >>
> >> >> Anything I can do to help solve this problem?
> >> >>
> >> >
> >> > I'm going to try and work on getting better debugging info from the
> >> > intel driver.  I don't have access to any newer Intel hardware at th=
e
> >> > moment, so testing is tricky.
> >> >
> >> > There is a tuneable for just msi on drm hw.drm.msi.
> >> >
> >> > robert.
> >> >
> >> >
> >> Yep, correct - here it is again - just had to log out of KDE, and afte=
r
> >> logging in again, everything was slow as hell.
> >> I didn't fiddle with the msi settings, just rebooted the machine, and
> >> everything is fine again.
> >> So there must be something that works the first time X is started, but
> >> upon restart stuffs up. Like some lock or reference which is not freed=
.
> >
> > There is a problem with restarting X on at least some Intel chips...
> > This is a different issue, I was trying to look into that a little bit
> > yesterday, but it kinda works on this 915 that I have, so I haven't
> > isolated what is getting messed up.  Again, vt switch, suspend/resume
> > are in the same ballpark, restart is not.
> >
> > robert.
> >
> >> Mat
> >> >> _______________________________________________
> >> >> freebsd-current@freebsd.org mailing list
> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >> >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freeb=
sd.org"
> >> >>
> >>
> > --
> > Robert Noland <rnoland@FreeBSD.org>
> > FreeBSD
> >
>=20
> I have been switching to the vty at which I started X in order to
> terminate X. If I try to terminate X while I'm in it, it just "hangs"
> -- I have to switch to the vty, ctrl-c it, wait, then blindly key in a
> reboot to get my system back up. IIRC, this started happening after I
> upgraded to Xorg 7.4.
>=20
> I thought that Mattia might be doing the same thing as a work-around
> for the freezing intel-driven display thing, thus the X-to-vty switch
> "fix" of disabling msi...

Hrm, ok... So, vt switching on the I915 that I'm using to test(which
doesn't support msi) works pretty much perfectly.  Console is not
corrupted, (unless I've restarted X at least once).  Shutdown/reboot
from gnome also works as expected.

I did most of the msi development on an i965gm, which did support msi
and vt switch also worked with msi at that time.  Restart was
problematic on the 965 then as well, which I believed to be an agp, or
agp/drm interaction issue.  So, unless some of the recent changes other
than msi, have broken 965, they should be mostly working ok as long as
you don't restart.

The g31 and g45 are slightly different and all of my work for those has
been based on what Intel has released for linux and the small amount of
documentation that is available at this point.

BTW, you debug output looks strange to me, did you also capture the drm
debug log from hw.dri.0.debug=3D1?

robert.

> -Brandon
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

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

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

iEYEABECAAYFAknMeJsACgkQM4TrQ4qfRON8RACfdIbtTDMyiaAoc34v6u+NIY/a
Y7YAniEXM4GRQxJXQd6IBkITE2nJwbLw
=7O3e
-----END PGP SIGNATURE-----

--=-atBWlYA2WXu5JHSlsvNh--




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