#query commands
fbset -i -vxset -qDISPLAY=:0 xrandr -q
vcgencmd hdmi_timingshdmi_timings=480 0 88 44 148 1920 0 4 5 36 0 0 0 60 0 89000000 0
vcgencmd get_mem gpu76M
#kms driver onlyapt install kms++-utilskmsprint
#legacy driver onlytvservice -tFreq=59.439Khz
#touchscreenxinput --listtouchscreen 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 1DISPLAY=:0 xrandr --output HDMI-1 --auto --rotate left --verbose
Reset video to defaults: DISPLAY=:0 xrandr -s 0Rotate 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 reachedapt 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.txtdisable_fw_kms_setup=1dtoverlay=vc4-kms-v3dframebuffer_width=1920framebuffer_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 EDIDvideo=480x1920R-32@60
« Go back
Powered by Help Desk Software HESK, in partnership with SysAid Technologies