AnsweredAssumed Answered

IMX6QuadPlus GPU to IPU

Question asked by Juan Manuel Schenini on Mar 5, 2018
Latest reply on Mar 9, 2018 by Juan Manuel Schenini

I'm working on a project that uses the i.mx6 gpu (imx6 opengl to convert the bayer image from a CMOS camera to RGB in imx6quadplus. I'm planning to use the GPU output as an IPU input. In order to do this I'm trying to use virtualframebuffers but I get the following error: 

 

fbset -fb /dev/fb2 -g 1280 720 1280 720 32 -t 13468 220 110 20 5 40 5 -rgba 8/16,8/8,8/0,8/24 

(NULL device *): Unable to allocate framebuffer memory

detected fb_set_par error, error code: -12

ioctl FBIOPUT_VSCREENINFO: Cannot allocate memory

 

 

fbset -fb /dev/fb0 -i

mode "1280x720-60"
# D: 74.250 MHz, H: 45.000 kHz, V: 60.000 Hz
geometry 1280 720 1280 720 32
timings 13468 220 110 20 5 40 5
hsync high
vsync high
rgba 8/16,8/8,8/0,8/24
endmode

Frame buffer device information:
Name : DISP4 BG
Address : 0x62100000
Size : 3686400
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 1
LineLength : 5120
Accelerator : No

 

fbset -fb /dev/fb1 -i

mode "240x320-60"
# D: 74.250 MHz, H: 45.000 kHz, V: 60.000 Hz
geometry 240 320 240 960 32
timings 13468 1260 110 20 405 40 5
rgba 8/16,8/8,8/0,8/24
endmode

Frame buffer device information:
Name : DISP4 FG
Address : 0x62500000
Size : 921600
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 1
LineLength : 960
Accelerator : No

 

fbset -fb /dev/fb2 -i

mode "128x128"
geometry 128 128 128 128 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
Name : virt_fb0
Address : (nil)
Size : 0
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 1
LineLength : 5120
Accelerator : No

 

fbset -fb /dev/fb3 -i

mode "128x128"
geometry 128 128 128 128 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
Name : virt_fb1
Address : 0x62008000
Size : 32768
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 1
LineLength : 256
Accelerator : No

What am I doing wrong here?

###

Is there an example of GPU to IPU communication?

Outcomes