This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI FB driver issues

Hello,

I have rebuilt the DVEVM software, and loaded it on my DM355 EVM board through NFS. When I attempt to run the encodedecode demo (after loading modules) I get the following error

Encodedecode demo started.
Encodedecode Error: Failed to get the requested screen size: 720x480 at 16 bpp
Capturing 720x480 video (cropped to 720x480)

Total I-frames: 0, P-frames: 0, B-frames: 0, IDR-frames: 0 rejected: 0

After debugging a  bit more I noticed that this command

ioctl(fd, FBIOPUT_VSCREENINFO, &varInfo)

is zeroing (setting values to zero) for varInfo.xres and varInfo.yres but not varInfo.bits_per_pixel. I could not understand why.

Note: Using default boot args i.e. preloaded demos work fine with no errors, but after rebuilding and running through NFS i get the above errors.

Thanks

  • These are my bootargs btw

    setenv nfshost 192.168.196.156

    setenv rootpath /home/fyp/workdir/filesys

    setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=192.168.196.155 root=/dev/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=116M video=davinicifb:vid0=720x576x16,2500K:vid1=720x576x16,2500K:osd0=720x576x16,2025K davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=$(videostd)