LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-21-2009, 05:27 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Rep: Reputation: 174Reputation: 174
Question Configuring 2 monitors nVidia GeForce GT220 Ubuntu 9.10


My new Dell has the referenced card with 1 GB of memory. I have attached to it a 19" Samsung monitor at 1280x1024 and a Starlogic 15" monitor at 1024x768. Using the nVIdia X Server drivers I have the "X Server Display Configuration" set to "Configuration: Separate X screen" mode.

The large monitor, screen 0, has the panel which I configured before I added the second monitor. (A few additional launchers added to the panel). The smaller monitor has a panel with just the default launchers from the Ubuntu install. So far, so good.

If I attempt to create a folder, launcher or document on the second desktop (small monitor) the object in question immediately disappears. If I logout and login (restarting the X server) the objects appear on the first desktop (large monitor).

I tried configuring the monitors as "TwinView" but this provides a panel on one monitor and unusable desktop(?) space on the second. If they were the same size and resolution perhaps this would be an avenue to investigate further. With the monitors I have, I see little potential.

Here is the xorg.conf produced by my Separate X screen configuration.
Quote:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@crested) Sun Feb 1 20:25:37 UTC 2009

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

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

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
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 "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Samsung SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "XHD 15''"
HorizSync 24.0 - 62.0
VertRefresh 56.0 - 77.0
EndSection

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

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

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

Section "Screen"
Identifier "Default Screen"
Device "Default Device"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP: 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: nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
This is my first experience with two monitors (and Ubuntu 9.10 - I have been using 8.04 LTS since it came out but it will not install on the new hardware).

So far:

- I like the two monitors at different resolutions - appropriate for their sizes
- I like the separate panels - I can add launchers to the panel on the second screen.
- I like the fact that the stuff on the desktop on the first monitor is not shown on the second screen (as it is on multiple desktops on a single monitor).
- I can run a VMWare virtual machine full screen on the second screen and have full use of the first screen

My goals are to be able to:

- Create objects on the desktop of the second screen
- Move objects between the desktops on the two screens
- Logon as a different user on the second screen (stretch goal :-)

Advice from someone with experience in using multiple monitors would be greatly appreciated.

TIA,

Ken
 
Old 12-21-2009, 05:58 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Goal #1 -- Creating objects (icons/launchers?) works for me currently, but I'm using XFCE. It previously would not work using KDE 3.5.x, all icons would only appear on the first monitor. How it works under Gnome, somebody using Gnome will need to address for you.

Goal #2 -- Moving objects (windows etc..) from one monitor to the next, requires Xinerama. It won't work using TwinView. With TwinView, you can mouse across either screen, but you can't drag windows across (kinda silly if you ask me.)

Goal #3 -- Cannot be done in the nice, normal, easy way we would like; you would need to look into "Multi Headed X Configuration". Here's a link or two to read about this:
http://linuxgazette.net/124/smith.html
http://blog.chris.tylers.info/index....11R6.97.0.html

Best regards -- I hope this gives you at least some interesting reading for now

Sasha
 
Old 12-21-2009, 07:16 PM   #3
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Sasha, thanks for the quick reply. I will try Xinerama. I had read the description but was not sure what would happen with 2 different resolutions. But I have xorg.conf backed up! And I know how to replace a bad one from a terminal

As for multiple users...

- I only have one account on the system at the moment
- I suppose I could use VNC to run the desktop of a second account and access it from the second monitor
- I do not really have the need to do this at the moment - just an idea

The second link you provided brought back memories... I recall reading that he serial port of the original IBM PC was designed to allow second user to share the power (8086 4 MHz, 256KB RAM) of the machine! And I have 4 cores at 2.8 GHz, 8 GB of RAM, about a TB of disk and ONE user at the 1/5 the cost of the original PC!

Regards,

Ken
 
Old 12-21-2009, 07:25 PM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 2,127

Original Poster
Rep: Reputation: 174Reputation: 174
Sasha,

To let you know - Xinerama seems to work fine even though the 2 monitors have different resolutions. Still I think I like the separate panel setup better so I have changed back to that for the moment.

Again, thanks for your help!

Ken
 
Old 12-21-2009, 07:31 PM   #5
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Two different resolutions is OK, however you may want to make one of them virtual (you don't need to, it'll be fine either way), but I liked the virtual sizing:

For example, when I had a large monitor on the left, and a smaller one on the right, I found it annoying that when moving stuff from one monitor to the other, the resolution was different and/or if I had a window spanning both monitors, the image was borked at the 'seam' between the two.
By setting a virtual desktop size on the smaller monitor (making it appear the same resolution as the larger monitor), and using Xinerama, the left + right monitors lined up, and the resolution was the same. HOWEVER, as a side-effect to this (which I liked, but you may not) the extra vertical real-estate of the large virtual size, on the smaller monitor, meant that the bottom of the image was below the bottom edge of the monitor, and so one has to mouse down to the bottom of the desktop to make the desktop image scroll upwards, exposing the bottom.

That sounded confusing :/ -- how about this:

Picture a resolution of 1280x1024, being sent to two monitors; the left monitor is larger than the right:

The left monitor is 1280x1024 for real, but the right monitor is 1024x768 with a VIRTUAL display of 1280x1024 on it. So it's kind of like having TWO 1280x1024 monitors, only the right-hand one has a 1024x768 frame in front of it, which needs to be moved up/down to see the top/bottom of the image.

Anyhow, maybe more on this if you are interested, but for now, try the Xinerama and see what you think.

Here's some xorg.confs I posted a while back, for reference: http://www.linuxquestions.org/questi...nitors-751939/ and post#5 on that page shows some virtual resolutions.

Best of luck,
Sasha
 
Old 12-21-2009, 07:35 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Oops! I see we posted at the same time; no worries, as long as you're happy

But, again while there may be differences using Gnome, in my experience with both KDE and XFCE, I have no problems having a separate panel on each monitor, OR (what I currently enjoy) having my panel (toolbar) stretched across both monitors from end to end. Gives loads of room on it, and I have it so the taskbar entries for applications on one monitor, stay on the taskbar side on THAT monitor. It's great!

Sasha
 
  


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
Dual monitors on ubuntu with Nvidia GeForce 9600 GT... mitchell7man Linux - Hardware 2 07-22-2009 12:13 PM
Nvidia Geforce 6150 Multiple Monitors Dualview Issue on HP Tablet iceman3 Linux - Laptop and Netbook 1 07-12-2009 08:11 PM
Nvidia Geforce 6150 Multiple Monitors Dualview Issue on HP Tablet iceman3 Linux - Laptop and Netbook 0 06-27-2009 08:25 AM
problems setting up xdm for multiple monitors with nvidia geforce the_ultimate_samurai Debian 1 01-19-2006 04:36 PM
Multiple Monitors with a Nvidia Geforce 52000 djgerbavore Linux - Hardware 4 08-11-2005 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:55 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