I've been trying to get X running on my Compaq Armada M300 laptop (ATI Rage
LT Pro graphics device, 800x600 LCD) using the framebuffer device.  The
Linux console is working beautifully at 800x600 using the vesafb driver:

    vesafb: framebuffer at 0x40000000, mapped to 0xc8800000, size 4096k
    vesafb: mode is 800x600x24, linelength=2400, pages=1
    vesafb: protected mode interface info at c000:4dba
    vesafb: scrolling: redraw
    vesafb: directcolor: size=0:8:8:8, shift=0:16:8:0
    Console: switching to colour frame buffer device 100x37
    fb0: VESA VGA frame buffer device

But the fbdev driver in X (version 4.1.0.1, shipped with Debian
stable/woody) is refusing to start, claiming that any mode I ask for is
invalid:

    (II) FBDev(0): using default device
    (II) Running in FRAMEBUFFER Mode
    (**) FBDev(0): Depth 24, (--) framebuffer bpp 32
    (==) FBDev(0): RGB weight 888
    (==) FBDev(0): Default visual is TrueColor
    (==) FBDev(0): Using gamma correction (1.0, 1.0, 1.0)
    (II) FBDev(0): Hardware: VESA VGA (vidmem: 4096k)
--> (II) FBDev(0): Checking Modes against framebuffer device...
--> (II) FBDev(0):      mode "800x600" test failed
    (II) FBDev(0): Checking Modes against monitor...
    (--) FBDev(0): Virtual size is 1024x768 (pitch 1024)
    (**) FBDev(0): Built-in mode "current": 48.0 MHz, 46.9 kHz, 75.1 Hz
    (++) FBDev(0): DPI set to (100, 100)
    (II) Loading /usr/X11R6/lib/modules/libfb.a
    (II) Module fb: vendor="The XFree86 Project"
            compiled for 4.1.0.1, module version = 1.0.0
    (**) FBDev(0): Using "Shadow Framebuffer"
    (II) Loading /usr/X11R6/lib/modules/libshadow.a
    (II) Module shadow: vendor="The XFree86 Project"
            compiled for 4.1.0.1, module version = 1.0.0
    (--) Depth 24 pixmap format is 32 bpp
    FBIOPUT_VSCREENINFO: Invalid argument

    Fatal server error:
    AddScreen/ScreenInit failed for driver 0


(My XF86Config-4 file is appended at the end of this message.)

I've tried everything I can think of, including:

  -- default bpp of 15 or 16, instead of 24
  -- mode names other than "800x600" (like "defaults," as in 3.3.x)
  -- an explicit modeline in the monitor section, with timings given
        by 'fbset -x'

but nothing seems to work.  Web searches on this error aren't helping much
either.  I always get the same error while "checking modes against
framebuffer device."

Can anyone tell me what this means?  Is there any way to get more debugging
information?  I thought running X with fbdev was a trivial task once the
framebuffer console was working.

Thanks,

Mark
[EMAIL PROTECTED]

---

# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "pex5"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "xie"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "ATI Rage LT Pro"
        Driver          "fbdev"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Compaq Armada M300 LCD"
        HorizSync       28-38
        VertRefresh     43-72
        Option          "DPMS"
#       Mode "800x600"
#               # D: 48.001 MHz, H: 46.876 kHz, V: 75.121 Hz
#               DotClock 48.002
#               HTimings 800 832 928 1024
#               VTimings 600 604 608 624
#               Flags "-HSync" "-VSync"
#       EndMode
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Rage LT Pro"
        Monitor         "Compaq Armada M300 LCD"
        DefaultDepth    24
#       SubSection "Display"
#               Depth           1
#               Modes           "800x600"
#       EndSubSection
#       SubSection "Display"
#               Depth           4
#               Modes           "800x600"
#       EndSubSection
#       SubSection "Display"
#               Depth           8
#               Modes           "800x600"
#       EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "800x600"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "800x600"
        EndSubSection
        SubSection "Display"
                Depth           24
                Virtual         1024 768
                Modes           "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to