Monitor resolution in xorg conf applying to wrong device

Multi tool use
I am wanting to use a Dell 3818uw monitor with a resolution of 3840x1600 on my Lenovo X1 Carbon (5th gen), running Kubuntu 18.10. It is connecting through a Lenovo USB-C dock and DisplayPort.
Looking at the output of xrandr
I see the external monitor connected on device DP-1-1.
Probing the monitor for the resolution yields nothing, so I used cvt
to get a Modeline:
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
If I run the following script, it applies the mode line correctly and the display works as intended:
$ xrandr --newmode "3840x1600_30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
$ xrandr --addmode DP-1-1 "3840x1600_30.00"
$ xrandr --output DP-1-1 --mode "3840x1600_30.00"
However, this doesn't persist it. To try and persist it, I put into /usr/share/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "DP-1-1"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "3840x1600-30.00"
EndSubSection
EndSection
When I restart Xorg (reboot or just restarting the display manager), it applies that resolution to the eDP-1 device, which is the laptop display, rather than the external monitor:
$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
3840x1600-30.00 29.97 +
2560x1440 60.00*+ 59.99 59.99 59.96 59.95
[..]
And DP-1-1 remains untouched:
DP-1-1 connected (normal left inverted right x axis y axis)
2560x1440 59.95
1920x1600 59.95 DP-1-2 connected (normal left inverted right x axis y axis)
[..]
I am currently at a loss on how to have the settings correctly applied using the standard Xorg configuration files. Am I missing something obvious?
xorg lenovo display-resolution
add a comment |
I am wanting to use a Dell 3818uw monitor with a resolution of 3840x1600 on my Lenovo X1 Carbon (5th gen), running Kubuntu 18.10. It is connecting through a Lenovo USB-C dock and DisplayPort.
Looking at the output of xrandr
I see the external monitor connected on device DP-1-1.
Probing the monitor for the resolution yields nothing, so I used cvt
to get a Modeline:
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
If I run the following script, it applies the mode line correctly and the display works as intended:
$ xrandr --newmode "3840x1600_30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
$ xrandr --addmode DP-1-1 "3840x1600_30.00"
$ xrandr --output DP-1-1 --mode "3840x1600_30.00"
However, this doesn't persist it. To try and persist it, I put into /usr/share/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "DP-1-1"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "3840x1600-30.00"
EndSubSection
EndSection
When I restart Xorg (reboot or just restarting the display manager), it applies that resolution to the eDP-1 device, which is the laptop display, rather than the external monitor:
$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
3840x1600-30.00 29.97 +
2560x1440 60.00*+ 59.99 59.99 59.96 59.95
[..]
And DP-1-1 remains untouched:
DP-1-1 connected (normal left inverted right x axis y axis)
2560x1440 59.95
1920x1600 59.95 DP-1-2 connected (normal left inverted right x axis y axis)
[..]
I am currently at a loss on how to have the settings correctly applied using the standard Xorg configuration files. Am I missing something obvious?
xorg lenovo display-resolution
add a comment |
I am wanting to use a Dell 3818uw monitor with a resolution of 3840x1600 on my Lenovo X1 Carbon (5th gen), running Kubuntu 18.10. It is connecting through a Lenovo USB-C dock and DisplayPort.
Looking at the output of xrandr
I see the external monitor connected on device DP-1-1.
Probing the monitor for the resolution yields nothing, so I used cvt
to get a Modeline:
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
If I run the following script, it applies the mode line correctly and the display works as intended:
$ xrandr --newmode "3840x1600_30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
$ xrandr --addmode DP-1-1 "3840x1600_30.00"
$ xrandr --output DP-1-1 --mode "3840x1600_30.00"
However, this doesn't persist it. To try and persist it, I put into /usr/share/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "DP-1-1"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "3840x1600-30.00"
EndSubSection
EndSection
When I restart Xorg (reboot or just restarting the display manager), it applies that resolution to the eDP-1 device, which is the laptop display, rather than the external monitor:
$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
3840x1600-30.00 29.97 +
2560x1440 60.00*+ 59.99 59.99 59.96 59.95
[..]
And DP-1-1 remains untouched:
DP-1-1 connected (normal left inverted right x axis y axis)
2560x1440 59.95
1920x1600 59.95 DP-1-2 connected (normal left inverted right x axis y axis)
[..]
I am currently at a loss on how to have the settings correctly applied using the standard Xorg configuration files. Am I missing something obvious?
xorg lenovo display-resolution
I am wanting to use a Dell 3818uw monitor with a resolution of 3840x1600 on my Lenovo X1 Carbon (5th gen), running Kubuntu 18.10. It is connecting through a Lenovo USB-C dock and DisplayPort.
Looking at the output of xrandr
I see the external monitor connected on device DP-1-1.
Probing the monitor for the resolution yields nothing, so I used cvt
to get a Modeline:
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
If I run the following script, it applies the mode line correctly and the display works as intended:
$ xrandr --newmode "3840x1600_30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
$ xrandr --addmode DP-1-1 "3840x1600_30.00"
$ xrandr --output DP-1-1 --mode "3840x1600_30.00"
However, this doesn't persist it. To try and persist it, I put into /usr/share/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "Monitor0"
Modeline "3840x1600-30.00" 246.25 3840 4040 4440 5040 1600 1603 1613 1630 -hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
Device "DP-1-1"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "3840x1600-30.00"
EndSubSection
EndSection
When I restart Xorg (reboot or just restarting the display manager), it applies that resolution to the eDP-1 device, which is the laptop display, rather than the external monitor:
$ xrandr
Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192
eDP-1 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
3840x1600-30.00 29.97 +
2560x1440 60.00*+ 59.99 59.99 59.96 59.95
[..]
And DP-1-1 remains untouched:
DP-1-1 connected (normal left inverted right x axis y axis)
2560x1440 59.95
1920x1600 59.95 DP-1-2 connected (normal left inverted right x axis y axis)
[..]
I am currently at a loss on how to have the settings correctly applied using the standard Xorg configuration files. Am I missing something obvious?
xorg lenovo display-resolution
xorg lenovo display-resolution
asked Dec 11 at 14:36
Jonathan Tullett
11
11
add a comment |
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f1100062%2fmonitor-resolution-in-xorg-conf-applying-to-wrong-device%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2faskubuntu.com%2fquestions%2f1100062%2fmonitor-resolution-in-xorg-conf-applying-to-wrong-device%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
1Wh,6 X6,OTZkODX,vfuOZI8n0SMXm