Hi Euan,
     Perhaps we are here working on the same thing as you.
     We are trying to get the PRGB signal from DC5, then through a VGA 
controller, we want to display the video on a PC monitor.
    We met the same problem. We didn't know exactly, but the configuration for 
video out in PRGB mode caused this. We tried 2 ways to overcome this:
-- In detectVideoStandard() function in main.c, ioctl(fd, FBIO_GETSTD, &std) 
will set std as PAL when we configure the video as PRGB. We commented this  and 
hard code the std as in NTSC mode.
-- We booted the board in NTSC video out mode as normal, and then configured 
the video out in PRGB mode in the application, this was done after ioctl(fd, 
FBIO_GETSTD, &std) was called, so didn't meet that problem. But we must reset 
the board to run application the next time.

Now, we meet this problem:
    -- We tried with OSD and video separately, both have the same problem with 
color.
    -- We tried to output the color bar in test mode and it seem OK.
    -- But, with OSD and video (2 separate experiments. In the 2nd experiment 
with video only, we tried to set the transparency of OSD to 0), there are many 
points in the displayed pictures appear in wrong color. I cannot describe 
exactly, please view this image:
http://s140.photobucket.com/albums/r25/viet_q_hoang/?action=view&current=OSD.jpg
http://s140.photobucket.com/albums/r25/viet_q_hoang/?action=view&current=Video.jpg

  Do you have any idea what is this problem and how to solve this? We asked TI 
but still didn't have an exactly answer.

Best regards,
Viet Hoang.

"Cochrane, Euan" <[EMAIL PROTECTED]> wrote: I appear to have solved this by 
using the bootarg [EMAIL PROTECTED],0 where 800x600 is the resolution and 0,0 
is the position. However now my app won't run because it's detecting PAL video 
standard but I'm using an NTSC camera, probably something going wrong in 
detectVideoStandard() as it was probably only meant to detect between PAL and 
NTSC displays rather than higher res displays.
Euan

-----Original Message-----
From: Cochrane, Euan [mailto:[EMAIL PROTECTED]
Sent: 23 November 2007 10:44
To: Davinci-Linux-Open-Source (E-mail)
Subject: davincifb davincifb.0: davincifb_check_var :within_vid0_limits
fa il. 


Hi, so I have now managed to get a digital output on DC5 but when I boot the 
board to use DC5 I get this error appearing during the boot sequence and when I 
try and run my app or any of the demos. My display setup is based on the 480p 
prgb config (included in the 1.20 drivers) that also causes the same problem. I 
can see the output on DC5 (with a scope I don't have anything attached yet) 
including syncs and data on the cout and yout pins but when I try and run my 
app it fails.
Anyone know how to fix this?
Thanks,
Euan 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


 Send instant messages to your online friends http://uk.messenger.yahoo.com 
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to