From owner-freebsd-current@freebsd.org Fri Jun 5 08:37:32 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 0F0F234488C for ; Fri, 5 Jun 2020 08:37:32 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49dbcV3LT0z4SFH for ; Fri, 5 Jun 2020 08:37:30 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1591346242; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1kW3gZArNzR20Jih3zByAqgwvTYy9/673XAH8LBJCm4=; b=uFIKLW+5iKxAGTWb/xCCABhTa4B5j5EjTwyoCTpB+Lrrj2IFAAhSsePTJquzpthe9pFdFF LNaR6s2MyxFPlkdQcGENn0MxDm+/dXTizIgMD7eCHqVxfsyg17eYuReiOV60sFt7dlq8Gh cTrbDKToeZjDziWmNit7yZifM9Ut4Ds= Received: from amy.home (lfbn-idf2-1-900-181.w86-238.abo.wanadoo.fr [86.238.131.181]) by mx.blih.net (OpenSMTPD) with ESMTPSA id a0b1bb37 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 5 Jun 2020 08:37:22 +0000 (UTC) Date: Fri, 5 Jun 2020 10:37:22 +0200 From: Emmanuel Vadot To: Malcolm Matalka Cc: Hans Petter Selasky , "freebsd-current\@freebsd.org" Subject: Re: Resume almost never works Dell XPS 9370 Message-Id: <20200605103722.835934106231159991a656fe@bidouilliste.com> In-Reply-To: <86lfl1kjfs.fsf@gmail.com> References: <86pnaejekn.fsf@gmail.com> <6726757c-82cd-b3bb-6554-f2617d92d8a2@selasky.org> <86lfl1kjfs.fsf@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49dbcV3LT0z4SFH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mx header.b=uFIKLW+5; dmarc=pass (policy=none) header.from=bidouilliste.com; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-3.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.98)[-0.983]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none]; NEURAL_HAM_SHORT(-0.97)[-0.968]; NEURAL_HAM_MEDIUM(-1.03)[-1.033]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] 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 08:37:32 -0000 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. > > > > --HPS > -- Emmanuel Vadot