I tried getting a working "Just in case" system here on an MMC card using the latest XFCE image from current [glibc-2.36 & kernel 6.0.2]. My screen is displayed too big, and won't shrink. I think we decided it was a peculiarity of my TV(monitor).
The default install uses u-boot.bin and has "disable_overscan=1" in /boot/config.txt. That comes out too big here.
To get a proper display 15.0, I commented out u-boot.bin and used vmlinuz-5.16.7 & uInitrd-5.16.7 (Yes, the kernel is later than 15.0). I also had this video setup
disable_overscan=0
overscan_left=32
overscan_right=32
overscan_top=32
overscan_bottom=32
This displays perfectly here.
On current, I have vmlinuz & uInitrd-6.0.2, with u-boot.bin commented out. I've tried with overscan settings of 0,32 & even 64. It's clear to me that the overscan setting is being ignored, because the size doesn't change one pixel on any of those settings.
Is there new firmware or has something changed? Any ideas for getting the screen size back in line? Mine is an early 4B w/4 Gig ram. Here's the config.txt from ~current, with my changes in red.
Code:
bash-5.1$ cat /mnt/tmp/boot/config.txt
# See /boot/overlays/README for all available options
# Our kernels are located on a Linux partition. Chainload U-Boot to load them.
#kernel=u-boot.bin
kernel=vmlinuz-6.0.2
initrd=uInitrd-6.0.2 followkernel
# Use 32 MB for GPU for all RPis (Min 16 - Max 192 MB)
# We don't need that much memory reserved for it, because we drive most hardware
# from Linux, not the VPU OS
gpu_mem=64
arm_64bit=1
# Turbo mode: 0 = enable dynamic freq/voltage - 1 = always max
force_turbo=0
# Start in turbo mode for 30 seconds or until cpufreq sets a frequency
initial_turbo=30
# DO NOT overvoltage manually to not void warranty!
## over_voltage=5
## arm_freq=2000
# Fix mini UART input frequency, and setup/enable up the UART.
enable_uart=1
# Disable warning overlays as they don't work well together with linux's graphical output
avoid_warnings=1
# This overlay fixes divergences between the RPi device tree and what
# upstream provides
dtoverlay=upstream
# overscan is only needed on old TV sets and if analog gear is in the chain (e.g. DPI)
disable_overscan=0
overscan_left=64
overscan_right=64
overscan_top=64
overscan_bottom=64
#http://lists.infradead.org/pipermail/linux-rpi-kernel/2020-November/007906.html
disable_fw_kms_setup=1
[pi3]
# These are not applied automatically? Needed to use respective upstream drivers.
dtoverlay=vc4-kms-v3d,cma-default
dtoverlay=dwc2
[pi4]
#dtoverlay=vc4-fkms-v3d-pi4,cma-512
dtoverlay=vc4-kms-v3d-pi4,cma-512
[cm4]
#dtoverlay=vc4-fkms-v3d-pi4,cma-512
dtoverlay=vc4-kms-v3d-pi4,cma-512
# The USB interface is disabled to save power by default on CM4. Enable it
# to ease the installation process. For more information see:
# https://datasheets.raspberrypi.org/cm4/cm4-datasheet.pdf
dtoverlay=dwc2
[all]
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on
While I'm posting, allow me to pour cold water on the initial turbo for 30 seconds also, not that it greatly matters
Code:
bash-5.1$ grep -e 'MHz' -e ' BogoMIPS' /mnt/tmp/var/log/dmesg
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000467] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)