Re: FBDev crashes

2000-05-01 Thread sam
> positive:
> -   works without crashes! and is faster!
> 
> neutral:
> -   neither -mach64 nor -ct6555 work here
> 
> negative:
> -   no documentation -- does anybody have a URL for the RPM?
> -   I can enter "Xpmac -middlebutton 101" on the command line, but a
> first line in /etc/X11/Xserver like "/usr/X11R6/bin/Xpmac -middlebutton
> 101" doesn't work. How can I pass arguments to Xpmac for the use with
> gdm?
> 
> strange:
> -   does Xpmac really read /etc/X11/XF86Config?


The fact of the matter is that there's really not much to Xpmac at all,
it's just a binary.
It seems to detect all of the stuff itself, and, for me, worked better
when i was using the Open Firmware frame buffer (No Video Driver option in
BootX.)
No, it doesn't need the XF86Config. Middle and right buttons are alt
(Command) 2, and 3 on your keyboard.
I use XPMac. I've tried XFree, too, with a properly configured ATYFb, but
it doesn't fit my needs and seems a bit choppier. I have a 2 button
kensington mouse, and could not get Emulate3Buttons working, even though i
was using XFree, and had Emulate3Buttons and Emulate3Timeout defined in my
XF86Config.
Just feed Xpmac the -mach64 option.. It'll be much more pleasant.



Re: FBDev crashes

2000-05-01 Thread David Brown
On Mon, May 01, 2000 at 03:34:56PM +0200, Andre Berger wrote:
> I couldn't find the RPM, so I installed Xpmac_rage128_usb.rev10.gz (and
> unchecked the No Video Driver kernel argument in BootX)
> 
> positive:
> -   works without crashes! and is faster!
> 
> neutral:
> -   neither -mach64 nor -ct6555 work here
> 
> negative:
> -   no documentation -- does anybody have a URL for the RPM?


has sources and patches for Xpmac.  I don't know if it is related to the
Xpmac_rage128_usb as seen above.

They have a binary rpm in


I've tried this server, and it seems to work.  It does support both the ADB
and the USB mouse.  It is also just as slow as the other Xpmac server.

> -   I can enter "Xpmac -middlebutton 101" on the command line, but a
> first line in /etc/X11/Xserver like "/usr/X11R6/bin/Xpmac -middlebutton
> 101" doesn't work. How can I pass arguments to Xpmac for the use with
> gdm?

in /etc/X11/gdm/gdm.conf, near the end, is a section [servers], you'll find
0=/usr/bin/X11/X vt7, add your option here.

> strange:
> -   does Xpmac really read /etc/X11/XF86Config?

No.  It has the following options from the rpm's manpage:

   -mode number -depth number
   arranges that the given screen will operate at the
   given  vmode and depth. Supported depths are 8, 16
   and 32. The server starts up, by default,  in  the
   current  video  mode.  This option must be used to
   modify that behavior.

   -nooptionmouse
   causes the mouse keys  to  generate  mouse  button
   presses without holding down the option key.

   -middlekey [key], -rightkey [key]
   Sets the decimal keycode for simulating the middle
   or right mouse buttons.   -nooptionpower  disables
   the  use  of  option+power to kill X. command+con-
   trol+power will still kill the server.

   -nomacgamma
   disables gamma correction for Macintosh monitors

   -novtswitch
   Disables  virtual  terminal  switching  via   con-
   trol+command+F[1-12].

   -keeptty
   Use  current  virtual  terminal  and do not detach
   controlling tty on startup (for debugging only).

   vtXXUse the specified VT number on startup

Dave Brown


Re: FBDev crashes

2000-05-01 Thread Andre Berger
> Andre Berger wrote:
> 
> > (**) FBDev: Using XF86Config video mode database
> > (--) FBDev: Frame buffer device: OFfb chips65550
> > (--) FBDev: Video memory: 975K @ 0x81800200
> > (--) FBDev: MMIO regs: 0K @ (nil)
> > (--) FBDev: Type 0 type_aux 0 bits_per_pixel 16
> > (--) FBDev: Hardware accelerator: None
> > (--) FBDev: No driver support for hardware acceleration
> > bpp = 16, depth = 15, BitsPerRGB = 5
> > (--) FBDev: Using cfb16 driver
> 
> Another thing to point out, is that XFBDev is really, really slow using
> No Video Driver checked (as shown above with Hardware accelerator:None),
> you would be much better off either unchecking no video driver (which
> might cause problems on your machine with video) or using Xpmac with the
> -mach64  flag (or whatever neccessary flag for your video card is).
> Xpmac acceleration is independent of the Frame Buffer, so it works with
> No Video Driver checked.
> 
> You can install Xpmac by using alien on the Xpmac RPM and installing or
> getting the Xpmac_rage128_usb.rev10.gz from linuxppc.org. After you
> install that, change the first line of /etc/X11/Xserver to read:
> /etc/X11R6/bin/Xpmac

I couldn't find the RPM, so I installed Xpmac_rage128_usb.rev10.gz (and
unchecked the No Video Driver kernel argument in BootX)

positive:
-   works without crashes! and is faster!

neutral:
-   neither -mach64 nor -ct6555 work here

negative:
-   no documentation -- does anybody have a URL for the RPM?
-   I can enter "Xpmac -middlebutton 101" on the command line, but a
first line in /etc/X11/Xserver like "/usr/X11R6/bin/Xpmac -middlebutton
101" doesn't work. How can I pass arguments to Xpmac for the use with
gdm?

strange:
-   does Xpmac really read /etc/X11/XF86Config?

-- 
Andre Berger <[EMAIL PROTECTED]> from Bonn, Germany 


Re: FBDev crashes

2000-05-01 Thread Geert Uytterhoeven
On Sun, 30 Apr 2000, Andrew B. Arthur wrote:
> Andre Berger wrote:
> 
> > (**) FBDev: Using XF86Config video mode database
> > (--) FBDev: Frame buffer device: OFfb chips65550
  ^^
> > (--) FBDev: Video memory: 975K @ 0x81800200
> > (--) FBDev: MMIO regs: 0K @ (nil)
> > (--) FBDev: Type 0 type_aux 0 bits_per_pixel 16
> > (--) FBDev: Hardware accelerator: None
> > (--) FBDev: No driver support for hardware acceleration
> > bpp = 16, depth = 15, BitsPerRGB = 5
> > (--) FBDev: Using cfb16 driver
> 
> Another thing to point out, is that XFBDev is really, really slow using
> No Video Driver checked (as shown above with Hardware accelerator:None),
> you would be much better off either unchecking no video driver (which
> might cause problems on your machine with video) or using Xpmac with the
> -mach64  flag (or whatever neccessary flag for your video card is).
  ^^^
> Xpmac acceleration is independent of the Frame Buffer, so it works with
> No Video Driver checked.

chips65550 != mach64

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: FBDev crashes

2000-04-30 Thread Nelson Abramson
Alexander wrote:

> 
>
> IIRC, the X server is trying to 0 out the colormap.  I got around this
> by just setting an enormous BlankTime (and I got paranoid w/ StandbyTime and
> SuspendTime as well):
> 

Why not just set the timeout to 0, which disables the mode?

--Nelson Abramson


--
"Apparently if you play the Windows NT CD backwards you hear satanic messages"
"You think that's bad, if you play it forwards it installs Windows NT!"
--orlando




Re: FBDev crashes

2000-04-30 Thread Alexander
On Sun, Apr 30, 2000 at 06:43:19PM +0200, Andre Berger wrote:
> 
> Fatal server error:
> fbdevUpdateColormap: FBIOPUTCMAP failed (Function not implemented)
> 

IIRC, the X server is trying to 0 out the colormap.  I got around this
by just setting an enormous BlankTime (and I got paranoid w/ StandbyTime and
SuspendTime as well):

Section "Screen"
Driver  "fbdev"
Device  "OFfb platinum"
Monitor "My Monitor"
BlankTime   9
StandbyTime 9
SuspendTime 9

Subsection "Display"
Depth   16
Modes   "default"
ViewPort0 0
Virtual 1024 768
EndSubsection
EndSection


Alexander


Re: FBDev crashes

2000-04-30 Thread Andrew B. Arthur
Andre Berger wrote:

> (**) FBDev: Using XF86Config video mode database
> (--) FBDev: Frame buffer device: OFfb chips65550
> (--) FBDev: Video memory: 975K @ 0x81800200
> (--) FBDev: MMIO regs: 0K @ (nil)
> (--) FBDev: Type 0 type_aux 0 bits_per_pixel 16
> (--) FBDev: Hardware accelerator: None
> (--) FBDev: No driver support for hardware acceleration
> bpp = 16, depth = 15, BitsPerRGB = 5
> (--) FBDev: Using cfb16 driver

Another thing to point out, is that XFBDev is really, really slow using
No Video Driver checked (as shown above with Hardware accelerator:None),
you would be much better off either unchecking no video driver (which
might cause problems on your machine with video) or using Xpmac with the
-mach64  flag (or whatever neccessary flag for your video card is).
Xpmac acceleration is independent of the Frame Buffer, so it works with
No Video Driver checked.

You can install Xpmac by using alien on the Xpmac RPM and installing or
getting the Xpmac_rage128_usb.rev10.gz from linuxppc.org. After you
install that, change the first line of /etc/X11/Xserver to read:
/etc/X11R6/bin/Xpmac
-- 
Andrew B. Arthur   |  Linux for iMac, iBook and PowerMacs:
[EMAIL PROTECTED]|  http://imaclinux.net


Re: FBDev crashes

2000-04-30 Thread Andrew B. Arthur
Andre Berger wrote:
> 
> I'm experiencing xserver-fbdev crashes of two types:
> 
> 1. Fatal server error: fbdevUpdateColormap: FBIOPUTCMAP failed (Function
> not implemented)
> 
> 2. Caught Signal 11
> 
> The problems seem to be screensaver-related. After about 10 minutes of
> inactivity the server dies.

Energy Star features (put screen on standby, suspend, etc.) are not
compatible with No Video Driver Checked -- If you try it, you will get
the error you listed in #1.
 
Try unchecking "No Video Driver" or disabling DPMS (energy saving) using
'xset -dpms'. 

-- 
Andrew B. Arthur   |  Linux for iMac, iBook and PowerMacs:
[EMAIL PROTECTED]|  http://imaclinux.net


FBDev crashes

2000-04-30 Thread Andre Berger
I'm experiencing xserver-fbdev crashes of two types:

1. Fatal server error: fbdevUpdateColormap: FBIOPUTCMAP failed (Function
not implemented) 

2. Caught Signal 11

The problems seem to be screensaver-related. After about 10 minutes of
inactivity the server dies. 

My configuration: PowerBook 3400, potato


XFree86 Version 3.3.6 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: January 8 2000
If the server is older than 6-12 months, or if your card is
newer
than the above date, look for a newer version before reporting
problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.15pre10 ppc [ELF] 
Configured drivers:
   FBDev: Server for frame buffer device
   (Patchlevel 11): mfb, afb, cfb8, cfb16, cfb32, NCR 77C32BLT (accel),
ATI Mach64 (accel), IMS TwinTurbo (accel), 3Dlabs Permedia 2 (accel)
(using VT number 7)

XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: disabled
(**) Mouse: type: BusMouse, device: /dev/mouse, buttons: 3
(**) FBDev: Graphics device ID: "C&T 65550"
(**) FBDev: Monitor ID: "My Monitor"
(**) FontPath set to
"/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/75dpi/,/usr/lib/X
11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/
misc/:unscaled,/usr/lib/X11/fonts/misc/"
(**) FBDev: Using XF86Config video mode database
(--) FBDev: Frame buffer device: OFfb chips65550
(--) FBDev: Video memory: 975K @ 0x81800200
(--) FBDev: MMIO regs: 0K @ (nil)
(--) FBDev: Type 0 type_aux 0 bits_per_pixel 16
(--) FBDev: Hardware accelerator: None
(--) FBDev: No driver support for hardware acceleration
bpp = 16, depth = 15, BitsPerRGB = 5
(--) FBDev: Using cfb16 driver
xinit:  unexpected signal 2



Fatal server error:
fbdevUpdateColormap: FBIOPUTCMAP failed (Function not implemented)


Server aborting...
.
Please forward information about this crash to XFree86@XFree86.org
including the _full_ output of the X server.

To analyse the crash dump, please type

gdb X /home/andre/core
where

and include this output in your report.  Thanks!