Xorg impossible problems

Dino Vliet dino_vliet at yahoo.com
Sat Sep 22 03:09:54 PDT 2007


Mi fellow freebsd enthousiasts,

I have this interesting Xorg problems which I can't seem to eliminate and I therefore hope some of you can guide me in the right direction.

On my amd64 system running freebsd 6.2 with a nvidia card using the vesa driver, I'm experiencing Xorg crashes and weirdness ever since the big Xorg upgrade (which I finished successfully I thought)

At the moment I'm seeing the following behavior:


   from time to time, Xorg crashes and won't restart (especially when I'm using firefox) and I have found firefox.core, gnash.core and metacity.core files in my home directory afterwards
   when Xorg crashes, in the past it would restart X by itself but not anymore. Now I'm seeing messages like "Failed to start X server several times in a short time period; disabling display : 0"
   If I remove gdm_enalbe=Yes from my /etc/rc.conf file and reboot I get into the console. Since after the upgrade I can't startx then to start my desktop because I get errors like no devices found, no screens found
   in my console, since after the upgrade, I can't do Xorg -configure as root to let it create a Xorg skeleton file which I can use to tailor to my needs. This was also possible in the past

So, I hope somebody can help me out? Would it be an option for me to remove all Xorg packages and all of gnome (would like to start with Xfce4 in stead) and then refresh my ports and install the new Xorg 7.3? Would that help me?

Some things about my system:

pkg_info | grep xorg       
xorg-7.3_1          X.Org complete distribution metaport
xorg-apps-7.3       X.org apps meta-port
xorg-cf-files-1.0.2_2 X.org cf files for use with imake builds
xorg-docs-1.4,1     X.org documentation files
xorg-drivers-7.3    X.org drivers meta-port
xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts
xorg-fonts-7.3      X.org fonts meta-port
xorg-fonts-75dpi-7.3 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.3 X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.3 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.3 X.Org TrueType fonts
xorg-fonts-type1-7.3 X.Org Type1 fonts
xorg-libraries-7.3_1 X.org libraries meta-port
xorg-nestserver-1.4,1 Nesting X server from X.Org
xorg-printserver-1.2.0,1 X Print server from X.Org
xorg-protos-7.3     X.org protos meta-port
xorg-server-1.4,1   X.Org X server and related programs
xorg-vfbserver-1.4,1 X virtual framebuffer server from X.Org

The end of my Xorg.0.log file after a Xorg -configure as root:

No devices to configure.  Configuration failed.

No devices to configure.  Configuration failed.


The error I get at the end of Xorg.0.log file after the crashes or when I do a startx at the console

        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.7
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 7.2.0, module version = 1.1.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.7
(II) VESA: driver for VESA chipsets: vesa
(WW) xf86EnableIO: Failed to open /dev/io for extended I/O(EE) No devices detected.

Fatal server error:
no screens found

And finally my xorg.conf file:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/local/lib/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        Fontpath     "/usr/local/share/ghostscript/fonts/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
[rgilaard at zouk /usr/home/rgilaard]$ cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/local/lib/X11/rgb"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/lib/X11/fonts/misc/"
        FontPath     "/usr/local/lib/X11/fonts/TTF/"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        Fontpath     "/usr/local/share/ghostscript/fonts/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "Samsung"
        ModelName    "205BW"
 ### Uncomment if you don't want to default to DDC:
        HorizSync    30.0 - 80.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        Identifier  "Card0"
        Driver      "vesa"
#       VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID       "PCI:5:0:0"
#       Option      "UseFBDev"          "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes   "1680x1050" "1280x768" "1024x768"
        EndSubSection
EndSection



Thanks in advanced

       
---------------------------------
 Check out  the hottest 2008 models today at Yahoo! Autos.


More information about the freebsd-x11 mailing list