From owner-freebsd-current@freebsd.org Fri Jun 5 12:58:41 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CC98E32AA1B for ; Fri, 5 Jun 2020 12:58:41 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49djPr62Hzz3TvR for ; Fri, 5 Jun 2020 12:58:40 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-lj1-x234.google.com with SMTP id a25so11621181ljp.3 for ; Fri, 05 Jun 2020 05:58:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=qpc1EkJAm82qKrZs3snvaUmo/gNWdo7SXv32KC8TOmg=; b=DKQcXPZYblhp3oxQppGIIhBPDhwys6DYJ9Ku5QV7L90AA45jSds7LU4Cvm1CdNkldb yZbGg6fUPGIzMXZyydi3LJ5jnyUoyrywrB4zf6runnEyDwdCt20qNepUUKelR80cQKaM T2Mo7tX48+v4qi5vgjeh05HoQVyW56nKKeIdeQ7Do/iJdSfdLZS6mkNTzJOhUdwpkPfr bvBmYzaQsM6OrTQIZRGMiGf1MVClNwdu4f84uhfHaBCEpLzVX0BNCpRsCXTouWAl/DwQ /JMjYEDF/gKA3phrFosr68QJ4xYDX0On/sjoABRdd3o4HaKs0dZKvnkobN4L8xFkvsvU 058w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=qpc1EkJAm82qKrZs3snvaUmo/gNWdo7SXv32KC8TOmg=; b=aBIka4nwtoDJvq5eXvUTYj7di4Uv4TxHA7klVgfvVBo9B9vQu5Yh1IQidxq9LV54wq 4c6dWvREURTrq6h4Wc29NOv+FG6T8H6oq0No3A2ClzjY/ViuaDdlmiYBwv4ElQ0c9ZSm 4LI0Fr7Nv8KkMiLUxagJ2s04S3euJdkK+2+GAv+A29vN/n+ObUNPHo8fLXvdis+kV6e6 D8u+6+g0wy+m9aOIWZ7ePf3QglkMNRAVC2XZXSLCpyQXVyM1ExTRJhUsk2xImvzPeBHk yyEdnfaw91c8tJU/mAcZxsu3miR5j/V1UOUmma/VacZZzicTWEKdW9L/OUJUhEuQFOBp fJCw== X-Gm-Message-State: AOAM531fFYBGF5VTTm4GoSkAfxdla2eJB47IEcWr2svMP9fH3KaSSgKm lXD4AAeQPIhhsKXYQ/1187DTCF1B X-Google-Smtp-Source: ABdhPJxnmPuBP6ucOF39mQxeaPADFmd8YWSuRgnThBWDkDmSp6GZDlUTfGgL1NXpgHkCgnlAyz9Nlg== X-Received: by 2002:a2e:b704:: with SMTP id j4mr3797141ljo.458.1591361918739; Fri, 05 Jun 2020 05:58:38 -0700 (PDT) Received: from localhost (customer-109-238-136-64.stosn.net. [109.238.136.64]) by smtp.gmail.com with ESMTPSA id u4sm734620ljg.132.2020.06.05.05.58.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 05:58:38 -0700 (PDT) References: <86pnaejekn.fsf@gmail.com> <6726757c-82cd-b3bb-6554-f2617d92d8a2@selasky.org> <86lfl1kjfs.fsf@gmail.com> <20200605103722.835934106231159991a656fe@bidouilliste.com> <86img5kipf.fsf@gmail.com> <20200605105547.667d59612562e7f367c8840b@bidouilliste.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Malcolm Matalka To: Emmanuel Vadot Cc: Hans Petter Selasky , "freebsd-current\@freebsd.org" Subject: Re: Resume almost never works Dell XPS 9370 In-reply-to: <20200605105547.667d59612562e7f367c8840b@bidouilliste.com> Date: Fri, 05 Jun 2020 14:58:37 +0200 Message-ID: <868sh1pt36.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 49djPr62Hzz3TvR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DKQcXPZY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mmatalka@gmail.com designates 2a00:1450:4864:20::234 as permitted sender) smtp.mailfrom=mmatalka@gmail.com X-Spamd-Result: default: False [-3.53 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.01)[-1.010]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.005]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::234:from]; NEURAL_HAM_SHORT(-0.51)[-0.512]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2020 12:58:41 -0000 Emmanuel Vadot writes: > On Fri, 05 Jun 2020 10:41:48 +0200 > Malcolm Matalka wrote: > >> >> Emmanuel Vadot writes: >> >> > On Fri, 05 Jun 2020 10:25:59 +0200 >> > Malcolm Matalka wrote: >> > >> >> >> >> Hans Petter Selasky 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. > >> > >> >> > >> >> > --HPS >> >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"