LinuxQuestions.org
Visit Jeremy's Blog.
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 05-04-2015, 12:06 PM   #1
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Rep: Reputation: 33
Multiple monitors


I just inherited the following set up and I am trying to get both monitors to work properly, but for some reason I cannot get them to work.

Laptop Alienware M11x R3

2 Video Cards
Intel(R) HD Graphics 3000
NVIDIA GeForce GT 540M

One screen (Screen0) is the laptop and AFAIK that is handled by the Intel card, the second screen (Screen1) is a Dell monitor connected via DP cable to monitor.

The problem is that I cannot drag anything onto Screen1, I have even tried to right click on the title bar of a program and select Move to Screen and attempt to select the second screen and nothing.

lspci | grep VGA gives me

Code:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)
xdpyinfo gives me (only displaying relevant info)

Code:
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    11403000
X.Org version: 1.14.3

...

default screen number:    0
number of screens:    2

screen #0:
  dimensions:    1366x768 pixels (361x203 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x2c5
  depth of root window:    24 planes

...

screen #1:
  dimensions:    1920x1080 pixels (483x272 millimeters)
  resolution:    101x101 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x2c7
  depth of root window:    24 planes
xorg.conf

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" Above "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/local"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/CID"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
	Load  "glx"
EndSection

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

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Laptop"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Dell Monitor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
	Identifier  "Card1"
	#Driver      "nv"
	Driver      "nvidia"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
Any ideas on how to get this working will be appreciated. TIA to all.
 
Old 05-04-2015, 12:37 PM   #2
frushiyama
Member
 
Registered: Oct 2010
Location: Brazil, SP - Cosmópolis
Distribution: Slackware
Posts: 171

Rep: Reputation: 40
I have an laptop with 2 graphic cards too, this is the nvidia optimus technology, but there is not much official support on linux.
I assume that you do not had installed the bumblebee project, try it and the kde feature to guess and configure dual monitors, it is how i do and it works mostly of the time, some full screen games make lost the seccond screen.
If you do not use kde, maybe try the /etc/bumblebee/*.conf files when you install it.

Last edited by frushiyama; 05-04-2015 at 12:51 PM.
 
Old 05-04-2015, 01:21 PM   #3
lukameen
Member
 
Registered: May 2004
Distribution: Slackware
Posts: 69

Rep: Reputation: 31
I have a dual monitor setup, but only one video card, so I'm not sure about the dual card setup. On my Dell laptop I had to disable NVIDIA Optimus in the BIOS before I could use both screens even though I have an NVIDIA card. That worked for me with both the Nouveau and proprietary NVIDIA driver. Without NVIDIA Optimus disabled in the BIOS I couldn't get dual monitors working correctly with either driver.
 
Old 05-04-2015, 02:45 PM   #4
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
https://wiki.archlinux.org/index.php/Multihead

Option "Xinerama" "True"
 
  


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
Various xorg.conf examples for using (multiple) cards + (multiple) monitors GrapefruiTgirl Linux - Hardware 7 10-13-2022 02:04 PM
Starting Multiple Monitors / Multiple Desktops at System Startup. Kaiji Linux - Desktop 4 08-04-2014 05:18 PM
Multiple monitors, multiple GPU, twinview disabled realbluntz Linux - Desktop 4 06-16-2010 11:41 PM
using multiple monitors Rocker Linux - Software 13 02-10-2005 11:35 PM
Multiple monitors - multiple text consoles (VT) mariuz Linux - General 3 09-07-2004 08:31 AM

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

All times are GMT -5. The time now is 03:33 AM.

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