Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2019 17:10:11 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Kevin Zheng <kevinz5000@gmail.com>
Cc:        Pete Wright <pete@nomadlogic.org>, "freebsd-x11@freebsd.org" <x11@freebsd.org>
Subject:   Re: GPU hang on ThinkPad T420 with drm-kmod on 12.0-RELEASE
Message-ID:  <CAN6yY1u1X2d0B0xQ_xavhPCw6TYdu=%2B7Ei_ay6Ho7uD8gRY-kw@mail.gmail.com>
In-Reply-To: <52675baa-5138-9994-35e8-61fc01165ab7@gmail.com>
References:  <d3c55331-8b70-c2f7-8772-97640fd4c8b6@gmail.com> <c1bd7244-70d7-109c-97c6-0bb969f1fe4f@nomadlogic.org> <e6daa5ad-160f-2abd-3678-c96a4e27eb6b@gmail.com> <CAN6yY1vCDRbz4r_3g0=RHcLrqUwRrCwq7chcv7QzJFTYQaUEnw@mail.gmail.com> <52675baa-5138-9994-35e8-61fc01165ab7@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 4, 2019 at 3:45 PM Kevin Zheng <kevinz5000@gmail.com> wrote:

> On 1/3/19 11:44 PM, Kevin Oberman wrote:
> > I am running on 12.0-STABLE r342382 on my T500 with Sandy Bridge. Other
> > than screen size, I believe that it is identical with the T420. Are you
> > sure that yours is ivy Bridge? Maybe later T420schanged processors?
>
> No, you're right; T420 is Sandy Bridge (CPUID=0x206a7). Not that this
> makes much of a difference here.
>
> > I just discovered that it is essential that I run with the modesetting
> > driver, not xf86-video-intel. Are you running modesetting? Using he
> > older driver triggered several issues for me.I also am running mesa
> > 18.3.1 which is currently under test (and will hopefully be in ports
> > soon). You can find the patches to 18.2.8 and then to 18.2.8  is covered
> > inbug 230298 <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230298>;
> > and 18.3.1 in bug 233034
> > <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233034>. Patches
> must
> > be applied in sequence and with the -E option.
>
> Yes, I'm running the KMS driver, not the old driver.
>
> > I have now been running on the system for over a day with no issues, but
> > I need to give it more time before I pronounce it satisfactory. I also
> > use Firefox, but I will give chromium a shot now and see if there is a
> > problem.
>
> So have I; normal use doesn't shake the GPU hang out. I see the crash
> occasionally when running Chromium and reasonably frequently when I run
> games/supertuxkart. Unfortunately I don't have any more info right now.
> I can try the updated Mesa.
>
> --
> Kevin Zheng
> kevinz5000@gmail.com | kevinz@berkeley.edu | PGP: 0xC22E1090
>

First, sorry if I have forgotten about things early in the thread.

Have you examined xorg.0.log to confirm which driver is actually running?
Do you have multimedia/libva-intel-driver installed? If so, is HYBRID
enabled in the configuration? I had hangs with it in the past, but it's
been working for over two days now with a recent 12.0-STABLE (r342382),
mesa-18.3.1 and modesetting. Also, I run with SCHED_4SD, not the default
SCHED_ULE scheduler.

Are you running SNA or EXA? xorg.0.log might provide some useful
information.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1u1X2d0B0xQ_xavhPCw6TYdu=%2B7Ei_ay6Ho7uD8gRY-kw>