Graphics artifacts on rotated screen

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

Graphics artifacts on rotated screen

跳至解决方案
2,681 次查看
max_schnarr
Contributor I

Hello,

We are using a VAR-SOM-DUAL from Variscite with i.MX6DualLite and experience graphics artifacts when we rotate the screen by 180 degrees. The graphics artifacts appear around the mouse pointer while moving the mouse (see attached photo, there shouldn't be anything at the top of the screen, only at the bottom).

We were using Debian Jessie for years on a 180 degrees rotated screen (xrandr -o inverted) without any issues, no graphics artifacts. Recently we tried to upgrade to a more up-to-date OS for several reasons, but any more up-to-date OS has these graphics artifacts as soon as we rotate the screen. We already contacted Variscite's support and they suggest it is a regression in the Vivante libraries. Our Debian Jessie build uses v5 of the Vivante libraries and all the new options we tried (Debian Stretch, Yocto Thud) use version 6. Variscite was even able to reproduce this with the NXP SabreSD board and official images.

We are able to remove the artifacts by applying a small scale to the screen while rotating it (see screen shifted after xrandr rotation), but then the transition between the screens of our application and all our animations are very slow. So this workaround is not suitable.

I found a couple of different, older questions here that describe a similar issue, but none of them provide a working solution for the problem:

- Vivante 6.2.4 p1 rotation issue in X11 

- i.MX6 IPU and rotating a frame buffer 

Our setup:

- VAR-SOM-DUAL with i.MX6DualLite

- Yocto Thud

- X11 version 1.19.6

- Vivante 6.2.4.p1.8

- Linux 4.14.78

- Screen: 1024x600 over HDMI

- xrandr -o inverted to rotate the screen, because setting in xorg.conf does not work (see Vivante: trying to rotate display in xorg.conf: Assert Failed )

Is this a regression in the Vivante libraries v6? Or is there any way to work around this issue?

Thanks,

Max

0 项奖励
回复
1 解答
2,367 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Max,

This is a bug in the vivante 6.2.4, unfortunately is not fixed yet, you should do a regression to 5.0.11v.

Regards

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,368 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Max,

This is a bug in the vivante 6.2.4, unfortunately is not fixed yet, you should do a regression to 5.0.11v.

Regards

0 项奖励
回复
2,367 次查看
max_schnarr
Contributor I

Thanks, after downgrading to 5.0.11 we don't see these graphics artifacts anymore.

0 项奖励
回复
2,316 次查看
pranotib
Contributor I

How do you change the driver version in yocto?

0 项奖励
回复