[ltp] Radeon TV-Out

Alex Deucher linux-thinkpad@linux-thinkpad.org
Fri, 21 Sep 2007 09:09:40 -0400


Thanks!  I'll take a look this weekend.

Alex

On 9/20/07, Markus Rathgeb <maggu2810@gentooforum.de> wrote:
> Hi!
> I do not know, if i should a forum or eMail or an instant messenger.
> So I hope eMail is okay. And please excuse my bad english...
>
> You have written:
> ===============
> If you can't get tv-out working with my driver, could you grab
> airled's radeontool
> (http://gitweb.freedesktop.org/?p=users/airlied/radeontool.git;a=summary)
> and run (as root):
>  ./radeontool regmatch '*' > xorg_tvout.log
> after enabing tv-out in the driver and then
>  ./radeontool regmatch '*' > bios_tvout.log
> after enabling tv-out using atitvout.
> ===============
>
> Tv-out works, but the ouput on tv is interfered (workaround see below).
> I have to start "atitvout -f t; atitvout -f l" in a console for one-time and
> then the result is how it should be (I have always to use the -f option).
>
>
> I have a few logs for you attached, commented here:
>
> When the tv is not connected to my laptop at boot time (bios initialisation?)
> I cannot use atitvout (vbe ... failed ...).
> After I read your tip with the regmatch option of the radeontool, I played a
> little bit and find out, that I can use 'atitvout -f t' also when the tv is
> not connected to the laptop at boot time.
> I have just to do the following:
> radeontool regset BIOS_4_SCRATCH 0x01000024
> Then 'atitvout -f t' works fine.
>
> So, now a few things I prepared:
>
> =============================================
> 01. start the laptop with connected to tv (output only on LVDS)
>
> 02. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected/01._console_TV_connected_at_startup
>
> 03. atitvout -f t (output only on S-video)
>
> 04. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected/02._console_after_atitvout_-f_t
>
> 05. atitvout -f l (output only on LVDS)
>
> 06. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected/03._console_after_atitvout_-f_l
>
> 07. start a Xsession with tv still connected (ouput on tv is working)
>
> 08. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected/04._start_x_TV_connected_all_okay
> (in X)
> =============================================
>
> =============================================
> 01. start the laptop with connected to tv (output only on LVDS)
>
> 02. radeontool regmatch '*' > ./pc_booted_with_tv_connected__02/01._console
>
> 03. start a Xsession (with connected TV) - the output on the tv is interfered
>
> 04. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected__02/02._start_x_TV_connected_interfered
>
> 05. switch to console (X is still running)
>
> 06. atitvout -f t (output only on tv)
>
> 07. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected__02/03._switch_to_console_atitvout_-f_t
>
> 08. atitvout -f l (output ony on lvds)
>
> 09. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected__02/04._console_atitvout_-f_l
>
> 10. switch back to X (now the output is fine)
>
> 11. radeontool regmatch '*'
> > ./pc_booted_with_tv_connected__02/05._switch_to_x__all_okay
> =============================================
>
> =============================================
> 01. start the laptop with no connected tv
>
> 02. connect the cable after a clean linux boot
>
> 03. radeontool regmatch '*'
> > ./pc_booted_with_tv_disconnected/01._console_now_cable_is_plugged_in
> =============================================
>
> So, I hope you can do something with this informations.
> It would be great, if i have not to use the workaround
>
> radeontool regset BIOS_4_SCRATCH 0x01000024
> atitvout -f t; atitvout -f l
>
> Thanks in advice,
> Markus
>
> --
>
> Markus Rathgeb
> Jabber: maggu2810@jabber.org
> Public Key Server: http://wwwkeys.us.pgp.net/ bzw. hkp://wwwkeys.us.pgp.net/
>
>