Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Waveshare 7.9" DSI - 400x1280@60Hz
#23
(03-02-2023, 10:57 PM)Tim Curtis Wrote: moOde simply reports the viewport size

Code:
if (SESSION.json['pkgid_suffix'] == 'viewport') {
    notify('viewport', window.innerWidth + 'x' + window.innerHeight, '10_seconds');
}

And when Local Display starts the screen size is obtained by querying the frame buffer using the command below.

Code:
fbset -s | awk '$1 == "geometry" { print $2","$3 }'

Dodgy viewport..
is the key ... moodeaudio reading what is passed by driver....(?)..
what is very strange that is
in boot phase the orientation is rigth that let me think that the viewport configured as 400x1280 is right
but is not like this...
Reply


Messages In This Thread
RE: Waveshare 7.9" DSI - 400x1280@60Hz - by Nutul - 03-01-2023, 10:03 AM
RE: Waveshare 7.9" DSI - 400x1280@60Hz - by Nutul - 03-02-2023, 09:32 PM
RE: Waveshare 7.9" DSI - 400x1280@60Hz - by AndromedaStrain - 03-03-2023, 01:39 AM

Forum Jump: