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


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
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.
# 2  
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?
This User Gave Thanks to Corona688 For This Post:
# 3  
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 04:00 PM.. Reason: Add "lspci -vnn | grep VGA -A 12"
# 4  
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.
This User Gave Thanks to Corona688 For This Post:
# 5  
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.
# 6  
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.
# 7  
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

Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Solaris

Separate X screens on x86 Solaris 11.3

Good morning, I` am trying to make a separate X screens on x86 machine Dell XE2 Intel i5 2.5Ghz . Video : Xeon E3-1200 v3/4 Gen Core Processor Integrated Graphics processor Using Solaris 11.3 Release: kernel SunOS 5.11 Gnome 2.30.2 So right now I have tried to change... (4 Replies)
Discussion started by: defs
4 Replies

2. SCO

Cannot Switch from GUI to Text Screens

A client's SCO UNIX OpenServer 5.0.7 MP 4 system: The X-Windows GUI comes up fine (on multi-screen 2) but I cannot switch to tty01 or tty03 or any other tty. The display just shows a blinking cursor. I went into scoadmin video and checked that the function keys were all assigned--they are. I've... (6 Replies)
Discussion started by: Transpower
6 Replies

3. UNIX for Dummies Questions & Answers

Check number of files that were created before a date?

Hi all, In a directory I have a lot of files created in history. However do I check the number of files that were created before a designated date? Thanks (1 Reply)
Discussion started by: isaacniu
1 Replies

4. Red Hat

How can I see all screens of a user?

Hi folks, I was running many commands using root and closed the session. I would like to see if there is a way to go back to the server and see those screens so I can remember what I did the next time I need to do that. Thanks a bunch! (3 Replies)
Discussion started by: 300zxmuro
3 Replies

5. What is on Your Mind?

3D screens in surgical industry

I just had this odd idea that may even have some future. The advent of 3D screens for the mass market might prove useful for the healthcare industry, while in surgical practices they rely on medical imagery more and more often. Perhaps the introduction of 3D screens will give the illusion of depth... (4 Replies)
Discussion started by: figaro
4 Replies

6. HP-UX

HP UX welcome screens

How I can I remove the welcome screen for HPUX ie * * * * * Welcome to AIX Version 5.3! * * * but only for some users ? Thanks (4 Replies)
Discussion started by: belfastbelle
4 Replies

7. Shell Programming and Scripting

Count number of Nodes created and write it to a Log file

Dear Experts, I have to count the number of AddressRecords formed in bbc.xml file using unix script file. For example: for below pasted file, I need to write an output to a log file as "No. of Address Records Created=4". Snippet of bbc.xml:- <?xml version="1.0" encoding="UTF-8" ?> -... (1 Reply)
Discussion started by: phani333
1 Replies

8. Debian

./configure is broken - /lib/cpp fails sanity check

Hi, I first wanted to install my NIC drivers but it said: Makefile:62: *** Linux kernel source not found. Stop. So I installed the kernel source: linux-source-2.6.18_2.6.18.dfsg.1-13etch5_all.deb 1) cd /usr/src 2) -xjvf linux-source.2.6.18.extension (forget what it was) 3) ln -s... (12 Replies)
Discussion started by: Virtuality
12 Replies

9. Solaris

Created cron.allow file and now email fails

Getting ready for Sarbanes Oxley and I was told that I need to create a cron.allow file for the box so that only specified users can create cron jobs. That was easy enough, and I put in all the accounts that had scheduled cron jobs such as: root lp My oracle account A couple of programmer... (1 Reply)
Discussion started by: citrowske
1 Replies

10. UNIX for Dummies Questions & Answers

AIX Console screens

How do you switch screens in AIX? I know you can use ALT-F1, ALT-F3, etc. in SCO Unix. Help!!! (2 Replies)
Discussion started by: falstaff100
2 Replies

Featured Tech Videos