nanogui: Problem running demos when using Framebuffer option


Previous by date: 7 Dec 2000 18:40:24 -0000 Re: config microwindows-0.89pre6 with linux-mips make errors, Greg Haerr
Next by date: 7 Dec 2000 18:40:24 -0000 nano-x and LCD's, Gray, Tim
Previous in thread: 7 Dec 2000 18:40:24 -0000 Re: Problem running demos when using Framebuffer option, Supriyo Chatterjea
Next in thread: 7 Dec 2000 18:40:24 -0000 Re: Problem running demos when using Framebuffer option, Supriyo Chatterjea

Subject: Fw: Problem running demos when using Framebuffer option
From: "Greg Haerr" ####@####.####
Date: 7 Dec 2000 18:40:24 -0000
Message-Id: <011701c0607d$55014920$15320cd0@gregh>

It looks like you need to use the "fbset" program
to set up your monitor scan lines etc. for your
monitor.  Apparently, the scan line values for the
default linux kernel don't fit with your monitor...

This is quite strange...  Anyone else have any ideas
as to why the default vga16 fb driver isn't working
on his system?  dmesg shows that it's coming up properly.
The "Out of Scan Range" error message is being
shown by the monitor itself...

Ah - I'll bet that your monitor isn't multi-sync
capable.  That means that it can't handle the switch
to the 640x480 standard vga mode?

Regards,

Greg

----- Original Message -----
From: Supriyo Chatterjea ####@####.####
To: ####@####.####
Sent: Thursday, December 07, 2000 1:15 AM
Subject: Re: Problem running demos when using Framebuffer option


Hi all,

I tried the "brain dead" VGA16 mode as Greg suggested
and everything worked fine.....until I ran "mdemo"
from the microwin/src/bin/ directory. The whole
monitor just went blank and couple of seconds later
out popped a message (generated my the monitor)
saying:

Out of Scan Range

Well...I'm attaching a few files which might hold
clues as to why my PC refuses to do what I want it to
do!

1) .config: generated by Menuconfig (only included a
small portion of the file)

2) config: Microwindows config file (only included a
small portion of the file)

3) dmesg.txt: what I got when I typed dmesg

4) lilo.conf: Below:

oot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=dos

image=/boot/vmlinuz
label=linux
read-only
root=/dev/hda5

image=/boot/vmlinuz.old
label=linux_old
read-only
root=/dev/hda5

other=/dev/hda1
label=dos

Please let me know if you find anything suspicious in
the files.

Thanks!
Supriyo

--------------------------------------------------------------------------------

#
# Automatically generated by make menuconfig: don't
edit
#

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y

#
# Mice
#
CONFIG_ATIXL_BUSMOUSE=m
CONFIG_BUSMOUSE=m
CONFIG_MS_BUSMOUSE=m
CONFIG_PSMOUSE=y
CONFIG_82C710_MOUSE=m
CONFIG_PC110_PAD=m



#
# Console drivers
#
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_MDA_CONSOLE=m
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_PM2 is not set
# CONFIG_FB_VESA is not set
CONFIG_FB_VGA16=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_MATROX is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_ADVANCED=y
CONFIG_FBCON_MFB=y
CONFIG_FBCON_CFB2=y
CONFIG_FBCON_CFB4=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_AFB is not set
# CONFIG_FBCON_ILBM is not set
# CONFIG_FBCON_IPLAN2P2 is not set
# CONFIG_FBCON_IPLAN2P4 is not set
# CONFIG_FBCON_IPLAN2P8 is not set
# CONFIG_FBCON_MAC is not set
CONFIG_FBCON_VGA_PLANES=y
# CONFIG_FBCON_VGA is not set
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

#
# Kernel hacking
#
CONFIG_MAGIC_SYSRQ=y


--------------------------------------------------------------------------------

####################################################################
#
# build target platform
#
# Valid ARCH values are:
#
# LINUX-NATIVE
# LINUX-ARM
# LINUX-MIPS
# LINUX-POWERPC
# FREEBSD-X86
# SOLARIS
# RTEMS
# DJGPP
# ELKS
#
# note: ELKS can't build client/server nano-X, nor
widget lib
#
####################################################################
ARCH                     = LINUX-NATIVE
ARMTOOLSPREFIX           = arm-linux-
MIPSTOOLSPREFIX          = mipsel-linux-
POWERPCTOOLSPREFIX       = powerpc-linux-
RTEMSTOOLSPREFIX         = i386-rtemself-

####################################################################
#
# Compiling options
#
####################################################################
OPTIMIZE                 = Y
DEBUG                    = N
VERBOSE                  = N

####################################################################
#
# Libraries to build: microwin, nano-X, nanowidget,
object frameworks
#
####################################################################
MICROWIN                 = Y
NANOX                    = Y
SHAREDLIBS               = N
NWIDGET                  = Y
OBJFRAMEWORK             = N


####################################################################
#
# Demos to build
#
####################################################################
MICROWINDEMO             = Y
NANOXDEMO                = Y

####################################################################
#
# Applications to build
#
####################################################################
NANOWM                   = Y

####################################################################
#
# The pixeltype of the native hardware or underlying
graphics library.
# This definition defines the PIXELVAL to be 32, 16 or
8 bits wide.
# If using Linux framebuffer, set to
MWPF_TRUECOLOR0888, and use fbset.
# It also enables GdArea/GrArea for this particular
pixel packing
format.
#
# define MWPF_PALETTE       /* pixel is packed 8 bits
1, 4 or 8 pal
index*/
# define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits
8/8/8
truecolor*/
# define MWPF_TRUECOLOR888  /* pixel is packed 24 bits
8/8/8
truecolor*/
# define MWPF_TRUECOLOR565  /* pixel is packed 16 bits
5/6/5
truecolor*/
# define MWPF_TRUECOLOR332  /* pixel is packed 8 bits
3/3/2 truecolor*/
#
####################################################################
SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888

####################################################################
#
# NanoX: Put Y to the following line to link the
nano-X application
# with the server.  This is required for ELKS, if no
network is
present,
# or for speed or debugging.  This affects the nano-X
server only.
#
####################################################################
LINK_APP_INTO_SERVER     = N

####################################################################
#
# File I/O support
# Supporting either below drags in libc stdio, which
may not be wanted
#
####################################################################
HAVE_FILEIO              = Y

####################################################################
# BMP, GIF reading support
####################################################################
HAVE_BMP_SUPPORT         = Y
HAVE_GIF_SUPPORT         = Y
HAVE_XPM_SUPPORT         = Y


####################################################################
# Shared memory support for Nano-X client/server
protocol speedup
####################################################################
HAVE_SHAREDMEM_SUPPORT   = N


####################################################################
# Generate screen driver interface only with no fonts
or clipping
####################################################################
NOFONTSORCLIPPING        = N

####################################################################
#
# Window move algorithms for Microwindows
# Change for tradeoff between cpu speed and looks
# ERASEMOVE repaints only backgrounds while window
dragging, quicker.
# Otherwise an XOR redraw is used for window moves
only after button
up,
# quickest (should set for ELKS)
# UPDATEREGIONS paints in update clipping region only
for better look
and feel
#
####################################################################
ERASEMOVE                = Y
UPDATEREGIONS            = Y

####################################################################
#
# Link with Gray Palette (valid only for 4bpp modes)
#
####################################################################
GRAYPALETTE              = N

####################################################################
#
# If the platform is running UNIX, Linux or RTEMS...
#
####################################################################
ifneq ($(ARCH), ELKS)

# X Window screen, mouse and kbd drivers
X11                      = N

ifeq ($(X11), Y)
# predefined model or select screen width, height,
depth(palette mode
only)
SCREEN_E15               = N
SCREEN_WIDTH             = 640
SCREEN_HEIGHT            = 480
SCREEN_DEPTH             = 4

else

# framebuffer screen driver (linear and/or vga 4
planes)
# set VTSWITCH to include virtual terminal switch code
# set PORTRAIT_MODE to L or R for left or right
orientation
# set FBREVERSE to reverse bit orders in 1,2,4 bpp
# set FBVGA=N for all systems without VGA hardware
(for MIPS must=N)
FRAMEBUFFER              = Y
FBVGA                    = Y
VTSWITCH                 = Y
PORTRAIT_MODE            = N
FBREVERSE                = N

# svgalib screen driver
VGALIB                   = N

# direct VGA hardware access screen driver
HWVGA                    = N






--------------------------------------------------------------------------------

Linux version 2.2.14-5.0old
####@####.#### (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #6
Thu Dec 7 13:35:06
SGT 2000
Detected 348934745 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 348.16 BogoMIPS
Memory: 127884k/131072k available (1104k kernel code,
412k reserved,
1608k data, 64k init, 0k bigmem)
Dentry hash table entries: 262144 (order 9, 2048k)
Buffer cache hash table entries: 131072 (order 7,
512k)
Page cache hash table entries: 32768 (order 5, 128k)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: Intel Pentium II (Deschutes) stepping 01
Checking 386/387 coupling... OK, FPU using exception
16 error
reporting.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch
####@####.####
PCI: PCI BIOS revision 2.10 entry at 0xfcaee
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society
NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 131072 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT
SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.9)
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 4096K
size
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings:
hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings:
hdc:DMA, hdd:pio
hda: ST310212A, ATA DISK drive
hdc: NEC CD-ROM DRIVE:28B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: ST310212A, 9768MB w/512kB Cache, CHS=1245/255/63
hdc: ATAPI 32X CD-ROM drive, 256kB Cache
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum
routines
   pII_mmx   :   808.863 MB/sec
   p5_mmx    :   858.393 MB/sec
   8regs     :   598.932 MB/sec
   32regs    :   306.705 MB/sec
using fastest function: p5_mmx (858.393 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
 hda: hda1 hda2 hda3 < hda5 hda6 >
autodetecting RAID arrays
autorun ...
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 64k freed
Adding Swap: 208804k swap-space (priority -1)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)
VFS: Disk change detected on device ide1(22,0)


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com.sg/

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####



Previous by date: 7 Dec 2000 18:40:24 -0000 Re: config microwindows-0.89pre6 with linux-mips make errors, Greg Haerr
Next by date: 7 Dec 2000 18:40:24 -0000 nano-x and LCD's, Gray, Tim
Previous in thread: 7 Dec 2000 18:40:24 -0000 Re: Problem running demos when using Framebuffer option, Supriyo Chatterjea
Next in thread: 7 Dec 2000 18:40:24 -0000 Re: Problem running demos when using Framebuffer option, Supriyo Chatterjea


Powered by ezmlm-browse 0.20.