Re: SOLVED: Re: problem starting X on linux-m68k
Michael Schmitz wrote:
>
> Mike Lockwood wrote:
> > > What exactly is the configuration error you got?
> >
> > I can't remember exactly, but it was something like "invalid mode" from
> > an fbXXX() call (I can't remember the function name). The problem was
> > that my XF86Config did not have a mode defined for my 832x624 monitor.
>
> The config file should not define anything but the "default" mode entry.
> What mode
> did the X server complain about (wrong x or y resolution, what else)? This
> is the
> first little piece of information I ever got regarding this error and I'd
> like to make sure whatever wrong information the framebuffer code passes
> to X is fixed ...
Hi Michael,
Following is the output of the X server when I run startx using the
stock XF86Config from /usr/doc/xserver-common/examples/. This is on a
Debian 2.1 system with the 2.2.6 kernel (cvs snapshot from 071399) and
the 3.3.3.1 fb xserver from xfree86.org. My monitor is set to 8 bpp at
832x624 resolution:
*****
XFree86 Version 3.3.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: November 13 1998
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.1.127 m68k [ELF]
Configured drivers:
FBDev: Server for frame buffer device
(Patchlevel 10): mfb, iplan2p2, iplan2p4, iplan2p8, ilbm, afb, cfb8,
cfb16, cfb32
(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: "Linux/m68k Frame Buffer Device"
(**) FBDev: Monitor ID: "Generic Monitor"
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) FBDev: Using default frame buffer video mode
Fatal server error:
fbdevScreenInit: unable to set screen params (Invalid argument)
When reporting a problem related to a server crash, please send
the full server output, not just the last messages
X connection to :0.0 broken (explicit kill or server shutdown).
******
Now the original problem I reported was that the slink version of the
XF68_FBDev X server would crash instead of reporting this error.
I was able to edit XF86Config to get the x server to work (now both
startx and xdm are working for me). The only change that was necessary
was changing the Depth of the default display from 1 to 8:
--- XF86Config.orig Thu Jul 15 04:41:12 1999
+++ XF86Config Thu Jul 15 06:59:26 1999
@@ -483,7 +483,7 @@
Monitor "Generic Monitor"
DefaultColorDepth 4
SubSection "Display"
- Depth 1
+ Depth 8
Modes "default"
Virtual 1152 900
EndSubSection
I hope this is helpful. Please let me know if you need any more
information.
Mike
Reply to: