imx6: Running X11 with hardware accleration using 12.04.01 gpu-viv- and xserver-xorg-video libs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6: Running X11 with hardware accleration using 12.04.01 gpu-viv- and xserver-xorg-video libs

917 Views
AbhijitPotnis
Contributor I

I am facing difficulties geting X11 up on imx6 with the 12.04.01 release.

I tried building the xserver-xorg-video-imx against my X. The X when launched is very unstable and does crash pretty often. More problems arise when I try running simple OpenGLES applications.

The sample OpenGLES application crashes with a segmentation fault when trying to call eglGetDisplay().

Can any one point me to a how to doc showing how to get X11 running on imx6 with hardware acceleration.

PS: Yes, I have also loaded the galcore.ko kernel module before starting GLES app.

Regards,

Abhijit

Error Log

========================================================================== :~# Division by zero in kernel.
[<c004f3a8>] (unwind_backtrace+0x0/0xfc) from [<c029a3d4>] (Ldiv0+0x8/0x10)
[<c029a3d4>] (Ldiv0+0x8/0x10) from [<c02db6dc>] (mxcfb_check_var+0x128/0x3b4)
[<c02db6dc>] (mxcfb_check_var+0x128/0x3b4) from [<c02be604>] (fb_set_var+0x44/0x2a4)
[<c02be604>] (fb_set_var+0x44/0x2a4) from [<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4)
[<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4) from [<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8)
[<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8) from [<c012f940>] (sys_ioctl+0x38/0x60)
[<c012f940>] (sys_ioctl+0x38/0x60) from [<c0049440>] (ret_fast_syscall+0x0/0x30)
Division by zero in kernel.
[<c004f3a8>] (unwind_backtrace+0x0/0xfc) from [<c029a3d4>] (Ldiv0+0x8/0x10)
[<c029a3d4>] (Ldiv0+0x8/0x10) from [<c029a3a4>] (__aeabi_uidivmod+0x8/0x18)
[<c029a3a4>] (__aeabi_uidivmod+0x8/0x18) from [<c02d917c>] (_setup_disp_channel2+0x60/0x2f0)
[<c02d917c>] (_setup_disp_channel2+0x60/0x2f0) from [<c02d9e78>] (mxcfb_set_par+0x324/0x4a8)
[<c02d9e78>] (mxcfb_set_par+0x324/0x4a8) from [<c02be728>] (fb_set_var+0x168/0x2a4)
[<c02be728>] (fb_set_var+0x168/0x2a4) from [<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4)
[<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4) from [<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8)
[<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8) from [<c012f940>] (sys_ioctl+0x38/0x60)
[<c012f940>] (sys_ioctl+0x38/0x60) from [<c0049440>] (ret_fast_syscall+0x0/0x30)
Division by zero in kernel.
[<c004f3a8>] (unwind_backtrace+0x0/0xfc) from [<c029a3d4>] (Ldiv0+0x8/0x10)
[<c029a3d4>] (Ldiv0+0x8/0x10) from [<c02d9194>] (_setup_disp_channel2+0x78/0x2f0)
[<c02d9194>] (_setup_disp_channel2+0x78/0x2f0) from [<c02d9e78>] (mxcfb_set_par+0x324/0x4a8)
[<c02d9e78>] (mxcfb_set_par+0x324/0x4a8) from [<c02be728>] (fb_set_var+0x168/0x2a4)
[<c02be728>] (fb_set_var+0x168/0x2a4) from [<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4)
[<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4) from [<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8)
[<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8) from [<c012f940>] (sys_ioctl+0x38/0x60)
[<c012f940>] (sys_ioctl+0x38/0x60) from [<c0049440>] (ret_fast_syscall+0x0/0x30)
Division by zero in kernel.
[<c004f3a8>] (unwind_backtrace+0x0/0xfc) from [<c029a3d4>] (Ldiv0+0x8/0x10)
[<c029a3d4>] (Ldiv0+0x8/0x10) from [<c04334e4>] (_ipu_dmfc_set_wait4eot+0xf4/0x140)
[<c04334e4>] (_ipu_dmfc_set_wait4eot+0xf4/0x140) from [<c042d2d4>] (ipu_init_channel_buffer+0x1dec/0x20b4)
[<c042d2d4>] (ipu_init_channel_buffer+0x1dec/0x20b4) from [<c02d9278>] (_setup_disp_channel2+0x15c/0x2f0)
[<c02d9278>] (_setup_disp_channel2+0x15c/0x2f0) from [<c02d9e78>] (mxcfb_set_par+0x324/0x4a8)
[<c02d9e78>] (mxcfb_set_par+0x324/0x4a8) from [<c02be728>] (fb_set_var+0x168/0x2a4)
[<c02be728>] (fb_set_var+0x168/0x2a4) from [<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4)
[<c02bec20>] (do_fb_ioctl+0x3bc/0x5f4) from [<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8)
[<c012f3d0>] (do_vfs_ioctl+0x80/0x5b8) from [<c012f940>] (sys_ioctl+0x38/0x60)
[<c012f940>] (sys_ioctl+0x38/0x60) from [<c0049440>] (ret_fast_syscall+0x0/0x30)
imx-ipuv3 imx-ipuv3.0: IPU Error - IPU_INT_STAT_5 = 0x08000000
=========================================================================

0 Kudos
0 Replies