Hi,
On 25.04.2016 21:40, Pavel Machek wrote:
Hi!
I can't do -vo xv ... fails for me, probably due to X
configuration. Does it work with -vo x11 for you?
yes, -vo x11 works under maemo.
Ok, good.
In linux-n900 branch we have a patch that reserves memory for omapfb - see https://github.com/freemangordon/linux-n900/commit/60f85dcb6a663efe687f58208861545d65210b55
also, because of a change in 4.6, https://github.com/freemangordon/linux-n900/commit/60f85dcb6a663efe687f58208861545d65210b55#diff-072444ea67d2aca6b402458f50d20edeR125
needs a change to DMA_MEMORY_IO and the if bellow needs the relevant change
as well.
This is needed for -vo xv (and any omapfb video playback) to reliably work
under maemo.
I don't have that kind of acceleration working.
For me it shows window with green interior. And complains about v4l2:
select timeouts. (I enabled these in .config):
+CONFIG_VIDEO_BUS_SWITCH=y
+CONFIG_VIDEO_SMIAREGS=y
+CONFIG_VIDEO_ET8EK8=y
+CONFIG_VIDEOBUF2_CORE=y
+CONFIG_VIDEOBUF2_MEMOPS=y
+CONFIG_VIDEOBUF2_DMA_CONTIG=y
+CONFIG_VIDEO_OMAP3=y
+CONFIG_VIDEO_SMIAPP_PLL=y
+CONFIG_VIDEO_SMIAPP=y
Any ideas?
Pavel
Try to build those as modules. Also, do you have all the needed patches
besides those in the patchset?
See https://github.com/freemangordon/linux-n900/commits/v4.6-rc4-n900-camera
Also, is there anything related in dmesg log?
Modules are tricky. I hate modules. I did patch with
All my testing so far was performed using modules, though it shouldn't
make difference.
https://lkml.org/lkml/2016/4/16/14
https://lkml.org/lkml/2016/4/16/33
More stuff is needed, all those twl4030 regulator patches (already in
linux-next) + DTS initial-mode patch (https://lkml.org/lkml/2016/4/17/78).
+ the series. And yes, there seems to be explanation in the dmesg:
[ 6134.261993] DISPC: channel 0 xres 800 yres 480
[ 6134.262023] DISPC: pck 24000000
[ 6134.262023] DISPC: hsw 4 hfp 28 hbp 24 vsw 3 vfp 3 vbp 4
[ 6134.262023] DISPC: vsync_level 0 hsync_level 0 data_pclk_edge 1
de_level 1 sync_pclk_edge 1
[ 6134.262023] DISPC: hsync 28037Hz, vsync 57Hz
[ 6134.262054] DISPC: lck = 72000000 (1)
[ 6134.262054] DISPC: pck = 24000000 (3)
[ 6190.075103] omap3isp 480bc000.isp: Unable to stop OMAP3 ISP resizer
[ 6192.075347] omap3isp 480bc000.isp: CCDC stop timeout!
[ 6192.075408] omap3isp 480bc000.isp: Unable to stop OMAP3 ISP CCDC
[ 6292.293670] DISPC: dispc_runtime_put
[ 6292.293701] DISPC: dispc_save_context
[ 6292.293762] DISPC: context saved
[ 6292.294342] DSS: dss_save_context
[ 6292.294372] DSS: context saved
[ 6297.056976] DISPC: dispc_runtime_get
[ 6297.057067] DSS: dss_restore_context
[ 6297.057067] DSS: context restored
[ 6297.057159] DSS: set fck to 72000000
[ 6297.057159] DISPC: lck = 72000000 (1)
[ 6297.057159] DISPC: pck = 24000000 (3)
That usually happens when strobe is incorrect or there is no signal from
the camera.
Let me check the github...
I really hope I didn't miss something when I sent the series. May I have
your boot log?
Ivo
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html