From owner-freebsd-stable@FreeBSD.ORG Wed Jun 2 20:47:50 2010 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from [127.0.0.1] (unknown [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 952F2106567A; Wed, 2 Jun 2010 20:47:47 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-stable@FreeBSD.org Date: Wed, 2 Jun 2010 16:47:35 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006021647.37531.jkim@FreeBSD.org> Cc: David DEMELIER , ed@FreeBSD.org Subject: Re: Strange video mode output with VESA X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 20:47:50 -0000 On Wednesday 02 June 2010 04:25 pm, David DEMELIER wrote: > Hi there, > > I was so happy to see that VESA is available for amd64, but > unfortunately it does not work really well for me. Take a look at > this picture : > > http://img717.imageshack.us/img717/7311/dsc00399h.jpg > > My laptop is a 15,6" so the best resolution is 1366x768, I tried > this > > : vidcontrol MODE_496. As you can see on the picture all the lines > : are > > completely everywhere, if I mouse the cursor they move away (I'm > not drunk!). > > I have SC_PIXEL_MODE in my kernel config. > > The console terminal is okay until I don't excess 1280x960x32 video > mode. > > Do you have any idea to fix this ? It is kinda known problem. If the mode has larger bytes per scan line than the minimum, few characters per line are lost when the screen is scrolled up or down, i.e., framebuffer copies of whole screen. When you move the mouse onto the line, entire line is redrawn and restored. That's what you are seeing. Ed might have a better idea how to fix it (CC'ed). Jung-uk Kim