@JeffBuilds said in Screen doesn't turn off:
Pir Error Detected: EINVAL: invalid argument, write
Hi, Generally this error happen with Raspbian 12 (bookworm)
So you can use:
mode: 2 - use dpms (For raspbian 10/11 or raspbian 12 with x11 compositor) mode: 9 - use xrandr use xrandr (For raspbian 11 or raspbian 12 with x11 compositor) mode: 10 - use wlr-randr (For rapsbian 12 with wayland compositor)Note: By default bookworm use wayland compositor