feat: multiple output modes and less logs at boot

This commit is contained in:
2026-11-04 01:04:21 +01:00
parent 3020ce3d7b
commit d0640583a1
20 changed files with 308 additions and 112 deletions
-1
View File
@@ -1 +0,0 @@
vc4.tv_norm=PAL video=Composite-1:720x576ie,tv_mode=PAL quiet loglevel=0 consoleblank=1
+1 -1
View File
@@ -21,7 +21,7 @@ Before=rescue.service
ConditionPathExists=/dev/tty0
[Service]
ExecStart=-/sbin/agetty --autologin forge --noreset --noclear %I ${TERM}
ExecStart=-/sbin/agetty --autologin forge --noissue --nohints --nohostname --noreset --noclear %I ${TERM}
Type=idle
Restart=always
RestartSec=0
+1
View File
@@ -0,0 +1 @@
quiet loglevel=3 quiet logo.nologo vt.global_cursor_default=0
+22
View File
@@ -0,0 +1,22 @@
[all]
# --- overclocking ---
# ARM core frequency in MHz
arm_freq=3000
# VideoCore VII frequency in MHz
gpu_freq=1000
# Voltage offset in microvolts
over_voltage_delta=50000
# --- opengl ---
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
# Increase the memory reserved for the GPU
gpu_mem=64
# Avoid GPU down-clocking below 500 MHz that slows FPS down
# v3d_freq_min=500
# --- composite ---
enable_tvout=0
# --- I2C ---
dtparam=i2c_arm=on
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
export PROJECT_DIR=/opt/forge-invar
export SCREEN_HEIGHT=576
ln -fs $PROJECT_DIR/system/hdmi/weston.ini $HOME/.config/weston.ini
rm -rf $PROJECT_DIR/*.log
touch $PROJECT_DIR/*
make -C /opt/forge-invar --silent --no-print-directory start
+3
View File
@@ -0,0 +1,3 @@
[core]
idle-time=0
require-input=false
+2
View File
@@ -0,0 +1,2 @@
vc4.tv_norm=NTSC video=Composite-1:720x480ie,tv_mode=NTSC
quiet loglevel=0 quiet logo.nologo vt.global_cursor_default=0
+1 -1
View File
@@ -17,7 +17,7 @@ gpu_mem=64
# --- composite ---
enable_tvout=1
sdtv_mode=2
sdtv_mode=0
sdtv_aspect=1
# --- I2C ---
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
export PROJECT_DIR=/opt/forge-invar
export SCREEN_HEIGHT=480
ln -fs $PROJECT_DIR/system/ntsc/weston.ini $HOME/.config/weston.ini
rm -rf $PROJECT_DIR/*.log
touch $PROJECT_DIR/*
make -C /opt/forge-invar --silent --no-print-directory start
+8
View File
@@ -0,0 +1,8 @@
[core]
idle-time=0
require-input=false
[output]
name=Composite-1
mode=720x480i
force-on=true
+2
View File
@@ -0,0 +1,2 @@
vc4.tv_norm=PAL video=Composite-1:720x576ie,tv_mode=PAL
quiet loglevel=0 quiet logo.nologo vt.global_cursor_default=0
+22
View File
@@ -0,0 +1,22 @@
[all]
# --- overclocking ---
# ARM core frequency in MHz
arm_freq=3000
# VideoCore VII frequency in MHz
gpu_freq=1000
# Voltage offset in microvolts
over_voltage_delta=50000
# --- opengl ---
# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d,composite
# Increase the memory reserved for the GPU
gpu_mem=64
# Avoid GPU down-clocking below 500 MHz that slows FPS down
# v3d_freq_min=500
# --- composite ---
enable_tvout=1
# --- I2C ---
dtparam=i2c_arm=on
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
export PROJECT_DIR=/opt/forge-invar
export SCREEN_HEIGHT=576
ln -fs $PROJECT_DIR/system/pal/weston.ini $HOME/.config/weston.ini
rm -rf $PROJECT_DIR/*.log
touch $PROJECT_DIR/*
make -C /opt/forge-invar --silent --no-print-directory start