2.1.107, x86 fb, Riva 128, & xconfig

Brion Vibber (brion@pobox.com)
Fri, 26 Jun 1998 20:20:42 -0700


2.1.107's new x86 framebuffer support does not work on my machine. If I
try to use the VESA fb, the system locks hard immediately after "Ok...
booting kernel". If I throw in the VGA text mode driver it seems to work
but no text is displayed on screen, just the cursor, and the system
locks hard before it gets a chance to write to the system logs. Without
the framebuffer support it works fine except of course for the lack of
scrollback ability...

Also, neither framebuffer driver can be selected in make xconfig (they
are grayed out permanently), I must use make menuconfig instead. I'd try
to fix that myself but I'm not familiar with the scripting language
involved.

My machine is a Pentium II/266 w/ 128 MB of RAM, and the video card is a
Canopus Total3D 128V (Riva 128, 4 MB, PCI). It works fine in DOS Quake
(which uses VBE 2) and mostly works with the experimental VBE 2 support
in svgalib 1.3.0 (squake is somewhat screwed up, as is zgv when
initially entering a truecolor mode, but works after switching modes or
using 8-bit).

Also - the fb docs say that it's impossible to switch modes after boot
using the vesa driver because the real-mode bios can't be called from
protected mode. This isn't entirely true since the processor can switch
modes; take a look at the Linux Protected Mode Interface
(http://www.planet.net/pjoshv/lrmi-0.1.tar.gz). If anyone more competent
than I at such things (and who can get the framebuffer working in the
first place) wants to take a shot at it, it is possible to do.

The config:

CONFIG_EXPERIMENTAL=y
CONFIG_M686=y
CONFIG_MTRR=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_QUIRKS=y
CONFIG_PCI_OLD_PROC=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=y
CONFIG_VIDEO_SELECT=y
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_FB=y
CONFIG_BLK_DEV_FD=y
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDETAPE=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_PARIDE_PARPORT=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_NET_ISA=y
CONFIG_NE2000=y
CONFIG_EXT2_FS=y
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_PROC_FS=y
CONFIG_NFS_FS=y
CONFIG_NFSD=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_SMB_FS=y
CONFIG_SMB_WIN95=y
CONFIG_NTFS_RW=y
CONFIG_AUTOFS_FS=y
CONFIG_MAC_PARTITION=y
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y
CONFIG_VGA_CONSOLE=y
CONFIG_FB_VGA=y
CONFIG_FB_VESA=y
(tried also with just VGA and just VESA)
CONFIG_VIDEO_SELECT=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB32=y
CONFIG_FBCON_MFB=y
CONFIG_FBCON_CFB2=y
CONFIG_FBCON_CFB4=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_VGA=y
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_PRINTER=y
CONFIG_PRINTER_READBACK=y
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
CONFIG_UMISC=y
CONFIG_MAGIC_SYSRQ=y

-- brion@pobox.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu