Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2014-01-21 Thread Laurent Pinchart
Hi Chuanbo, On Thursday 02 January 2014 10:22:44 Chuanbo Weng wrote: > Hi Laurent and Tomasz, >As I said in my previous email, you can download the code from > the github address. > I think you can easily reproduce this issue by running my program > (Especially Laurent) and > get more info

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2014-01-07 Thread Chuanbo Weng
Hi Seung-Woo Kim, Thanks for your reply! I've check VIDIOC_QBUF in my program, and this ioctl returns 0, which indicate that VIDIOC_QBUF is ok. My issue is that the v4lfd receive no event when beginning to read frame. (Seems not the same issue as yours) I suggest you to run my program

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2014-01-07 Thread Seung-Woo Kim
Hello, On 2014년 01월 02일 11:22, Chuanbo Weng wrote: > Hi Laurent and Tomasz, >As I said in my previous email, you can download the code from > the github address. > I think you can easily reproduce this issue by running my program > (Especially Laurent) and > get more information from this

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2014-01-01 Thread Chuanbo Weng
Hi Laurent and Tomasz, As I said in my previous email, you can download the code from the github address. I think you can easily reproduce this issue by running my program (Especially Laurent) and get more information from this program. Could you please tell me whether you have reprod

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2013-12-31 Thread Laurent Pinchart
Hi Chuanbo, On Tuesday 31 December 2013 19:21:09 Chuanbo Weng wrote: > 2013/12/31 Tomasz Stanislawski : > > Hi Chuanbo Weng, > > > > I suspect that the problem might be caused by difference > > between size of DMABUF object and buffer size in V4L2. > > Thanks for your reply! I agree with you bec

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2013-12-31 Thread Chuanbo Weng
Hi Tomasz, 2013/12/31 Tomasz Stanislawski : > Hi Chuanbo Weng, > > I suspect that the problem might be caused by difference > between size of DMABUF object and buffer size in V4L2. Thanks for your reply! I agree with you because my experiment prove it (Even when the bo is bigget than frame size, n

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2013-12-30 Thread Tomasz Stanislawski
Hi Chuanbo Weng, I suspect that the problem might be caused by difference between size of DMABUF object and buffer size in V4L2. What is the content of v4l2_format returned by VIDIOC_G_FMT? What is the content of V4l2_buffer structure passed by VIDIOC_QBUF? Regards, Tomasz Stanislawski On 12/31/

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2013-12-30 Thread Chuanbo Weng
Hi Laurent, 2013/12/29 Laurent Pinchart : > Hi Chuanbo, > > On Friday 27 December 2013 09:55:40 Chuanbo Weng wrote: >> > Hi all, >> > >> > (My environment is intel platform, HD4000 GPU, kernel 3.10.19, logitech >> > 270 webcam) >> > >> > As title said, I discover this issue when I run the program

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2013-12-29 Thread Laurent Pinchart
Hi Chuanbo, On Friday 27 December 2013 09:55:40 Chuanbo Weng wrote: > > Hi all, > > > > (My environment is intel platform, HD4000 GPU, kernel 3.10.19, logitech > > 270 webcam) > > > > As title said, I discover this issue when I run the program shown by > > Laurent Pinchart: > > http://www.mail-a

Re: DMABUF doesn't work when frame size not equal to the size of GPU bo

2013-12-26 Thread Chuanbo Weng
Ping for reply! 2013/12/25 Chuanbo Weng : > Hi all, > >(My environment is intel platform, HD4000 GPU, kernel 3.10.19, > logitech 270 webcam) >As title said, I discover this issue when I run the program > shown by Laurent Pinchart: > http://www.mail-archive.com/linux-media@vger.kern

DMABUF doesn't work when frame size not equal to the size of GPU bo

2013-12-24 Thread Chuanbo Weng
Hi all, (My environment is intel platform, HD4000 GPU, kernel 3.10.19, logitech 270 webcam) As title said, I discover this issue when I run the program shown by Laurent Pinchart: http://www.mail-archive.com/linux-media@vger.kernel.org/msg54806.html If the frame is (width, height) =