wlr-randr PMOS + Phosh - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124) +---- Thread: wlr-randr PMOS + Phosh (/showthread.php?tid=9543) |
wlr-randr PMOS + Phosh - nieral - 03-29-2020 Hey! I'm trying to install wlr-randr to change the screen resolution on my pinephone. I'm referring to this thread and the two provided links by "nas", which are related to debian + phosh I cloned wlr-randr from github installed build-base then I run meson build in thdisplay guidee /wlr-randr directory but it quits with the following error: Code: pinephone:~/wlr-randr$ meson build this is the output of the meson-build log: Code: Compiler for C supports arguments -Wno-unused-parameter -Wunused-parameter: YES Both pkg-config and cmake are installed on the system. I do not understand the error messages above concerning pkg-config, which, I assume, are the cause for the error: Code: Pkg-config binary missing from cross or native file, or env var undefined. Any idea? Changing the screen resolution seems to be the only practical way to make application fit the screen. Even the open/save dialogs from PM OS' Core apps are too large (the display guide on the pmOs wiki did not solve the scaling problems for me and is only applicable for qt apps). RE: wlr-randr PMOS + Phosh - Zweitaktmotor - 03-29-2020 Quote:Changing the screen resolution seems to be the only practical way to make application fit the screen. Even the open/save dialogs from PM OS' Core apps are too large (the display guide on the pmOs wiki did not solve the scaling problems for me and is only applicable for qt apps). Agree. Could wlr-randr be included in the next build, please? RE: wlr-randr PMOS + Phosh - PureTryOut - 03-30-2020 If you want a package available, you can always package it yourself and submit it either to our repositories or directly to the Alpine ones, it's not hard That said, I guess applications not fitting the screen on Phosh is mainly because we do not ship Purism's patches for GTK, so a lot of apps aren't responsive. We are considering shipping those patches for the first stable release of postmarketOS (well, at least I am), but we're not planning to ship them in the edge repos. Do note that the image you're using is for testing only, it's not considered ready for daily use, so things like this are to be expected. RE: wlr-randr PMOS + Phosh - nieral - 03-30-2020 (03-30-2020, 08:43 AM)PureTryOut Wrote: Do note that the image you're using is for testing only, it's not considered ready for daily use, so things like this are to be expected. I'm aware of this fact and I do not expect things like these to work out of the box. But do you have any idea to my initial problem with building meson (respectively wlr-randr) and the pkg-config issue? Thx! RE: wlr-randr PMOS + Phosh - PureTryOut - 03-31-2020 Well yes, the error tells you exactly what's wrong... Code: ERROR: Dependency "wayland-client" not found Meaning, wayland-client is not installed. If you search through the Alpine package index, there is a package for it. https://pkgs.alpinelinux.org/packages?name=wayland-libs-client&branch=edge&arch=x86_64 Just add that to the makedepends (or possible just depends, but you'll have to figure that out for yourself). RE: wlr-randr PMOS + Phosh - nieral - 03-31-2020 (03-31-2020, 01:41 AM)PureTryOut Wrote: Well yes, the error tells you exactly what's wrong... Thank you! will give it a try! RE: wlr-randr PMOS + Phosh - MartijnBraam - 04-01-2020 I'm sorry but wlr-randr isn't going to work on the pinephone (and most other phones), the display doesn't have a scaler and can't run at another resolution. The only thing you can really do is change the scaling of the compositor which makes things harder to touch but fixes the things that are too large to fit on screen. That can be done by editing /etc/phosh/rootston.ini, there should be scale setting in that file. RE: wlr-randr PMOS + Phosh - nieral - 04-02-2020 Ok. Thank you for this information. Wayland-libs- client was installed btw. Will mark this as solved. RE: wlr-randr PMOS + Phosh - nieral - 04-03-2020 (04-01-2020, 05:59 PM)MartijnBraam Wrote: That can be done by editing /etc/phosh/rootston.ini, there should be scale setting in that file. So, strange thing: There is no "/etc/phosh/" subfolder, although "phosh-0.2.1-r0" is installed on the system. RE: wlr-randr PMOS + Phosh - Zweitaktmotor - 04-04-2020 (04-03-2020, 01:51 AM)nieral Wrote:(04-01-2020, 05:59 PM)MartijnBraam Wrote: That can be done by editing /etc/phosh/rootston.ini, there should be scale setting in that file. I found it in /usr/share/phosh/rootston.ini If you change Code: [output:DSI-1] to 1 or 1.5, you get a higher screen resolution. However, some screen elements seem to flicker slightly and not everything is distributed optimally. For instance, the keyboard is now narrower than the screen width. Nevertheless, I consider this a huge improvement! Martijn, you put out a gnome version of PMOS at the end of February, but this was also lowres, with elements running off the screen. Is there a similar setting to tweak it? I searched but could not find one. Many thanks for what you have done so far! |