LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dual Monitor Xorg Configuration with different resolutions (https://www.linuxquestions.org/questions/linux-software-2/dual-monitor-xorg-configuration-with-different-resolutions-841098/)

terry84 10-29-2010 01:45 AM

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


terry84 10-31-2010 09:04 AM

Hi. Anyone able to help? Or am I not clear in my question?

sag47 10-31-2010 02:34 PM

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.

terry84 10-31-2010 11:17 PM

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.

sag47 10-31-2010 11:39 PM

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.

Amdx2_x64 11-01-2010 12:12 AM

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/

terry84 11-02-2010 12:39 AM

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.


All times are GMT -5. The time now is 02:40 PM.