You are not logged in.

#1 2007-12-31 02:04:33

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

X not honoring xorg.conf

Since reinstalling arch linux a few days ago X no longer honors my xorg.conf file. It is the same file from my previous install and it worked just fine. What isn't working, my dual head setup with my tv and my keyboard section doesn't seem to be honored either. Here is my xorg.conf file...

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
#Section "InputDevice"
#    Identifier         "Configured Mouse"
#    Driver            "evdev"
#    Option        "CorePointer"
#    Option            "Dev Name"            "Logitech USB Receiver"
#    Option            "Dev Phys"            "usb-0000:00:10.0-1/input1"
#    Option         "evBits"          "+1-2"
#    Option         "keyBits"        "~272-290"
#    Option         "relBits"         "~0-2 ~6 ~8"
#    Option         "Pass"            "3"
#    Option            "Buttons"            "10"
#    Option            "ZAxisMapping"            "4 5"
#EndSection
#Section "InputDevice"
#    Identifier    "Configured Mouse"
#    Driver        "mouse"
#    Option        "CorePointer"
#    Option        "Device"        "/dev/input/mice"
#    Option        "Protocol"        "ExplorerPS/2"
#    Option        "Buttons"        "12"
#    Option        "ZAxisMapping"        "4 5"
#    Option        "Emulate3Buttons"    "true"
#EndSection

Section "ServerLayout"
    Identifier     "Simple Layout"
    Screen      0  "Screen[0]" 0 0
    Screen      1  "Screen[1]" RightOf "Screen[0]"
    InputDevice    "Keyboard" "CoreKeyboard"
    InputDevice    "Configured Mouse" "CorePointer"
EndSection

Section "Files"

    # path to defoma fonts
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/75dpi"
    FontPath        "/usr/share/fonts/artwiz-fonts"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load              "i2c"
    Load               "bitmap"
    Load               "dbe"
    Load               "ddc"
    Load               "extmod"
    Load           "fb"
    Load               "freetype"
    Load               "glx"
    Load               "int10"
    Load               "type1"
    Load               "vbe"
EndSection

Section "InputDevice"
    Identifier     "Keyboard"
    Driver         "keyboard"
    Option       "CoreKeyboard"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "Protocol"             "ExplorerPS/2"
    Option         "Dev Name"             "Logitech USB Receiver"
    Option         "Dev Phys"             "0000:00:02.0-1/input2"
    Option         "Device"             "/dev/input/mice"
    Option         "Buttons"             "10"
    Option         "ZAxisMapping"         "4 5"
    Option         "ButtonMapping"         "1 2 3 6 7 "
EndSection

Section "Monitor"
 #CRT
    Identifier     "Monitor[0]"
    HorizSync       31.5 - 80.0
    VertRefresh     56.3 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
 #TV 
    Identifier     "Monitor[1]"
    HorizSync       30.0 - 50.0
    VertRefresh     60.0 - 60.0
EndSection

Section "Device"
    Identifier     "Device[0]"
    Screen          0
    Driver         "nvidia"
    Option         "NvAGP"             "3" #1,2,3
    Option         "NoLogo"             "true"
    Option         "UseDisplayDevice"         "CRT"
    Option         "RenderAccel"         "true"
    Option         "XvmcUsesTextures"         "true"
    Option         "AllowGLXWithComposite"     "true"
    Option         "AddARGBGLXVisuals"         "True"
EndSection

Section "Device"
             #adjust using 'lspci' or cat /proc/pci
    Identifier     "Device[1]"
    BusID          "PCI:1:0:0"
    Screen          1
    Driver         "nvidia"
    Option         "TVOutFormat"         "SVIDEO"
    Option         "TVStandard"         "NTSC-M"
    Option         "UseDisplayDevice"         "TV"
    Option         "NvAGP"             "3" #1,2,3
    Option         "NoLogo"             "true"
    Option         "RenderAccel"         "true"
    Option         "XvmcUsesTextures"         "true"
    Option         "AllowGLXWithComposite"     "true"
    Option         "SyncToVBlank"         "true"
    Option        "AddARGBGLXVisuals"         "True"
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen[1]"
    Device         "Device[1]"
    Monitor        "Monitor[1]"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1024x768"
    EndSubSection
EndSection

#Section "Extensions"
#    Option         "Composite" "Enable"
#    Option         "RENDER" "Enable"
#EndSection

#Section "DRI"
#    Mode    0666
#EndSection

Does anyone know why this could be or have any hints on things to try? Thanks for any help.

Offline

#2 2007-12-31 02:22:13

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: X not honoring xorg.conf

Here is a keyboard section from my xorg.conf that works fine - for reference:

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "logiultrax"
    Option        "XkbLayout"    "us"
    Option        "XkbOptions"    "lv3:ralt_switch"
EndSection

You should be able to use "pc105" for "XkbModel" without problems.

As for your dual head setup... do you use two separate nvidia cards?  Because if not you should probably use one "Device" and just two "Screen" sections with the same card powering each monitor...  But I'm just guessing about that, I've never tried plugging my card to a TV.

Offline

#3 2008-01-01 12:21:17

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: X not honoring xorg.conf

Have you checked the xorg log in /var/log/? It is called Xorg.0.log or something. A little down at the beginning of this file there is written which xorg.conf is actually used, check that it is the right one. Maybe you have an xorg.conf leftover in /etc/ which takes precedence over that in /etc/X11/.

Bye, signor_rossi.

Offline

#4 2008-01-01 19:23:47

redbeard0531
Member
Registered: 2007-12-28
Posts: 12

Re: X not honoring xorg.conf

make sure you dont have an xorg.conf file in your or root's home directory. for some reason startx checks there first. Hopefully you will pull out less hair trying to figgure this out than I did wink.

Offline

#5 2008-01-01 20:15:20

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: X not honoring xorg.conf

Thanks for the replies. I have my keyboard working now. The xorg log file says it's using the /etc/X11/xorg.conf file, so thats right. I also looked through the rest of that file and saw no reference to my second screen. This is one of the weirdest things I've come across seeing how this same exact file worked fine with the same version of xorg on my previous install.

So right now the only thing still not working is the TV-out with dual display, I haven't tried twin view but maybe I will give that a go and see what that gets me. Thanks for the help.

Offline

Board footer

Powered by FluxBB