[Openchrome-devel] [Bug 97553] Switching to tty1 gives only blank screen with version newer than 0.5.103

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 1 21:22:44 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97553

--- Comment #4 from Max Rus <off_mail at mail.ru> ---
Hi, Kevin.

I tried to change function iga1_crtc_restore this way:

diff --git a/src/via_display.c b/src/via_display.c
index 721dfe8..e451f66 100644
--- a/src/via_display.c
+++ b/src/via_display.c
@@ -3188,7 +3188,7 @@ iga1_crtc_restore(xf86CrtcPtr crtc)
     ViaDisablePrimaryFIFO(pScrn);

     vgaHWLock(hwp);
-    vgaHWProtect(pScrn, TRUE);
+    vgaHWProtect(pScrn, FALSE);

     DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
                         "Exiting iga1_crtc_restore.\n"));

and now TTY1-6 shows text. I can't explain why it worked (but I found similar
function in internet with comments "ON: Reenable sequencer, then turn on
screen." and decided to change this parameter to "ON"). And I have no knowledge
how such a change could affect resume from standby process (ACPI S3 State) you
tried to repair.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/openchrome-devel/attachments/20160901/4952be57/attachment.html>


More information about the Openchrome-devel mailing list