Date: Mon, 23 May 2016 15:03:51 -0700 From: Matthew Macy <mmacy@nextbsd.org> To: =?UTF-8?Q?=22Juan_Ram=C3=B3n_Molina_Menor=22?= <listjm@club.fr> 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: <154dfa545bc.dbba1d8f203320.8129214136838969456@nextbsd.org> In-Reply-To: <57437CD8.1080504@club.fr> References: <5742C2E1.2050603@club.fr> <154def0d8ef.117603fe4187917.5862406218647075647@nextbsd.org> <57437CD8.1080504@club.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
---- On Mon, 23 May 2016 14:57:44 -0700 Juan Ram=C3=B3n Molina Menor <list= jm@club.fr> wrote ----=20 > Le 23/05/2016 20:46, Matthew Macy a écrit :=20 > >=20 > >=20 > >=20 > > ---- On Mon, 23 May 2016 01:44:17 -0700 Juan Ramón Molina Men= or <listjm@club.fr> wrote ----=20 > > > Hi!=20 > > >=20 > > > Your commits overnight have restored and even improved the perform= ance=20 > > > with my Haswell (HD 4400) GPU: Lower CPU usage and snappier resize= /=20 > > > full-screen changes.=20 > > >=20 > > > But on the other hand, loading the i915kms module through startx= =20 > > > (non-root) panics, I have to use kldload i915kms.=20 > > >=20 > > > Also, changing the power mode (plugging or unplugging the power co= rd)=20 > > > leads to instant panic, while with the drm-next-3.9 branch, switch= ing=20 > > > AC/battery modifies backlight value up and down without issues. I = have=20 > > > replaced the screenshot:=20 > > >=20 > > > https://wiki.freebsd.org/Laptops/ThinkPad_S440?action=3DAttachFile= &do=3Dget&target=3Dpanic-DRM-46.jpg=20 > >=20 > > 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 fi= rst and then setting dev.drm.skip_ddb=3D1. That will bypass much of the wor= k that panic tries to do to quiesce the CPU before dumping core.=20 > >=20 > > -M=20 > >=20 > =20 > Thanks for your attention.=20 > =20 > Attached the screenshot resulting from the following:=20 > =20 > # kldload drm2=20 > # sysctl dev.drm.skip_ddb=3D1=20 > # kldload i915kms=20 > [plug / unplug the power cord (the result is exactly the same)]=20 > =20 > panic: IMPLEMENT ME=20 > =E2=80=A6then the backtrace:=20 > =20 > https://wiki.freebsd.org/Laptops/ThinkPad_S440?action=3DAttachFile&do=3D= view&target=3Dpanic-DRM-46-AC-battery.jpg=20 > =20 > I have tried setting the same values for =20 > hw.acpi.video.lcd0.{economy,fullpower} but it still panics.=20 > =20 > Sorry for the ACPI noise in the image, that=E2=80=99s another story=E2= =80=A6=20 Excellent. That tells me exactly what needs to be done. And the startx pani= c? 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. 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 > =20 > Hope it helps,=20 > Juan=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?154dfa545bc.dbba1d8f203320.8129214136838969456>