LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2010, 02:45 AM   #1
terry84
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: 0
Dual Monitor Xorg Configuration with different resolutions


Hi all,
I am not sure if this is the correct forum to post this topic (I was struggling between hardware and software). But since I do not think this was a problem with my hardware(monitor), I decided to post it here.

I have been tasked to set up 2 monitors on SUSE Linux Enterprise that are a clone of each other, but each displaying different resolutions. The primary display has a max resolution of 1024x768 while the secondary display has a max resolution of 800x600.

The problem comes when the secondary display shows a "cropped" version of the desktop. Is there anyway to show different resolutions on each display while maintaining the proper desktop look?

I have attached the relevant portion of my xorg.conf.

Thanks in advance.

Terry

Code:
Section "Monitor"
  Option       "CalcAlgorithm" "XServerPool"
  DisplaySize  304 228
  HorizSync    30-61
  Identifier   "Monitor[0]"
  Option       "DPMS"
  VertRefresh  43-75
  UseModes     "Modes[0]"
EndSection

Section "Monitor"
	DisplaySize	305 230
	HorizSync	30-49
	Identifier	"EXT"
	Option		"DPMS"
	Option		"PreferredMode" "800x600"
	VertRefresh	43-75
EndSection

Section "Modes"
  Identifier   "Modes[0]"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "1024x768" "800x600" "768x576" "640x480" 
    Virtual    2048 2048
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      24
    Modes      "800x600" "768x576" "640x480" 
    Virtual    2048 2048
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[1]"
  Monitor      "EXT"
EndSection

Section "Device"
  BoardName    "915 GM"
  Driver       "intel"
  Identifier   "Device[0]"
  BusID	       "PCI:0:2:0"
  VendorName   "Intel"
  Option       "TwinView" "true"
  Option       "SecondMonitorHorizSync" "30.0-61.0"
  Option       "SecondMonitorVertRefresh" "50-75"
  Option       "MetaModes" "1024x768, 800x600"
  Option       "TwinViewOrientation" "Clone"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  #Option       "Clone" "off"
  #Option       "Xinerama" "off"
  Screen        "Screen[0]"
EndSection
 
Old 10-31-2010, 10:04 AM   #2
terry84
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Hi. Anyone able to help? Or am I not clear in my question?
 
Old 10-31-2010, 03:34 PM   #3
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,505
Blog Entries: 35

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
I was going to wait and see what others said but I guess I'll take a crack at it. Before you do anything be sure to backup your xorg.conf. Run all commands I specify as root user.
Code:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Do you know what graphics chipset you have? (nVidia/ATI/whatever) Sometimes the vendors provide utilities which greatly simplify the process of modifying the xorg.conf to take advantage of unique features of the vendors binary blob drivers.

I'll continue searching around but I haven't found any open source implementations of nVidia's TwinView. I'll post back as I find more material.

edit: never mind about the graphics chipset question. I figured it out from reading your xorg.conf

edit 2: xrandr looks like it will be able to possibly accomplish what you wish. I found an example of it in the gentoo wiki. I'll see if I can formulate a command which would modify display modes of individual monitors.

edit 3: I have found two links which are useful: one is from ubuntu and one is form nVidia.

Last edited by sag47; 10-31-2010 at 03:50 PM.
 
Old 11-01-2010, 12:17 AM   #4
terry84
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the reply. However, the links seem to deal with nvidia drivers only. We are using intel for our graphics in this case.

Also, in the appendix, it is stated that the TwinView feature is only available on nvidia chipsets.
 
Old 11-01-2010, 12:39 AM   #5
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,505
Blog Entries: 35

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
How are you using TwinView to clone it then? I was under the impression that TwinView was an nVidia only thing.

Have you tried switching around the MetaModes? That in particular seems to deal with the resolution of the two monitors cloned.

Code:
  Option       "MetaModes" "800x600, 1024x768"
xrandr was written by Intel. I'll have to find some examples for how it's used.

Last edited by sag47; 11-01-2010 at 12:43 AM.
 
Old 11-01-2010, 01:12 AM   #6
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
I found this post on the topic. I am not sure if there is anything useful or helpful for you in it.

http://www.linuxquestions.org/questi...nvidia-774321/
 
Old 11-02-2010, 01:39 AM   #7
terry84
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Nope. I meant I read that TwinView is only available on nvidia cards. Anyway I did try to use TwinView on an intel card. Sad to say, the monitors still show the same resolution. And switching the modes didn't work as well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Xorg configuration for external monitor jadamso Linux - Newbie 5 11-15-2010 03:43 AM
[SOLVED] Getting new monitor. Automatic xorg configuration arubin Slackware 6 11-24-2009 06:32 AM
Dual Monitor: 2nd monitor not coming up -- xorg.conf missing something? Hewson Linux - Hardware 3 10-20-2009 12:24 PM
Dual monitor configuration in Xorg 1.5.2 (Ubuntu 8.10) dcroxton Linux - Hardware 2 11-05-2008 11:43 AM
monitor resolutions are limited after setting up dual head display in fedora ZorlacBabelfish Linux - Newbie 0 03-11-2004 10:07 AM


All times are GMT -5. The time now is 01:26 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration