From owner-freebsd-questions Sun Mar 14 5:39:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 9561714F80 for ; Sun, 14 Mar 1999 05:39:00 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-10.mail.demon.net with smtp (Exim 2.12 #1) id 10MB6D-0001o7-0A for questions@freebsd.org; Sun, 14 Mar 1999 13:38:38 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id NAA01442 for ; Sun, 14 Mar 1999 13:37:57 GMT Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id NAA00554 for questions@freebsd.org; Sun, 14 Mar 1999 13:34:09 GMT (envelope-from marko) Date: Sun, 14 Mar 1999 13:34:09 +0000 From: Mark Ovens To: questions@freebsd.org Subject: 3.1 splash screen resolution Message-ID: <19990314133409.C269@marder-1.localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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: 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