Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 1999 13:34:09 +0000
From:      Mark Ovens <marko@uk.radan.com>
To:        questions@freebsd.org
Subject:   3.1 splash screen resolution
Message-ID:  <19990314133409.C269@marder-1.localhost>

next in thread | raw e-mail | index | archive | help
I can't get the splash screen in 3.1 to work at greater than 320x200
resolution (it works fine at 320x200).

I've got ``options VESA'' in my kernel, and just to make sure I've
added ``load vesa'' to /boot/loader.rc.

The document http://www.freebsd.org/~yokota/sc_update.txt contains
the following:


Last update: 4 Feb. 1999.
Kazutaka YOKOTA
yokota@FreeBSD.ORG

[....]

Q. I loaded kernel, a bitmap file and the splash_bmp module as instructed,
   but got the following error.  What gives?

      Preloaded elf module "splash_bmp.ko" at XXXXXX.
      module_register_init: module_register(splash_bmp, YYYYYY, 0) error 19

A. The current version of splash_bmp.ko is very limited.  The color
   depth must be 8 bpp (256 color), and the size must be 320x200 or
   smaller if the VESA support is not included in the kernel.  
   If your BMP file doesn't satisfy these conditions, splash_bmp.ko
   will return error 19 (ENODEV).  If the VESA support is compiled 
   in the kernel or the VESA modules is preloaded by the boot loader,
   larger bitmap may be used.

   Another possible cause of error is that the video driver finds it 
   unable to switch video modes on your video card and splash_bmp.ko
   is failing.  Run the `dmesg' command and see if it shows something 
   like "...video mode switching is only partially supported..." 
   among boot messages.  There is no fix for this at the moment. Sorry.

I get error 19 from splash_bmp.ko. I've checked that the BMP complies
with the requirements, it's 640x480x256 colours. If the problem is
that the video driver can't switch video modes on the card the I
should get the error described, but I don't.

Has anyone any idea what's wrong??. Thanks

My /boot/loader.rc:

	load /kernel
	load -t userconfig_script /kernel.config
	load -t splash_image_data /dawn.bmp
	load vesa
	load splash_bmp
	autoboot

The relevant parts of dmesg:


Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.1-RELEASE #1: Sun Mar 14 10:14:16 GMT 1999
    marko@marder-1:/usr/src/sys/compile/MARDER-1
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 233864725 Hz
CPU: AMD-K6tm w/ multimedia extensions (233.86-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 67108864 (65536K bytes)
config> disable sio3
config> pnp 1 0 os enable port0 0x220 port1 0x530 port2 0x388 port3 0x370
config> pnp 1 0 irq0 5 drq0 1 drq1 5
config> q
avail memory = 61882368 (60432K bytes)
Preloaded elf kernel "kernel" at 0xf0331000.
Preloaded userconfig_script "/kernel.config" at 0xf033109c.
Preloaded splash_image_data "/dawn.bmp" at 0xf03310e8.
Preloaded elf module "vesa.ko" at 0xf0331130.
Preloaded elf module "splash_bmp.ko" at 0xf03311cc.
VESA: v2.0, 4096k memory, flags:0x0, mode table:0xf032c012 (1000022)
VESA: ATI MACH64
module_register_init: module_register(splash_bmp, f032d5dc, 0) error 19

[...]

vga0: <ATI model 4750 graphics accelerator> rev 0x5c on pci0.8.0

[....]

vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa

Details of the bitmap:

  # file /dawn.bmp
  /dawn.bmp: PC bitmap data, Windows 3.x format, 640 x 480 x 8

-- 
      FreeBSD - The Power To Serve http://www.freebsd.org
      My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:marko@uk.radan.com                  http://www.radan.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990314133409.C269>