public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* 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

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