Setting up dual monitors in xorg.conf
I have a dual-monitor setup where the second (smaller) monitor extends the desktop of the first one.
This works perfectly fine using the KDE monitor settings/XRandr, but Xorg's default behaviour is to clone the first monitor and setting it to a lower resolution, causing two modesets: One from the correct resolutions (set by radeon
while booting) to the cloned view on the KDM login screen, and a second one after the login.
Now I'd like to have the correct setup in xorg.conf
.
As far as I know, I have to enable the merged framebuffer as described here, however I do not know how a complete, working configuration should look like.
So far, I managed to disable the unnecessary modesetting, but the second screen is still cloning (and now cropping) the frist one:
Section "Screen"
Identifier "First Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Screen"
Identifier "Second Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Device"
Identifier "ATI"
Driver "radeon"
Option "MergedFB" "true"
Option "MergedNonRectangular" "true"
Option "CRT2Position" "RightOf"
Option "MetaModes" "1920x1080-1280x1024"
EndSection
I am aware that I have to specify Virtual 3200 1080
somewhere in a "Display" SubSection. I tried putting it in both of the existing ones, in an additional SubSection, and in an additional "Screen" Section, but none proved successful.
linux multiple-monitors xorg amd-radeon xorg.conf
add a comment |
I have a dual-monitor setup where the second (smaller) monitor extends the desktop of the first one.
This works perfectly fine using the KDE monitor settings/XRandr, but Xorg's default behaviour is to clone the first monitor and setting it to a lower resolution, causing two modesets: One from the correct resolutions (set by radeon
while booting) to the cloned view on the KDM login screen, and a second one after the login.
Now I'd like to have the correct setup in xorg.conf
.
As far as I know, I have to enable the merged framebuffer as described here, however I do not know how a complete, working configuration should look like.
So far, I managed to disable the unnecessary modesetting, but the second screen is still cloning (and now cropping) the frist one:
Section "Screen"
Identifier "First Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Screen"
Identifier "Second Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Device"
Identifier "ATI"
Driver "radeon"
Option "MergedFB" "true"
Option "MergedNonRectangular" "true"
Option "CRT2Position" "RightOf"
Option "MetaModes" "1920x1080-1280x1024"
EndSection
I am aware that I have to specify Virtual 3200 1080
somewhere in a "Display" SubSection. I tried putting it in both of the existing ones, in an additional SubSection, and in an additional "Screen" Section, but none proved successful.
linux multiple-monitors xorg amd-radeon xorg.conf
add a comment |
I have a dual-monitor setup where the second (smaller) monitor extends the desktop of the first one.
This works perfectly fine using the KDE monitor settings/XRandr, but Xorg's default behaviour is to clone the first monitor and setting it to a lower resolution, causing two modesets: One from the correct resolutions (set by radeon
while booting) to the cloned view on the KDM login screen, and a second one after the login.
Now I'd like to have the correct setup in xorg.conf
.
As far as I know, I have to enable the merged framebuffer as described here, however I do not know how a complete, working configuration should look like.
So far, I managed to disable the unnecessary modesetting, but the second screen is still cloning (and now cropping) the frist one:
Section "Screen"
Identifier "First Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Screen"
Identifier "Second Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Device"
Identifier "ATI"
Driver "radeon"
Option "MergedFB" "true"
Option "MergedNonRectangular" "true"
Option "CRT2Position" "RightOf"
Option "MetaModes" "1920x1080-1280x1024"
EndSection
I am aware that I have to specify Virtual 3200 1080
somewhere in a "Display" SubSection. I tried putting it in both of the existing ones, in an additional SubSection, and in an additional "Screen" Section, but none proved successful.
linux multiple-monitors xorg amd-radeon xorg.conf
I have a dual-monitor setup where the second (smaller) monitor extends the desktop of the first one.
This works perfectly fine using the KDE monitor settings/XRandr, but Xorg's default behaviour is to clone the first monitor and setting it to a lower resolution, causing two modesets: One from the correct resolutions (set by radeon
while booting) to the cloned view on the KDM login screen, and a second one after the login.
Now I'd like to have the correct setup in xorg.conf
.
As far as I know, I have to enable the merged framebuffer as described here, however I do not know how a complete, working configuration should look like.
So far, I managed to disable the unnecessary modesetting, but the second screen is still cloning (and now cropping) the frist one:
Section "Screen"
Identifier "First Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection
Section "Screen"
Identifier "Second Screen"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Device"
Identifier "ATI"
Driver "radeon"
Option "MergedFB" "true"
Option "MergedNonRectangular" "true"
Option "CRT2Position" "RightOf"
Option "MetaModes" "1920x1080-1280x1024"
EndSection
I am aware that I have to specify Virtual 3200 1080
somewhere in a "Display" SubSection. I tried putting it in both of the existing ones, in an additional SubSection, and in an additional "Screen" Section, but none proved successful.
linux multiple-monitors xorg amd-radeon xorg.conf
linux multiple-monitors xorg amd-radeon xorg.conf
asked Nov 28 '12 at 12:00
triontrion
12113
12113
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The important lines are the metamodes and TwinViewOrientation in the Screen section. You need to find the names of your monitors and set them correctly. The easiest way to do this would be to install the proprietary drivers and then use aticonfig to generate your xorg.conf.
I am not an expert but after a lot of attempts I have correctly configured my own xorg.conf to do what you need. I am posting the relevant sections of my xorg.conf, you should be able to adapt it to suit your needs. I have commented (comments begin with #
) the lines that are most important to the best of my knowledge:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0 # This sets the orientation of the monitors
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko/Epson"
HorizSync 37.2 - 55.8
VertRefresh 40.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 880M"
EndSection
## Note that there is only one Screen section, I believe this is what makes
## the extended desktop.
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
## This line sets the resolutions for each monitor
Option "metamodes" "DP-3: 1600x900, VGA-0: 1440x900"
## This sets monitor0 to extend the screen to the right
Option "TwinViewOrientation" "RightOf"
SubSection "Display"
Depth 24
EndSubSection
EndSection
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f511793%2fsetting-up-dual-monitors-in-xorg-conf%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The important lines are the metamodes and TwinViewOrientation in the Screen section. You need to find the names of your monitors and set them correctly. The easiest way to do this would be to install the proprietary drivers and then use aticonfig to generate your xorg.conf.
I am not an expert but after a lot of attempts I have correctly configured my own xorg.conf to do what you need. I am posting the relevant sections of my xorg.conf, you should be able to adapt it to suit your needs. I have commented (comments begin with #
) the lines that are most important to the best of my knowledge:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0 # This sets the orientation of the monitors
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko/Epson"
HorizSync 37.2 - 55.8
VertRefresh 40.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 880M"
EndSection
## Note that there is only one Screen section, I believe this is what makes
## the extended desktop.
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
## This line sets the resolutions for each monitor
Option "metamodes" "DP-3: 1600x900, VGA-0: 1440x900"
## This sets monitor0 to extend the screen to the right
Option "TwinViewOrientation" "RightOf"
SubSection "Display"
Depth 24
EndSubSection
EndSection
add a comment |
The important lines are the metamodes and TwinViewOrientation in the Screen section. You need to find the names of your monitors and set them correctly. The easiest way to do this would be to install the proprietary drivers and then use aticonfig to generate your xorg.conf.
I am not an expert but after a lot of attempts I have correctly configured my own xorg.conf to do what you need. I am posting the relevant sections of my xorg.conf, you should be able to adapt it to suit your needs. I have commented (comments begin with #
) the lines that are most important to the best of my knowledge:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0 # This sets the orientation of the monitors
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko/Epson"
HorizSync 37.2 - 55.8
VertRefresh 40.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 880M"
EndSection
## Note that there is only one Screen section, I believe this is what makes
## the extended desktop.
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
## This line sets the resolutions for each monitor
Option "metamodes" "DP-3: 1600x900, VGA-0: 1440x900"
## This sets monitor0 to extend the screen to the right
Option "TwinViewOrientation" "RightOf"
SubSection "Display"
Depth 24
EndSubSection
EndSection
add a comment |
The important lines are the metamodes and TwinViewOrientation in the Screen section. You need to find the names of your monitors and set them correctly. The easiest way to do this would be to install the proprietary drivers and then use aticonfig to generate your xorg.conf.
I am not an expert but after a lot of attempts I have correctly configured my own xorg.conf to do what you need. I am posting the relevant sections of my xorg.conf, you should be able to adapt it to suit your needs. I have commented (comments begin with #
) the lines that are most important to the best of my knowledge:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0 # This sets the orientation of the monitors
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko/Epson"
HorizSync 37.2 - 55.8
VertRefresh 40.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 880M"
EndSection
## Note that there is only one Screen section, I believe this is what makes
## the extended desktop.
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
## This line sets the resolutions for each monitor
Option "metamodes" "DP-3: 1600x900, VGA-0: 1440x900"
## This sets monitor0 to extend the screen to the right
Option "TwinViewOrientation" "RightOf"
SubSection "Display"
Depth 24
EndSubSection
EndSection
The important lines are the metamodes and TwinViewOrientation in the Screen section. You need to find the names of your monitors and set them correctly. The easiest way to do this would be to install the proprietary drivers and then use aticonfig to generate your xorg.conf.
I am not an expert but after a lot of attempts I have correctly configured my own xorg.conf to do what you need. I am posting the relevant sections of my xorg.conf, you should be able to adapt it to suit your needs. I have commented (comments begin with #
) the lines that are most important to the best of my knowledge:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0 # This sets the orientation of the monitors
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Seiko/Epson"
HorizSync 37.2 - 55.8
VertRefresh 40.0 - 60.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro FX 880M"
EndSection
## Note that there is only one Screen section, I believe this is what makes
## the extended desktop.
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
## This line sets the resolutions for each monitor
Option "metamodes" "DP-3: 1600x900, VGA-0: 1440x900"
## This sets monitor0 to extend the screen to the right
Option "TwinViewOrientation" "RightOf"
SubSection "Display"
Depth 24
EndSubSection
EndSection
edited Nov 28 '12 at 12:37
answered Nov 28 '12 at 12:29
terdonterdon
41.4k887136
41.4k887136
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f511793%2fsetting-up-dual-monitors-in-xorg-conf%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown