Announcement

Collapse
No announcement yet.

KDE can't detect second monitor

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

    KDE can't detect second monitor

    Hi there,

    I'm having trouble with a dual monitor kubuntu 10.04 system. I'm hoping that someone has seen this behaviour before and can help me.

    I had been running dual screens on Kubuntu for some time up to Kubuntu 9.10. On 10.04, I could not get dual screens to work at all. To cut a very long story short, I was having video card problems (dual GeForce 5200s). I eventually ditched these and got a second hand Nvidia Quadro 1100 and it is this that I can't get set up to work with 10.04. As you can tell, I'm running an old system here.

    I have nvidia-glx-173 drivers installed. I am not using Compiz, xinerama or twinview or 3D effects. I have the second monitor set as a second x-windows system. My xorg.conf file has been set up by nvidia-settings and it is able to detect and (apparently) configure both monitors, it even detects the make and model of the second monitor. On boot-up, both screens show the same info, both graphical and textual - up to the log-in screen. Then from the log-in screen onwards, I have the "main" monitor running KDE as normal but when I move the cursor over to the second, all I get is the (x-server?) cross cursor and the rest of the screen is black. xrandr shows only shows information for one monitor and "System Settings > display" also seems to think there is only one monitor.

    I should add that I have been running in single monitor mode for some time (but with 2 graphics cards fitted - if I tried to run both by editing xorg.conf, I got a system crash). Now I have fitted the Quadro, it is effectively a conversion from one screen to two.

    The "main" screen is a Hanns-G HX181D (LCD) and the second (CRT) is listed as an NCI NEC CI LC700. My aim is to run them both at 1280*1024 as I used to up to Kubuntu 9.10.

    So I think the X-server knows there are 2 monitors but KDE thinks otherwise. Both monitors are getting info from the graphics card (at least up to the log-in screen) so I don't think there is an issue there (unless the quadro can only output the same to both monitors?).

    Xorg.conf file is as follows.....

    ection "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection

    Section "Files"
    EndSection

    Section "ServerFlags"
    Option "Xinerama" "0`
    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 "HSD HX191D"
    HorizSync 30.0 - 83.0
    VertRefresh 50.0 - 76.0
    Option "DPMS"
    EndSection

    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "NCI NEC CI LC700"
    HorizSync 30.0 - 70.0
    VertRefresh 50.0 - 150.0
    EndSection

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

    Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "Quadro FX 1100"
    BusID "PCI:1:0:0"
    Screen 0
    EndSection

    Section "Device"
    Identifier "Videocard1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "Quadro FX 1100"
    BusID "PCI:1:0:0"
    Screen 1
    EndSection

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

    Section "Screen"
    Identifier "Screen1"
    Device "Videocard1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "CRT-1: vidia-auto-select +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    I have spent a whole evening googling this but can't find anyone with an identical problem.

    Any advice please?

    #2
    Re: KDE can't detect second monitor

    Didi you cut-and-paste that from your xorg.conf? I see several typos if so. Also, twinview and two x sessions are not compatible.

    It appears the 173 driver is the correct version for the Quadro FX 1100 card. Are you using that driver?

    Read carefully through /var/log/Xorg.0.log and see what it tells you.
    try a very basic xorg.conf like this

    Code:
     
    Section "ServerLayout"
      Identifier   "DualSreen"
      Screen    0 "Screen0"
      Screen    1 "Screen1" RightOf "Screen0" #Screen1 at the right of Screen0
      Option     "Xinerama" "1" #To move windows between screens
    EndSection
    
    Section "Monitor"
      Identifier   "Monitor0"
      Option     "Enable" "true" 
    EndSection
    
    Section "Monitor"
      Identifier   "Monitor1"
      Option     "Enable" "true"
    EndSection
    
    Section "Device"
      Identifier   "Device0"
      Driver     "nvidia"
      Screen     0
    EndSection
    
    Section "Device"
      Identifier   "Device1"
      Driver     "nvidia"
      Screen     1
    EndSection
    
    Section "Screen"
      Identifier   "Screen0"
      Device     "Device0"
      Monitor    "Monitor0"
      DefaultDepth  24
      Option     "TwinView" "0"
      SubSection "Display"
        Depth     24
        Modes     "1280x800_75.00"
      EndSubSection
    EndSection
    
    Section "Screen"
      Identifier   "Screen1"
      Device     "Device1"
      Monitor    "Monitor1"
      DefaultDepth  24
      Option     "TwinView" "0"
      SubSection "Display"
        Depth     24
      EndSubSection
    EndSection

    Please Read Me

    Comment


      #3
      Re: KDE can't detect second monitor

      Thanks for the response.

      Yes, I am using the 173 drivers. I have even downloaded the latest from the Nvidia website (I am now using the 173.14.28 version). No change from the 173.14.22 I started off with. Also I had (until a few days ago) a Kubuntu 9.10 partition which showed the same effects which used an even earlier version of the drivers.

      What I listed above was from the xorg.conf file. I have edited it several times to try and cure the problem so I may have introduced an error or two. I'll recopy from Nvidia-settings.

      Thanks for the suggested xorg.conf I'll try that as well.

      However, I can't do anything for a week as I have lent my second monitor to my neighbour while he replaces his broken one. So until I get it back, I can't effectively test any of this.

      As I have now backed up my 10.04 partition, I will also put up 10.10 and see if that makes any difference.

      I'll report back in a week on how I got on.

      Thanks again.

      Comment


        #4
        Re: KDE can't detect second monitor

        I meant to add that I have looked through the /var/log/Xorg.0.log file and the /var/log/kdm ones and have not seen anything suspicious in them.

        Comment


          #5
          Re: KDE can't detect second monitor

          If you've downloaded and installed from the nvidia website you'll likely need to go to their forums for help. The packages available from the Kubuntu repos aren't configured exactly the same.

          Please Read Me

          Comment


            #6
            Re: KDE can't detect second monitor

            Hi oshunluvr

            I only downloaded the latest from Nvidia to try and cure the problem I already had. It didn't make a bit of difference. But many thanks for the warning. I'll reinstate the Kubuntu version.

            Comment


              #7
              Re: KDE can't detect second monitor

              I have now had the opportunity to play around with this a bit further. I have tried xorg.conf files reloaded from nvidia-xsettings and from oshunluvr's suggestion. With either xorg.conf, the problem seems to revolve around the Xinerama option. With the option set to "0" as in the xorg.conf in my first post, I get one monitor working OK and the second blank with only a cross mouse cursor visible. Other than no second monitor, everything is OK.

              With xinerama set to 1, I fail to get to the log-in screen. I get odd patterns of ASCII characters repeated anywhere from 2 to 9 times in varying colours and often flashing and often repeated on the second screen. The last 20 lines of the /var/log/Xorg.0.log file are as follows....

              (WW) NVIDIA(1): Disabling 32-bit ARGB GLX visuals.
              (--) Depth 24 pixmap format is 32 bpp
              (II) NVIDIA(0): Initialized AGP GART.
              (II) NVIDIA(0): Setting mode "nvidia-auto-select"
              (II) Loading extension NV-GLX

              Backtrace:
              0: /usr/bin/X (xorg_backtrace+0x3b) [0x80eaadb]
              1: /usr/bin/X (0x8048000+0x610fd) [0x80a90fd]
              2: (vdso) (__kernel_rt_sigreturn+0x0) [0xe2d410]
              Segmentation fault at address (nil)

              Caught signal 11 (Segmentation fault). Server aborting

              Please consult the The X.Org Foundation support
              at http://wiki.x.org
              for help.
              Please also check the log file at "/var/log/Xorg.0.log" for additional information.

              ddxSigGiveUp: Closing log

              --------------------------
              So I had been trying to concentrate on Xinerama "0" as that seemed to get me further. Looks like I should have been worrying about "1" non-operation.

              I have checked that the xinerama extensions are installed. Perhaps I need to uninstall and reinstall them?

              Otherwise, I have no idea where to go from here.

              Comment


                #8
                Re: KDE can't detect second monitor

                OK, sorted it out.

                Reloaded the nvidia-glx-173 driver and it all burst into life.

                I guess I was suffering from a failing graphics card. In desperation, downloaded the latest nvidia drivers from their site, gave myself another problem which I could not see until I replaced my graphics card. It was made worse because both problems looked similar.

                Computers, don't you just love them?

                Thanks to oshunluvr for the advice, it did help me think it through.

                Comment


                  #9
                  Re: KDE can't detect second monitor

                  I didn't do much, but thanks for the acknowledgement. In the "old" days (2 years ago) it took days if not weeks to configure my dual monitors. Now it's almost right-out-of-the-box for me.

                  Old devices are as bad as the bleeding edge new ones. Time to save for a nice 8800gt or higher card!

                  Please Read Me

                  Comment


                    #10
                    Re: KDE can't detect second monitor

                    To get an 8800gt I would first have to save up for a PC with a PCI-E bus (if I read the spec correctly). As I don't use heavy graphic software, it would be a bit of an overkill for me! Just occasionally, I need a lot of windows open all at the same time and 2 monitors solves that for me.

                    Comment

                    Working...
                    X