Article View: muc.lists.freebsd.current
Article #193Re: suspend/resume regression on -head sometime in the last three months
From: Tomoaki AOKI
Date: Fri, 13 Nov 2026 18:52
Date: Fri, 13 Nov 2026 18:52
113 lines
7760 bytes
7760 bytes
On Fri, 13 Nov 2026 09:23:38 -0800 Adrian Chadd <adrian@freebsd.org> wrote: > On Fri, 13 Nov 2026 at 01:10, Tomoaki AOKI <junchoon@dec.sakura.ne.jp> > wrote: > > > On Thu, 12 Nov 2026 20:04:00 -0800 > > Adrian Chadd <adrian@freebsd.org> wrote: > > > > > hi! > > > > > > So err, suspend/resume has broken sometime in the last three months on > > > -head. > > > > > > THe two laptops I'm using as daily machines - A Lenovo V15 G4 (AMD Ryzen > > 7 > > > 7730U) and a MSI GE76 Raider (Intel I7-11800H (tiger lake) with > > integrated > > > GPU and an Nvidia 3060 GPU) both exhibit this. They both worked fine on > > > -HEAD earlier this year (think September 2026 timeframe.) > > > > > > They boot fine. Suspend/resume works fine. Starting x11 works fine and > > > suspend/resume after that works fine. But after a while, suspend/resume > > > breaks - it's not clear if it's stuck in suspend or resume, but it's > > > certainly not chewing any CPU. > > > > > > I've tried doing a bunch of suspend_bounce debugging, to no avail. > > > Everything seems fine until it does that transition. > > > > > > Here's the fun bit - I booted the AMD laptop with september kernel / drm > > / > > > GPU firmware, but today's userland - and the same problem exists. Allan > > > Jude pointed out on IRC that it could be something like > > "firefox/pulseaudio > > > is opening a sound device" and what userland IS holding open is > > surfacing a > > > bug. But I have not yet narrowed things down. > > > > > > Has anyone seen this sort of regression with -HEAD on laptops in the last > > > three months? Please speak up if you have. > > > > > > Thanks! > > > > > > > > > -adrian > > > > If you've somehow enabled GSP firmware on your Nvidia 3060 GPU, > > it's known to AVOID suspend/resume to work, thus, GSP firmware > > is disabled by default on ports side. > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285741 > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285803 > > https://reviews.freebsd.org/D49828 > > https://reviews.freebsd.org/D50053 > > > > Note that NVIDIA RTX 5xxx (Blackwell) is known to require > > GSP to work, thus, need to enable manually. But GPUs in > > older generation of architectures doesn't mandatorily > > require GSP to work. > > > > > I remember that; i tested it without the nvidia driver loaded and the > behaviour still persists. > It's not the GSP stuff. > > Also, Austin mentioned the fix is in and will show up in a later release, > but he said that > in August 2025? So... what, this is still broken? > > > > -adrian Simply I cannot be sure it's fixed or not, as I've never succeeded suspend/resume AFTER FreeBSD switched from APM to ACPI. The last time I succeeded suspend/resume on FreeBSD was on APM with supports by PAO implementations. And I've never received successful reports of suspend/resume on environments that enables GSP firmware loads. Would need reports with pre- and post-Turing GPUs, on vty / X11 / Wayland (with different compositors) to decide switching NV_REG_ENABLE_GPU_FIRMWARE_DEFAULT_VALUE to be 0x12 (the upstream default) instead of 0x00. Note that each bits of this value (can be tuned via tunable hw.nvidia.registry.EnableGpuFirmware) means: 0x00 to disable (ports default by review D50053), 0x01 to forcibly enable 0x02 to accept default 0x10 to allow fallback to no-GSP These can be OR'ed (0x12 means accept default but allow fallback to non-GSP). 0x10 is needed when swapping GPU card from post-Turing to pre-Turing with 580 series of legacy drivers. Without it, as loading GSP firmware should always fail on pre-Turing (don't have GSP in them), causing non-workable NVIDIA drivers. Regards. -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp> -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<20261114035212.b6fcf43fe9290cd77341faf9@dec.sakura.ne.jp>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<> <CAJ-VmokfXUDgcCB6MG+Bf28R_d1BgpmPwfwUXsO5oWFmSes+zg@mail.gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> Newsgroups: muc.lists.freebsd.current Subject: Re: suspend/resume regression on -head sometime in the last three months Date: Sat, 14 Nov 2026 03:52:12 +0900 Organization: Junchoon corps Approved: news-admin@muc.de Distribution: world Message-ID: <20261114035212.b6fcf43fe9290cd77341faf9@dec.sakura.ne.jp> References: <> <CAJ-VmokfXUDgcCB6MG+Bf28R_d1BgpmPwfwUXsO5oWFmSes+zg@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="81020"; mail-complaints-to="news-admin@muc.de" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794595970; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=KixYVOIY7aVHdhrg455XpI8TnhSjVv2psMhzn+LXTIA=; b=I94qe7xkOJqdZT8VwojQIliilKeUjgGJ0LqjqSQHxe1I45dE/A+1YFlCjh93CT+Ete7yYB OfQffar35UYWkzW/tggWo6wQ+u0c6Ea7e6vmwF171Pb4cpDa/UzXW7zIafew88QMqSMR9b 7+puKVHGCs5VF/4JY+nP8H+WQ0ThhKKJaZC9cwrxWbNL3AdRlKoi0V46HF0piTrXQ0tLVY C6LB1rVTiE6+3RDbHcKOMhrXufES/DmLdtLwZaz5rxvG9F8eV2En3X9nTchZavruxckUBo u9LqRtKpvI+FsmlMCToO/5zLllV5hS46WE7urQTDyUNxQxFwclSM2MeIgUg7ig== X-Original-To: current@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dec.sakura.ne.jp header.s=s2405 header.b=smoZq33Z; spf=pass (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp designates 153.125.133.21 as permitted sender) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=pass (policy=none) header.from=dec.sakura.ne.jp DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1794595933; bh=vkCG+B7Xrop0CAISp8PgiZUgBF5/ctUcquWFNlrAk/s=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=smoZq33ZVWKC1ndU5l2v/ufQ3JFNGeDqN9Ps0yTTlBHf+zuZXPOWjOGXWmsedNPGi SRfPnRlEiLq0tVj/CqiDog/P8Hkw1D9uQ82nLh+7XlBY7RcMA88ie98F+Bh2x6H66/ jf5zuAPw2gNvxwpw1CpmyqnrsIPtueCsNCLvhP9E= In-Reply-To: <CAJ-VmokfXUDgcCB6MG+Bf28R_d1BgpmPwfwUXsO5oWFmSes+zg@mail.gmail.com> Precedence: list X-Rspamd-Queue-Id: 4jR5wL09kFz4VfR X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.30 / 15.00]; SUSPICIOUS_URL_IN_SUSPICIOUS_MESSAGE(1.00)[]; MV_CASE(0.50)[]; URIBL_RED(0.50)[dec.sakura.ne.jp:dkim,dec.sakura.ne.jp:mid,dec.sakura.ne.jp:from_mime,dec.sakura.ne.jp:email,dec.sakura.ne.jp:from_smtp]; ONCE_RECEIVED(0.20)[]; BAD_REP_POLICIES(0.10)[]; HAS_ANON_DOMAIN(0.10)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_ALLOW(0.00)[dec.sakura.ne.jp,none]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[dec.sakura.ne.jp:s=s2405]; MIME_TRACE(0.00)[0:+]; HAS_ORG_HEADER(0.00)[]; DKIM_TRACE(0.00)[dec.sakura.ne.jp:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[current@freebsd.org]; DNSWL_BLOCKED(0.00)[153.125.133.21:from]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:153.125.133.16/28]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; TO_DN_EQ_ADDR_SOME(0.00)[] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes