From owner-freebsd-current Mon Feb 15 23:34:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA16297 for freebsd-current-outgoing; Mon, 15 Feb 1999 23:34:59 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16290 for ; Mon, 15 Feb 1999 23:34:56 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:VbWq58weXzX8ur5JVM03HcpgBUyHSkDT@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.1/8.9.1) with ESMTP id QAA13121; Tue, 16 Feb 1999 16:34:44 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id QAA14348; Tue, 16 Feb 1999 16:37:40 +0900 (JST) Message-Id: <199902160737.QAA14348@zodiac.mech.utsunomiya-u.ac.jp> To: Jake cc: current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: vesa and X wierdness In-reply-to: Your message of "Mon, 15 Feb 1999 23:03:21 PST." <199902160703.XAA00471@h24-64-221-247.gv.wave.shaw.ca> References: <199902160703.XAA00471@h24-64-221-247.gv.wave.shaw.ca> Date: Tue, 16 Feb 1999 16:37:39 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Hi, if I load the vesa kld module from loader.rc, in order to >use a high-res splash screen, when X starts the screen is very dim. >Usually I start xdm from ttys, but its the same if I use startx. >The cursor looks normal, its really bright against the dim screen. >Its fine if I don't load vesa and use a 320x200 splash screen, >and if I do load it, the vesa modes work great; I can load >a 1024x768 splash image, its just when X starts. Please try the attached patch for /sys/i386/isa/vesa.c and see if it works. Kazu --- vesa.c-1.17 Sun Feb 7 14:01:43 1999 +++ vesa.c Tue Feb 16 16:36:02 1999 @@ -838,9 +838,9 @@ if ((adp == vesa_adp) && (vesa_adp_info->v_flags & V_DAC8) && ((bits = vesa_bios_set_dac(8)) > 6)) { error = vesa_bios_save_palette(0, 256, palette, bits); + vesa_bios_set_dac(6); if (error == 0) return 0; - vesa_bios_set_dac(6); } return (*prevvidsw->save_palette)(adp, palette); @@ -855,9 +855,9 @@ if ((adp == vesa_adp) && (vesa_adp_info->v_flags & V_DAC8) && ((bits = vesa_bios_set_dac(8)) > 6)) { error = vesa_bios_load_palette(0, 256, palette, bits); + vesa_bios_set_dac(6); if (error == 0) return 0; - vesa_bios_set_dac(6); } return (*prevvidsw->load_palette)(adp, palette); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message