Re: STABLE/9 SMP ACPI suspend/resume - video mode not being restored

David Wolfskill <[email protected]>
Newsgroups gmane.os.freebsd.stable,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Thu, May 24, 2012 at 08:46:03PM -0700, Adrian Chadd wrote:
> Hi,
> 
> I'm toying with the SMP/i386 ACPI suspend/resume patches in -9. Thanks
> so much for this!

Note that enough of those patches have been committed (at least as of
r235891) that I was able to perform suspend/resume properly on my laptop
(a Dell Precision M4400; video is "NVIDIA GPU Quadro FX 770M (G96GL)",
and I use the nVidia driver (ports/x11/nvidia-driver)) without adding
more patches.

> I've noticed though that the video backlight stays off after resume. A
> common problem on -9, so I set hw.acpi.reset_video=1. That restores
> the backlight.

I do not see that behavior, and:

g1-227(8.3-S)[7] sysctl hw.acpi.reset_video
hw.acpi.reset_video: 0

(Yes, I'm running stable/8 on the present slice.  I have stable/9 on
another slice.  And the experiment I did was with a slice where I had
built stable/9 (i386) using clang.)

> However, the video mode isn't restored. I have my console set to
> VGA_80x60 and the resume seems to set it up "wrong". I get half or so
> of each line displayed.

That is another issue that I have not observed (in my case).

> ...
> Is there a shortcoming somewhere in syscons/ACPI video restore on -9
> that doesn't properly restore the configured mode?

I believe that my experience is evidence that if such a shortciming
exists, it is not a general one.

For me, suspend/resume in stable/9 Just Works (thanks to the hard work
of others (such as iwasaki@), of course).

> Thanks again for all your hard work! Now that you've done that, I'll
> go off and work on fixing up ath(4) suspend/resume for PCI devices. :)

Cool!  :-)

(Adrian, next BAFUG, perhaps we could compare notes/behaviors in
person, if that might be of use?)

Peace,
david
-- 
David H. Wolfskill				[email protected]
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk+/BWMACgkQmprOCmdXAD3hxQCfRnE08WTGdP/3czZSu3LRnWL4
YZ4An3oFAvDDNTX/F9Q3TgtMbiT7vsyN
=VObg
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.