helloSystem / Utilities

Utilities written in PyQt5, meant for use with helloSystem
BSD 2-Clause "Simplified" License
28 stars 29 forks source link

Custom (non-native) screen resolutions not persisted across reboots #24

Open kallaip opened 3 years ago

kallaip commented 3 years ago

Screen resolution can be set in Preferences -> Screen settings, but it is not stored automatically and the screen resolution is not restored after reboot

Test environment> Virtualbox 6.1.16

probonopd commented 3 years ago

Hello @kallaip possibly this is related to our use of initgfx which is supposed to auto-configure Xorg to the native resolution of the screen.

https://github.com/helloSystem/ISO/tree/experimental/overlays/uzip/initgfx/files/etc

It would be interesting to see whether you get the same behavior on NomadBSD, from which we have adopted it.

grahamperrin commented 3 years ago

Food for thought?

https://github.com/lumina-desktop/lumina/blob/a6f092c08c7c34e9a160156acbdbf8e42ef3324a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h#L52

https://github.com/lumina-desktop/lumina/blob/a6f092c08c7c34e9a160156acbdbf8e42ef3324a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp#L193

Context: https://github.com/helloSystem/Utilities/issues/41#issuecomment-772296607

louies0623 commented 1 year ago

Build 0H241

PC-2-screen0.webm

probonopd commented 1 year ago

I do not know how to persist (non-native) screen resolutions.