![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Multimedia & Video Have multimedia question? ATI, Nvidia, Sound cards. Just ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Xinerama
Dual Monitor Support With Xinerama HowTo:
The following HowTo attempts to enable Dual Monitor support by utilizing the Xinerama function built into Xorg. System Requirements: A Dual-Output Graphics card Two Monitors (works best if they are the same resolution, but different resolutions WILL work) A recent version of Xorg. Now get ready for some hardcore copy and pasting 1. Open up Xorg.conf using ONE of the following commands: Gnome (Ubuntu): Code:
gksudo gedit /etc/X11/xorg.conf KDE (Kubuntu): Code:
kdesu kate /etc/X11/xorg.conf Xfce4 (Xubuntu): Code:
gksudo mousepad /etc/X11/xorg.conf Command-Line Based: Code:
sudo nano /etc/X11/xorg.conf 2. Navigate to the "Device" Section, and copy the entire Section. Paste what we just copied to the end of the "EndSection" line. (essentially duplicating the entire Section) Example: Code:
3. Now we edit the 'Identifiers' for both sections so that they would be different from each other: Code:
4. Next, we have to add one "Screen #" to each section. So the result would look something like this: Code:
5. Now, repeat steps 2 and 3 for the following Sections (if confused, check my completed xorg.conf file at the bottom of the page):
6. In both of the "Screen" Sections, change the Device and Monitor line to match the corresponding Identifiers when changed in previous steps: Example: Code:
Section "Screen"
Identifier "Main Screen"
Device "0 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)"
Monitor "Main Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
# Subsections for other display depths not shown...
EndSection
Section "Screen"
Identifier "Second Screen"
Device "1 ATI Technologies, Inc. Radeon 330M/340M/350M (RS200 IGP)"
Monitor "Second Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
# Subsections for other display depths not shown...
EndSection
7. Next, locate the "ServerLayout" Section, and edit the Screen line to match the identifier for your main monitor: Code:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Main Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
8. We need to add another Screen line similar to mine, but make sure that the "Second Screen" and "Main Screen" matches your identifiers for you "Screen" sections that we edited in step 2 to 5: Code:
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Main Screen"
Screen 1 "Second Screen" RightOf "Main Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
9. Finally, in order to enable Xinerama when Xorg startup, add the following line to the "ServerLayout" Section: Code:
Option "Xinerama" "true" 10. Save the file, and restarted X (ctrl+alt+backspace), or reboot. You now should have Dual Monitor enabled. If not, then please post your problem, and I'm sure someone will help. Last edited by Ziox; June 15th, 2007 at 11:55 PM.. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2006
Beans: 10
|
Re: Xinerama
I followed this best I could, but it didn't work. Here is my xorg.conf file, have a look and tell me what I should do.
Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
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"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "0 NVIDIA Corporation NV43 [GeForce 6600 GT]"
Driver "nv"
BusID "PCI:2:0:0"
Screen 0
Option "DDCMode" "True"
Option "MonitorLayout" "CRT, CRT"
EndSection
Section "Device"
Identifier "1 NVIDIA Corporation NV43 [GeForce 6600 GT]"
Driver "nv"
BusID "PCI:5:0:0"
Screen 1
Option "DDCMode" "True"
Option "MonitorLayout" "CRT, CRT"
EndSection
Section "Monitor"
Identifier "Main Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Monitor"
Identifier "Second Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "0 Default Screen"
Device "0 NVIDIA Corporation NV43 [GeForce 6600 GT]"
Monitor "Main Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "1 Default Screen"
Device "1 NVIDIA Corporation NV43 [GeForce 6600 GT]"
Monitor "Second Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 1 "Main Monitor"
Screen 0 "Second Monitor" RightOf "Main Monitor"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
Option "Xinerama" "true"
EndSection
Section "DRI"
Mode 0666
EndSection
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Nov 2006
Beans: 17
|
Re: Xinerama
Maybe you'd want to try the proprietary nvidia drivers (nv has no 3d accel). If your card is in actuality a dual head card - you'd want twinview instead of xinerama
|
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2006
Beans: 10
|
Re: Xinerama
I know that I could use twinview using Nvidia's drivers. But since i have 2 geforce 6600 gt's ( one DVI and one VGA plug per card. ) I would like to be able to use one card per monitor versus having one of the cards laying in the computer useless.
|
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2006
My beans are hidden!
|
Re: Xinerama
the multimonitor configuration worked perfectly. I'm re-visiting Linux after a few years away. gotta get my typing precision up to standards again, I did get caught in sloppy naming -- display , monitor , side main etc etc.
thanks for the advice, again, I'm up with 2 and that was the goal! |
|
|
|
|
|
#6 |
|
Spilled the Beans
![]() Join Date: Jun 2005
Beans: 14
|
Re: Xinerama
Read the documentation that comes with the NVidia drivers.
|
|
|
|
|
|
#7 | |
|
Just Give Me the Beans!
![]() Join Date: Sep 2006
Beans: 66
Ubuntu 8.04 Hardy Heron
|
Re: Xinerama
I have a Toshiba satellite, I think its a 2400 series been running xp hone and in xp I have the option of the second monitor showing the same thing as the LCD or extending my desktop to see something different. I use the extended desktop for presentation so I can see whats coming up and they just see the slide.
any way I setup dual boot and installed edgy last night when I connect to a CRT I hit fn+F5 and can cycle through LCD, CRT, LCD+CRT, TV all works fine but the LCD+CRT shows the same thing I want the extended desktop for presentations. I followed this guide and now when I startup I only have one screen and fn+F5 no longer works. and one more minor issue I'm not to worried about, in xp I had LCD+TV with different resolution any suggestions? here is my xorg.conf Quote:
thanks in advance |
|
|
|
|
|
|
#8 | |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Xinerama
Quote:
Code:
Screen 1 "1 Default Screen" Code:
Screen "1 Default Screen" RightOf "0 Default Screen" |
|
|
|
|
|
|
#9 |
|
Just Give Me the Beans!
![]() Join Date: Sep 2006
Beans: 66
Ubuntu 8.04 Hardy Heron
|
Re: Xinerama
I apologize for making such a simple error I thought I had that in there. However the FN+F5 to cycle display modes does not work so I must have the monitor connected and cycle to LCT+CRT before X starts, a minor annoyance but is there a way to get my function keys back. other then that it seems to work I will have to go test it on a projector now instead of an old CRT.
Thanks a lot |
|
|
|
|
|
#10 | |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: Xinerama
Quote:
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|