From: Helge H. <hel...@ai...> - 2004-05-21 10:16:37
|
Petr Vandrovec wrote: >On 19 May 04 at 13:40, Svetoslav Slavtchev wrote: > > >>>On 19 May 04 at 13:16, Svetoslav Slavtchev wrote: >>> >>> >>>>and it would be nicer to not need matroxset in order >>>>to get two independant fbcon on G550 >>>> >>>> >>>It would need sensing card outputs to find which outputs have connected >>>monitor and which do not, and as there is no doc... >>> >>> >>> >>isn't it possible to simply assume that both outputs >>have connected monitors ? >>or does the driver need to retrive monitor data, >>in order to setup properly ? >> >> > >Problem is that "analog" (HD15) output on G550 is actually >secondary output. So you have to do: > >nothing on DVI/nothing on HD15: anything -> primary output, > anything -> secondary output, > anything -> DVI output, >nothing on DVI/monitor on HD15: anything -> primary output, > CRTC1 -> secondary output, > anything -> DVI output, >analog monitor on DVI/nothing on HD15: CRTC1 -> primary output, > anything -> secondary output, > anything -> DVI output, >digital monitor on DVI/nothing on HD15:anything -> primary output, > anything -> secondary output, > CRTC1 -> DVI output, >analog monitor on DVI/monitor on HD15: CRTC1 -> primary output > CRTC2 -> secondary output > anything -> DVI output, >digital monitor on DVI/monitor on HD15:anything -> primary output, > CRTC2 -> secondary output, > CRTC1 -> DVI output, > > >As you can see, you can put CRTC2 to the secondary output only if >monitors are connected to both outputs (or at least if primary output >has monitor connected). If you'll put CRTC2 on secondary output >unconditionally, you do not support (only) analog monitor connected >to analog G550 output... > >Moreover, user may want CRTC2 on primary output and CRTC1 on secondary >(if his first monitor is analog one). And you cannot make this >config default too, as it would not work with TV-Out: user would >have primary display on TV then, and it is probably not what user >had in the mind. > >So I still think that CRTC1 on all three outputs is configuration >which satisfies most of the users. > Petr Vandrovec > > > Thank you for explaining this. I agree that CRTC1 everywhere is a good default. Still, it'd be nice to have an option (specified on the kernel command line or the module.conf file) that allows overriding this. Something like matrox:outputs:xyz x, y, and z can be 1, 2 or 0, in order to connect CRTC1, CRTC2 or nothing. The first position(x) then correspond to the primary output, the second(y) the secondary output, and the third(z) DVI. The default then, when not sepcified, would be matrox:outputs:111 which is your default with CRTC1 everywhere. I have my primary analog monitor on the analog output (this is the one output the BIOS uses) which you call secondary. My other analog monitor is connected to the DVI plug using the DVI->VGA converter supplied with the card. I guess my setup then, would be matrox:outputs:012 to get CRTC1 on the secondary and CRTC2 on the DVI. (or possibly matrox:outputs:210 if the stuff I get from that converter really is the primary out, rather than DVI out converted to analog. I don't know how this converter works.) Are you interested in supporting such an option? I can try to make a patch myself if you aren't interested in developing it yourself. Helge Hafting |