Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MUqlV-0002n7-7U for mharc-grub-devel@gnu.org; Sat, 25 Jul 2009 19:34:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUqlT-0002mE-AX for grub-devel@gnu.org; Sat, 25 Jul 2009 19:34:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUqlQ-0002lt-UA for grub-devel@gnu.org; Sat, 25 Jul 2009 19:34:54 -0400 Received: from [199.232.76.173] (port=49462 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUqlQ-0002lq-Oq for grub-devel@gnu.org; Sat, 25 Jul 2009 19:34:52 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:34286) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUqlQ-00051O-A7 for grub-devel@gnu.org; Sat, 25 Jul 2009 19:34:52 -0400 Received: by fg-out-1718.google.com with SMTP id l26so594740fgb.7 for ; Sat, 25 Jul 2009 16:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=HDSlZNN9tH2iv1naYhV70eACbM+6fMDX+VagOXRL7ZM=; b=KPWaCqTx4Nrc9r8DFuCbI8SZekcRwauqUJVLwP040kESTW3hLHa6eYEpfHsJwinkrm CxTjPslb7On7tX2TBn2R2VG6ghNAd1SdKcb9o2YQC4p+Eqe1nRggyFx5O8/PW1SeDO1Y 5ipFAieZgHCm0jn6ddeAz0KtRadW3F0rtrpQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=ljmA5v6rr8JacDs+BnouHWO6hmv4qBV7bX/37apC3AN9cmYwzs3cfTmEh419XAT0fC 5/ol6A0AdlBZU63t31rUe8Xl7mUsLJcF0FyJvsEqYLM87LWSxgo1eQGW/UZDqgud4TcT XKGhkj/dGHCbZe5iCfIttrmjwUx93RfpVAO0c= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.86.51.12 with SMTP id y12mr1145022fgy.9.1248564891160; Sat, 25 Jul 2009 16:34:51 -0700 (PDT) In-Reply-To: References: <20090725164216.GO12326@thorin> Date: Sun, 26 Jul 2009 01:34:51 +0200 X-Google-Sender-Auth: 81cbee74c015046e Message-ID: From: Michal Suchanek To: The development of GRUB 2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Rotated menu on EFI? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jul 2009 23:34:55 -0000 2009/7/25 Vladimir 'phcoder' Serbinenko : >> >> >> No, I mean that the arrow keys work normally but the menu is drawn >> rotated to match the screen orientation. > This would require > (a) video support for EFI. This is simple to implement once > framebuffer split is in > (b) rotation support in gfxterm. Patches are welcome I was able to run gfxterm in qemu. Looking at the VideoSubsystem I wonder at what level the rotation should be implemented. It could probably be done in gfxterm and blit_glyph only which would be quite simple. True video rotation would be somewhat harder but transparent to other users of the video subsystem. Most functions could just go through a simple remapping of coordinates except for the bitmap storing and blitting functions. Rotated blitting is obviously somewhat harder and slower (unless done by real video hardware) and rotating the stored bitmaps is not very nice either. I found two problems while trying to get gfxterm running. The first one is with grub_mkrescue: it seems to ignore --modules= option. I specified --modules=gfxterm but gfxterm still has to be loaded in the grub.cfg. Another problem with this option is that the format is unspecified. Are the modules separated by commas, spaces, or other separators? The other problem is graphics initialization. Unless I run "vbetest" before "terminal_output gfxterm" gfxterm says "no suitable videomode found". Thanks Michal