Black borders and wrong display mode Rpi4 sarpi current
by Nedderokumo from LinuxQuestions.org on (#5M2W4)
Hello. My first time installing sarpi on my rpi4 4 Gb.
1. The biggest problem is a wrong display mode. I've tried on two monitors: 1920x1080@60 and 2560x1440@60. In both cases image has a huge borders around like 100+ pixels. In fullscreen or even maximized mode I don't see respective parts of applications. They are hidden in this strange borders. xrands shows only 1 output - default and only 1 mode - 18*x9* for 1920x1080 and same for 1440p monitor. AFAIK raspberry pi OS have an option to fix this during first boot. Is there any fix for sarpi? Uncommenting 'disable_overscan=1` option in /boot/config.txt doesn't work too.
2. I don't use DM (no need), but I'd like to autologin and autostart X after boot as normal user. I found how to autostart X, but all suggestions I've found on LQ so far just don't work. I've tried change inittab to add agetty autologin (rpi doesn't boot after rainbow screen), add something like Code:su --login user -c '/usr/bin/bash -l -c /usr/bin/startx & >/dev/null to /etc/rc.d/rc.local (boot freezes on atd). Any reliable way to autologin?
3. Every boot of sarpi system time goes back to 1970. I don't actually understand why. ntpd doesn't solve my problem, because my router has no ntp server and rpi is blocked from the rest of the world (no internet connection).
1. The biggest problem is a wrong display mode. I've tried on two monitors: 1920x1080@60 and 2560x1440@60. In both cases image has a huge borders around like 100+ pixels. In fullscreen or even maximized mode I don't see respective parts of applications. They are hidden in this strange borders. xrands shows only 1 output - default and only 1 mode - 18*x9* for 1920x1080 and same for 1440p monitor. AFAIK raspberry pi OS have an option to fix this during first boot. Is there any fix for sarpi? Uncommenting 'disable_overscan=1` option in /boot/config.txt doesn't work too.
2. I don't use DM (no need), but I'd like to autologin and autostart X after boot as normal user. I found how to autostart X, but all suggestions I've found on LQ so far just don't work. I've tried change inittab to add agetty autologin (rpi doesn't boot after rainbow screen), add something like Code:su --login user -c '/usr/bin/bash -l -c /usr/bin/startx & >/dev/null to /etc/rc.d/rc.local (boot freezes on atd). Any reliable way to autologin?
3. Every boot of sarpi system time goes back to 1970. I don't actually understand why. ntpd doesn't solve my problem, because my router has no ntp server and rpi is blocked from the rest of the world (no internet connection).