From mdharnois@home.com  Mon Jul  3 19:21:58 2000
Return-Path: <mdharnois@home.com>
Received: from c1030098-a.wtrlo1.ia.home.com (c1030098-a.wtrlo1.ia.home.com [24.14.126.45])
	by hub.freebsd.org (Postfix) with ESMTP id CFF8D37C150
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Jul 2000 19:21:56 -0700 (PDT)
	(envelope-from mdharnois@home.com)
Received: (from mdharnois@localhost)
	by c1030098-a.wtrlo1.ia.home.com (8.9.3/8.9.3) id VAA07683;
	Mon, 3 Jul 2000 21:21:55 -0500 (CDT)
	(envelope-from mdharnois)
Message-Id: <200007040221.VAA07683@c1030098-a.wtrlo1.ia.home.com>
Date: Mon, 3 Jul 2000 21:21:55 -0500 (CDT)
From: mdharnois@home.com
Reply-To: mdharnois@home.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: splash screen fails
X-Send-Pr-Version: 3.2

>Number:         19686
>Category:       kern
>Synopsis:       splash screen fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 03 19:30:01 PDT 2000
>Closed-Date:    Thu Aug 26 03:45:17 GMT 2004
>Last-Modified:  Thu Aug 26 03:45:17 GMT 2004
>Originator:     Michael Harnois
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

	i386 with ATI Mach64

>Description:

	splash_bmp fails

>How-To-Repeat:

	try it

>Fix:

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Subject: Re: not making a splash 
To: Michael Harnois <mdharnois@home.com>, "Daniel C. Sobral" <dcs@newsguy.com>
cc: yokota@zodiac.mech.utsunomiya-u.ac.jp
Date: Fri, 09 Jun 2000 22:21:49 +0900

Would you guys please test the following patch for 
/sys/modules/bmp/splash_bmp.c and see if it fixes the problem?

Kazu

Index: splash_bmp.c
===================================================================
RCS file: /src/CVS/src/sys/modules/splash/bmp/splash_bmp.c,v
retrieving revision 1.12
diff -u -r1.12 splash_bmp.c
--- splash_bmp.c	2000/04/27 13:37:40	1.12
+++ splash_bmp.c	2000/06/09 13:17:05
@@ -612,7 +612,8 @@
 
 #ifndef PC98
     /* XXX: this is ugly, but necessary for EGA/VGA 1bpp/4bpp modes */
-    if ((adp->va_type == KD_EGA) || (adp->va_type == KD_VGA)) {
+    if (((adp->va_type == KD_EGA) || (adp->va_type == KD_VGA))
+	&& (bmp_info.sdepth <= 4)) {
 	inb(adp->va_crtc_addr + 6);		/* reset flip-flop */
 	outb(ATC, 0x14);
 	outb(ATC, 0);



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->yokota 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Jul 5 02:21:02 PDT 2000 
Responsible-Changed-Why:  
Yokota-san has prior knowledge of this one, from the looks of things. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19686 
State-Changed-From-To: open->closed 
State-Changed-By: dougb 
State-Changed-When: Thu May 24 23:01:38 PDT 2001 
State-Changed-Why:  

Splash screens actually work for many users. If the originator 
is still having trouble, please feel free to follow up to 
freebsd-questions@freebsd.org, and/or file another PR if needed. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19686 
State-Changed-From-To: closed->analyzed 
State-Changed-By: dougb 
State-Changed-When: Fri May 25 13:13:30 PDT 2001 
State-Changed-Why:  

Originator states in mail to -questions that for users with his 
video card splash screens work with the patch, and do not work 
without it. YOKOTA-san, can you commit this patch, or follow 
up with the originator? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19686 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 26 03:31:01 GMT 2004 
State-Changed-Why:  
Is this still a problem with modern versions of FreeBSD? 


Responsible-Changed-From-To: yokota->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Aug 26 03:31:01 GMT 2004 
Responsible-Changed-Why:  
With bugmeister hat on, reassign from inactive committer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19686 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 26 03:45:08 GMT 2004 
State-Changed-Why:  
Submitter's email address bounces. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19686 
>Unformatted:
