gpu libs 4.6.9-p9 with x11 (DRI): full-screen only ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gpu libs 4.6.9-p9 with x11 (DRI): full-screen only ?

ソリューションへジャンプ
2,529件の閲覧回数
sergeymatyukevi
Contributor II

Hello,

In my experiments on SabreLite board I am using the following components of graphics stack:

- libGL/libGLES/libGAL/libEGL binary libraries from L3.0.35_1.1.0 rootfs image

- X11 driver vivante_drv.so built from sources (EXA part of xserver-xorg-video-imx-viv sources)

- X11 DRI library libdri.so built from sources (DRI part of xserver-xorg-video-imx-viv sources)

- xserver 1.11.2

- twm window manager

3D rendering with simple X11+EGL+OpenGLES2.0 examples to fullscreen x11 window works fine. However I see blank windows for any windows size other than full screen. I am wondering if current release supports DRI rendering only to full-screen x11 windows ?

ラベル(4)
0 件の賞賛
返信
1 解決策
1,515件の閲覧回数
andre_silva
NXP Employee
NXP Employee

Hi Sergey,

I got the information that DRI is not fully supported on this driver release (4.6.9-p11 - latest), and here are some known issues that will be fixed in the 4.6.9p12 release.

regards,

Andre

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,515件の閲覧回数
DiegoFSL
Contributor III

Hi Sergery,

unfortunately driver 4.6.9p12 is out and available within the Yocto buildsystem as part of BSP 3.5.7-1.0.0, but the problem is still there.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=master-next&id=e4408b4231435286eb52...

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=master-next&id=c6f4838efe887e79ccee...

Not only the same bug (black windowed rendering) is still there, but it seems related in a really weird way to system components:

Black rendering of windowed Open GLES applications on iMX6 Vivante under X11

On top of that, windowed rendering is horribly slow under Ubuntu, so that's pretty unusable even when it works.

Another issue you might be interested in is that Vivante driver defaults to 16bits per pixel and 24bpp seems broken:

Using 24bpp X11 color depth on i.MX6Q with Vivante

Bests,

Diego

0 件の賞賛
返信
1,515件の閲覧回数
andre_silva
NXP Employee
NXP Employee

Hi Sergey,

are you using libEGL.so ? for X11 acceleration you have to use the libEGL-x11.so instead, let me know if it fixed your issue.

regards,

andre

0 件の賞賛
返信
1,515件の閲覧回数
sergeymatyukevi
Contributor II

Hello Andre,

Sure, for x11 configuration I am using vivante libraries with '-x11' mark. 3D rendering to full-screen x11 window works fine with terrific performance. However 3D rendering does not work for any window size other than  full-screen. In that case I see only blank window. For instance, vivante demo applications do not work for me in x11. Meanwhile they work fine in framebuffer when I use libraries with '-fb' mark.

By the way, did you try this new release ? Does it work for you in non-full-screen windows ? If yes, then could you please share what applications worked for you in the case of non-full-screen x11 windows.

Thanks,

Sergey

0 件の賞賛
返信
1,516件の閲覧回数
andre_silva
NXP Employee
NXP Employee

Hi Sergey,

I got the information that DRI is not fully supported on this driver release (4.6.9-p11 - latest), and here are some known issues that will be fixed in the 4.6.9p12 release.

regards,

Andre

0 件の賞賛
返信