Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-31-07, 04:28 PM   #1
=JeffH
Registered User
 
Join Date: Mar 2007
Posts: 31
Exclamation external monitor on laptop - how to use 2 seperate screens?

Ok, so I never got any answers to my earlier post, and I still have the issues and questions, so I'll try again.

First, my requisite nvidia-bug-report.log is attached below.

For grins and convenience, my xorg.conf (some commented-out superfluous sections removed) is below.

I'm using the nvidia 1.0-9755 driver. My GPU is Quadro NVS 120M.

My usage scenario:

To go from using just the builtin LCD screen to both the builtin LCD screen and an VGA-attached external screen simultaneously, I stop X (eg via Crtl-Alt-Backspace) and then restart it, and the external monitor turns on (as screen 0 interestingly enough). The builtin LCD screen is also on, and sports a desktop, although I can't drag the mouse pointer over/down to it.

[Note that this is not so-called "hot-plugging" of an external monitor, as can be done in windows (I'll post questions about that in a seperate thread)]



My questions:

1. How might I get the mouse pointer to re-locate from one screen to the other? It seems "jailed" on screen 0 (the external monitor).

2. I will note that I had it inadvertantly migrate to screen 1. I was on screen 0, and was stretching a window off the right edge of the screen, and somehow my mouse pointer was suddenly on the builtin LCD's desktop (screen 1). I was not able to figure out how that happened, nor re-create it, nor figure out how to get the mouse pointer back over to the external screen desktop when it did occur. Any ideas on how the switching screens occurred, and how to undo it once it does?

3. Any obvious brokenness in the xorg.conf file? it's a hack and some of the stuff in there I just pulled off this list and ubuntu forums to try.

thanks,

=JeffH

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

Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
#       Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "type1"
        Load    "vbe"
EndSection

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

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "InputDevice"
        Identifier      "Synaptics Touchpad"
        Driver          "synaptics"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "auto-dev"
        Option          "HorizScrollDelta"      "0"
EndSection




Section "Device"
        Identifier      "NVIDIA Default Card screen 0"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Screen          0
        Option          "MonitorLayout" "LFP,CRT"
        Option         "DPI"    "147x145"
EndSection

Section "Device"
        Identifier      "NVIDIA Default Card screen 1"
        Driver          "nvidia"
        BusID           "PCI:1:0:0"
        Screen          1
        Option          "MonitorLayout" "LFP,CRT"
EndSection

Section "Monitor"
        Identifier      "LCD Monitor"
        Option          "DPMS"
EndSection

Section "Monitor"
        Identifier      "External Dell2407WFP"
        VendorName "Dell"
        ModelName "2407WFP"
        Option "DPMS"
        DisplaySize 488 305
EndSection

Section "Screen"
        Identifier      "LCD Screen"
        Device          "NVIDIA Default Card screen 0"
        Monitor         "LCD Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           32
                Modes           "1920x1200"
        EndSubSection
EndSection

Section "Screen"
        Identifier      "External Screen"
        Device          "NVIDIA Default Card screen 1"
        Monitor         "External Dell2407WFP"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1920x1200"
        EndSubSection
        SubSection "Display"
                Depth           32
                Modes           "1920x1200"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Dual-Monitor Layout"
        Screen          0       "LCD Screen"
        Screen          1       "External Screen"
#       Option          "Clone" "On"
#       Option          "Xinerama" "On"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
EndSection




Attached Files
File Type: gz nvidia-bug-report.log.gz (34.9 KB, 123 views)
=JeffH is offline   Reply With Quote
Old 05-31-07, 04:42 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: external monitor on laptop - how to use 2 seperate screens?

The problem here is your ServerLayout, as you've not specified an orientation of the Screens. I'd suggest either reading up on the documentation for xorg.conf or using nvidia-settings to create an xorg.conf that meets your needs.
netllama is offline   Reply With Quote
Old 05-31-07, 07:03 PM   #3
=JeffH
Registered User
 
Join Date: Mar 2007
Posts: 31
Default Re: external monitor on laptop - how to use 2 seperate screens?

Quote:
The problem here is your ServerLayout, as you've not specified an orientation of the Screens.
Thanks. That addressed the issue of moving the mouse pointer between the screens.


Quote:
I'd suggest either reading up on the documentation for xorg.conf
Well, I have read thru that page a few times, but it's rather dense, as is it's subject matter. Also, in re-looking at it's discussion of "SERVERLAYOUT SECTION" and the "Screen" entry, I note that it doesn't indicate that the position-information parameter is required, nor does it say anything about how the pointing device might be affected by its presence or absence in a multi-screen configuration.


Quote:
or using nvidia-settings to create an xorg.conf that meets your needs
Well, I'd been bashful about using nvidia-setting since I'd accidentally clicked on the "OpenGL/GLX Information" button and it'd crashed my X session...

Anyway, I re-tried it after adding the position-information to my xorg.conf and restarting X, and played around with it, but really didn't change anything (I did try the "OpenGL/GLX Information" button and it still crashed my X session). It did have my two seperate physical displays noted, and so I had it generate a xorg.conf file for grins. I re-started X using the nvidia-settings-generated xorg.conf, and noticed some differences...

1. The second screen, which is the laptop's LCD display, now has the same rootwindow color as the first screen.

2. the 2nd screen does not have a separate KDE desktop panel. I also note that there's not a 2nd kdesktop process running as before.

3. I can drag app windows from the first screen to the 2nd screen (couldn't do this before with my prior xorg.conf).

4. The "OpenGL/GLX Information" button now crashes only nvidia-settings, rather than the entire X session. ;-)

New xorg.conf file below in case anyone is interested.

My immediate questions/issues wrt getting two heads to work simultaneously are now pretty much answered. Next issue is hot-plugging, to be addressed in separate thread.

My system: Dell D820, nVidia Quadro NVS 120M, (K)Ubuntu GNU/Linux (edgy 6.10).

thanks,

=JeffH


Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:39:38 PST 2007

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

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
EndSection

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

Section "ServerFlags"
    Option         "Xinerama" "1"
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      "DELL 2407WFP"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Seiko"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 7400"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce Go 7400"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "CRT: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "DFP: 1920x1200 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
=JeffH is offline   Reply With Quote
Old 05-31-07, 08:26 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: external monitor on laptop - how to use 2 seperate screens?

All of the nvidia-settings crashes are due to the fact that you're not using the GLX module that ships with the NVIDIA driver:

II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3

This suggests that your driver installation is incomplete or broken. You should reinstall the driver to attempt to correct this.
netllama is offline   Reply With Quote
Old 06-01-07, 12:26 PM   #5
=JeffH
Registered User
 
Join Date: Mar 2007
Posts: 31
Default Re: external monitor on laptop - how to use 2 seperate screens?

Quote:
This suggests that your driver installation is incomplete or broken. You should reinstall the driver to attempt to correct this.
Ok, thanks. I did that, and yes, now the "OpenGL/GLX Information" button of "nvidia-settings" returns info rather than cause a crash.

Also, in some non-conclusive testing this morn, it seems likely that system suspend will again work -- it'd quit working as of generation & use of the new xorg.conf via nvidia-settings -- but I need to try it some more.

=JeffH

=JeffH is offline   Reply With Quote
Old 08-19-07, 04:35 PM   #6
ristretto
Registered User
 
Join Date: Aug 2007
Location: New Zealand
Posts: 2
Default Re: external monitor on laptop - how to use 2 seperate screens?

Heya JeffH. Can you double check the video card you have? Some people are reporting to have Geforce GO 7400 when they thought they had a Quadro NVS 120M.

I'm asking because I want to get a D820 (or D830) and I'm checking for card support. You seem to have it running, but if it's not on the Quadro card, then I need to keep searching for evidence that that card works well under under X.

$ lcpci | grep vga

If you get this, you have a Geforce GO 7400 (based on this http://www.nvnews.net/vbulletin/show...highlight=120m

01:00.0 VGA compatible controller: nVidia Corporation Unknown device 01d8 (rev a1)
ristretto is offline   Reply With Quote
Old 10-11-07, 07:34 PM   #7
=JeffH
Registered User
 
Join Date: Mar 2007
Posts: 31
Lightbulb Re: external monitor on laptop - how to use 2 seperate screens?

ristretto said a long time ago:
Quote:
Can you double check the video card you have?
whoops, sorry for not noticing this followup till now -- I go for long stretches without checking in on forums such as this, and even then it's pretty easy to miss such followups unless one methodically checks older threads (unless one is sent a private msg I spose).

Anyway, yes, lspci returns this (note that your lspci command line had a couple of problems with it, one below is correct)...
Code:
> lspci | grep -i vga
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 01d8 (rev a1)
Quote:
Some people are reporting to have Geforce GO 7400 when they thought they had a Quadro NVS 120M.
This is because the Quadro NVS 120M is a Geforce GO 7400 gpu apparently. Do some google searching and you can figure this out pretty easily. I'd post a link or two but didn't cache them.

So yeah, I have X running just fine (Ubuntu 6.10 Edgy) -- it basically worked "out of the box" right after the ubuntu install, and with no tweaking. However, I've had to do a fair amount of tweaking (and learning (unfortunately (i have other work to do))) in order to get it to work the way I need to. Though today, with the newer nvidia binary drivers, said tweaking, at least on my hardware is likely pretty minimal (if you get the driver properly installed the first time around, unlike me (doh)) and use the nvidia-settings tool that comes with the driver.

HTH,

=JeffH

ps: I've come to the conclusion that I really do wish nvidia would open source their drivers, which necessitates publishing their GPU specs. It's a mystery, to me anyway, why they don't. The word is that ATI/AMD is going to or already has (I haven't followed up on that, graphics isn't my field, and I'm not going to change machines again for a few years hopefully). We pay for the hardware, not the drivers, and nvidia is being a bottleneck wrt supporting the array of OSs out there (besides Windows and MacOS (does Apple even use nvidia in their lapstations?)). Also, I didn't "choose" nvidia -- I chose this machine (d820) for various other reasons and this was the only moderately-higher-perf graphics adapter with dedicated memory that Dell offered. But now that I've learned more about this gnarly world of video adapter support on *nix-cum-X, I'll be more careful to factor in video adapter choices, and support thereof in Linux, into my purchase decisions in the future.
=JeffH is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
295.x drivers cause start X to crash when Dell M4600 laptop is docked, 290.10 ok pbc2520 NVIDIA Linux 7 10-01-12 02:32 PM

All times are GMT -5. The time now is 10:49 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.