From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ht4iV-0002C0-9a for mharc-grub-devel@gnu.org; Tue, 29 May 2007 12:38:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ht4iU-0002Az-B7 for grub-devel@gnu.org; Tue, 29 May 2007 12:38:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ht4iT-0002AR-0C for grub-devel@gnu.org; Tue, 29 May 2007 12:38:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ht4iS-0002AO-PR for grub-devel@gnu.org; Tue, 29 May 2007 12:38:36 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ht4iS-00013h-EN for grub-devel@gnu.org; Tue, 29 May 2007 12:38:36 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Ht4iP-00049E-Vn for grub-devel@gnu.org; Tue, 29 May 2007 18:38:34 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1Ht4l0-0008Dw-OC for grub-devel@gnu.org; Tue, 29 May 2007 18:41:14 +0200 Date: Tue, 29 May 2007 18:41:14 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070529164114.GA31323@aragorn> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Subject: Re: Is it possible to issue a VBE3.0 call from Grub (1.95) to set desired refresh rate? 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: Tue, 29 May 2007 16:38:38 -0000 On Tue, May 29, 2007 at 10:03:35AM -0400, Dimitry Golubovsky wrote: > Hi, > > I am using Linux 2.6 on x86-64 with framebuffer console, VIA Unichrome > integrated graphics chip on a VIA K9MM-V motherboard. > > When the videomode is set using Linux kernel boot options > (video=vesafb vga=...), default refresh rate is 60Hz which causes > visible blinking on a CRT monitor. The vesafb-tng driver does not work > in 64 bit kernels. Kernel framebuffer driver modules specific to VIA > Unichrome were tried, but none worked. > > Is setting a videomode via VBE3.0 call 4f02h with desired refresh rate > possible from within Grub - using the grub.cfg file, or with some > programming? I'm not familiar with the video API either, but vbe.c:grub_video_vbe_init() looks like a good place to start digging for the information you want. grub_video_vbe_fini() might also be useful. -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.