public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: vbetool on pure AMD64 system
Date: Mon, 14 Nov 2005 12:02:16 -0500	[thread overview]
Message-ID: <4378C318.9090105@cfl.rr.com> (raw)
In-Reply-To: <20051111103315.GB27805-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

When you say that vm86 is not supported on x86-64, what do you mean 
exactly?  I'm pretty sure that the hardware supports it, and I don't see 
how the vesa frame buffer Xorg driver works without it.  If the hardware 
supports v86 mode, why wouldn't the kernel?

For the OP: you might check if your bios has an option to repost the 
video bios on S3 resume.  I turned that on in my bios and that fixed 
this problem for me.  You also might try switching consoles after the 
resume, for instance, by pressing ctrl-alt-F1, then ctrl-alt-F7 ( or 
whichever tty the X server is on ) to switch back to X.  That sometimes 
will reset the video state.

Pavel Machek wrote:
> Hi!
> 
>> due to your work in new kernels, my AMD64-laptop now resumes after an ACPI S3 
>> suspend (I can type commands and they get executed) :-). Thanks a lot.
>>
>> But the LCD stays black. So I read about the various options to reinitialize 
>> the VGA, which were:
>> 1. kernel boot options: acpi=s3_sleep, acpi=s3_mode, pci=routeirq. I tried 
>> each one of them, LCD still stays black.
>> 2. Using the vbetool to save/restore the state of the VGA.
>>
>> Here is the problem: I didn't find an AMD64 version of vbetool (using Debian 
>> testing AMD64), so I forced the i386 package and manually met its 32bit 
>> dependencies. It does run, and the "vgastate off" option does disable the 
>> LCD. But saving and restoring the state, I get the following error:
>>
>> # vbetool vbestate save > /tmp/save
>> Can't get video state buffer size (vm86 failure)
>> Get video state buffer size failed
>> Can't save video state (vm86 failure)
>> Save video state failed
> 
> vm86 is unsupported on x86-64. Something like qemu will be required
> :-(.
> 								Pavel



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

  parent reply	other threads:[~2005-11-14 17:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-09 22:42 vbetool on pure AMD64 system Frank
     [not found] ` <200511092342.40477.hugelmopf-S0/GAf8tV78@public.gmane.org>
2005-11-10 16:07   ` Matthew Garrett
2005-11-11 10:33   ` Pavel Machek
     [not found]     ` <20051111103315.GB27805-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-11-14 17:02       ` Phillip Susi [this message]
     [not found]         ` <4378C318.9090105-3tLf1voIkJTQT0dZR+AlfA@public.gmane.org>
2005-11-14 21:48           ` Alan Cox
     [not found]             ` <1132004907.16148.32.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-11-14 22:29               ` Carl-Daniel Hailfinger
2005-11-12 11:02   ` Erik Slagter
     [not found]     ` <1131793377.5267.6.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-11-12 12:09       ` Frank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4378C318.9090105@cfl.rr.com \
    --to=psusi-3tlf1voikjtqt0dzr+alfa@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox