Alexei: May I know that your BIOS includes Consplitter driver?
Thanks Elvin -----Original Message----- From: Alexei Fedorov [mailto:alexei.fedo...@arm.com] Sent: Thursday, December 06, 2012 1:05 AM To: edk2-devel@lists.sourceforge.net Subject: [edk2] Graphics Console produces no output in RELEASE build Hi, I found an issue with graphics console code in GraphicsConsoleControllerDriverStart() in \edk2\MdeModulePkg\Universal\Console\GraphicsConsoleDxe\GraphicsConsole.c DEBUG_CODE_BEGIN (); Status = GraphicsConsoleConOutSetMode (&Private->SimpleTextOutput, 0); if (EFI_ERROR (Status)) { goto Error; } Status = GraphicsConsoleConOutOutputString (&Private->SimpleTextOutput, (CHAR16 *)L"Graphics Console Started\n\r"); if (EFI_ERROR (Status)) { goto Error; } DEBUG_CODE_END (); 1. In RELEASE build GraphicsConsoleConOutSetMode() won't be called & graphics console mode won't be set. This results in blank screen & no output from Eshell/Ebl in UEFI RELEASE builds. 2. GraphicsConsoleConOutSetMode() is always setting default mode 0 with 80x25 regardless of the current high resolution video mode & this displays a small text window in the middle of the screen with 1680x1050. The possible fix might include: 1. Remove DEBUG_CODE_BEGIN (); before Status = GraphicsConsoleConOutSetMode() And put it before: Status = GraphicsConsoleConOutOutputString() 2. Call GraphicsConsoleConOutSetMode() with 2nd parameter (MaxMode-1) which is the text mode calculated from the current screen resolution. Can anyone comment on that? Thanks. Alexei. -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel