Hi,
 
The problem is the buffer sizes - you are setting the mode to NTSC but are 
using PAL size buffers.
 
If you change the sizes to 720x480 in the bootargs it should work.
 
With the older kernel this did not cause a problem, however with the 'unified' 
kernel it matters. At least that is what we have found ;-)
 
Regards
 
Phil Q
 
Phil Quiney, Senior Software Engineer
Trinity Convergence
Cambridge Business Park
Cowley Road
Cambridge CB4 0WZ, UK
T: +44(0)1223-435536
F: +44(0)1223-435560
www.trinityconvergence.com <http://www.trinityconvergence.com/> 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ketan deshpande
Sent: 30 September 2008 10:27
To: Linux DaVinci
Subject: EVMDM6446 and dvsdk_1_30_00_40


Hello Everybody,

I am following the sprue66d.pdf for using the DVEVM with DVSDK_1_30_00_40

 But it fails saying 
*******************************************************************************
Encodedecode demo started.
Encodedecode Error: Failed FBIOPUT_VSCREENINFO on /dev/fb/3 (Invalid argument)
Encodedecode Error: Failed ioctl FBIOPUT_VSCREENINFO on /dev/fb/0
Capturing 720x480 video (cropped to 720x480)

Total I-frames: 0, P-frames: 0, B-frames: 0, IDR-frames: 0 rejected: 0
*******************************************************************************
on further investigation we found that kernel itself was having some issues 
opening the video port.

following is the part of dmesg; 
*******************************************************************************
Registering platform device 'davincifb.0'. Parent at platform
davincifb davincifb.0: dm_osd0_fb: [EMAIL PROTECTED],0 with framebuffer size 
675KB
davincifb davincifb.0: dm_vid0_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_vid0_fb: [EMAIL PROTECTED],0 with framebuffer size 
2500KB
davincifb davincifb.0: dm_osd1_fb: [EMAIL PROTECTED],0 with framebuffer size 
675KB
davincifb davincifb.0: dm_vid1_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_vid1_fb: [EMAIL PROTECTED],0 with framebuffer size 
1020KB
watchdog: TI DaVinci Watchdog Timer: timer margin 64 sec
Registering platform device 'davinci_resizer.2'. Parent at platform
Registering platform device 'davinci_previewer.2'. Parent at platform

Linux video capture interface: v1.00
Registering platform device 'vpfe.1'. Parent at platform
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
DaVinci I2C WARNING: i2c: NACK detected
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
Registering platform device 'DavinciDisplay.1'. Parent at platform
Trying to register davinci display video device.
layer=c73dfc00,layer->video_dev=c73dfd64
Trying to register davinci display video device.
layer=c73dfa00,layer->video_dev=c73dfb64
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

 Davici AEW Driver cannot be loaded
 VIDEO PORT is not enabledData Flow path from CCDC is disabled

 Davinci AF driver cannot be loaded
 VIDEO PORT is not enabled 
 CCDC needs to be configured<6>Uniform Multi-Platform E-IDE driver Revision: 
7.00alpha2
*******************************************************************************

following is my bootarg

Kernel command line: console=ttyS0,115200n8 noinitrd rw root=/dev/nfs 
nfsroot=142.102.22.174:/home/ketan/workdir/filesys,nolock mem=116M 
ip=142.102.22.85:142.102.22.174:142.102.22.39:255.255.254.0:dm6446evm::off 
dm9000eth=mac:00.0e.99.02.5b.71 
video=davincifb:vid0=720x576x16,2500K:vid1=720x576x16, 
2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE 
davinci_enc_mngr.ch0_mode=ntsc

Has anybody else observed the same issue? Any idea how to resolve that?

regards,
-Ketan


________________________________

Be the first one to try the new Messenger 9 Beta! Click here. 
<http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/win/>
 
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to