From: Helge H. <hel...@ai...> - 2004-05-19 12:05:44
|
Petr Vandrovec wrote: >On 19 May 04 at 11:10, Svetoslav Slavtchev wrote: > > >>>I'm considering patching it so it'll boot up with separate outputs instead >>>of mirroring by default. This should ideally be a kernel command >>>line option, as the current default is useful for those with only one >>>screen. (But then, why get a G550 if you use one screen only . . .) >>> >>> >>Petr refused to help me on this issue, >>do you have idea how to patch it ? >> >> > >I have no idea what you are talking about... > >I sent you which values you should replace in the driver if you want >mapping which is incompatible with BIOS, with Windows drivers, with XFree >and with all singlehead configurations: Just replace output #1 source in the >matroxfb_g450.c::matroxfb_g450_connect with CRTC2 instead of using CRTC1, >and you are done. > >- ACCESS_FBINFO(outputs[1]).src = MATROXFB_SRC_CRTC1; >+ ACCESS_FBINFO(outputs[1]).src = MATROXFB_SRC_CRTC2; > > >But then do not complain that analog output described as PRIMARY in the >matrox documentation displays CRTC2 and not CRTC1 (i.e. it brokes >all analog singlehead configs and thus consider it vetoed for stock >kernel). > How about a kernel parameter solution? I.e. your current setup is the default, but someone who specifies matrox:twoscreens on the kernel command line (or module parameter) gets the first framebuffer displayed on the first output, _and_ the second framebuffer displayed on the second output. This would not upset compatibility with default configurations, and still allow booting with two independent screens for those who have them. (And two independent terminals, when ruby is in use also.) We don't need to alter the driver for everybody, merely making an option. How about it? Helge Hafting |