LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-28-2008, 06:15 PM   #1
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Rep: Reputation: 16
Dual Monitor at Fedora with Gnome


hi
i have fedora 8 with a Ati Radeon hd 2600 pro graphics accelerator.

I like using it with 19" Hyundai, but sometimes i need to add a 22" Philips.

When i try from System/Administration/Display/Dual Head system needs to be restarted and graphical screen disappears with the message meanning that the settings has been changed and if i want to look at the config file.

How can i use dual monitor at Fedora with Gnome?
 
Old 01-28-2008, 06:20 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You do want to look at the config file.

Fedora dual head is fairly basic and you usually need to edit /etc/X11/xorg.conf manually. There are a great many threads on how to get dual head going with ATI cards and different drivers. Search the forums. Since you only sometimes need the extra monitor, use a XRandR method.
 
Old 01-29-2008, 03:28 PM   #3
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
Hi Simon
Thank you very much for your post.
I solved the problem but you have to read this.

Ati card has two DVI, one TV outs, no other ports.

Recently i plugged out the monitors and changed their ports with the other ones' port.

Believe me or not, both of them are working correctly after port exchange

I ll never understand computers.
Thank you for your 2¢.
 
Old 01-29-2008, 10:13 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You are using two different monitors - perhaps you had your main monitor (hyundai) plugged into the #2 slot... then, when you added the philips, to the #1 slot, it inherited the config for the hyundai. In other words, you confused the driver.

OR: swapping the monitors forced another autodetect, and that loaded the correct configuration.

Probably a mix of the two above.
Looking at the config files and the logs would have told you.
What prompted you to try swapping the cables over?
 
Old 02-05-2008, 03:37 PM   #5
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
Hi simon one cable was shorter and the other one is longer. One of the monitors needed to be at the other end of the table. So this was the only reason i switched the cables. I am going to add configuration file copy here if you are interested in to look in a few minutes.

# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Last edited by Libertes; 02-05-2008 at 03:47 PM.
 
Old 02-05-2008, 04:28 PM   #6
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
Here in few minutes i tried to change xorg.conf as follows.
This new xorg.conf spoiled something, second screen is
now 1280x1024 instead of 1680x1050

huh!

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 65.5
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1680x1050"
HorizSync 31.5 - 64.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "vesa"
VendorName "Videocard Vendor"
BoardName "ATI Technologies Inc RV630 [Radeon HD 2600 Series]"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
//i added the following line
Modes "1280x1024"
//line added by me finishes here
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050"
EndSubSection
EndSection
 
Old 02-05-2008, 10:24 PM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Believe me or not, both of them are working correctly after port exchange
It was working, but you decided to fiddle anyway?

Quote:
This new xorg.conf spoiled something, second screen is now 1280x1024 instead of 1680x1050
Swap the modelines over between screen 1 and screen 0.
(Better - put both modes in both modelines, highest res first.)

If that doesn't work, what happens when the depth is 16?
 
Old 02-08-2008, 11:53 AM   #8
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
Simon, Computers are funny inventions, i nearly made all probabilities but screens are all the same again and again.

i think, i exactly did what you wanted me to do. And still every thing stayed the same

This is new xorg.conf one and the default one i posted at 02-05-08 04:37 PM
give all the same results.

I also used default dept 16 and 24 both but i did not an extra xorg.conf

At System/Administration/Display Tab Settings has 3 options for resolution
1280x1024
1024x768
800x600
At Dual Head Tab Resolution has the same 3 selections but 800x600 is not selectable.



# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 65.5
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1680x1050"
HorizSync 31.5 - 65.5
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "vesa"
VendorName "Videocard Vendor"
BoardName "ATI Technologies Inc RV630 [Radeon HD 2600 Series]"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x1024" "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x1024" "1024x768"
EndSubSection
EndSection
 
Old 02-08-2008, 10:06 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Hang on, you are trying to run the two displays at different resolutions?

Quote:
Option "Clone" "on"
... but you are cloning one of the displays on the other one?
 
Old 02-09-2008, 02:47 PM   #10
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
Hi Simon
Here you are the new xorg.conf file with the exactly same result above, screens do not changed.
i have not changed Viewport 0 0,
i am now going to search for some sample xorg.conf files, about this,
but i ll wait until reading your sentence.

By the way only change after making Clone off is, i droped my tea on
my legs while trying to check if screen has been changed or not?


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 65.5
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1680x1050"
HorizSync 31.5 - 65.5
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "vesa"
VendorName "Videocard Vendor"
BoardName "ATI Technologies Inc RV630 [Radeon HD 2600 Series]"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x1024" "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x1024" "1024x768"
EndSubSection
EndSection
 
Old 02-09-2008, 11:57 PM   #11
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The videocard0 device section does not give PCI data for the card.
 
Old 02-10-2008, 06:08 AM   #12
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
Hi again simon
i changed "Videocard0" to "Videocard1" at the following code.
woaf, this time the worst thing happened. Screen did not opened any Graphical User Interface, furthermore, it gave some error and text login screen gone and came several times, and system asked me if i need to look at error or change settings.
I logged in via text environment and changed back "Videocard1" to "Videocard0".
So my graphical interface came again.

Computers are stupid machines, who calls them as superior technologies!

Be sure that i am ready to implement your new commands.

This is the changed part :

Section "Screen"
Identifier "Screen0"
Device "Videocard1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1680x1050" "1280x1024" "1024x768"
EndSubSection
 
Old 02-10-2008, 07:09 AM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Do you have one or two videocards?
 
Old 02-10-2008, 08:31 AM   #14
Libertes
Member
 
Registered: Jan 2007
Posts: 86

Original Poster
Rep: Reputation: 16
i have one video card radeon pro 2600, computer has a vga card supported mainboard but i do not use it. Video card has 2 dvi outs. one has 19" hyundai as screen 0 -i guest it is screen0- the other is 21" philips.

1280x1024 is ok, for 19" and i am working on it. 21" is for customers -on the other side of table-, they see their bill et cetera info at that screen.

21" -as you may guess- has a terrible screen solution for a full time working. But it is ok for my job because customers can read their details within 15-30 seconds. So it does not bother their eyes.

i tried both screens with a windows tower of my friend and both worked perfect with a worser vga card. 19" had 1280*1024 and 21" had 1680*1050 screen solution automatically at windows.

That is the whole story. When i first buy second screen (21") it showed blank screen, so i switched the cables, that make it work -at least showed something-

As a result i do not understand computer world, i made nearly all changes at xorg.conf but everything seems the same.

i looked at similar posts again now and see that their HorizSync 31.5 - 65.5 values are all different. I do not know what this is about but perhaps this can solve the problem of screen solution. What is your sentence?

Last edited by Libertes; 02-10-2008 at 08:35 AM.
 
Old 02-10-2008, 09:29 AM   #15
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I have one video card radeon pro 2600, computer has a vga card supported mainboard but i do not use it. Video card has 2 dvi outs. one has 19" hyundai as screen 0 -i guest it is screen0- the other is 21" philips.
OK - lets see... standard Dual Head for you should look like this:
Code:
### Card Setup ###
Section "Device"
Identifier "ATI0"
Driver "ati"
VendorName "ATI Technologies Inc"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "ATI1"
Driver "ati"
VendorName "ATI Technologies Inc"
BusID "PCI:1:0:0"
Screen 1
EndSection

### Monitor Setup ###
# 1680x1050 max res
# this will be the main screen
Section "Monitor"
Identifier "Mon0"
#HorizSync 31.5 - 65.5
#VertRefresh 56.0 - 65.0
Option "dpms"
EndSection
# 1280x1024 max res
# this will be the side screen
Section "Monitor"
Identifier "Mon1"
#HorizSync 31.5 - 65.5
#VertRefresh 56.0 - 65.0
Option "dpms"
EndSection
# Note: LCD/TFT do not need sync/refresh entries.

### Screen Setup ###
Section "Screen"
Identifier "Main"
Device "ATI0"
Monitor "Mon0"
DefaultDepth 24
  SubSection "Display"
  Viewport 0 0
  Depth 24
  Modes "1680x1050" "1280x1024" "1024x768"
  EndSubSection
EndSection
Section "Screen"
Identifier "Side"
Device "ATI1"
Monitor "Mon1"
DefaultDepth 24
  SubSection "Display"
  Viewport 0 0
  Depth 24
  Modes "1280x1024" "1024x768"
  EndSubSection
EndSection

### Server Setup ###
Section "ServerLayout"
Identifier "Basic Layout"
Screen "Main"
Screen "Side" LeftOf "Main"
Option "Xinerama" "Off"
# Don't forget Mouse and kbd entries!
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
This is xorg dual head at it's most basic providing two desktops. You can open windows on either desktop, but you cannot drag windows between them. If you set both displays to the same resolution, then you can use MergedFB and Xinerama to get one big screen.

Comparing the above with what you got shows a large number of small errors: you failed to tell Xorg where to find Videocard1 (no PCI entry), you failed to assign a monitor to your screens, and you defined the screen layout in the wrong order. No wonder the server was confused.

Double Check that your videocard BusID is really PCI:1:0:0 (lspci | grep VGA). It may still be that your card won't support max resolution at 24bit color. Try setting them both to 1024x768. You'll soon discover if the monitor plugs are in the wrong sockets.

Note: "ati" is a meta-driver - specifying this for ati cards should select the correct free driver - which is not vesa. Did you experience trouble with the free drivers? The appropriate fglrx driver will work too - or go back to vesa if you have problems.

The Xinerama Off option is te remind you that you can turn this on if you want. MergedFB is (IIRC) supposed to only work with the radeon driver.

Last edited by Simon Bridge; 02-10-2008 at 09:35 AM.
 
  


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 head on Fedora 8 with HP monitor noir911 Linux - Desktop 0 01-08-2008 06:09 AM
Fedora 8 Dual Monitor Support treedstang Fedora 0 11-16-2007 03:45 PM
Switching to Second Monitor with keyboard in GNOME (Dual mode, not Xinerama) verdeboy2k Linux - Desktop 0 10-06-2006 04:16 PM
Dual monitor on Gnome & GeForce FX 5200 Grimmi- Linux - Hardware 2 10-14-2005 01:07 PM
Dual Monitor with Radeon 9600pro w/Fedora? hitman_forhire Linux - Hardware 2 02-04-2004 03:59 PM

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

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