Hi, Well spotted on the 'space' char in the bootargs.... I have tried some experiments booting a DM355 running the 'unified' kernel If I set PAL sized buffers (via davincifb=...) but set encoder=ntsc, the framebuffer does not work even though the PAL buffers are larger than required for NTSC. From a user perspective the display appears to be 'dead'. However, using 'fbset', the frame buffer can be resized after bootup (I assume this is only true if the buffers allocated are bigger than what you are trying to set - so PAL->NTSC->VGA is fine but not the other way round). If resized to the 'encoder' size, the framebuffer then works. For PAL sized buffers (720x576) on an encoder=ntsc screen, it could be made to work by doing fbset -fb /dev/fb/0 -yres 480 -vyres 480 Also, the frame buffer can be reduced to display VGA images on the NTSC screen fbset -fb /dev/fb/0 -xres 640 -vxres 640 If somebody could come up with a way of centering the VGA display it would look better - I tried all the likely looking 'fbset' options but without success. 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: Karicheri, Muralidharan [mailto:[EMAIL PROTECTED] Sent: 30 September 2008 17:14 To: Phil Quiney; ketan deshpande; Linux DaVinci Subject: RE: EVMDM6446 and dvsdk_1_30_00_40 Phil, In the kernel bootargs, you always allocate maximum buffers and resolutions. But in FBIOPUT_VSCREENINFO, you can override with NTSC or any other resolution related parameters as long as we have enough buffers allocated for the resolution . The problem that Ketan has is because of incorrect bootargs. See my email for details. Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 Phone : 301-515-3736 email: [EMAIL PROTECTED] ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Quiney Sent: Tuesday, September 30, 2008 5:40 AM To: ketan deshpande; Linux DaVinci Subject: RE: EVMDM6446 and dvsdk_1_30_00_40 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 [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
