longsleep / build-pine64-image

Pine64 Linux build scripts, tools and instructions
MIT License
235 stars 126 forks source link

Screen tearing or interlacing on 11" pinebook #63

Closed pfeerick closed 7 years ago

pfeerick commented 7 years ago

Simon, as requested, here is a diff of your dts which appears to be used as is in armbian, against ayufans.

There are only three elements of importance to this gremlin, as there are quite a lot of differences: lcd_dclk_freq lcd_ht lcd_vt

Changing lcd_dclk_freq to <0x4d> appears to resolve the issue of tearing/interlacing for the most part - hard to tell as I don't know if XFCE is introducing it's own issues... but the really noticeable tearing/interlacing is gone. I don't know if the other two are strictly needed, but they result in the refresh rate dropping from an increased 64 hz after the first setting is applied (from 60hz) back down the 56hz which is what ayufan's images are currently running at.

The lcd_pwm_freq that section is also different, but I'm not sure of it's effect... I suspect it's to do with the lcd brightness... maybe brightness stages? but I haven't noticed any differences in that yet, so can't say one way or the other if should also be changed.

I'll submit a PR with these three lines changed referencing this issue for your convenience ;)

diff.txt