Re: Resume almost never works Dell XPS 9370

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Sat, 6 Jun 2020 00:31:38 +0200
On Fri, 05 Jun 2020 14:58:37 +0200
Malcolm Matalka <mmatalka_at_gmail.com> wrote:

> 
> Emmanuel Vadot <manu_at_bidouilliste.com> writes:
> 
> > On Fri, 05 Jun 2020 10:41:48 +0200
> > Malcolm Matalka <mmatalka_at_gmail.com> wrote:
> >
> >> 
> >> Emmanuel Vadot <manu_at_bidouilliste.com> writes:
> >> 
> >> > On Fri, 05 Jun 2020 10:25:59 +0200
> >> > Malcolm Matalka <mmatalka_at_gmail.com> wrote:
> >> >
> >> >>
> >> >> Hans Petter Selasky <hps_at_selasky.org> writes:
> >> >>
> >> >> > On 2020-06-05 06:56, Malcolm Matalka wrote:
> >> >> >> I'm using the i915kms driver and resuming from suspend almost never
> >> >> >> works.  What I get is a blank screen with a rectangle cursor in the top
> >> >> >> right, like what the screen looks like for that split second when X11
> >> >> >> starts.  It is then stuck and I have to force shutdown with the physical
> >> >> >> button.
> >> >> >>
> >> >> >> I am not sure but I feel like this happens more frequently after I've
> >> >> >> been running bhyve but I can't guarantee that's actually causally
> >> >> >> related.
> >> >> >>
> >> >> >> The only special thing I do that I'm aware of is I turn off my usb when
> >> >> >> I suspend and back on when I resume, I don't know if this is possibly
> >> >> >> related.
> >> >> >>
> >> >> >> usbconfig list | cut -f 1 -d ':' | xargs -n1 -I'{}' usbconfig '{}' power_save
> >> >> >>
> >> >> >> Any tips on what to do?
> >> >> >>
> >> >> >
> >> >> > Which version of kernel and kms driver are you using?
> >> >>
> >> >> I am on 361660 and drm-current-kmod-4.16.g20200320.
> >> >>
> >> >> This is not a new problem, by the way, I finally just rebooted again
> >> >> today and decided to ask.
> >> >
> >> >  Resume could be due to TPM being active, try to disable it in the bios
> >> > you should have an option (set it to disable, not discrete).
> >> >  If the problem is related to the drm driver (I doubt), you could
> >> > always try drm-devel-kmod.
> >> 
> >> What makes you think TPM is related?  Note that this does work
> >> sometimes, just hit or miss and mostly not.
> >
> >  Because I got hit by this problem many times on most of my laptops.
> 
> Looks like I had already disabled TPM.  So sadly not the cause in my
> case.

 What generation of intel is it ?
 Please share pciconf -vl and dmesg
 Also, can you ssh to the machine after it failed to resume or is it
really hanged ?

> 
> >
> >> >
> >> >> >
> >> >> > --HPS
> >> >>
> >> _______________________________________________
> >> freebsd-current_at_freebsd.org mailing list
> >> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> >> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


-- 
Emmanuel Vadot <manu_at_bidouilliste.com>
Received on Fri Jun 05 2020 - 20:31:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC