okay right steps are follows on raspi 4 2GB
using latest bookworm lite (Nov 2024)
change below file and replace "console" with "anybody"
copy my
run startx (this will ensure X server starts on /dev/fb0 which is my 10inch screen, connected via HDMI)Chrome should open up on your HDMI-A-1 screen running https://bbc.co.uk
observe CPU usage using TOP - I'm seeing a range between 26% and 45%, memory just under 10%
using latest bookworm lite (Nov 2024)
Code:
sudo apt-get update;sudo apt-get upgradeCode:
sudo apt install chromium xinit openboxCode:
sudo raspi-config nonint do_wifi_country GBCode:
sudo apt-get install xorgCode:
sudo nano /etc/X11/Xwrapper.configcopy my
file below to location99-fbdev.conf
add below to .xinitrc/usr/share/X11/xorg.conf.d/
Code:
export DISPLAY=:1rm -rf /home/pi/.config/chromium/Singleton*chromium-browser https://bbc.co.uk --incognito --kioskrun startx (this will ensure X server starts on /dev/fb0 which is my 10inch screen, connected via HDMI)
Code:
startx -- :1 -layout HDMIobserve CPU usage using TOP - I'm seeing a range between 26% and 45%, memory just under 10%
Code:
# FBTFT xorg config file# copy this file to /usr/share/X11/xorg.conf.d/99-fbdev.conf# startx -- -layout TFT# startx -- -layout HDMI# startx -- -layout HDMITFT# When -layout is not set, the first is used: TFT#disable touch on hdmiSection "InputClass" Identifier "Touchscreen catchall" #MatchIsTouchscreen "on" MatchDevicePath "/dev/fb0" Option "Ignore" "on"EndSectionSection "ServerLayout" Identifier "TFT" Option "BlankTime" "10" Screen 0 "ScreenTFT"EndSectionSection "ServerLayout" Identifier "HDMI" Option "BlankTime" "10" Screen 0 "ScreenHDMI"EndSectionSection "ServerLayout" Identifier "HDMITFT" Option "BlankTime" "10" Screen 0 "ScreenHDMI" Screen 1 "ScreenTFT" RightOf "ScreenHDMI"# Screen 1 "ScreenTFT" LeftOf "ScreenHDMI"# Screen 1 "ScreenTFT" Above "ScreenHDMI"# Screen 1 "ScreenTFT" Below "ScreenHDMI"# Screen 1 "ScreenTFT" Relative "ScreenHDMI" x y# Screen 1 "ScreenTFT" Absolute x yEndSectionSection "Screen" Identifier "ScreenHDMI" Monitor "MonitorHDMI" Device "DeviceHDMI"EndsectionSection "Screen" Identifier "ScreenTFT" Monitor "MonitorTFT" Device "DeviceTFT"EndsectionSection "Monitor" Identifier "MonitorHDMI"EndsectionSection "Monitor" Identifier "MonitorTFT"EndsectionSection "Device" Identifier "DeviceHDMI" Driver "fbdev" Option "fbdev" "/dev/fb0" Option "SwapbuffersWait" "true"EndSectionSection "Device" Identifier "DeviceTFT" Driver "fbdev" Option "fbdev" "/dev/fb1"EndSectionCode:
Connector 0 (32) HDMI-A-1 (connected) Encoder 0 (31) TMDS Crtc 3 (100) 1024x600@59.99 51.200 1024/160/32/128/+ 600/12/3/20/- 60 (59.99) P|D Plane 3 (89) fb-id: 368 (crtcs: 3) 0,0 1024x600 -> 0,0 1024x600 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12) FB 368 1024x600 RG16Connector 1 (42) HDMI-A-2 (disconnected) Encoder 1 (41) TMDSStatistics: Posted by MaryShah — Fri Nov 22, 2024 7:05 pm