drm-devel-kmod-4.16.g20180824 hangs my laptop

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

drm-devel-kmod-4.16.g20180824 hangs my laptop

Jakob Alvermark-2
Hi,


When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
Previous version of drm-devel-kmod worked.

kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf

When it boots and the modules load the screen goes blank (backlight
still on) and the machine is totally non-responsive.

CPU: Intel(R) Pentium(R) CPU  N3540  @ 2.16GHz (2166.72-MHz K8-class CPU)

vgapci0@pci0:0:2:0:    class=0x030000 card=0x09331025 chip=0x0f318086
rev=0x0e hdr=0x00
     vendor     = 'Intel Corporation'
     device     = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
     class      = display
     subclass   = VGA

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Johannes Lundberg

Jakob Alvermark writes:

> Hi,
>
>
> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
> Previous version of drm-devel-kmod worked.
>
> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
>
> When it boots and the modules load the screen goes blank (backlight
> still on) and the machine is totally non-responsive.
>
> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz K8-class CPU)
>
> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025 chip=0x0f318086
> rev=0x0e hdr=0x00
>   vendor = 'Intel Corporation'
>   device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
>   class = display
>   subclass = VGA
>

Hi

Did you update the kernel as well?

I think this is due to a change in HEAD. You need to wait until
the binary packages have been updated with a new build or build drm
drivers from ports/source with the new head in /usr/src.

This would be the same for stable/next as well.

> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "[hidden email]"

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Jakob Alvermark-2
On 9/6/18 12:35 PM, Johannes Lundberg wrote:

> Jakob Alvermark writes:
>
>> Hi,
>>
>>
>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
>> Previous version of drm-devel-kmod worked.
>>
>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
>>
>> When it boots and the modules load the screen goes blank (backlight
>> still on) and the machine is totally non-responsive.
>>
>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz K8-class CPU)
>>
>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025 chip=0x0f318086
>> rev=0x0e hdr=0x00
>>    vendor = 'Intel Corporation'
>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
>>    class = display
>>    subclass = VGA
>>
> Hi
>
> Did you update the kernel as well?
>
> I think this is due to a change in HEAD. You need to wait until
> the binary packages have been updated with a new build or build drm
> drivers from ports/source with the new head in /usr/src.
>
> This would be the same for stable/next as well.


World, kernel and drm port are all built from source. I last tested with
r338465 (yesterday morning).

drm-next-kmod-4.11.g20180822 works.


Jakob

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Niclas Zeising-5
In reply to this post by Johannes Lundberg
On 09/06/18 12:35, Johannes Lundberg wrote:

>
> Jakob Alvermark writes:
>
>> Hi,
>>
>>
>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
>> Previous version of drm-devel-kmod worked.
>>
>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
>>
>> When it boots and the modules load the screen goes blank (backlight
>> still on) and the machine is totally non-responsive.
>>
>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz K8-class CPU)
>>
>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025 chip=0x0f318086
>> rev=0x0e hdr=0x00
>>    vendor = 'Intel Corporation'
>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
>>    class = display
>>    subclass = VGA
>>
>
> Hi
>
> Did you update the kernel as well?
>
> I think this is due to a change in HEAD. You need to wait until
> the binary packages have been updated with a new build or build drm
> drivers from ports/source with the new head in /usr/src.
>
> This would be the same for stable/next as well.

Which versions of FreeBSD and of the -devel port were the last ones that
worked?  What happens if you downgrade the port to that version, but
keep the same version of FreeBSD base as is failing?
Regards
--
Niclas
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Jakob Alvermark-2
On 9/6/18 12:45 PM, Niclas Zeising wrote:

> On 09/06/18 12:35, Johannes Lundberg wrote:
>>
>> Jakob Alvermark writes:
>>
>>> Hi,
>>>
>>>
>>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
>>> Previous version of drm-devel-kmod worked.
>>>
>>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
>>>
>>> When it boots and the modules load the screen goes blank (backlight
>>> still on) and the machine is totally non-responsive.
>>>
>>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz K8-class CPU)
>>>
>>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025 chip=0x0f318086
>>> rev=0x0e hdr=0x00
>>>    vendor = 'Intel Corporation'
>>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
>>>    class = display
>>>    subclass = VGA
>>>
>>
>> Hi
>>
>> Did you update the kernel as well?
>>
>> I think this is due to a change in HEAD. You need to wait until
>> the binary packages have been updated with a new build or build drm
>> drivers from ports/source with the new head in /usr/src.
>>
>> This would be the same for stable/next as well.
>
> Which versions of FreeBSD and of the -devel port were the last ones
> that worked?  What happens if you downgrade the port to that version,
> but keep the same version of FreeBSD base as is failing?


Did some further testing:

drm-devel-kmod-4.16.g20180822 does not work. Same thing as above, blank
screen and hang.

drm-devel-kmod-4.15.g20180802 works.

I am now at r338488


_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Jakob Alvermark-2
On 9/6/18 1:25 PM, Jakob Alvermark wrote:

> On 9/6/18 12:45 PM, Niclas Zeising wrote:
>> On 09/06/18 12:35, Johannes Lundberg wrote:
>>>
>>> Jakob Alvermark writes:
>>>
>>>> Hi,
>>>>
>>>>
>>>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
>>>> Previous version of drm-devel-kmod worked.
>>>>
>>>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
>>>>
>>>> When it boots and the modules load the screen goes blank (backlight
>>>> still on) and the machine is totally non-responsive.
>>>>
>>>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz K8-class
>>>> CPU)
>>>>
>>>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025 chip=0x0f318086
>>>> rev=0x0e hdr=0x00
>>>>    vendor = 'Intel Corporation'
>>>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
>>>>    class = display
>>>>    subclass = VGA
>>>>
>>>
>>> Hi
>>>
>>> Did you update the kernel as well?
>>>
>>> I think this is due to a change in HEAD. You need to wait until
>>> the binary packages have been updated with a new build or build drm
>>> drivers from ports/source with the new head in /usr/src.
>>>
>>> This would be the same for stable/next as well.
>>
>> Which versions of FreeBSD and of the -devel port were the last ones
>> that worked?  What happens if you downgrade the port to that version,
>> but keep the same version of FreeBSD base as is failing?
>
>
> Did some further testing:
>
> drm-devel-kmod-4.16.g20180822 does not work. Same thing as above,
> blank screen and hang.
>
> drm-devel-kmod-4.15.g20180802 works.
>
> I am now at r338488


Another thing I have noticed:

With drm-devel-kmod-4.15.g20180802 my machine hangs after a while,
around 24 hours. If I leave it on overnight it is usually is hung the
next day.

Black screen an no response to anything, keyboard or power button. I
have to power off hard.

This doesn't seem to happen with drm-next-kmod-4.11.g20180822.


Jakob

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Johannes Lundberg
On Thu, Sep 13, 2018 at 4:37 PM Jakob Alvermark <[hidden email]> wrote:

> On 9/6/18 1:25 PM, Jakob Alvermark wrote:
> > On 9/6/18 12:45 PM, Niclas Zeising wrote:
> >> On 09/06/18 12:35, Johannes Lundberg wrote:
> >>>
> >>> Jakob Alvermark writes:
> >>>
> >>>> Hi,
> >>>>
> >>>>
> >>>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
> >>>> Previous version of drm-devel-kmod worked.
> >>>>
> >>>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
> >>>>
> >>>> When it boots and the modules load the screen goes blank (backlight
> >>>> still on) and the machine is totally non-responsive.
> >>>>
> >>>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz K8-class
> >>>> CPU)
> >>>>
> >>>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025 chip=0x0f318086
> >>>> rev=0x0e hdr=0x00
> >>>>    vendor = 'Intel Corporation'
> >>>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics & Display'
> >>>>    class = display
> >>>>    subclass = VGA
> >>>>
> >>>
> >>> Hi
> >>>
> >>> Did you update the kernel as well?
> >>>
> >>> I think this is due to a change in HEAD. You need to wait until
> >>> the binary packages have been updated with a new build or build drm
> >>> drivers from ports/source with the new head in /usr/src.
> >>>
> >>> This would be the same for stable/next as well.
> >>
> >> Which versions of FreeBSD and of the -devel port were the last ones
> >> that worked?  What happens if you downgrade the port to that version,
> >> but keep the same version of FreeBSD base as is failing?
> >
> >
> > Did some further testing:
> >
> > drm-devel-kmod-4.16.g20180822 does not work. Same thing as above,
> > blank screen and hang.
> >
> > drm-devel-kmod-4.15.g20180802 works.
> >
> > I am now at r338488
>
>
> Another thing I have noticed:
>
> With drm-devel-kmod-4.15.g20180802 my machine hangs after a while,
> around 24 hours. If I leave it on overnight it is usually is hung the
> next day.
>
> Black screen an no response to anything, keyboard or power button. I
> have to power off hard.
>
> This doesn't seem to happen with drm-next-kmod-4.11.g20180822.
>
> Thanks for reporting. I think there's a memory leak affecting all drivers
in drm-devel-kmod.


> Jakob
>
>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: drm-devel-kmod-4.16.g20180824 hangs my laptop

Jakob Alvermark-2
On 9/14/18 11:30 AM, Johannes Lundberg wrote:

>
>
> On Thu, Sep 13, 2018 at 4:37 PM Jakob Alvermark <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     On 9/6/18 1:25 PM, Jakob Alvermark wrote:
>     > On 9/6/18 12:45 PM, Niclas Zeising wrote:
>     >> On 09/06/18 12:35, Johannes Lundberg wrote:
>     >>>
>     >>> Jakob Alvermark writes:
>     >>>
>     >>>> Hi,
>     >>>>
>     >>>>
>     >>>> When I updated to drm-devel-kmod-4.16.g20180824 my laptop hangs.
>     >>>> Previous version of drm-devel-kmod worked.
>     >>>>
>     >>>> kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf
>     >>>>
>     >>>> When it boots and the modules load the screen goes blank
>     (backlight
>     >>>> still on) and the machine is totally non-responsive.
>     >>>>
>     >>>> CPU: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (2166.72-MHz
>     K8-class
>     >>>> CPU)
>     >>>>
>     >>>> vgapci0@pci0:0:2:0: class=0x030000 card=0x09331025
>     chip=0x0f318086
>     >>>> rev=0x0e hdr=0x00
>     >>>>    vendor = 'Intel Corporation'
>     >>>>    device = 'Atom Processor Z36xxx/Z37xxx Series Graphics &
>     Display'
>     >>>>    class = display
>     >>>>    subclass = VGA
>     >>>>
>     >>>
>     >>> Hi
>     >>>
>     >>> Did you update the kernel as well?
>     >>>
>     >>> I think this is due to a change in HEAD. You need to wait until
>     >>> the binary packages have been updated with a new build or
>     build drm
>     >>> drivers from ports/source with the new head in /usr/src.
>     >>>
>     >>> This would be the same for stable/next as well.
>     >>
>     >> Which versions of FreeBSD and of the -devel port were the last
>     ones
>     >> that worked?  What happens if you downgrade the port to that
>     version,
>     >> but keep the same version of FreeBSD base as is failing?
>     >
>     >
>     > Did some further testing:
>     >
>     > drm-devel-kmod-4.16.g20180822 does not work. Same thing as above,
>     > blank screen and hang.
>     >
>     > drm-devel-kmod-4.15.g20180802 works.
>     >
>     > I am now at r338488
>
>
>     Another thing I have noticed:
>
>     With drm-devel-kmod-4.15.g20180802 my machine hangs after a while,
>     around 24 hours. If I leave it on overnight it is usually is hung the
>     next day.
>
>     Black screen an no response to anything, keyboard or power button. I
>     have to power off hard.
>
>     This doesn't seem to happen with drm-next-kmod-4.11.g20180822.
>
> Thanks for reporting. I think there's a memory leak affecting all
> drivers in drm-devel-kmod.


I was guessing it was a memory leak.

I will stay on drm-next-kmod-4.11.g20180822 for now, but I will be happy
to test anything if requested.


Jakob

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"