From owner-freebsd-stable Tue Apr 23 7:41: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mailserver.ratelecom.net (host93-9.zapad.msk.ru [212.5.93.9]) by hub.freebsd.org (Postfix) with ESMTP id D187837B400 for ; Tue, 23 Apr 2002 07:40:52 -0700 (PDT) Received: from [195.128.69.169] (account haali@home.domonet.ru HELO po.cs.msu.su) by mailserver.ratelecom.net (CommuniGate Pro SMTP 3.5.1) with ESMTP-TLS id 1182137 for freebsd-stable@FreeBSD.ORG; Tue, 23 Apr 2002 18:40:50 +0400 Message-ID: <3CC57275.4030609@po.cs.msu.su> Date: Tue, 23 Apr 2002 18:40:53 +0400 From: Mike Matsnev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: ru, en-us MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: Re: screen refresh rate References: <20020423060700.GD8644@dru.dn.ua> <031f01c1eabe$9dc984c0$0900a8c0@max> <001301c1ead1$3b6ce020$0900a8c0@max> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I applied the patch below to one of my systems here (with a Radeon > all-in-wonder card and a generic 19" monitor) and it works fine. At least, > I assume it's working (I'm not as sensitive to refresh rates in console mode > as some). There weren't any errors, anyway. vidcontrol.c has been cleaned > up a bit since the patch at the URL above was produced, so I had to modify > that part of the patch to accomodate for the changes. According to the > webpage, the default mode is supposed to change to 100x37, but I didn't see > a change in that regard (and in fact couldn't change to that mode). Anyway, > here's what I used. Once again, use at your own risk. This is my old patch to change the refresh rate of VESA_800x600 mode. It works by setting 1024x768 vesa mode to get the higher dot clock and changes back the display size parameters to those of 800x600, so we end up with a 800x600 mode with higher refresh rate. This is more a hack than a real solution, and a proper splxxx() call is needed around crtc programming code to be safe. Also the vidcontrol part is now irrelevant, as the dimensions can be specified as arguments to vidcontrol. /Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message