LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   X: cloned displays at different resolutions? (https://www.linuxquestions.org/questions/linux-software-2/x-cloned-displays-at-different-resolutions-638190/)

moo-cow 04-27-2008 10:08 AM

X: cloned displays at different resolutions?
 
Hi all,

is there a way to run a (cloned) external display at another resolution than the internal one? I am trying to get this to work on an Asus EEE PC. I know how to add the details of a specific display in xorg.conf (like e.g. my TV set). But on my laptop I work with different external display models (= projectors at conferences) and I would need a generic solution that works for every display that I connect. My current status is that external displays are automatically detected, but when I set the resolution higher than the laptop can display, it shows only the upper left part of the desktop. Instead, it should stay at its low resolution while only the projector uses a higher one.

Any help is appreciated!

Here is my (very short) xorg.conf:

Code:

Section "ServerLayout"
        Identifier    "Xandros"
        Screen      0  "Screen1"
        InputDevice    "keyboard"
        InputDevice    "mouse"
        InputDevice    "synaptics"
EndSection

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/X11/misc"
        FontPath    "/usr/share/fonts/X11/Type1"
        FontPath    "/usr/share/fonts/X11/75dpi"
        FontPath    "/usr/X11R6/lib/X11/fonts/Type1"
EndSection

Section "Module"
        Load  "glx"
        Load  "dri"
        Load  "extmod"
        Load  "synaptics"
EndSection

Section "ServerFlags"
        Option                "AllowMouseOpenFail"
        Option                "BlankTime" "5"
#        Option                "DontVTSwitch"        "true"
        Option                "AIGLX"  "false"
EndSection

Section "InputDevice"
        Identifier  "keyboard"
        Driver      "kbd"
        Option            "CoreKeyboard"
        Option            "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us"
        Option      "XkbVariant" "intl"
#        Option      "XkbVariant" "eeepc"
EndSection

Section "InputDevice"
        Identifier  "mouse"
        Driver      "mouse"
        Option            "Device" "/dev/input/mice"
        Option            "Protocol" "IMPS/2"
        Option            "Emulate3Buttons" "yes"
        Option            "ZAxisMapping" "4 5"
        Option            "CorePointer"
EndSection

Section "InputDevice"
        Identifier  "synaptics"
        Driver      "synaptics"
        Option      "Device"          "/dev/psaux"
        Option      "Protocol"        "auto-dev"
        Option      "LeftEdge"        "1000"
        Option      "RightEdge"        "5400"
        Option      "TopEdge"          "1000"
        Option      "BottomEdge"      "4900"
        Option      "PalmDetect"      "0"
        Option      "SHMConfig"        "true"
        Option      "SendCoreEvents"  "yes"       
        Option      "HorizScrollDelta" "0"       
        Option      "RBCornerButton"  "0"
        Option      "RTCornerButton"  "0"
        Option      "MaxSpeed"        "0.1"
EndSection

Section "Monitor"
        Identifier  "Monitor1"
        VendorName  "ASUS"
        ModelName    "eeePC P701"
        Modeline    "800x480"  29.58  800 816 896 992  480 481 484 497  -HSync +Vsync # 60 Hz
EndSection

Section "Device"
        Identifier  "Device1"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName  "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID      "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen1"
        Device    "Device1"
        Monitor    "Monitor1"
        DefaultDepth    16
        SubSection "Display"
                Depth    8
                Modes "800x480" "1280x1024"
#                Virtual  800 480
        EndSubSection
        SubSection "Display"
                Depth    15
                Modes "800x480" "1280x1024"
#                Virtual  800 480
        EndSubSection
        SubSection "Display"
                Depth    16
                Modes "800x480" "1280x1024"
#                Virtual  800 480
        EndSubSection
        SubSection "Display"
                Depth    24
                Modes "800x480" "1280x1024"
#                Virtual  800 480
        EndSubSection
EndSection

Section "DRI"
        Mode        0666
EndSection

Section "Extensions"
        Option            "Composite" "Disable"
EndSection

(I have commented out the Virtual stuff because X nicely figures it out on its own.)

With best regards,
moo-cow

moo-cow 04-27-2008 10:19 AM

Addition:

I am using xrandr to set the display resolution. The problem is that with

$ xrandr --output LVDS --mode 800x480 --output VGA --mode 1024x768

the higher resolution (1024x768) is used for the desktop, with the VGA display (projector) showing all of it and the LVDS display (laptop screen at 800x480) only being able to show the upper left corner, as I already wrote.

ischi 04-27-2008 11:50 AM

When using xrandr you can just add a info for it where to place the display , i dont own a eee pc (even though i want to buy one, its such a great device) i use xrandr all the time on my laptop and it should work the same:
Code:

xrandr --output VGA --auto --above LVDS
ofcourse you can insert --mode xxxxx also and ie --left-of or --right-of instead of --above.

MFG

Edit:
This is then
Code:

xrandr --output VGA --mode 1024x768 --right-of LVDS

moo-cow 04-27-2008 12:07 PM

Thanks for your suggestion.

The problem with this solution is that the two displays are no longer clones of each other. However, I need both displays to show the same thing (which is basically a PDF reader showing my presentation) so that I can address the audience while occasionally peeking at the current slide on my laptop screen.

Is it perhaps somehow possible to combine left/right/above/below with cloning?

ischi 04-28-2008 02:51 AM

Quote:

Originally Posted by moo-cow (Post 3134621)
Thanks for your suggestion.

The problem with this solution is that the two displays are no longer clones of each other. However, I need both displays to show the same thing (which is basically a PDF reader showing my presentation) so that I can address the audience while occasionally peeking at the current slide on my laptop screen.

Is it perhaps somehow possible to combine left/right/above/below with cloning?

Ok sorry I didn't get the clonig part, well the Problem with cloning is that you can't clone to a different resolution. So a cloned 1024x768 will also be 1024x768, thats the nature of clone. I don't think there is a way to clone to different resolutions.


All times are GMT -5. The time now is 12:45 PM.