Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2016 09:00:08 +0200
From:      Juan =?iso-8859-1?b?UmFt824=?= Molina Menor <listjm@club.fr>
To:        Matthew Macy <mmacy@nextbsd.org>
Cc:        "<freebsd-x11@freebsd.org>" <freebsd-x11@freebsd.org>
Subject:   Re: 4.6 DRM/i915 update CFT (Sandy Bridge?)/IvyBridge/Haswell/Broadwell/SkyLake/KabyLake supported
Message-ID:  <5743FBF8.3040706@club.fr>
In-Reply-To: <154dfa545bc.dbba1d8f203320.8129214136838969456@nextbsd.org>
References:  <5742C2E1.2050603@club.fr> <154def0d8ef.117603fe4187917.5862406218647075647@nextbsd.org> <57437CD8.1080504@club.fr> <154dfa545bc.dbba1d8f203320.8129214136838969456@nextbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 24/05/2016 00:03, Matthew Macy a écrit :
>
>
>
>   ---- On Mon, 23 May 2016 14:57:44 -0700 Juan Ramón Molina Menor <listjm@club.fr> wrote ----
>   > Le 23/05/2016 20:46, Matthew Macy a &eacute;crit :
>   > >
>   > >
>   > >
>   > >   ---- On Mon, 23 May 2016 01:44:17 -0700 Juan Ram&oacute;n Molina Menor <listjm@club.fr> wrote ----
>   > >   > Hi!
>   > >   >
>   > >   > Your commits overnight have restored and even improved the performance
>   > >   > with my Haswell (HD 4400) GPU: Lower CPU usage and snappier resize /
>   > >   > full-screen changes.
>   > >   >
>   > >   > But on the other hand, loading the i915kms module through startx
>   > >   > (non-root) panics, I have to use kldload i915kms.
>   > >   >
>   > >   > Also, changing the power mode (plugging or unplugging the power cord)
>   > >   > leads to instant panic, while with the drm-next-3.9 branch, switching
>   > >   > AC/battery modifies backlight value up and down without issues. I have
>   > >   > replaced the screenshot:
>   > >   >
>   > >   > https://wiki.freebsd.org/Laptops/ThinkPad_S440?action=AttachFile&do=get&target=panic-DRM-46.jpg
>   > >
>   > > I'll need the backtrace from both panics. Neither of them occurs on my hardware. If you have a problem recovering a core dump try loading drm2 first and then setting dev.drm.skip_ddb=1. That will bypass much of the work that panic tries to do to quiesce the CPU before dumping core.
>   > >
>   > > -M
>   > >
>   >
>   > Thanks for your attention.
>   >
>   > Attached the screenshot resulting from the following:
>   >
>   > # kldload drm2
>   > # sysctl dev.drm.skip_ddb=1
>   > # kldload i915kms
>   > [plug / unplug the power cord  (the result is exactly the same)]
>   >
>   > panic: IMPLEMENT ME
>   > …then the backtrace:
>   >
>   > https://wiki.freebsd.org/Laptops/ThinkPad_S440?action=AttachFile&do=view&target=panic-DRM-46-AC-battery.jpg
>   >
>   > I have tried setting the same values for
>   > hw.acpi.video.lcd0.{economy,fullpower} but it still panics.
>   >
>   > Sorry for the ACPI noise in the image, that’s another story…
>
>
>
> Excellent. That tells me exactly what needs to be done. And the startx panic? If it's a race in I915 you'll still hit it doing the skip_ddb step first I'd think. I really should make that a tunable.

Sorry but for the startx case I cannot get more than the previously 
posted hang:
https://wiki.freebsd.org/Laptops/ThinkPad_S440?action=AttachFile&do=view&target=panic-DRM-46.jpg

Either it reboots right after issuing startx (if I don’t previously 
kldload i915kms) or hangs as above after some video playing (with the 
drm2, sysctl dev.drm.skip_ddb=1 sequence).

Best regards,
Juan

>
> Thanks!
>
> I probably won't have time to fix it today. Nonetheless, it should be fixed by the next update some time this week.
>
> -M
>
>
>   >
>   > Hope it helps,
>   > Juan
>   >
>




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