> Date: Sun, 4 Mar 2012 12:27:56 -0800 > From: Mike Larkin <mlar...@azathoth.net> > Cc: joshua stein <j...@openbsd.org>, tech@openbsd.org > Reply-To: mlar...@azathoth.net > List-Owner: <mailto:owner-t...@openbsd.org> > X-Loop: tech@openbsd.org > Sender: owner-t...@openbsd.org > X-XS4ALL-DNSBL-Checked: mxdrop214.xs4all.nl checked 192.43.244.163 against > DNS blacklists > X-CNFS-Analysis: v=2.0 cv=e8exv9V/ c=1 sm=0 a=A3duGc4wJ8K8BtNzzvyz4A==:17 > a=wom5GMh1gUkA:10 a=JV4z2ink_MgA:10 a=NDt0MqMu1W8A:10 > a=WLtJ5LygAb0A:10 a=wPDyFdB5xvgA:10 a=kj9zAlcOel0A:10 > a=xqWC_Br6kY4A:10 a=rTCu5ZAxDHZ_rHRvVYYA:9 a=CjuIK1q_8ugA:10 > a=A3duGc4wJ8K8BtNzzvyz4A==:117 > X-Virus-Scanned: by XS4ALL Virus Scanner > X-XS4ALL-Spam-Score: 0.0 () none > X-XS4ALL-Spam: NO > Envelope-To: mark.kette...@xs4all.nl > > On Sat, Mar 03, 2012 at 09:43:39PM +0100, Matthieu Herrb wrote: > > On Sat, Mar 03, 2012 at 12:50:32PM -0600, joshua stein wrote: > > > > And it only works if you don't suspend the machine. After a > > > > suspend/resume cycle, X still comes back, but text mode VTs stay black > > > > again. > > > > > > does the console resume properly even when you boot up and don't > > > start x? it doesn't on my laptop, so this may be an acpi-related > > > problem. > > > > > > > No, even in text mode only the console doesn't come back from > > suspend. So yes it's an acpi issue. > > -- > > Matthieu Herrb > > > > This really has nothing to do with ACPI. It could be due to missing a > repost in resume, but ACPI is really not involved in that part of the > sequence. > > There is a block of code in sys/dev/pci/vga_pci.c that can be used to try one > of two different resume video repost techniques. Did you try putting your > card's ID in there and see what happens? (For both types of repost?)
I'm pretty sure I tried both methods when I was hackig on the initial sandybridge support. They didn't help. We need to restore the graphics state ourselves in the kernel driver.