* Changing the screen resolution permanently
@ 2015-09-18 17:07 Engin FIRAT
2015-09-18 18:38 ` Felix Miata
0 siblings, 1 reply; 2+ messages in thread
From: Engin FIRAT @ 2015-09-18 17:07 UTC (permalink / raw)
To: intel-gfx
[-- Attachment #1.1: Type: text/plain, Size: 1011 bytes --]
Hello all,
In my system there are two monitors and these monitors are fed by mirrored
displays. To get such a configuration I have created a script that
dynamically adjusts the system by using xrandr. The script is attached as
changeres.sh. Everything works well. However I've note that the system
startup time is increased by ~15 seconds and I do not want such a case. To
handle this problem, I think that I need to adjust the screen resolution
permanently with a xorg.conf file. However I cannot create one that adjusts
the monitors as expected. xorg.conf file is also attached to this post.
Details of the system:
Processor: Intel Atom E3845
OS: Lubuntu 14.04.1
Driver: Installed via intel-graphics-installer 1.0.7
I have tried to create a xorg.conf file with the command X -configure,
however the created file is for only one monitors since the system uses
only the first monitor at its default configuration (ie. no xrandr setting)
Could you please help me to create a correct xorg.conf file.
Regards.
[-- Attachment #1.2: Type: text/html, Size: 1173 bytes --]
[-- Attachment #2: xorg.conf --]
[-- Type: application/octet-stream, Size: 2294 bytes --]
Section "Device"
Identifier "Intel 945G "
Driver "intel"
# Using the name of the output defined by the video driver plus the identifier of a
# monitor section, one associates a monitor section with an output by adding an
# option to the Device section in the following format:
# Option "Monitor-outputname" "monitor ID"
Option "monitor-VGA1" "Commander"
Option "monitor-HDMI1" "Operator"
#Option "monitor-TMDS-1" "dvi"
EndSection
Section "Monitor"
Identifier "Commander"
Modeline "1280x1024x60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066
# specifies a mode to be marked as the preferred initial mode of the monitor
Option "PreferredMode" "1280x1024"
# This optional entry specifies the position of the monitor within the X screen.
Option "Position" "0 0"
#This optional entry specifies that the monitor should be ignored
# entirely, and not reported through RandR. This is useful if the
# hardware reports the presence of outputs that do not exist.
#Option "Ignore" "true"
EndSection
Section "Monitor"
Identifier "Operator"
Modeline "1280x1024x60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066
#Options LeftOf, RightOf, Above, Below specify monitors' relative position
Option "PreferredMode" "1280x1024"
Option "Position" "0 0"
# This optional entry specifies whether the monitor should be
# turned on at startup. By default, the server will attempt to
# enable all connected monitors.
#Option "Enable" "true"
#This optional entry specifies the initial rotation of the given monitor.
# Valid values for rotation are "normal", "left", "right", and "inverted".
# Option "Rotate" "left"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 945G Integrated Graphics Controller"
Monitor "Operator"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
[-- Attachment #3: changeres.sh --]
[-- Type: application/x-sh, Size: 229 bytes --]
[-- Attachment #4: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Changing the screen resolution permanently
2015-09-18 17:07 Changing the screen resolution permanently Engin FIRAT
@ 2015-09-18 18:38 ` Felix Miata
0 siblings, 0 replies; 2+ messages in thread
From: Felix Miata @ 2015-09-18 18:38 UTC (permalink / raw)
To: intel-gfx
Engin FIRAT composed on 2015-09-18 20:07 (UTC+0300):
> In my system there are two monitors and these monitors are fed by mirrored
> displays. To get such a configuration I have created a script that
> dynamically adjusts the system by using xrandr. The script is attached as
> changeres.sh. Everything works well. However I've note that the system
> startup time is increased by ~15 seconds and I do not want such a case. To
> handle this problem, I think that I need to adjust the screen resolution
> permanently with a xorg.conf file. However I cannot create one that adjusts
> the monitors as expected. xorg.conf file is also attached to this post.
> Details of the system:
> Processor: Intel Atom E3845
> OS: Lubuntu 14.04.1
> Driver: Installed via intel-graphics-installer 1.0.7
> I have tried to create a xorg.conf file with the command X -configure,
> however the created file is for only one monitors since the system uses
> only the first monitor at its default configuration (ie. no xrandr setting)
> Could you please help me to create a correct xorg.conf file.
See if this provides enough skeleton to get you going.
http://fm.no-ip.com/Share/Linux/xorg.conf-inteldual03
Note that for your needs, each Section "Monitor" in it is overkill. It should
be sufficient to include in each only an identifier and a position option.
For 1280x1024 displays, everything else should either be unnecessary, or
auto-generate via EDID.
Note too that it intentionally contains no modelines. At least 99.9999% of
the time, the system is smart enough to auto-generate whatever modeline is
applicable to the appropriate mode, so don't waste your time looking for or
including any modelines unless your Commander and Operator 1280x1024 displays
have already proven themselves incapable of allowing appropriate auto-generation.
Note that Kubuntu has a built-in utility called kscreen that autostarts
unless you explicitly override it. Were you to add KDE to your Lubuntu, you
might find Kscreen overriding your custom configuration:
https://bugs.kde.org/show_bug.cgi?id=317929
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-18 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-18 17:07 Changing the screen resolution permanently Engin FIRAT
2015-09-18 18:38 ` Felix Miata
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox