nanogui: Problem running Microwindows using framebuffer


Previous by date: 4 Feb 2003 21:04:39 -0000 MIDP Port, Prasad Sanagavarapu
Next by date: 4 Feb 2003 21:04:39 -0000 Problems with cvs.microwindows.org?, jonathan.foster.philips.com
Previous in thread: 4 Feb 2003 21:04:39 -0000 Re: Problem running Microwindows using framebuffer, Greg Haerr
Next in thread:

Subject: RE: [nanogui] Problem running Microwindows using framebuffer
From: "Patrick Kelly" ####@####.####
Date: 4 Feb 2003 21:04:39 -0000
Message-Id: <5AAA3DB471413C438F8ACEA91C983E4B7B7B49@exchange.ivast.com>

Greg:

Thank you. It turned out I didn't have permission on /dev/tty0. Running the examples as root did the trick. Setting the VTSWITCH=N did not change the behavior however. I'll try playing w/ the HAVETEXTMODE define as well.

Thanks again!

pat


-----Original Message-----
From: Greg Haerr ####@####.####
Sent: Tuesday, February 04, 2003 11:18 AM
To: Patrick Kelly; ####@####.####
Subject: Re: [nanogui] Problem running Microwindows using framebuffer


It sounds like you might not have permissions on /dev/tty0,
or it doesn't exist.  When the config file has VTSWITCH=Y,
then code is linked in that opens /dev/tty0 for VT switching.
You might try VTSWITCH=N, and also look at the
HAVETEXTMODE define in drivers/scr_fb.c.

Regards,

Greg

Hi:

I'm trying to use the framebuffer version of Microwindows. The build completes
w/out errors but when running several of the demos I receive the message:

Error can't open /dev/tty0: Permission denied
Cannot initialise screen

I have rebuilt my kernel to enable the framebuffer. This seems to work
correctly. (I see the penguin logo when logging in and I have a small test
program that is able to open /dev/fb0, memory map it, and write to it.)

The results of running fbset produce:

mode "640x480-73"
# D: 30.720 MHz, H; 36.923 kHz, V: 73.260 Hz
geometry 640 480 640 480 16
timings 32552 80 32 16 4 80 4
rgba 5/11,6/5,5/0,0/0
endmode

(This reflects the fact that I selected 311 at the VGA prompt when booting.) As
such, I set the SCREEN_PIXTYPE to MWPF_TRUECOLOR565 in the config file.

My system:

Microwindows: version 0.89
Platform: 600 MHz P3, 256 MB RAM
Linux: Red Hat 7.2 w/ kernel 2.7.17
Gfx Card: NVidia Riva TNT2 M64 (I've configred the framebuffer in the kernel to
use the vesa driver)

Finally, the X11 version of Microwindows works fine.

Any suggestions regarding what I'm doing wrong are greatly appreciated.

Thank you,

pat



Previous by date: 4 Feb 2003 21:04:39 -0000 MIDP Port, Prasad Sanagavarapu
Next by date: 4 Feb 2003 21:04:39 -0000 Problems with cvs.microwindows.org?, jonathan.foster.philips.com
Previous in thread: 4 Feb 2003 21:04:39 -0000 Re: Problem running Microwindows using framebuffer, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.