LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64
User Name
Password
slarm64 This forum is for the discussion of slarm64.

Notices


Reply
  Search this Thread
Old 10-30-2022, 11:35 AM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
Screen Size under current RazPi 4B


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)

Last edited by business_kid; 10-30-2022 at 11:38 AM.
 
Old 10-30-2022, 12:31 PM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 1,917

Rep: Reputation: Disabled
if nothing has changed except the kernel, most likely the problem is in it. you can try the latest image, as the files of the official bootloader are updated there. and also take any other image with a 6.0.y kernel for testing.

new kernel 6.0.6

Last edited by sndwvs; 10-30-2022 at 04:14 PM.
 
Old 10-31-2022, 05:37 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Original Poster
Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
Everything has changed, actually. I had to wipe the MMC card and installed current on it.

I only have this problem with the RazPi. I have got my linux laptop on that TV, and no size adjustment was required. Even my son has put a windows box on it, and it's perfect. The problem starts with the kernel overscanning, and is carried into X. We'll leave it there for a day while I try something. I moved the 'kernel=' line to the 2nd last line in config.txt, so it sees the overscan stuff first. I'll try that. Linus is holding off on changes, I imagine until 6.1 because he's incorporating Rust in. I'll also post a thread looking for boot options. cmdline.txt could be the issue. There's a crazy amount of stuff in that.
 
Old 10-31-2022, 04:01 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,404

Original Poster
Rep: Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337Reputation: 2337
I'm marking this solved. If a moderator passes through, please close this thread. I posted a thread under linux Kernel looking for boot options, and that's getting the traffic. Business transferred to:

https://www.linuxquestions.org/quest...ns-4175718308/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Weird USB behaviour on RazPi 4 business_kid Linux - Embedded & Single-board computer 18 10-28-2020 12:44 PM
[SOLVED] WIFI on/off magic pls on RazPi 4 business_kid Slackware - ARM 3 10-17-2020 12:07 PM
[SOLVED] Wifi missing on Sarpi (32bit) with RazPi 4 business_kid Slackware - ARM 21 06-26-2020 12:38 PM
[SOLVED] Fedora 32 out now. how on a RazPi 4? business_kid Fedora - Installation 12 05-02-2020 08:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > slarm64

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration