Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

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
Old November 17th, 2006   #1
Ziox
Grande Half-n-Half Cinnamon Ubuntu
 
Ziox's Avatar
 
Join Date: Jul 2006
Location: Pittsburgh, PA
Beans: 924
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to Ziox
Post Ati, Matrox MergedFB

Dual Monitor Support With MergedFB

The following attempts to enable Dual Monitor support by activating the MergedFB function that is implemented within the recent Xorg's open-source 'radeon' or 'mga' graphics driver.

System Requirements:
ONE Dual-Output ATI (or Matrox Graphics card <= unsure, since I have never tested it before).
A recent version of the free Xorg, WITHOUT any binary graphics driver installed.

Let's get started!!!

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. This is about the simplest HowTo, simply copy the following lines to your "Device" Section:
Code:
Option "MergedFB" "true" #Enable MergedFB function
  Option "MonitorLayout" "LVDS (TMDS), CRT" # LVDS = Laptop Screen, TMDS = DVI Port, CRT = VGA Port NOT MONITOR TYPE!
  Option "CRT2Hsync" "30-65" #Horizontal Sync of the Monitor (check your monitor's manual for correct values)
  Option "CRT2VRefresh" "50-75" #Vertical Refresh rate of the Monitor (check your monitor's manual for correct values)
  Option "OverlayOnCRTC2" "true"
  Option "CRT2Position" "LeftOf" #Physical location of your secondary monitor in relationship to your primary monitor. Values can be: LeftOf, RightOf, Above, Below, and Clone.
  Option "MetaModes" "1280x1024-1280x1024" #Monitor Resolutions for Primary-Secondary monitors 
#Option "MergedXineramaCRT2IsScreen0" "true" #determines which screen is going to be the primary screen; value can be "true" or "false"
3. Next, go to the "Monitor" Section and add the following
Code:
Horizsync    28-64 #You may wish to change the values to fit your specific monitor
    Vertrefresh    43-60

Save the file, and restarted X (ctrl+alt+backspace), or reboot.

Now Dual Monitor support should be enabled, if not please post your problem.

Last edited by Ziox; May 8th, 2007 at 11:21 PM.. Reason: Update! Hopefully it'll make enabling dual screen THAT much easier
Ziox is offline   Reply With Quote
Old December 10th, 2006   #2
pinworm
First Cup of Ubuntu
 
Join Date: Nov 2006
My beans are hidden!
Re: Ati, Matrox MergedFB

does this work with the ati driver that comes installed standard with ubuntu? also is this the only option to use a composite manager with a dual head ati card? im using xinerama right now, but i dont have direct rendering so i cant try any of the cool composite managers.
pinworm is offline   Reply With Quote
Old December 10th, 2006   #3
Ziox
Grande Half-n-Half Cinnamon Ubuntu
 
Ziox's Avatar
 
Join Date: Jul 2006
Location: Pittsburgh, PA
Beans: 924
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to Ziox
Re: Ati, Matrox MergedFB

stupid post

Last edited by Ziox; May 8th, 2007 at 11:12 PM..
Ziox is offline   Reply With Quote
Old December 10th, 2006   #4
ttolstead
5 Cups of Ubuntu
 
Join Date: Dec 2006
Location: Central Minnesota
Beans: 15
Ubuntu 8.10 Intrepid Ibex
Re: Ati, Matrox MergedFB

I just tried this with a Matrox G550 normal install Edgy Eft, to no avail.

Whenever I reboot (before or after changes), Xinearama will not start the second monitor until I restart the X server. Does the following snip from my xorg.conf look like what you had in mind?

snip/

Section "Device"

Identifier "Matrox Graphics, Inc. MGA G550 AGP 0"
Driver "mga"
BusID "PCI:1:0:0"
Screen 0
Option "backingstore"
Option "AGPMode" "4"
Option "MergedFB" "true" #Enable MergedFB function
Option "MonitorLayout" "LCD, CRT" # Use LCD and CRT even if you have 2 LCD's or CRT's
Option "CRT2Hsync" "30-65" #Horizontal Sync of the Monitor (check your monitor's manual for correct values)
Option "CRT2VRefresh" "50-75" #Vertical Refresh rate of the Monitor (check your monitor's manual for correct values)
Option "OverlayOnCRTC2" "true"
Option "CRT2Position" "LeftOf" #Physical location of your secondary monitor in relationship to your primary monitor.
Option "MetaModes" "1280x1024-1280x1024" #Monitor Resolutions for Primary-Secondary monitors
EndSection

Section "Device"

Identifier "Matrox Graphics, Inc. MGA G550 AGP 1"
Driver "mga"
BusID "PCI:1:0:0"
Screen 1
Option "backingstore"
Option "AGPMode" "4"
Option "MergedFB" "true" #Enable MergedFB function
Option "MonitorLayout" "LCD, CRT" # Use LCD and CRT even if you have 2 LCD's or CRT's
Option "CRT2Hsync" "30-65" #Horizontal Sync of the Monitor (check your monitor's manual for correct values)
Option "CRT2VRefresh" "50-75" #Vertical Refresh rate of the Monitor (check your monitor's manual for correct values)
Option "OverlayOnCRTC2" "true"
Option "CRT2Position" "LeftOf" #Physical location of your secondary monitor in relationship to your primary monitor.
Option "MetaModes" "1280x1024-1280x1024" #Monitor Resolutions for Primary-Secondary monitors
EndSection

/snip

Last edited by ttolstead; December 10th, 2006 at 11:47 PM..
ttolstead is offline   Reply With Quote
Old December 11th, 2006   #5
Ziox
Grande Half-n-Half Cinnamon Ubuntu
 
Ziox's Avatar
 
Join Date: Jul 2006
Location: Pittsburgh, PA
Beans: 924
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to Ziox
Re: Ati, Matrox MergedFB

just delete the whole second device section.
You are mixing two methods together, Xinerama and MergedFB. I don't recommend mixing unless you know exactly what you are doing...
Ziox is offline   Reply With Quote
Old December 11th, 2006   #6
pinworm
First Cup of Ubuntu
 
Join Date: Nov 2006
My beans are hidden!
Re: Ati, Matrox MergedFB

i just got mergedfb working. the advantage over xinerama in my particular case, using the open "ati" driver, is that i have direct rendering now. im goign to see if i can get beryl working with aiglx. by the way, thanks for the how to's they have been very helpful.
pinworm is offline   Reply With Quote
Old December 13th, 2006   #7
sneekie
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 4
Re: Ati, Matrox MergedFB

how do i get 2 different resolutions to work? I'm guessing

Option "MetaModes" "1024x768-1280x1024"

should do it, but it doesn't seem to work. My external lcd is 1280x1024 and my notebook's resolution is the same. I want one to be at 1280x1024 and one to be at 1024x768.
sneekie is offline   Reply With Quote
Old December 21st, 2006   #8
goggleBOX
First Cup of Ubuntu
 
Join Date: Dec 2006
Beans: 2
Red face Re: Ati, Matrox MergedFB

I use a Compaq 2418AU laptop which has a 14" WXGA screen (1280x768 ) which also has a VGA out. I have a CMV CT-720D 17" LCD monitor (1280x1024) that I wish to connect.

Following this guild it appears that my desktop is streching across both monitors but the external LCD does not render correctly. the desktop is usally some form of scambled pattern while the pointer appears as a square of vertical coloured stripes.

I have tried adjusting the Horizontal Sync and Vertical Refresh rate from the defaults given in the example using my monitor guild as a reference. While I can set them to various settings nothing seems to work, I have tried dozens of combinations. It appears that my monitor prefers 30kHz horizontal by 60Hz vertical as when I adjust the ranges to exclude these numbers I just get a copy of the desktop on the second monitor.

I am using the ATI drives currently (21st Dec 2006) available using Easy ubuntu.

Attached in my xorg.conf in a text file.
Attached Files
File Type: txt xorg.txt (4.8 KB, 852 views)

Last edited by goggleBOX; December 21st, 2006 at 06:27 PM.. Reason: spelling
goggleBOX is offline   Reply With Quote
Old December 22nd, 2006   #9
TheCat
First Cup of Ubuntu
 
Join Date: Jun 2005
Beans: 12
Re: Ati, Matrox MergedFB

Thanks - this worked perfectly for me. I was using Xinerama, but the secondary screen had odd mouse cursor display issues.

I have a Radeon 9000, the fglrx driver and I used the instructions in the first message in this thread.
TheCat is offline   Reply With Quote
Old December 23rd, 2006   #10
mättu
Just Give Me the Beans!
 
Join Date: Dec 2005
Beans: 60
Re: Ati, Matrox MergedFB

No joy with Matrox G400.
Second screen remains black.
I think there once was an xorg-output saying that only G450 and G550 are supported, but I have not been able to reproduce it so far.
Here is a link for G400 & xinerama:
http://www.linuxquestions.org/questi...d.php?t=447802
I will check that out & post back.
Would be nice to use mergedFB anyway, so help is much appreciated.

Btw. there is a bug in edgy's mga-driver. Workaround if first screen remains black after upfrade / install:
https://launchpad.net/distros/ubuntu...mga/+bug/64853

:m)
mättu is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 03:41 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry