![]() |
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.
|
|
Multimedia & Video Have multimedia question? ATI, Nvidia, Sound cards. Just ask here. |
| View Poll Results: Which of the three did you use? Which worked? (Check all that applies) | |||
| Worked: Xinerama (Not nVidia or ATI, or Binary Driver Doesn't Work for AIT/nVidia) |
|
194 | 22.15% |
| Worked: TwinView (nVidia) |
|
399 | 45.55% |
| Worked: MergedFB (ATI) |
|
113 | 12.90% |
| Didn't Work: Xinerama |
|
169 | 19.29% |
| Didn't Work: TwinView |
|
97 | 11.07% |
| Didn't Work: MergedFB |
|
84 | 9.59% |
| Multiple Choice Poll. Voters: 876. You may not vote on this poll | |||
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
HowTo: Dual Monitors (Xinerama/TwinView/MergedFB/Big-Desktop)
Features of this HowTo:
The following howto addresses and solves the problems of Linux's,especially (X)(K)Ubuntu's, support (or lack of) for dual monitors.The howto is assorted into four driver-specific categorizes.
All four options perform the same function. However, because of the variations of graphics cards in the market, and the different supports provided by the card makers, procedures that enable dual monitor on one computer/card do not work for other computer/card. Each of the four methods has pros and cons of its own. They are listed below. Feature Differences:
These steps are essential for the HowTos to work, please follow them precisely. All commands give should be executed within terminal. BackUp File: Perhaps the most important step of them all. Since we are going to be editing a system file that have the potential, in the instance of an accident, to disable your Xserver (aka No GUI/Mouse Function), it is EXTREMELY important to execute this command: Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup The function of this command is to make a backup copy of your Xorg.conf file (which we'll be editing soon). If for any reason, after the guide, you are unable to activate Xserver, execute the following command: Code:
sudo cp /etc/X11/xorg.conf_backup /etc/X11/xorg.conf Now, we always want to have a clean slate, because it makes the work much easier, and there is less of a chance that some other arbitrary item will mess this whole thing up. So, unplug all your monitors except for one, then execute the following command: Code:
sudo dpkg-reconfigure xserver-xorg Just hit enter for the most options, though if you have the binary drivers installed, you might want to select that. This code will generate a new, clean, standard xorg.conf file for us to work on. Now, choose the method with which you wish to achieve Dual-Monitor capability: If you have any questions, comments, or problems, please post on the corresponding thread. Hopefully these guides have been helpful. Tips:These are awesome tips I borrowed from the Paralipsis Blog. So if you have any questions and such, take a look at this section first.
Last edited by Ziox; November 17th, 2006 at 11:23 PM.. Reason: Newly Updated |
|
|
|
|
|
#2 |
|
Quad Shot of Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
Hello,
I tried this using the nv driver but xorg dies with Code:
Fatal server error: Requested Entity already in use! 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"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
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" "inspiron"
Option "XkbLayout" "us"
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 "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 "Laptop"
Driver "nv"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "External"
Driver "nv"
BusID "PCI:1:0:0"
Screen 1
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 "Main Screen"
Device "Laptop"
Monitor "Main Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "Second Screen"
Device "External"
Monitor "Second Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Main Screen"
Screen "Second Screen" LeftOf "Main Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
Section "ServerFlags"
Option "Xinerama" "true"
EndSection
Section "DRI"
Mode 0666
EndSection
|
|
|
|
|
|
#3 |
|
Quad Shot of Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
BTW, I've read through forums that you must use the nvidia driver in order to get this to work. Has anyone gotten it to work with the opensource nv driver? I have a lot of problems when using the nvidia driver and so would really like to stick with nv but have twinview work.
Thanks, Alan |
|
|
|
|
|
#4 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
if you are looking for twinview then this isn't the right thread. I'll see if i can find another thread for twinview. Also TwinView is only supported by the proprietary drivers. Unfortunately...
Last edited by Ziox; July 23rd, 2006 at 11:16 PM.. |
|
|
|
|
|
#5 |
|
Quad Shot of Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
My card does support multiple outputs.
Maybe I'm getting my terminology mixed up. What exactly is twinview? What I want is to use two monitors that allow windows to be moved from one monitor to the other. Is this howto suppose to do that? I can work with whatever I can get to work with using the nv driver because I really don't want to use nvidia proprietary driver. |
|
|
|
|
|
#6 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
twinview is very similar to this howto. However, twinview is only supported by the nvidia proprietary drivers. Also, under twinview, X views it as have only 1 monitor/screen (even though there are two monitors attached), resulting in much better performance than this howto (Xinerama).
From your problem with Xinerama, it seems that the "nv" driver doesn't support multiple outputs. But to tell you the truth, I don't own a nVidia card, so i can't test this Howto personally. I know it works for most ATI cards. EDIT: this link is guide for TwinView, but again, you have to install nvidida proprietary driver for it to work: http://www.ublug.org/ubuntu/twinview...to-breezy.html EDIT AGAIN: try moving the "ServerFlags" section before the "ServerLayout" section... Last edited by Ziox; July 23rd, 2006 at 11:38 PM.. |
|
|
|
|
|
#7 | |
|
Quad Shot of Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
Quote:
|
|
|
|
|
|
|
#8 |
|
Grande Half-n-Half Cinnamon Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
i guess that nv doesn't support multiple outputs...only nvidia does...that's what i'm guessing
|
|
|
|
|
|
#9 | |
|
Quad Shot of Ubuntu
![]() |
Re: HowTo: Dual Monitors without TwinView or MergeFB
I found a gentoo wiki article (http://gentoo-wiki.com/Twinview_Example#X_Setup) that says the following (bold is my emphasis)
Quote:
I'm beginning to feel that all is hopeless with the nv driver. Last edited by harty83; July 24th, 2006 at 01:11 AM.. |
|
|
|
|
|
|
#10 |
|
Just Give Me the Beans!
![]() Join Date: Jan 2005
Beans: 51
|
Re: HowTo: Dual Monitors without TwinView or MergeFB
OK, I followed these instructions and got this working with my ATI Radeon 9250 card - thanks HEAPS!
This is actually only still using the 'ati' software rendering as I can not get my damn glfrx drivers working. So basically I am using my ATI 128MB card purely for the two outputs (1 VGA and 1 DVI) and then using X11 to split the output over two monitors on this basis. Whilst this works (and achieves my end goal of dualhead) I would still love to get the ATI drivers working correctly and utilising the hardware acceleration. NEvertheless, a huge thanks to Ziox for posting this so far. Cheers! |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|