# ===========================================
# Settings for Rpi2
#[pi2]
#gpu_mem=128

# ===========================================
# Settings for Rpi3
#[pi3]
#gpu_mem=160

# ===========================================
# Settings for Rpi4
[pi4]
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
#arm_boost=1

# ===========================================
# Settings for all models
[all]
# Enable audio (loads snd_bcm2835)
dtparam=audio=on

overscan_scale=1

gpu_mem_256=128
gpu_mem_512=160
gpu_mem_1024=160
gpu_mem_2048=256
gpu_mem_4096=256

kernel=vmlinuz-6.1.53-urcade-pi23-3g+

# Make it 1280x720 by default
hdmi_mode=85

# Disable the rainbow screen
#disable_splash=1

# ===========================================
# Make sure HDMI cable is "always on"
# This is used by the ES hack (below)
# and also by the MHS LCD Screen (below)
#hdmi_force_hotplug=1

# ===========================================
# Try these if your ES screensaver 
# has issues while playing videos
#hdmi_drive=2
#hdmi_group=2
#hdmi_mode=47

# ===========================================
# Load overlays for detected cameras
#camera_auto_detect=0

# Load overlays for detected DSI displays
#display_auto_detect=1

# Enable DRM VC4 V3D driver
#dtoverlay=vc4-kms-v3d
#max_framebuffers=2

# ===========================================
# Enable USB boot on Pi3B/3B+ (Use at your own risk!)
# After enabling this option, reboot your pi.
# When you login again, check the results with the command:
# vcgencmd otp_dump | grep 17
# If it worked, you should see the value 3020000a
#program_usb_boot_mode=1

#***********************************************************************
# MHS 3.5" LCD (START)
# If you have one of those TFT screens attached to your Pi
# these settings may be useful. 
# Tip: you can use the TFT + HDMI output simultaneously ;-)
#
#dtparam=i2c_arm=on
#dtparam=spi=on
#enable_uart=1
#hdmi_drive=2

# CEA (TVs)
##hdmi_group=1
# DMT (Monitors)
#hdmi_group=2

# Force HDMI screen resolution
# Normally TFT screens use 87, but 
# feel free to try any of the following:
# 
# 480x320 (60Hz)
#hdmi_mode=87

# 640x480 (60Hz)
#hdmi_mode=4

# 800x600 (60Hz)
#hdmi_mode=9

# 1024x768 (60Hz)
#hdmi_mode=16 

# Use Normal screen orientation
##dtoverlay=mhs35:rotate=90
# OR Pi upside down (power/hdmi/audio face up)
#dtoverlay=mhs35:rotate=270

# widh height fps aspect margins interlace rb 
#hdmi_cvt 480 320 60 6 0 0 0
#hdmi_cvt 640 480 60 6 0 0 0
#hdmi_cvt 800 600 60 6 0 0 0
#hdmi_cvt 1024 768 60 6 0 0 0
# MHS 3.5" LCD (END)
#***********************************************************************

