LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2011, 09:02 PM   #1
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
separate x screens with nvidia


Hello all...

I am running Slackware X68_64 and I just purchased a second monitor. I enable separate x screens with nvidia-settings and when I reboot I get a black screen and when I put my mouse over to the secondary monitor I get X for the mouse pointer.... Than after a while it just blacks out.... Any Ideas?

Thank You for the help.

Last edited by SeRi@lDiE; 04-20-2011 at 09:03 PM.
 
Old 04-20-2011, 09:29 PM   #2
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Here is my xorg file


Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 260.19.36  (buildmeister@swio-display-x86-rhel47-01.nvidia.com)  Tue Jan 18 17:15:10 PST 2011

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 260.19.36  (buildmeister@swio-display-x86-rhel47-01.nvidia.com)  Tue Jan 18 17:15:22 PST 2011

Section "ServerLayout"

# Removed Option "Xinerama" "0"
# Removed Option "Xinerama" "1"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 1920 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
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      "ViewSonic VX2233wm-1"
    HorizSync       24.0 - 82.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "ViewSonic VX2233wm-1"
    HorizSync       24.0 - 82.0
    VertRefresh     50.0 - 75.0
EndSection

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

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 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-2: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

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

Last edited by SeRi@lDiE; 04-20-2011 at 09:30 PM.
 
Old 04-20-2011, 10:08 PM   #3
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
When I open nvidia-settings as root I get:

Invalid display device DFP-2 specified on line 52 of configuration file

Any body out there?

Thanks
 
Old 04-20-2011, 10:16 PM   #4
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
What are you wanting to accomplish?

Two sepperate X sessions - one on each monitor?
Or a single X session spanning one huge desktop? - The Window manager thinks there is a single gigantic monitor, maximizing a window spans both monitors.
Or a single X session with dual monitors? - The Window manager knows there are 2 monitors, maximizing an application spans a single monitor. You can drag application windows for monitor to monitor.
Or something else


Nvidia has decent documentation
ftp://download.nvidia.com/XFree86/Li...gtwinview.html

Personally, I use option 3 above. Single session, dual monitor. Provides 3D acceleration, desktop effects, and VDPAU
Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath        "/usr/lib64/X11/fonts/misc/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/lib64/X11/fonts/misc/"
    FontPath        "/usr/lib64/X11/fonts/Type1/"
    FontPath        "/usr/lib64/X11/fonts/Speedo/"
    FontPath        "/usr/lib64/X11/fonts/100dpi/"
    FontPath        "/usr/lib64/X11/fonts/75dpi/"
    FontPath        "/usr/lib64/X11/fonts/cyrillic/"
    FontPath        "/usr/lib64/X11/fonts/TTF/"
EndSection

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

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "DELL"
    ModelName      "DELL 2208WFP"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "DELL"
    ModelName      "DELL 2208WFP"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTS 450"
EndSection

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

Section "InputClass"
    Identifier     "Mouse slowdown"
    MatchIsPointer "on"
    MatchProduct   "Mouse"
    MatchVendor    "Microsoft"
    Option         "ConstantDeceleration" "4"
EndSection

Last edited by disturbed1; 04-20-2011 at 10:19 PM. Reason: fast brain, slow fingers
 
1 members found this post helpful.
Old 04-20-2011, 10:33 PM   #5
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
disturbed1,

Thanks for the reply. I am trying to use option 3. I just found out my issue. After I get option 3 enable as you describe the monitor flickers and I can see my desktop for about 5 seconds than it turns black. Now here is the funny part. I can get a flash light and point it to the monitor and I can see my desktop. WTF!?! lol so it looks like some how its not getting light via the lcd only for a few seconds?
Maybe a bad monitor? Your thoughts?

Thanks for the help!
 
Old 04-20-2011, 10:38 PM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by SeRi@lDiE View Post
Maybe a bad monitor? Your thoughts?

Thanks for the help!
Bad monitor, bad cables, or bad GPU.

Swap the cables on the back of your monitors - if monitor #1 is now dark, swap the cables at the GPU - if monitor #1 is still dark = bad cable, if monitor #2 is now dark = bad secondary output on GPU. If monitor #2 never lights up = bad monitor.
 
1 members found this post helpful.
Old 04-21-2011, 07:28 PM   #7
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Quote:
Originally Posted by disturbed1 View Post
Bad monitor, bad cables, or bad GPU.

Swap the cables on the back of your monitors - if monitor #1 is now dark, swap the cables at the GPU - if monitor #1 is still dark = bad cable, if monitor #2 is now dark = bad secondary output on GPU. If monitor #2 never lights up = bad monitor.
Thanks for the help disturbed1,

The issue was a bad monitor. Now I have the monitor working but the desktop is bigger than my monitor. How can I fix that?

Thank You,
-
 
Old 04-21-2011, 07:49 PM   #8
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
My resolution is 1920x1080 which is supported by the monitor.... I cant seem to figure out why is the desktop bigger than the viewable area.

Any ideas?

TIA.
 
Old 04-21-2011, 07:52 PM   #9
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
This might happen when resolution (or resolution options) are specified in xorg.conf, or the .nvidiarc file. The name/option is panning (IIRC).
 
Old 04-21-2011, 07:55 PM   #10
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
I think I got it.

Not sure yet.
 
Old 04-21-2011, 08:20 PM   #11
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Yeap. Got it now.

Thanks for the help disturbed1.
 
Old 04-21-2011, 09:36 PM   #12
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
If you're like me, you'll soon start to wonder how we got by in the past with only a single monitor. Makes everything so much easier. When I want to watch a movie my Girlfriend will not enjoy, I'll expand MythTV to take up both monitors. Scoot back plug in the headphones, and enjoy.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Set up two separate screens instead of multi-monitor screen in xorg 10110111 Linux - Desktop 7 09-13-2009 12:49 PM
trouble between twinview and separate screens Tuttle Linux - Desktop 3 02-22-2008 07:51 AM
nVidia Separate X Screens with VMWare 07mackenzie Linux - General 3 12-06-2006 06:00 PM
Two screens on separate graphic-cards. Possible on linux? Ac1db0rN Linux - Software 2 03-13-2005 09:16 AM
Twinview as separate screens, not stretched degraffenried13 Linux - General 3 06-06-2004 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration