Date: Tue, 16 Feb 1999 16:37:39 +0900 From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: Jake <jake@checker.org> Cc: current@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: vesa and X wierdness Message-ID: <199902160737.QAA14348@zodiac.mech.utsunomiya-u.ac.jp> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902160737.QAA14348>
