Using Xorg.conf how to setup non duplicate Monitors?
Hi, I'm having issues setting up 4 monitors. They are all the same brand/model monitors. For some reason, I can only manage to show chrome in the top left monitor and when you maximize it. It will snap on that monitor only. Or I can see a duplicate in all four monitors. For example, if I open a window, it will show 4 times, once in each monitor. I would like to span a window full screen in all four monitors using Xorg.conf.
Here's my current xorg.conf Code:
Section "Monitor" Code:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 Code:
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev 83) (prog-if 00 [VGA controller]) |
Have you tried xrandr instead of xorg.conf? It's usually simpler to figure out:
Code:
xrandr --output DisplayPort-0 --primary --output DisplayPort-1 --above DisplayPort-0 --output DisplayPort-2 --right-of DisplayPort-2 --output DisplayPort-3 --right-of DisplayPort-0 |
Hi, My goal is to do it with xorg.conf instead of creating a script for this. Can it be possible to do this with xorg.conf?
|
It's possible most likely, if there's no Xorg bug to stop you, but I've never that I can recall had good luck doing it that way with more than two displays.
A script can be placed in the /etc/X11/ tree, making it function globally, as would xorg.conf if you could build it right. IME, in an extended desktop, most apps will maximize only to the display on which started, or to the display on which a window uses the most space. To get it to cover the whole extended desktop has required dragging the borders. |
Quote:
What follows is a skeletal guide. YMMV. Your xorg.conf will need a ServerLayout section. Code:
Section "ServerFlags" Code:
Section "Screen" Code:
Section "Device" This ArchWiki page has useful background. |
Hey Allend, thanks for your help. I already checked that Wiki page a bunch of time and this configure i have tried it already. The screen only appears on the top left monitor and the other 3 monitors are black. The window when maximize only snaps to the top left monitor.
Here's the xorg.conf that I have, Code:
Section "ServerFlags" https://pastebin.com/7YTEvW2i edit: removed quotes and replace it with CODE. Added the xorg logs in pastebin. |
unxcellent, please use code tags, not quote tags, when pasting text files or command output. Code tags preserve formatting, and can be quoted. Also, pastebin large files, such as Xorg.0.log, e.g.:
Code:
cat /var/log/Xorg.0.log | pastebinit |
Better than pastebin. No adds or scripts.
Code:
curl -F'file=@/home/<user>/.local/share/xorg/Xorg.0.log' https://0x0.st https://git.0x0.st/mia/0x0 |
hey guys. Sorry about that, I should have review it. Here's the Xorg logs in pastebinit
https://pastebin.com/7YTEvW2i |
Thanks for the Xorg.0.log. It shows that the displays are all being recognised, but are all sending output to "1920x1080 +0+0".
My suggestion is to try setting the size of the display canvas and positioning each display on that canvas. Code:
Section "Screen" |
Okay, I have done the above before as well. Still show on the top left monitor only. But now that I'm looking at the logs I noticed there's no mention of `Virtual` or its resolution on the Xorg logs. For example, I set the configuration
Code:
Section "Screen" something else I just noticed is that, if Xinerama is enable and you tried to run xrandr -q it will display this error. If you disable Xinerama the error will go away. "RandR extension missing" Here's the latest xorg.conf and xorg.logs Code:
Section "ServerFlags" Xorg logs https://pastebin.com/C0JiMiTv |
Try commenting out the "Monitor ..." lines in the Screen sections.
|
I commented the Monitor option on the screen section. Window still maximize on the top left monitor. The logs now display the following,
Code:
[ 3252.386] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Dec 14 20:31:15 2021 [ 3252.484] (II) AMDGPU(0): Output DisplayPort-0 using initial mode 1920x1080 +0+0 |
Another try at getting positioning to work.
Code:
Section "ServerLayout" |
Hi, sorry for the late reply (busy holiday and stuff). Thanks Allend, this did the trick. and now it works fine!
|
All times are GMT -5. The time now is 07:28 AM. |