03-03-2023, 01:39 AM
(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 Dodgy](https://moodeaudio.org/forum/images/smilies/dodgy.png)
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...