Re: [PATCH] drm/mgag200: Increase bandwidth for G200se A rev1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas, Jocelyn,

As a result of the collection of the Xorg logs requested by Thomas, I've
realised that at some long-past point upgrade the 1440x900@60 mode
disappeared, and in order to get it back I introduced the file
/etc/X11/xorg.conf.d/20-screen.conf attached.

If I remove this file, then with the unmodified new mgag200 module in
place, on going to Settings->Display I am no longer even offered the
1440x900 option - presumably as a result of
mgag200_mode_config_mode_valid returning MODE_BAD.

With this file in place, and with the unmodified new mgag200 module in
place, I am offered this setting, but if I pick it then it is not used
but *is* written into ~/.config/monitors.xml, and then on next login
graphics fail completely.

Hypothesis: there are two different places in the code where mode_valid
is potentially checked, both of which use the mgag200 module, and the
old module only does this check at one of them (deciding which modes to
offer) (which check is bypassed for modes requested in xorg.conf.d),
while the new module does it at both (and hence fails invalid modes
requested in xorg.conf.d) ??

Looking for possible reasons why this might be the case (and straying
way beyond my competence), I note that in the old module
mga_vga_mode_valid is made known to other parts of the system in a
different way than mgag200_mode_config_mode_valid is in the new module
(and indeed they have different parameter types). (Might this be
relevant ?)

Best wishes,
Roger.


Section "Monitor"
        Identifier      "My monitor"
        Modeline "1440x900" 106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync
        Modeline "1280x800"  83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync
        Modeline "1280x720"  74.44  1280 1336 1472 1664  720 721 724 746 -hsync +vsync
EndSection
Section "Screen"
	Identifier	"Builtin Default mga Screen 0"
	Device	"Builtin Default Device 0"
        Monitor "My monitor"
        SubSection "Display"
             Virtual 1440 900
             Modes "1440x900"
        EndSubSection
EndSection
Section "ServerLayout"
	Identifier	"Builtin Default Layout"
	Screen	"Builtin Default mga Screen 0"
EndSection

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux