IMX6Q: X11 2D HW acceleration performance

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX6Q: X11 2D HW acceleration performance

跳至解决方案
1,548 次查看
LeviathanSteven
Contributor III

Hi,

Recently, I am working on a imx6q based board. The software is ubuntu_oneiric_4.0.0.tgz andL3.0.35_4.0.0_130424_images_MX6.tar.gz.

Also I did the instructions on file xserver-xorg-video-imx-viv-3.0.35-4.0.0/Instructions_to_setup_X11_acceleration_on_Ubuntu.

But I got one issue: the 2D X11 HW acceleration performance is not so good.

I just played the attachment 'GIF.gif', and found it can't be fluently played with full screen mode by double click in the playing window. Also I used the default X driver 'fbdev_drv.so', it also nearly have the same performance. So I would like to ask, does the X11 HW acceleration in vivante_drv.so really worked? From document i.MX_6Dual6Quad_Linux_Reference_Manual.pdf we can see, only if the drawables containing less than 1024x1024 pixels, it will use software rendering. Otherwise, the EXA solid/copy operations will be accelerated. But my display resolution is 1920x1080, it will go to HW accelerated path,  and in my debug, I found some 2D HW acceleration API, such as gco2D_Blit has been executed correctly, but the gif file playback is still not fluently.

So are there any special setting to really enable or improve the X11 2D acceleration performance?

Thanks in advance!

Original Attachment has been moved to: Xorg.0.log.zip

Original Attachment has been moved to: xorg.conf.zip

标签 (3)
标记 (3)
0 项奖励
1 解答
855 次查看
PrabhuSundarara
NXP Employee
NXP Employee

GIF is being decoded by CPU. Hence it is not accelerated. Also check how the damage area being sent to X11, which will affect the performance.

在原帖中查看解决方案

0 项奖励
2 回复数
855 次查看
LeviathanSteven
Contributor III

2D performance is also very important in user experience, when we open or drag a window, we do not want to see any lag, we just hope everything can be smooth!

So can we got it in X11 on imx6q?

0 项奖励
856 次查看
PrabhuSundarara
NXP Employee
NXP Employee

GIF is being decoded by CPU. Hence it is not accelerated. Also check how the damage area being sent to X11, which will affect the performance.

0 项奖励