From owner-freebsd-current@freebsd.org Fri Jun 5 08:41:52 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 339A1344C0B for ; Fri, 5 Jun 2020 08:41:52 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 49dbjW3gsWz4Smj for ; Fri, 5 Jun 2020 08:41:51 +0000 (UTC) (envelope-from mmatalka@gmail.com) Received: by mail-lj1-x235.google.com with SMTP id z9so10691815ljh.13 for ; Fri, 05 Jun 2020 01:41:51 -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=m4jvz+bZ/od14Wh6LWmPyhNpR8CjdUNccSErws2z63c=; b=ke24+dMCUaQ7L3gWXoFMTlZy1dgipcmOvHJ1NH7VUkwsJyOgFNGaqZlQfHSAXCMg+g 7c/9szahHVkcJKJqvDDrb+mjCCN8BU4HxO3jIH3L9dy+x1l7nIK6DSeBc3GpL1dyTtWL P1mCa8QnQynqTFbv2sqTG8wcmB9YH0tjkQvQF+8Nd/eE00f/YCmau+sWvC0UiqIM1VCH 9j/uCHYKGZ2NC1QSXB/QYKkN29LWLAEgTB7EmH3Vzxm4JXrNI2sQOGFKS90lsXYbolGQ 3Sy2jtViC/dG2O2mKN6co3Ubl2ttmPIH0gBALOeS7Q9yD8fzGseFQxgCP8MGVQ6Fy6Oi dgWg== 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=m4jvz+bZ/od14Wh6LWmPyhNpR8CjdUNccSErws2z63c=; b=CTQqLF05/nyRLufQZ+y8WmdToJnT/iZ3ggRNhHpTreJ4hO6huwz5KvvYDqR6vWxJ+O FV9hWfl5ZSkN9ETm306+15A0RFaX/JJeLyz0kl05Lu/kWn8QmGUyFbgFOBe7IRP3XD+h SLkhC6+d4HDF7bzVvms5KC8YnBnBleJKYfI1nwOo2Z/XbxnSPmsswdup08Ua+NRXDw9q 0FelB+kn2b4B3+7F5A+mV4zxB91171CUX2j9HpL7eg8l11N0gYXJUN2SuuFlyQTXrNVo D24y2jrvjTeWWVInugKJLoFI7E8LzINouXNt8ge3CXqG1ParnI+GIlZW2bYdkwXljqoM B4Qw== X-Gm-Message-State: AOAM533CFMXlo4c3V8YN3CgnQSjBnVNWieMUBaptLBHpMSNFxFD5Qap0 aPmOGEe6W7PjuaRJQ1HqlMY= X-Google-Smtp-Source: ABdhPJwn6wGfYYlETJGoELiHLOkeYstsPoPggYYE8FCUM4PJ0G9XYzavBq4zhoxlxogwZor5c9l/yw== X-Received: by 2002:a2e:911:: with SMTP id 17mr4348635ljj.411.1591346509684; Fri, 05 Jun 2020 01:41:49 -0700 (PDT) Received: from localhost (customer-109-238-136-64.stosn.net. [109.238.136.64]) by smtp.gmail.com with ESMTPSA id s18sm569757ljj.63.2020.06.05.01.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jun 2020 01:41:49 -0700 (PDT) References: <86pnaejekn.fsf@gmail.com> <6726757c-82cd-b3bb-6554-f2617d92d8a2@selasky.org> <86lfl1kjfs.fsf@gmail.com> <20200605103722.835934106231159991a656fe@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: <20200605103722.835934106231159991a656fe@bidouilliste.com> Date: Fri, 05 Jun 2020 10:41:48 +0200 Message-ID: <86img5kipf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 49dbjW3gsWz4Smj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ke24+dMC; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mmatalka@gmail.com designates 2a00:1450:4864:20::235 as permitted sender) smtp.mailfrom=mmatalka@gmail.com X-Spamd-Result: default: False [-4.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.04)[-1.038]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.004]; 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::235:from]; NEURAL_HAM_SHORT(-1.17)[-1.169]; 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 08:41:52 -0000 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. > >> > >> > --HPS >>