[Nouveau] TV Out question

Lukas Satin luke.satin at gmail.com
Fri Nov 4 17:05:11 UTC 2022


240p compatibility list of TVs:
https://static1.squarespace.com/static/51f517f0e4b01da70d01ca2a/t/5a2f36e953450aa1429361d9/1513043690556/240p-TVs_20171211.pdf

Source: https://www.hdretrovision.com/240p

On Fri, Nov 4, 2022 at 5:55 PM Lukas Satin <luke.satin at gmail.com> wrote:

> Hello, sorry fo the typos. Wanted to catch you before the weekend, to get
> some hints for upcoming work.
>
> I'm back at PC.
>
> Does your driver support switching to 240p in NTSC and 288p in PAL on the
> go via xrandr, for example?
>
> If not, can I find some relevant part of code in your repository where to
> implement that?
>
> Some info I found regarding 240p and that it is a part of NTSC:
> https://en.wikipedia.org/wiki/Low-definition_television
>
> TV with S-Video mostly supports 480i and 240p as well. So the current
> issue is outputting that via TV out.
>
> My current configuration looks like this:
> TV-1 connected 240x224+0+0 (normal left inverted right x axis y axis) 0mm
> x 0mm
>    720x480       59.94 +
>    1024x768      59.94
>    800x600       59.94
>    720x576       59.94
>    640x480       59.94
>    400x300       59.94
>    320x240       59.93
>    320x200       59.94
>    768x576       50.00
>    360x200       60.00
>    360x240       60.00
>    640x240       60.00
>    SR-1_240x224 at 60.10  60.10*
>
> I see I have created 240x224 (I need to fix that), but even 320x240 does
> not work. It always stays at 480i.
>
> I read somewhere that older GPU with TV out can do it. Only newer cards in
> Windows cannot do it.
>
> Thank you a lot,
> Lukas
>
>
>
> On Fri, Nov 4, 2022 at 5:43 PM Lukas Satin <luke.satin at gmail.com> wrote:
>
>> Yes I just figured it out an hour ago. It works same as hd480i.
>>
>> Win7 can switch pal and ntsc just by changing desktop tesolution. Wht
>> about here?
>>
>> TV with svideo or component rca supporr 480i and 240p by the spec.
>>
>> I hve added modelines for that. It works via dvi to vga to bnc to rca
>> wity 15khz kernel.
>>
>> How to modify ut driver to outtput 240p via tv out?
>>
>> Imvon phone sorry fot ttyoos
>>
>> On Fri 4. 11. 2022 at 17:35, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>>
>>> https://nouveau.freedesktop.org/KernelModuleParameters.html
>>>
>>> Perhaps nouveau.tv_norm=NTSC-M will help get you the 60hz modes? I
>>> haven't played with these options much at all, it has always sorta
>>> Just Worked for me.
>>>
>>> This should have the validation of new modes, make sure you don't run
>>> afoul of this:
>>>
>>>
>>> https://cgit.freedesktop.org/drm/drm/tree/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c#n303
>>>
>>> Cheers,
>>>
>>>   -ilia
>>>
>>> On Thu, Nov 3, 2022 at 10:56 PM Lukas Satin <luke.satin at gmail.com>
>>> wrote:
>>> >
>>> > Hi, I am currently testing Batocera Linux for retrogaming with 15KHz
>>> output on CRT / TV.
>>> >
>>> > The machine I discovered is a certified Windows Media Center / Intel
>>> ViiV machine: Acer iDEA 510
>>> >
>>> > It features:
>>> > RCA component output
>>> > S-Video CVBS output
>>> > S-Video DIN output
>>> > Scart IN / Scart OUT (two DVB-T tuners for realtime playback and
>>> recording)
>>> > DVI-I out
>>> > HDMI out
>>> >
>>> > Laptop style components, MXM module Geforce 7 Go 7600 (NVIDIA Curie).
>>> >
>>> > Now, BIOS default output via RCA component is 640x480 NTSC (480i,
>>> 60Hz). In Windows I can switch between NTSC and PAL (480i or 576i).
>>> >
>>> > As this is EU machine, after BIOS it often defaults to 576i PAL,
>>> unless set otherwise.
>>> >
>>> > Now your nouveau driver therefore defaults to 576i.
>>> >
>>> > Xrandr looks like this:
>>> > TV-1 connected 640x480+0+0 (normal left inverted right x axis y axis)
>>> 0mm x 0mm
>>> >    720x576       50.00 +
>>> >    1024x768      50.00
>>> >    800x600       50.00
>>> >    720x480       50.00
>>> >    640x480       50.00*
>>> >    400x300       50.00
>>> >    320x240       50.00
>>> >    320x200       50.00
>>> >    768x576       50.00
>>> >    360x200       60.00
>>> >    360x240       60.00
>>> >    640x240       60.00
>>> >
>>> > I tried to add some additional modelines. But look at 640x480. It
>>> forces 50Hz and I am unable to remove it, create new or change it to 60Hz.
>>> Therefore the TV is always set to 576i and screen output is 640x480,
>>> therefore it looks like GPU scaled. First I read your troubleshooting which
>>> mentions scaling, so I tried to disable scaling. Did not help.
>>> >
>>> > Now I read about this:
>>> >
>>> https://nvidia.custhelp.com/app/answers/detail/a_id/177/~/linux---configuring-tv-out
>>> >
>>> > And this might be the solution and issue. It would correspond with
>>> what can be observed in Windows 7.
>>> >
>>> > Does your driver have some options for configuring TV Out and name
>>> switching from PAL to NTSC or HD480i mode? It should be automatic based on
>>> 480i or 576i or 240p or 288p, but it is not.
>>> >
>>> > Thanks,
>>> > Lukas
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20221104/7c8e8a62/attachment.htm>


More information about the Nouveau mailing list