A monitor which becomes automatically duplicate even that it is turned off/on

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
arataj

A monitor which becomes automatically duplicate even that it is turned off/on

Post by arataj »

If there are two independent screens with independent contents, maximise and full screen should work independently for each.

#### Actual behaviour
After sleep and wake up, the 1st desktop stretches over the size of both screens.

#### Steps to reproduce the behaviour
Configure two independent screens :0 and :1, sleep, wake up. Maximised windows go way past the right margin of the 0th screen. Their are invisible on the 1st screen.

This might be an issue outside MATE, but in any case mate-panel has the correct size, and MATE works correctly with the setup until the first sleep and wake-up.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
jimallyn
Level 19
Level 19
Posts: 9075
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: Desktop size covers to independent screens

Post by jimallyn »

It would probably be helpful if you would open a terminal, maximize it to avoid cut off lines, enter inxi -Fxz, then copy/paste the output of that command into your next post here.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
arataj

Re: Desktop size stretches to independent screens

Post by arataj »

Thanks jimallym for your post. I guess you wanted to know the size of the window, but the reason for the behaviour turned out to be different. It is still a problem, however.

I have a main monitor DFP-0 1920x1200 and a small CRT-0 450x310, these are two separate screens 0 and 1. I have also a rarely used projector DFP-1 800x600 and once tried to make it work so that the projector, when turned out, just duplicates the main screen DFP-0. If I am not wrong, it worked fine.

No more. Now the projector either has a bad aspect ratio, attaches itself to the left of DFP-0 at the same screen 0, thus the mentioned maximise problems, or is just invisible. It all depends on whether it was turned off/on during x server startup/wake up, different combinations end in different screen configurations.

I wonder, can the projector be just fixed as a duplicate of DFP-0 as before, and that it works like that always, I just turn the projector on and it becomes a duplicate, with a correct aspect ratio. The projector, despite its low resolution, handles 1920x1200 fine.

I attach my current xorg.conf, thanks.

Code: Select all

	
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 361.42  (buildd@lgw01-18)  Tue Apr  5 14:33:28 UTC 2016

Section "ServerLayout"

# Removed Option "Xinerama" "0"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 1920 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "DFP-0"
    HorizSync       31.0 - 76.0
    VertRefresh     59.0 - 61.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
#    Gamma           3
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "CRT-0"
    HorizSync       20.0 - 85.0
    VertRefresh     50.0 - 85.0
    ModeLine       "640x350t3" 17.20 450 510 522 568 310 322 335 355 +hsync -vsync
    Option         "DPMS"
    Option         "ExactModeTimingsDVI" "TRUE"
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "DFP-1"
    HorizSync       31.0 - 76.0
    VertRefresh     59.0 - 61.0
EndSection

Section "Device"

    # Option "ModeValidation" "NoEdidModes"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 730"
    Option         "UseEdid" "False"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 730"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 730"
    BusID          "PCI:1:0:0"
    Screen          2
EndSection

Section "Screen"

# Removed Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +0+0 {viewportin=1920x1200}"
# Removed Option "metamodes" "DVI-D-0: 1920x1200 +0+0; DVI-D-0: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-D-0: 1920x1200 +0+0, HDMI-0: 1920x1200 +0+0; DVI-D-0: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "VGA-0: nvidia-auto-select +0+0 {viewportin=640x350}"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "VGA-0: 640x350t3 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: A monitor which becomes automatically duplicate even that it is turned off/on

Post by Hoser Rob »

He didn't ask for your xorg.conf, he asked for the text output of inxi -Fxz. Hint: in Linux you have to really read the directions, not sort of.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
thx-1138
Level 8
Level 8
Posts: 2092
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: A monitor which becomes automatically duplicate even that it is turned off/on

Post by thx-1138 »

Hoser Rob wrote: Mon Jul 09, 2018 11:15 am He didn't ask for your xorg.conf, he asked for the text output of inxi -Fxz. Hint: in Linux you have to really read the directions, not sort of.
He didn't asked for your...'opinion', he asked for technical advice (after proving a very specific description of his setup as well).
Hint 1: In 'Linux' (and life in general...), if you don't really have something specific to say, then better don't.
Hint 2: He appears to know more than you about...'Linux'.
Locked

Return to “MATE”