Read the statement by Michael Teeuw here.
Issues with MMM-Screen-Powersave-Notification
- 
 https://github.com/Tom-Hirschberger; 
 I had this module configured along with the GPIO Notification to control my ACER 27 inch Monitor, which was working perfectly fine untill a week back. I had then messed up some other issue with the MM and had to do an rpi update(or so i think) . Now the module is unable to control the monitor. I have a RCWL0516 sensor whcih triggered by motion controls the monitor. I had reinstalled both modules but still no go. This is now behaving erratically.
 AI ChatGPT is flagging it as a config.txt issue with the latest Bookworm OS and kms, fkms etc. Suggested config.txt by ChatGPT
 #---------------Portrait Mode---------------
 disable_overscan=1
 hdmi_force_hotplug=1
 hdmi_drive=2
 hdmi_group=2
 hdmi_mode=82
 framebuffer_width=1080
 framebuffer_height=1920
 display_rotate=1 # rotate framebuffer 90° clockwise for portrait
 #dtoverlay=vc4-fkms-v3d
 #dtoverlay=vc4-kms-v3d
 dtoverlay=vc4-fb" Itried all but the issue is still not resolved. I have confirmed that the RCWL is triggering motion correctly.
 I am guessing it is a simple issue but the AI has taken it to the next level of unsolvable resolutions.
 Any help will be appreciated.
- 
 @Rags Which Raspberry PI OS Version do you use? Depending on the version, you might need to adapt the power one/off command. 
- 
 
- 
 @sdetweil Sorry missed your msg. 
 Issue is: I am unable to set the resolution of 1080x1920 (Portrait orientation) for my MagicMirror. None of the configurations settings in config.txt relating to dtoverlay have resolved the issue. In fact it is causing my monitor to go blank with no picture. Only mode works is ; 1024x768
 and Landscape.
 I even reflashed OS to Bookworm , i had Bullseye earlier. The monitor on/off control is breaking because probably the HDMi output is not being detected.
 OS & HARDWARE INFO ;
 Distributor ID: Raspbian
 Description: Raspbian GNU/Linux 12 (bookworm)
 Release: 12
 Codename: bookworm
 Linux magicmirror 6.12.47+rpt-rpi-v7 #1 SMP Raspbian 1:6.12.47-1+rpt1~bookworm (2025-09-16) armv7l GNU/Linux
 NODE / NPM / PM2 / MAGICMIRROR INFO ;
 v20.19.1
 10.8.2
 6.0.13Installed MagicMirror npm packages: 
 magicmirror@2.24.0 /home/pi/MagicMirror
 ├── @electron/rebuild@3.7.2
 ├── colors@1.4.0
 ├── console-stamp@3.1.2
 ├── digest-fetch@2.0.3
 ├── electron@25.9.8
 ├── envsub@4.1.0
 ├── epoll@4.0.2
 ├── eslint-config-prettier@8.10.2
 ├── eslint-plugin-import@2.32.0
 ├── eslint-plugin-jest@27.9.0
 ├── eslint-plugin-jsdoc@46.10.1
 ├── eslint-plugin-prettier@4.2.5
 ├── eslint@8.57.1
 ├── express-basic-auth@1.2.1
 ├── express-ipfilter@1.3.2
 ├── express@4.21.2
 ├── feedme@2.0.2
 ├── helmet@7.2.0
 ├── husky@8.0.3
 ├── iconv-lite@0.6.3
- 
 @Rags yes, they keep fiddling with the presentation manager in each release bullseye 
 bookworm
 trixieare all different even parms on the same commands 
- 
 @sdetweil So is there a solution for this issue? Request advice. Thanks 
- 
 @Rags I personally don’t know. I was asking for more info that others could use 
- 
 @sdetweil Thanks for tryin for a solution. The mirror was oriented in portrait mode, and now the display is landscape and that too low resolution. All my modules displays are messed up and it is a very sorry sight. I had to switch off the mirror… In the last 5 years this is the first time i have had to go through such a major issue. 
 Is there a way to set the resolution in the config.js ? But i guess the OS and hardware will prevent any software configuration settings.
 Can you suggest any other resolution?
 Thanks
- 
 @Rags is there a configuration option from the desktop menu? 
 I haven’t tested portrait myself in years and years, I know others have, so I defer all advice to them
- 
 @Rags Allow me to go a few steps back - maybe we can find a solution for your problem. In my opinion the problem is not caused by any MagicMirror specific issue, but it’s based on your overall setup. 0.) Reflash your image. Since I do not have any experiences with Trixie, I would suggest to use Bookworm. Ensure that you are using the the image with Desktop Envionment - here you can interactively change the resolution and orientation. 
 1.) Update the system to latest version using the following command:apt update && apt full-upgrade -y && apt autoremove -y && apt clean2.) Restart your system 
 3.) Set the resolution and orientation using the System Preferences
 4.) Use @sdetweil script for installing the MagicMirror. The script can be found here: https://github.com/sdetweil/MagicMirror_scripts?tab=readme-ov-file#install-magicmirror
 5.) Install your module (MMM-Screen-Powersave-Notification) and configure it for using the wlr-randr_control. wlr is used by default in Bookworm.

