Calaos, Home Automation Forum
[Calaos Home] Bad resolution / Mauvaise résolution - Printable Version

+- Calaos, Home Automation Forum (https://calaos.fr/forum)
+-- Forum: Utilisation - Installation - Configuration (https://calaos.fr/forum/forumdisplay.php?fid=4)
+--- Forum: Installation du système (https://calaos.fr/forum/forumdisplay.php?fid=5)
+--- Thread: [Calaos Home] Bad resolution / Mauvaise résolution (/showthread.php?tid=947)



[Calaos Home] Bad resolution / Mauvaise résolution - FreeBzH - 03-15-2020

Hi there (french below)

I've successfully installed Calaos on a NUC with the latest Calaos OS image (3.0beta1).

The on screen resolution was then correct, but was done on a screen that is not the same I'm using now. (installed on a 2560 x 1440, now its 1080p).

As you can see here : https://photos.app.goo.gl/dNktkmx6hfCSfVTG7 it's quite unusable.

I've dig a bit. Changed the resolution with xrandr on the image but nothing works.
I've tried to set some variables :

Code:
Environment=QT_AUTO_SCREEN_SCALE_FACTOR=1
Environment=QT_SCALE_FACTOR=1
Environment=QT_SCREEN_SCALE_FACTORS=1

I've also tried to play with matchbox but no more luck.

Still the same.

Otherwise Mobile and Web apps are working nicely.


----------
FR :

Salut tout le monde

J'ai installé calaos sur un nuc à partir de la derniere image Calaos OS (3.0beta1).

L'écran sur lequel j'ai fait l'install faisait 2560 x 1440 et c'était ok, mais là je teste sur un 1080p et voilà le rendu https://photos.app.goo.gl/dNktkmx6hfCSfVTG7

en creusant un peu, j'ai tenté de changer la résolution via xrandr, ça fonctionne mais pas d'impact sur l'app. Du coup j'ai regardé côté QML et testé de lancer l'app avec :

Code:
Environment=QT_AUTO_SCREEN_SCALE_FACTOR=1
Environment=QT_SCALE_FACTOR=1
Environment=QT_SCREEN_SCALE_FACTORS=1

Je séche Smile


RE: [Calaos Home] Bad resolution / Mauvaise résolution - raoulh - 03-16-2020

Salut,

Mince... L'écran que tu utilises est en High DPI, donc qml va faire ca tout seul pour adapter les tailles.

Essaye plutot ca comme env:

QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_SCREEN_SCALE_FACTORS=1


RE: [Calaos Home] Bad resolution / Mauvaise résolution - FreeBzH - 03-16-2020

Ok ça marche. Je teste ça la prochaine fois que j'y retourne (we prochain à priori)

merci !