<div dir="ltr">Switch to 360x240 works, but it is only scaled to 640x480.<div><br></div><div>I read that it should be possible to set particular TV chipset registers and there's nvtv utility for that: <a href="https://manpages.ubuntu.com/manpages/focal/man1/nvtv.1x.html">https://manpages.ubuntu.com/manpages/focal/man1/nvtv.1x.html</a></div><div><br></div><div>I guess it will work only with nvidia driver, which in NV40 case is legacy 304 series, which means compiling custom kernel and patching it on Ubuntu 18: <a href="http://blog.schmorp.de/2019-08-03-nvidia-legacy-304-patch-for-post-50-linux-kernels.html">http://blog.schmorp.de/2019-08-03-nvidia-legacy-304-patch-for-post-50-linux-kernels.html</a></div><div><br></div><div>It would be great if your nuvo can set these tv chipset registers as well.</div><div><br></div><div>I collect retro hardware and I'm retrogamer (born 1987). There are significant costs, most retrogamers buy 500 Eur video converter because they want to output 240p TV resolution.</div><div><br></div><div>Currently only Calamity's CRT EmuDriver works and that one is for AMD GPU's only.</div><div><br></div><div>For NVIDIA you need Linux kernel with 15Khz fix (which I have): <a href="https://github.com/D0023R/linux_kernel_15khz">https://github.com/D0023R/linux_kernel_15khz</a> and then you can output 15khz 240P over VGA, DVI-I or even HDMI. Then you apply some kind of adapter, for example HDMI to VGA or DVI to VGA. Then you can use VGA to BNC cable and use BNC directly in TV or you can buy RCA BNC connector and go from HDMI to RCA and it will output directly 240p using custom made modelines and enabling either custom unsigned AMD driver or having Linux kernel with 15khz patch.</div><div><br></div><div>Controlling TV out chipset directly would be the next level and it would be great if it could be achieved.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 4, 2022 at 6:29 PM Lukas Satin <<a href="mailto:luke.satin@gmail.com">luke.satin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Yes, switching to 360x240 works! Interesting...it is definitely a step forward while still not satisfying result.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 4, 2022 at 6:13 PM Lukas Satin <<a href="mailto:luke.satin@gmail.com" target="_blank">luke.satin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">1) Some people here say: "
<span style="color:rgb(28,28,28);font-family:"Noto Sans",Arial,sans-serif;font-size:14px">Scrap everything already stated. The old Nvidia cards with the mini DIN analog video out can ONLY do 480i output. 240p is not an option."</span><div><br></div><div><div>Source: <a href="https://www.reddit.com/r/crtgaming/comments/a9k85n/old_nvidia_geforce_output_240p/" target="_blank">https://www.reddit.com/r/crtgaming/comments/a9k85n/old_nvidia_geforce_output_240p/</a><br></div></div><div><br></div><div>But I guess that is due to using Windows and NVIDIA driver.</div><div><br></div><div>2) Here: <a href="https://www.reddit.com/r/retrogaming/comments/40dv00/240p_signal_from_svideo_port_on_old_video_card/" target="_blank">https://www.reddit.com/r/retrogaming/comments/40dv00/240p_signal_from_svideo_port_on_old_video_card/</a></div><div>someone says: "<span style="color:rgb(28,28,28);font-family:"Noto Sans",Arial,sans-serif;font-size:14px">240p doesn't actually exist, it's really a trick that uses a non-standard 480i signal to cause the alternating fields line up the scanlines instead of offsetting them.</span><span style="color:rgb(28,28,28);font-family:"Noto Sans",Arial,sans-serif;font-size:14px"> "</span></div><div><span style="color:rgb(28,28,28);font-family:"Noto Sans",Arial,sans-serif;font-size:14px"><br></span></div><div><span style="color:rgb(28,28,28);font-family:"Noto Sans",Arial,sans-serif;font-size:14px">So I guess it could be done by sending non-standard 480i signal. </span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 4, 2022 at 6:06 PM Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu" target="_blank">imirkin@alum.mit.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, Nov 4, 2022 at 12:56 PM Lukas Satin <<a href="mailto:luke.satin@gmail.com" target="_blank">luke.satin@gmail.com</a>> wrote:<br>
><br>
> Hello, sorry fo the typos. Wanted to catch you before the weekend, to get some hints for upcoming work.<br>
><br>
> I'm back at PC.<br>
><br>
> Does your driver support switching to 240p in NTSC and 288p in PAL on the go via xrandr, for example?<br>
><br>
> If not, can I find some relevant part of code in your repository where to implement that?<br>
<br>
<a href="https://cgit.freedesktop.org/drm/drm/tree/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/drm/drm/tree/drivers/gpu/drm/nouveau/dispnv04/tvnv17.c</a><br>
+ tvmodesnv17.c<br>
<br>
There's definitely a lot of hard-coding going on. A lot of the<br>
pre-nv50 display code is from This code is (likely) originally from<br>
<a href="https://cgit.freedesktop.org/xorg/driver/xf86-video-nv/tree/src" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/xorg/driver/xf86-video-nv/tree/src</a> but I<br>
can't immediately find the TV code in there. But perhaps it's there<br>
anyways, I only spent about 30s looking for it.<br>
<br>
I don't remember by now, but there _might_ be a kms property (which<br>
should get piped through to xrandr properties) which allows you to<br>
change this live?<br>
<br>
> Some info I found regarding 240p and that it is a part of NTSC: <a href="https://en.wikipedia.org/wiki/Low-definition_television" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Low-definition_television</a><br>
><br>
> TV with S-Video mostly supports 480i and 240p as well. So the current issue is outputting that via TV out.<br>
><br>
> My current configuration looks like this:<br>
> TV-1 connected 240x224+0+0 (normal left inverted right x axis y axis) 0mm x 0mm<br>
> 720x480 59.94 +<br>
> 1024x768 59.94<br>
> 800x600 59.94<br>
> 720x576 59.94<br>
> 640x480 59.94<br>
> 400x300 59.94<br>
> 320x240 59.93<br>
> 320x200 59.94<br>
> 768x576 50.00<br>
> 360x200 60.00<br>
> 360x240 60.00<br>
> 640x240 60.00<br>
> SR-1_240x224@60.10 60.10*<br>
><br>
> I see I have created 240x224 (I need to fix that), but even 320x240 does not work. It always stays at 480i.<br>
<br>
Did you try 360x240? I have no idea though, sorry. I was just happy<br>
when the S-Video worked at all. It could require further modifications<br>
to how we configure those registers.<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>