GP2X Getting Proper Tv-out Resolution With No Scaling At All


I'm using a Dell 2001FP LCD display, so not quite a TV, but it does have direct s-video input and can sync to either NTSC or PAL. I also don't have a camera handy so I'll try to describe thoroughly...

For NTSC:

The left 3 columns are duplicated on the right side and there is extra black space on the top and left. There do not appear to be any pixels *missing* this time though. The pixel aspect ratio is close to or exactly square.

If I use the display centering, the whole image jumps the first time and then moves as expected. The total visible area looks like it's about 10 pixels wider than the screen, with the extra copied on the right and blanked on the left. (And this full "330x" width does look perfectly centered.)

QUOTE
PS: And yes I know the image repeats on the right side!

Ok, but I'm telling you anyway for completeness. :)


For PAL:

The pixel aspect ratio is pretty close to square, but the text at the top and bottom is completely cut off. There's about 1 pixel of the black background visible at the bottom. Black borders seem about even vertically, but the image goes all the way to the right side of the screen with a health black border on the left.

With the position adjustment, I can see that the visible area vertically is exactly the distance between the black backgrounds on the text at the top and bottom. The visible area covers the entire width of the display and the image looks perfectly centered with 5 duplicate pixels visible on the right, suggesting that 10 extra horizontal pixels are visible here as well. (of course, if there are any more, I wouldn't see them) Vertical black borders can't be adjusted at all, it just changed what part of the image is cut off.
 
I just tried it out on a 720p Sony LCD TV. PAL (1-3) mode seems slightly flattened and NTSC (4-6) mode seems to cut off about four or five pixels at top and bottom, none of which I really mind. Both of them look a damn sight better than the original TV-out.

Sorry about the sizes of the images.

http://www.magnulus.com/tater/gp2x/1.jpg
http://www.magnulus.com/tater/gp2x/2.jpg
http://www.magnulus.com/tater/gp2x/3.jpg
http://www.magnulus.com/tater/gp2x/4.jpg
http://www.magnulus.com/tater/gp2x/5.jpg
http://www.magnulus.com/tater/gp2x/6.jpg

It's great to see that someone is working on this, but I must say I'm surprised at the amount of work it entails. I would have thought that it would be enough to simply make the program produce a PAL or NTSC size image with whatever goes beyond 640x480 as black (or even some kind of image file) borders kinda like what it looked like to play Gameboy games on a Super Nintendo with the Super Gameboy addon, but then again, I know nothing of these things...
 
I have tried it on my Sony Trinitron. PAL & NTSC looks fine. Here some photos:

PAL:

NTSC:


Good work, rlyeh.
 
My contribution:

This test has benn runned via my Mac tv capture gadget.
The overscan is set to No ,so no borders at all has been cut.

We can see that the picture is displayed a second time on the right part of the screen.
Still some scaling artefact, but the quality is much more better than the regular TV out system.

Thanks for your hard work :)
Image%207.png

Image%208.png

Image%209.png



Image%2010.png

Image%2011.png

Image%2012.png
 
I am still checking each day in case any updates are posted! This will be sweet when it is done!

The image repeating on the side as per above pic is what I was getting too - and a gap on the other side - again as per pic above.
 
Actually, i'm not sure I need the tv out option from this project; I made my PSone screen able to take s-video; tested some games (inc MAME) on the GP2x in tv out mode, all works great, images are nice (matt though, not nice and shiny as on the GP2x screen of course) and seemed proportioned fine. The PSone screen is 640x480 so that might be why all seems absolutely fine.

I did change the capacitor on the chroma line from 220pf to 470pf, that removed remaining flicker and improved picture image nicely.

Wiring directly in this way is better than using the s-video to composite adapter, it turned out that one of my adapters looks crap on the tv and the other is good but has a long cable. The cable is now as short as I need it to be.

Anyway, please keep this project updated rlyeh, if you manage to complete the project I will incorporate it into my project, but at least it isn't a "deal closer" I thought it was before.

Good luck. Any updates? Been a bit quiet here for a while....
 
Hi rlyeh,

I'm involved with my gp2x in a cutural event next week end, I'd love to have a high quality PAL TV-out from my GP2X homebrew.

What about a bounty?
Would some money could motivate you continue your work and help me incorporate it into my software before the end of next week?
 
Back
Top