[mythtv-users] [SOLVED] M2NPV-VM wakes up immediately on s3 suspend

Adolfo R. Brandes arbrandes at gmail.com
Sat Feb 16 16:29:28 UTC 2008


On Feb 16, 2008 1:48 PM, Mitch Gore <mitchell.gore at gmail.com> wrote:
> I have this same motherboard but have been unable to get S3 suspend to work
> on Fedora 8.  It sleeps just fine and i can wake via remote but on resume
> the video doesnt comeback.  I can ssh and all but the video doesnt wake up.
> The only solution is to reboot.  Did you have this issue?  How did you fix
> this?

Yes, I did have the video problem at first.  I eventually got rid of
it, although I tried so many things that at this point I'm not sure
what actually did it.  But let's see if I can help.

First of all, I'm not running Fedora 8, but Ubuntu Gutsy.  I'm not
running the default kernel, which is based on 2.6.22, but I remember I
got suspend working with it.  Still, I had to compile a vanilla
2.6.24-rc6 in order to fix an issue with my remote and the onboard
ethernet (which would die upon resume), and suspend seems to be
working even better with it.  Under 2.6.22 I had the occasional need
to hard-boot.  Oh, and I applied these patches to the kernel in order
to fix suspend and resume on another board, an Asus A8N SLI Premium:

http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.24-rc6/patches/

Maybe it helped, maybe it didn't, I'm not sure.  It certainly helped
the A8N, though.  See comment 56 on this bug:

http://bugzilla.kernel.org/show_bug.cgi?id=9528

Also, I'm not running onboard video on the M2NPV-VM, but an MSI 6600GT
that I had lying around; it's better for running Google Earth and 3D
emulators, even though it sucks up much more power.  I didn't try
suspending with the onboard 6150.

The Ubuntu suspend scripts are pretty good.  At first I tried using
uswsusp (s2ram) and hibernate but they didn't work, coughing up the
same symptoms you're having (no video).  In any case, I messed with
/etc/default/acpi-support, which configures the Ubuntu scripts, and
added the following to the Device section of xorg.conf, because
apparently AGP support in the Nvidia drivers breaks resume.

Option "NvAGP" "0"

And under /etc/default/acpi-support, the lines I think I changed were:

SAVE_VBE_STATE=true
POST_VIDEO=true
SAVE_VIDEO_PCI_STATE=false

I'm currently running the nvidia binary drivers v169.07, from nvidia's
website, but that's just because I had to recompile the kernel.  The
Ubuntu default one, v100.14.19, was also working with suspend.

What else... I have to kill mythfrontend before suspending, and bring
it up afterwards.  Otherwise, even though resume works, mythfrontend
hangs for some reason.  To bring it up on resume I use this nice
little utility:

http://www.realh.ukfsn.org/reveille.shtml

Oh, and I had to mess with the gnome power management settings so that
the screen wouldn't be locked on resume, but I'm guessing you already
did something like that.

I think that's about it.  If I remember anything else I did I'll post it here!

Adolfo


More information about the mythtv-users mailing list