Solved No Screens found when starting X

Trying to get Xorg to work on my 8.4 machine running amd64.

I have onboard video via my motherboard and no other graphics card.

I ran Xorg -configure and received a xorg.conf.new file that I edited. Here is the output of that file.

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

Section "Files"
        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/OTF/"
        FontPath     "/usr/local/lib/X11/fonts/Type1/"
        FontPath     "/usr/local/lib/X11/fonts/100dpi/"
        FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "glx"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/sysmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Samsung"
        ModelName    "19inch"
        Option "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "ColorTiling"               # [<bool>]
        #Option     "ColorTiling2D"             # [<bool>]
        #Option     "RenderAccel"               # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "EXAVSync"                  # [<bool>]
        #Option     "EXAPixmaps"                # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        Identifier  "Card0"
        Driver      "radeon"
        BusID       "PCI:1:5:0"
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card1"
        Driver      "vesa"
        BusID       "PCI:1:5:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth    24
                Modes "1440x900"
        EndSubSection
EndSection

There does not seem to be any errors with my xorg.conf.new syntax.

I copied over xorg.conf.new to /etc/X11/xorg.conf.

Using the startx command it tells me it is using the conf file from /etc/X11/xorg.conf.

Xwindows does not seem to start and I get the error message.

Code:
(II) [KMS] Kernel modesetting enabled.
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

I have a Samsung 19 inch monitor connected to it. The monitor works perfectly.

I have hald and dbus enabled in rc.conf and running.

I also installed it via pkg install Xorg.

Can someone tell me what I am doing wrong or what is wrong? Thanks.
 
The auto-configure produced a file with two Device sections, one for radeon and one for vesa.

What actual video board do you have? That matters because at least one of those Device sections needs to be removed. If you have a newer Radeon, it gets more complicated.
 
Thank you very much wblock@.

I edited out the syntax for radeon and left in the code for vesa and that worked. I now have Xorg started and windows on my screen.
 
Back
Top