🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.current
1 messages
1 total messages Started by Tomoaki AOKI Fri, 13 Nov 2026 18:52
Re: suspend/resume regression on -head sometime in the last three months
#193
Author: Tomoaki AOKI
Date: Fri, 13 Nov 2026 18:52
113 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads