From owner-freebsd-hackers Wed Dec 20 7:59:11 2000 From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 20 07:59:08 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.alcove.fr (smtp.alcove.fr [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 3722937B400; Wed, 20 Dec 2000 07:59:07 -0800 (PST) Received: from wiliam.alcove-int ([10.16.110.19]) by smtp.alcove.fr with esmtp (Exim 3.12 #1 (Debian)) id 148ldt-0004ob-00; Wed, 20 Dec 2000 16:59:01 +0100 Received: from nsouch by wiliam.alcove-int with local (Exim 3.12 #1 (Debian)) id 148lds-0004ot-00; Wed, 20 Dec 2000 16:59:00 +0100 Date: Wed, 20 Dec 2000 16:59:00 +0100 From: Nicolas Souchu To: hackers@freebsd.org Cc: msmith@freebsd.org Subject: VGL troubles when switching windows Message-ID: <20001220165859.C17917@wiliam.alcove-int> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i Organization: =?iso-8859-1?Q?Alc=F4ve=2C_http:=2F=2Fwww=2Ealcove=2Efr?= Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike, Hackers, There are timing problems when switching VGA memory windows in non linear frame buffer mode with my S3 card. The strange thing is that splash_bmp works well but not my small VGL application. The main difference between both contexts is that splash_bmp is executed before the system is up, whereas my VGL application runs in full multiuser mode. The trouble is that part of the displayed picture is shifted down and right. Note that while trying to debug it with gdb, and breaking on each VGLSetSegment() call, the pictures was drawn correctly. This is what makes me think that this is a timing problem. Of course, I tried to splhigh (under -stable) the vesa_set_origin() function, but with no success. Anyway, it's certainly already done by the vm86_intcall(). Any clue? nicholas -- Nicolas.Souchu@alcove.fr Alcôve - Open Source Software Engineer - http://www.alcove.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message