From nobody Fri Jul 30 07:31:40 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A864112D4D5D for ; Fri, 30 Jul 2021 07:31:49 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (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 4GbfGr6hY6z3q7j for ; Fri, 30 Jul 2021 07:31:48 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x32a.google.com with SMTP id h24-20020a1ccc180000b029022e0571d1a0so5721695wmb.5 for ; Fri, 30 Jul 2021 00:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=tobj0p2lTeBqNnjH+zTljs5UrHMxoL+4459Gu1gFwpg=; b=gSs3YvY/g5Y3m92BahxiWkUeVPsbZG0mFWds2YoCBme9q5O6DcplZbCwKk7xlj9yxB 0HXldbp5WheO2AnUJSZmSPNWBTdfnhAvC9gAbQikk/E7+abwF1KbdEKhRuZSBvGKgP19 frCWqvv13yB/wx09PYQ9fHANjPYuhU5bGvpfD8mOWOda91KRly+voYzsYfQBskLmpEsp J84+qWmWZCPQhAJS2eSP50TSyRy+q+Hx/Jh/F4MiCl9tXh9aQQsGtub+NHEqxQVo/Fty NPyRpABj/SUTOjAvLXK0ZwOK1pIZxYjSossiijYWoHYRUmQAMX3uep7WD5mnP4hKOgGm aWEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=tobj0p2lTeBqNnjH+zTljs5UrHMxoL+4459Gu1gFwpg=; b=UcY1UzAgSp+s1PqJhe+YxcltDhLUB8UesQ/IaA/aSkYJaT8wFNkD3O6Xw3SSqeNKz1 nDBPHoJzBeoLffAfS0oMR/tc2/z4AlE+xNRXTTx9QUKA+VW8GQVGdtiHZII7L0HqSFNO BxM0if/ZTvE9zdgZ8zt/dlZAMSh3ZNoqlBkeIS6HxHdLHIP3jZ9S4AXFEMK1yii2euwe 2mTEvs+LOzju/yLjCUXmVe6/SLyHh8Ih+gJ53Wbvyhe/U4xIRwk2El2kGOr5AAptGulL X3UH8mrAx3es6hh2KyFn4HVlLxy8IFS8DWzdwC5nmiYiD1KM0s1uI5OijyJ6wLpGsWyO kNtQ== X-Gm-Message-State: AOAM532QaoKexurAJ1Bkn/JDoGaJXtguFnvbQIthVNrH+5233yFPFRl/ v4OT43V9PBckjqFUs5LU17RK3EenPiHZoQ== X-Google-Smtp-Source: ABdhPJxfklz6HlwpmJPqwxAC3qBQNBhFCywFm6XfFMHkbdALQZCOeavxEOisisBEmeI/5rD5YdlWAA== X-Received: by 2002:a1c:9d91:: with SMTP id g139mr1462560wme.76.1627630301658; Fri, 30 Jul 2021 00:31:41 -0700 (PDT) Received: from ?IPv6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id 19sm957095wmj.2.2021.07.30.00.31.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jul 2021 00:31:41 -0700 (PDT) Subject: Re: Wake from sleep with nvidia-modeset To: freebsd-current@freebsd.org References: From: Graham Perrin Message-ID: Date: Fri, 30 Jul 2021 08:31:40 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4GbfGr6hY6z3q7j X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b="gSs3YvY/"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32a as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32a:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N On 29/07/2021 21:30, David Wolfskill wrote: > On Thu, Jul 29, 2021 at 06:15:19PM +0100, Graham Perrin wrote: >> nvidia-driver-460.84 from ports, nvidia-modeset, NVIDIA Quadro K1100M >> (GK107GLM), HP ZBook 17 G2, KDE Plasma. >> >> … > … head(FreeBSD 14). True; At the time of writing: % uname -KUv FreeBSD 14.0-CURRENT #103 main-n248269-941650aae97: Wed Jul 28 07:28:47 BST 2021 root@mowa219-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG 1400026 1400026 % > … possibly-salient difference is that I had been running with > > kern.vty="sc" > > (and still do, for stable/12), but since the VBE changes earlier > this year, I let kern.vty take the default value (which I am not > recalling at the moment) for stable/13 and head. Without specifying kern.vty, I get vt. With kern.vty="sc" in /boot/loader.conf, graphics failed after appearance of EFI framebuffer information , however disk activity continued and eventually, through use of the power button, I could repeatedly sleep then wake the computer (albeit without graphics). (Compare with vt, where things fail hard and quickly at wake time; no response to the power button.) Back to vt. I wondered whether screen.font in loader.conf might have an impact. No better after commenting out the line. For 470.57.02 there's a patch and commentary at/around . I might try this. Any other suggestions? TIA