You are not logged in.

#1 2009-04-29 06:34:16

harumph
Member
Registered: 2009-04-24
Posts: 12

[SOLVED] X crashing at startup on new install

I have a new install and am trying to get X up and running. I have run "nvidia-xconfig --twinview" because I have both monitors plugged in. My video card is an nvidia 260 GTX  with dual monitor support. In the first port I have plugged in an emprex 1680x1050 lcd via dvi and the second port is an acer 1920x1080 via dvi. When I start X "# X -config /etc/X11/xorg.conf" or "# X" both lcds are activated but nothing appears, and I cannot CTRL-Alt-Backspace to exit. It just crashes with dual black screens. My xorg.conf file is below:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Tue Mar 24 06:15:32 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "True"
    Option         "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Any tips on what I might be doing wrong?

Thanks

Last edited by harumph (2009-05-01 20:13:37)

Offline

#2 2009-04-29 08:06:51

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [SOLVED] X crashing at startup on new install

Hi again, harumph,

Some comments:

If not done already, you can generate a xorg.conf with 'nvidia-settings', which comes with:

pacman -Sy nvidia-utils

The X version 1.6 is using hotplugging by default, so it will ignore your mouse and keyboard entries.

For hotplugging to work properly you must:

1. Start hal in /etc/rc.conf
2. Have xf86-input-evdev installed

Alternative is to disable hotplugging. All this is explained at:

http://wiki.archlinux.org/index.php/Xor … otplugging

Since version 1.6 Ctrl-Alt-Del is disabled by default.

To enable it (Developers take care that we do not fall asleep. tongue):

Section "ServerFlags"
    Option         "DontZap" "false"
EndSection

I have a Nvidia GeForce 8800 GTX and two screens. I am NOT using Xinerama or Twinview.

Here is my xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Tue Nov  4 14:08:09 PST 2008

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
EndSection


Section "ServerFlags"
    Option         "Xinerama" "0"
    Option         "DontZap" "false"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "LG"
    ModelName      "LG W2452"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "LG"
    ModelName      "L245WP"
    HorizSync       28.0 - 84.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS" "true"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GTX"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8800 GTX"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2009-04-29 12:25:46

tablestack
Member
Registered: 2009-04-14
Posts: 11

Re: [SOLVED] X crashing at startup on new install

It could be that your X is starting with a black cursor on a black background, this seems to be the new default behavior or something. Combined with the disabling of Ctrl+alt+backspace this could easily fool people into believing that X isn't working, it got me at least. Try skipping directly to this part of the Beginners Guide and start xterm.

Offline

#4 2009-04-29 14:32:54

JK3mp
Member
Registered: 2009-03-25
Posts: 105

Re: [SOLVED] X crashing at startup on new install

tablestack wrote:

It could be that your X is starting with a black cursor on a black background, this seems to be the new default behavior or something. Combined with the disabling of Ctrl+alt+backspace this could easily fool people into believing that X isn't working, it got me at least. Try skipping directly to this part of the Beginners Guide and start xterm.

Wow...that seems like rather inconvinient defaults.  @har- did you follow the exact steps to x conf  in begginers guide? Sure you got correct video drivers and configs ? i'd just double check through all my stuff or try reinstalling X.

Offline

#5 2009-04-29 15:54:49

tablestack
Member
Registered: 2009-04-14
Posts: 11

Re: [SOLVED] X crashing at startup on new install

JK3mp wrote:

Wow...that seems like rather inconvinient defaults.

Indeed, and I'm 100% certain that it wasn't the default behavior the first time I tried installing Arch. The current defaults could cause a lot of confusion for newbies like myself. tongue If the X developers intend to keep it this way the Beginners Guide should probably be updated to reflect the changes, that might help avoid some unnecessary posts in this forum section.

Offline

#6 2009-04-30 03:14:32

harumph
Member
Registered: 2009-04-24
Posts: 12

Re: [SOLVED] X crashing at startup on new install

Well thank you all for your help. It seems my mistake was following the Beginners install wiki. The xorg configuration seems to be severely outdated, especially considering xorgcfg and xorgconfig no longer even exist! I found a post here where a poster had mentioned the same thing and I followed it to the Xorg wiki where he had made the updates. I wish I would have known about this in the beginning. Below is my current xorg.conf that seems to work quite nicely so far with dual monitors and the GTX 260 card. I haven't tried anything that would require accelerated graphics yet, but my fluxbox is behaving quite well and no crashes smile I generated the config by copying the xorg log and choosing nvidia-xconfig once I had copied it to /etx/X11/xorg.conf. If there's anything that seems out of place or that will come back and bite me please let me know.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Tue Mar 24 06:15:32 PST 2009

Section "ServerLayout"
    Identifier     "Builtin Default Layout"
    Screen         "Builtin Default nv Screen 0" 0 0
    Screen         "Builtin Default vesa Screen 0" 0 0
    Screen         "Builtin Default fbdev Screen 0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "ServerFlags"
    Option         "DontZap" "False"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "keyboard"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Builtin Default nv Device 0"
    Driver         "nvidia"
EndSection

Section "Device"
    Identifier     "Builtin Default vesa Device 0"
    Driver         "nvidia"
EndSection

Section "Device"
    Identifier     "Builtin Default fbdev Device 0"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Builtin Default nv Screen 0"
    Device         "Builtin Default nv Device 0"
    Monitor        "Monitor0"
    Option         "TwinView" "True"
    Option         "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection     "Display"
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Builtin Default vesa Screen 0"
    Device         "Builtin Default vesa Device 0"
    Monitor        "Monitor0"
    Option         "TwinView" "True"
    Option         "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection     "Display"
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Builtin Default fbdev Screen 0"
    Device         "Builtin Default fbdev Device 0"
    Monitor        "Monitor0"
    Option         "TwinView" "True"
    Option         "MetaModes" "nvidia-auto-select, nvidia-auto-select"
    SubSection     "Display"
        Modes      "nvidia-auto-select"
    EndSubSection
EndSection

So I guess solved for now?

Offline

Board footer

Powered by FluxBB