Thank you for letting me know.
But the result was a failure.
HDMI is 4K, DP is 4K
This is my “xorg.conf”.
Section “Module”
Disable “dri”
SubSection “extmod”
Option “omit xfree86-dga”
EndSubSection
End Section
Section “Device”
Identifier “Tegra0”
Driver “nvidia”
Option “AllowEmptyInitialConfiguration” “true”
End Section
I added the lines.
Section “Screen”
Identifier “Screen0”
Device “Tegra0”
Monitor “Monitor0”
SubSection “Display”
Viewport 0 0
Modes “1920x1080”
Depth 24
Virtual 1920 1080
EndSubSection
EndSection
When only HDMI is connected, the resolution is “1920x1080”.
The result was OK.
But when I also connect DP too, both HDMI and DP are 4k.
And I type from the console as follows …
export DISPLAY=:0
xrandr
I got error.
Can’t open display :0
I’m in trouble.
Next, I rewrote xorg.conf as follows.
What I expect is an HDMI resolution of 1920x1080 and a DP resolution of 1280x1024.
Section “Device”
Identifier “Tegra0”
Driver “nvidia”
Option “AllowEmptyInitialConfiguration” “true”
Option “MetaModes” “1920x1080-1280x1024”
Screen 0
EndSection
Section “Device”
Identifier “Tegra1”
Driver “nvidia”
Option “AllowEmptyInitialConfiguration” “true”
Screen 1
EndSection
Section “Monitor”
Identifier “Monitor0”
EndSection
Section “Monitor”
Identifier “Monitor1”
EndSection
Section “Screen”
Identifier “Screen0”
Device “Tegra0”
Monitor “Monitor0”
SubSection “Display”
Viewport 0 0
Modes “1920x1080”
Depth 24
Virtual 1920 1080
EndSubSection
EndSection
Section “Screen”
Identifier “Screen1”
Device “Tegra1”
Monitor “Monitor1”
SubSection “Display”
Viewport 0 0
Modes “1280x1024”
Depth 24
Virtual 1280 1024
EndSubSection
EndSection
Then both became 1920x1080 this time.
Is it impossible to set only with config or xml?