📄 video.txt
字号:
Video issues with S3 resume ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2003-2004, Pavel MachekDuring S3 resume, hardware needs to be reinitialized. For mostdevices, this is easy, and kernel driver knows how to doit. Unfortunately there's one exception: video card. Those are usuallyinitialized by BIOS, and kernel does not have enough information toboot video card. (Kernel usually does not even contain video carddriver -- vesafb and vgacon are widely used).This is not problem for swsusp, because during swsusp resume, BIOS isrun normally so video card is normally initialized.There are three types of systems where video works after S3 resume:* systems where video state is preserved over S3. (Athlon HP Omnibook xe3s)* systems that initialize video card into vga text mode and where BIOS works well enough to be able to set video mode. Use acpi_sleep=s3_mode on these. (Toshiba 4030cdt)* systems where it is possible to call video bios during S3 resume. Unfortunately, it is not correct to call video BIOS at that point, but it happens to work on some machines. Use acpi_sleep=s3_bios (Athlon64 desktop system)* radeon systems, where X can soft-boot your video card. You'll need patched X, and plain text console (no vesafb or radeonfb), see http://www.doesi.gmxhome.de/linux/tm800s3/s3.html. (Acer TM 800)Now, if you pass acpi_sleep=something, and it does not work with yourbios, you'll get hard crash during resume. Be carefull.You may have system where none of above works. At that point youeither invent another ugly hack that works, or write proper driver foryour video card (good luck getting docs :-(). Maybe suspending from X(proper X, knowing your hardware, not XF68_FBcon) might have betterchance of working.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -