Thanks for clearing this up. Is the way the atitvout too (which is GPL by the way) enables / disables connections, with vbe calls I believe,  on this mach64 card really that different from how a radeon driver does it ? Anyway I am just curious and I don't know a lot about this.

Thanks for your reply,
Edwin

On Dec 16, 2007 1:35 AM, Alex Deucher <alexdeucher@gmail.com> wrote:
On Dec 14, 2007 5:17 PM, Edwin de Caluwť <edwindecaluwe@gmail.com> wrote:
> I am not sure if this is an appropriate place to ask, but I hope so.
>
> On an old machine of mine I recently tried to enable Tv Out.
>
> The graphics cars is an Ati Rage Mobility P/M (Mach 64).
>
> The dri wiki
> ( http://dri.freedesktop.org/wiki/ATI)
> mentions that the old GATOS project for tv out is incorporated into the
> X.org drivers. A long time ago I had once used this same GATOS to get the TV
> out working in linux.
>
> http://www.x.org/wiki/radeonTV
> Describes that the minimum driver version required is 6.7.191. I am running
> 6.7.195 shipped with Ubuntu 7.10. This should be sufficient.
>
> Futhermore randr 1.2 is required. This is also the version I am running.
>
> I tried to enable tvout using xrandr. However xrandr does not recognize the
> attached S-video connector. According to the wiki this should work but it
> does not.
>
> I managed to work around this with the (very old) atitvout utility to
> enable/disable lcd,crt and tv connections. This works, however even when tv
> out is enabled using atitvout, randr still does not recognize the
> connection.
>
> Is this a known problem in randr + x.org driver? How can i get tv out and
> secondary display working with randr ?

The Rage Mobility P/M is mach64 based.  Only the radeon driver has
xrandr 1.2 support.  The "ati" driver is actually just a wrapper that
loads the appropriate real driver depending on what card is detected:
ati_misc, r128, or radeon.  GATOS only supported TV-out on radeon chip
as well.  for your chip you can try the following options to enable
tv-out, but YMMV.
Option "tv_out" "true"
Option "tv_standard" "NTSC" or "PAL", etc.

Alex