Announcement

Collapse
No announcement yet.

question about my odd xorg file

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    question about my odd xorg file

    ok, i have two monitors, one QVA LM -191 monitor (1080x1024) and another smaller toshiba one. (1024-768)

    Currently when I log in the destop loads on my big main screen and on my toshiba one i get the background and the little app button thingy in the top right corner - the mouse runs freely between monitors and i can get the right click menu on the toshiba etc.

    Currently in my nvidia server settings the set tup is set to individual screens. When i set them to twin view and restart x its right back to single again.

    I had a look at my config file and it seems a bit odd.

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

    Section "Files"
    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"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Toshiba Matsu****a Display Technology Co., Ltd LCD-MONI"
    HorizSync 29.0 - 61.0
    VertRefresh 55.0 - 75.0
    Option "DPMS"
    EndSection

    Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "Toshiba Matsu****a Display Technology Co., Ltd LCD-MONI"
    HorizSync 29.0 - 61.0
    VertRefresh 55.0 - 75.0
    Option "DPMS"
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GTX 260"
    EndSection

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

    Section "Screen"

    # Removed Option "TwinView" "0"
    # Removed Option "metamodes" "CRT-1: nvidia-auto-select +0+0"
    # Removed Option "TwinViewXineramaInfoOrder" "CRT-1"
    # Removed Option "TwinViewXineramaInfoOrder" "CRT-0"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "1"
    Option "TwinViewXineramaInfoOrder" "CRT-1"
    Option "metamodes" "CRT-0: 1024x768 +1280+0, CRT-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" "CRT-0: 1024x768 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection


    As you can see it seems to have the toshiba in twice and no mention of the QVM one - yet when i restart x server it always remembers the 2 different resolutions and always puts the desktop on my main QVM screen.

    My question - wtf

    #2
    Re: question about my odd xorg file

    First of all, I'd say it appears there's been quite a bit of editing done on your xorg.conf file. Most of it is a mess.

    If you're using twinview, you need only have one screen and monitor section as twinview configures the second screen and you only need one device section unless you have two video cards.

    To get answers to what xorg is doing - read /var/log/Xorg.0.log and see how it's detecting and configuring your setup.

    If you want to try and reconfigure twinview properly:

    1) Rename /etc/X11/xorg.conf to xorg.conf.old (in case you want to refer to it later)
    2) Open a terminal and type: sudo nvidia-xconfig and then sudo service kdm restart

    This should leave you with only the primary monitor working and the second one blank.
    Log back in and:

    1) Open a terminal and type: sudo nvidia-settings
    2) Enable the 2nd monitor and save settings at /etc/X11/xorg.conf
    3) Then sudo service kdm restart again and log back in.

    This should do it. I would then research specific options available for your card to improve your performance.

    Please Read Me

    Comment


      #3
      Re: question about my odd xorg file

      Here's my xorg.conf for you to compare with. I disable "Dynamic Twinview" because my system is a desktop and therefore the attached screens do not change. I have added several options for my card (8800GT) that may or may not help you. I also set my "Metamodes" at a fixed resolution because I always want my screens at native resolution. In your case Option "MetaModes" "1280x1024,1024x768" would be more appropriate.

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

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

      Section "ServerFlags"
      Option "Xinerama" "0"
      EndSection

      Section "Monitor"
      Identifier "Monitor0"
      VendorName "Unknown"
      ModelName "DELL 1905FP"
      HorizSync 30.0 - 81.0
      VertRefresh 56.0 - 76.0
      Option "DPMS"
      EndSection

      Section "Device"
      Identifier "Device0"
      Driver "nvidia"
      VendorName "NVIDIA Corporation"
      BoardName "GeForce 8800 GT"
      BusId "PCI:1:0:0"
      Option "Coolbits" "1A"
      Option "TripleBuffer" "True"
      # + Enables triple buffering. "Decreases the time an application stalls while waiting for vblank events, but increases latency slightly" (NVIDIA Readme)
      Option "UseCompositeWrapper" "True"
      # + Enables the X server's composite wrapper instead of the builtin one.
      Option "BackingStore" "True"
      # + Cache overlayed areas in case they get redisplayed later
      Option "OnDemandVBlankInterrupts" "True"
      # + only fire VBlank interrupts in modes where they are needed
      EndSection

      Section "Screen"
      Identifier "Screen0"
      Device "Device0"
      Monitor "Monitor0"
      DefaultDepth 24
      Option "DPI" "100x100"
      Option "TwinView" "1"
      Option "TwinViewXineramaInfoOrder" "DFP-0"
      Option "DynamicTwinView" "false"
      Option "TwinViewOrientation" "LeftOf"
      Option "MetaModes" "1280x1024,1280x1024; 1280x1024"
      SubSection "Display"
      Depth 24
      EndSubSection
      EndSection

      Please Read Me

      Comment


        #4
        Re: question about my odd xorg file

        thanks for the replies, although i havnt been able to try changing the xorg file cos now i cant log in!

        last night it all worked just fine, booted up this morning and it freezes on the login page (cursor blinks but cant type or move mouse pointer)

        Just before the splash screen there is a moment where a light blue screen with an error message appears but it does stay long enough to read it (tried several times) The most i could get was something about MCU request failed or some such - seems like a hardware issue but absolutely nothing has changed since it last worked. (unless kubuntu applied some patch in the background while shutting down)

        Does anyone know what the issue is? or failing that any way to make the error message stay until you press enter or something?

        Comment


          #5
          Re: question about my odd xorg file

          sudo nvidia-xconfig

          will this completely reconfig the file with only what i need? im having trouble (http://kubuntuforums.net/forums/inde...opic=3117504.0) with my mouse/keyboard that i think may be due to my config file - id like to just set it back to default so i can get basic functionality back.

          Comment


            #6
            Re: question about my odd xorg file

            Yes, that should reset you to default.

            You can also delete or rename xorg.conf

            Please Read Me

            Comment


              #7
              Re: question about my odd xorg file

              well the command worked but had no effect i might just reinstall

              Comment

              Working...
              X