Knowledgebase
emscom > emscom Help Desk > Knowledgebase

Search help:


Adventures with 1920x480

Solution

#query commands

fbset -i -v
xset -q
DISPLAY=:0 xrandr -q

vcgencmd hdmi_timings
hdmi_timings=480 0 88 44 148 1920 0 4 5 36 0 0 0 60 0 89000000 0

vcgencmd get_mem gpu
76M

#kms driver only
apt install kms++-utils
kmsprint

#legacy driver only
tvservice -t
Freq=59.439Khz

#touchscreen
xinput --list
touchscreen wch.cn USB2IIC_CTP_CONTROL

#rotate display (kms driver + X)
DISPLAY=:0 xinput set-prop "wch.cn USB2IIC_CTP_CONTROL" --type=float "Coordinate Transformation Matrix" 0 -1 1 1 0 0 0 0 1
DISPLAY=:0 xrandr --output HDMI-1 --auto --rotate left --verbose

Reset video to defaults: DISPLAY=:0 xrandr -s 0
Rotate screen: DISPLAY=:0 xrandr --output HDMI-1 --rotate normal


#journalctl -xe error, remove service to resolve
#xdg-desktop-por[15331]: Failed to create settings proxy:
# Error calling StartServiceByName for org.freedesktop.impl.portal.desktop.gtk:
# Timeout was reached
apt remove xdg-desktop-portal-gtk


#config.txt entries for legacy firmware and vc4-kms-3d GPU drivers

#[pi4]
#8.8" 480x1920 display (legacy)
#does not require cmdline.txt: video=480x1920D@60,rotate=90
#hdmi_group=2
#hdmi_mode=87
#hdmi_timings=480 0 88 44 148 1920 0 4 5 36 0 0 0 60 0 89000000 7
#display_hdmi_rotate=1
#display_lcd_rotate=1

#framebuffer_width=1920
#framebuffer_height=480
#max_framebuffer_width=480
#max_framebuffer_height=1920

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
#disable_fw_kms_setup=1
#disable_fw_kms_setup=0

[pi4]
#kms driver (edid is broken)
#kms is incapable of early boot rotation
#remove splash, add quiet to cmdline.txt
disable_fw_kms_setup=1
dtoverlay=vc4-kms-v3d
framebuffer_width=1920
framebuffer_height=480  
max_framebuffer_width=480
max_framebuffer_height=1920
#end

#cmdline.txt kernel video mode setting
# should not be needed
# causes problems with broken EDID
video=480x1920R-32@60

 

 
Was this article helpful? yes / no
Related articles 01-Useful display paths
Article details
Article ID: 242
Category: Volumio
Date added: 05-01-2025 21:35:15
Views: 3
Rating (Votes): Article not rated yet (0)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies