Unix/Linux Go Back    


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

X -configure fails on NetBSD: Number of created screens does not ...

BSD


Tags
configure, display, netbsd, screen, xorg

Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 04-22-2015
temp-usr temp-usr is offline
Registered User
 
Join Date: Apr 2015
Last Activity: 15 October 2016, 4:03 AM EDT
Posts: 10
Thanks: 10
Thanked 1 Time in 1 Post
Error X -configure fails on NetBSD: Number of created screens does not ...

Hello, my system is NetBSD 6.1.5 on AMD64.

'X -configure' prints following message:

"Number of created screens does not match number of detected devices"

Only motherboard's on-board graphic is using.

xorg.conf.new

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

Section "Files"
    ModulePath   "/usr/X11R7/lib/modules"
    FontPath     "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath     "/usr/X11R7/lib/X11/fonts/TTF/"
    FontPath     "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath     "/usr/X11R7/lib/X11/fonts/75dpi/"
    FontPath     "/usr/X11R7/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
    Load  "record"
    Load  "shadow"
EndSection

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

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

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
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     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "Dac8Bit"                # [<bool>]
        #Option     "BusType"                # [<str>]
        #Option     "CPPIOMode"              # [<bool>]
        #Option     "CPusecTimeout"          # <i>
        #Option     "AGPMode"                # <i>
        #Option     "AGPFastWrite"           # [<bool>]
        #Option     "AGPSize"                # <i>
        #Option     "GARTSize"               # <i>
        #Option     "RingSize"               # <i>
        #Option     "BufferSize"             # <i>
        #Option     "EnableDepthMoves"       # [<bool>]
        #Option     "EnablePageFlip"         # [<bool>]
        #Option     "NoBackBuffer"           # [<bool>]
        #Option     "DMAForXv"               # [<bool>]
        #Option     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "IgnoreEDID"             # [<bool>]
        #Option     "CustomEDID"             # [<str>]
        #Option     "DisplayPriority"        # [<str>]
        #Option     "PanelSize"              # [<str>]
        #Option     "ForceMinDotClock"       # <freq>
        #Option     "ColorTiling"            # [<bool>]
        #Option     "VideoKey"               # <i>
        #Option     "RageTheatreCrystal"     # <i>
        #Option     "RageTheatreTunerPort"     # <i>
        #Option     "RageTheatreCompositePort"     # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"              # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"            # <i>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ClockGating"            # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
        #Option     "DefaultTVDACAdj"        # [<bool>]
        #Option     "Int10"                  # [<bool>]
        #Option     "EXAVSync"               # [<bool>]
        #Option     "ATOMTVOut"              # [<bool>]
        #Option     "R4xxATOM"               # [<bool>]
        #Option     "ForceLowPowerMode"      # [<bool>]
        #Option     "DynamicPM"              # [<bool>]
        #Option     "NewPLL"                 # [<bool>]
        #Option     "ZaphodHeads"            # <str>
    Identifier  "Card0"
    Driver      "radeon"
    BusID       "PCI:1:5:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    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
    EndSubSection
EndSection

/var/log/Xorg.0.log on pastebin

pastebin.com/pP4xWtY9

Thanks.
Sponsored Links
    #2  
Old Unix and Linux 04-22-2015
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 July 2017, 2:59 PM EDT
Location: Saskatchewan
Posts: 22,291
Thanks: 1,110
Thanked 4,204 Times in 3,888 Posts
The relevant lines from the log file all begin with (EE). Here they are:


Code:
[  2560.459] (EE) No devices detected.
[  2560.459]
Fatal server error:
[  2560.459] no screens found
[  2560.459]

So it's not just finding not enough screens, it's finding none at all.

What's your graphics card / chipset?
The Following User Says Thank You to Corona688 For This Useful Post:
temp-usr (04-22-2015)
Sponsored Links
    #3  
Old Unix and Linux 04-22-2015
temp-usr temp-usr is offline
Registered User
 
Join Date: Apr 2015
Last Activity: 15 October 2016, 4:03 AM EDT
Posts: 10
Thanks: 10
Thanked 1 Time in 1 Post
lspci on linux:

01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS740 [Radeon 2100]

"lspci -vnn | grep VGA -A 12" on linux:
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS740 [Radeon 2100] [1002:796e] (prog-if 00 [VGA controller])
Subsystem: Elitegroup Computer Systems Device [1019:2615]
Flags: bus master, fast devsel, latency 64, IRQ 18
Memory at f0000000 (64-bit, prefetchable) [size=128M]
Memory at feaf0000 (64-bit, non-prefetchable) [size=64K]
I/O ports at e000 [size=256]
Memory at fe900000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at <unassigned> [disabled]
Capabilities: [50] Power Management version 2
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit+
Kernel driver in use: radeon
Kernel modules: radeon


Is this problem related to BIOS settings?

Last edited by temp-usr; 04-22-2015 at 03:00 PM.. Reason: Add "lspci -vnn | grep VGA -A 12"
    #4  
Old Unix and Linux 04-22-2015
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 July 2017, 2:59 PM EDT
Location: Saskatchewan
Posts: 22,291
Thanks: 1,110
Thanked 4,204 Times in 3,888 Posts
It's unlikely to be a BIOS problem.

Comment out this line:
Code:
BusID       "PCI:1:5:0"

Unless you have more than one card that may be more specific than needed.
The Following User Says Thank You to Corona688 For This Useful Post:
temp-usr (04-22-2015)
Sponsored Links
    #5  
Old Unix and Linux 04-22-2015
temp-usr temp-usr is offline
Registered User
 
Join Date: Apr 2015
Last Activity: 15 October 2016, 4:03 AM EDT
Posts: 10
Thanks: 10
Thanked 1 Time in 1 Post
I commented that line and ran [X -config xorg.conf.new], The result was that the monitor is turned off and don't show anything and none of CTRL-ALT-BACKSPACE & CTRL-ALT-F1 don't worked. Then I changed
Code:
Driver      "radeon"

to
Code:
Driver      "vesa"

and ran mentioned command which get a blank x screen with mouse cursor in the form of big X, but no Window Manager, i haven't ~/.xinitrc.

I will be back 8/9h later.
Sponsored Links
    #6  
Old Unix and Linux 04-22-2015
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 July 2017, 2:59 PM EDT
Location: Saskatchewan
Posts: 22,291
Thanks: 1,110
Thanked 4,204 Times in 3,888 Posts
Have you tried just not giving X a config file? It can autodetect fairly well these days.

VESA is a decent driver to fall back on if Radeon can't be convinced to work.
Sponsored Links
    #7  
Old Unix and Linux 04-23-2015
temp-usr temp-usr is offline
Registered User
 
Join Date: Apr 2015
Last Activity: 15 October 2016, 4:03 AM EDT
Posts: 10
Thanks: 10
Thanked 1 Time in 1 Post
I copied xorg.conf.new as either xorg.conf to "/etc/X11/" and ran [startx], The result was that the x display screen with TWM was performed, but I don't think "vesa" be a good alternative for "radeon" driver.

newer /var/log/Xorg.0.log after the changes made:

pastebin.com/DemzQxLH

Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check number of files that were created before a date? isaacniu UNIX for Dummies Questions & Answers 1 04-16-2012 04:49 AM
HP UX welcome screens belfastbelle HP-UX 4 10-28-2009 11:32 AM
Count number of Nodes created and write it to a Log file phani333 Shell Programming and Scripting 1 06-29-2009 11:36 PM
./configure is broken - /lib/cpp fails sanity check Virtuality Debian 12 02-26-2008 03:06 AM
Created cron.allow file and now email fails citrowske Solaris 1 09-14-2006 09:32 AM



All times are GMT -4. The time now is 08:35 PM.