Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computer:raspberry_pi_browser_v2 [2019/01/05 19:13]
tdobes
computer:raspberry_pi_browser_v2 [2019/02/23 13:07] (current)
tdobes
Line 192: Line 192:
 echo >> /​usr/​local/​bin/​browser.sh echo >> /​usr/​local/​bin/​browser.sh
 echo '# start chromium'​ >> /​usr/​local/​bin/​browser.sh echo '# start chromium'​ >> /​usr/​local/​bin/​browser.sh
-echo 'exec nice -n 1 /​usr/​lib/​chromium-browser/​chromium-browser --disable-preconnect --disable-breakpad --disable-sync --no-sandbox --disable-plugins --disable-translate --dns-prefetch-disable --data-reduction-proxy-server-experiments-disabled --disable-bundled-ppapi-flash --no-pings --no-first-run --chrome-frame --disable-session-crashed-bubble --disable-web-security --user-data-dir=$chrome_data_dir --disable-gpu --start-fullscreen --kiosk --app=$URL'​ >> /​usr/​local/​bin/​browser.sh+echo 'exec nice -n 1 /​usr/​lib/​chromium-browser/​chromium-browser --disable-preconnect --disable-breakpad --disable-sync --no-sandbox --disable-plugins --disable-translate --dns-prefetch-disable --data-reduction-proxy-server-experiments-disabled --disable-bundled-ppapi-flash --no-pings --no-first-run --chrome-frame --disable-session-crashed-bubble --disable-web-security --user-data-dir=$chrome_data_dir --enable-logging=stderr ​--start-fullscreen --kiosk --app=$URL' >> /​usr/​local/​bin/​browser.sh 
 +# note: we saw CPU usage creep up to 100% on morning briefing display with --disable-gpu - so I'm trying without it for a while... 
 +echo '# --disable-gpu' >> /​usr/​local/​bin/​browser.sh
 chmod +x /​usr/​local/​bin/​browser.sh chmod +x /​usr/​local/​bin/​browser.sh
  
Line 198: Line 200:
 sed -i '​s/#​hdmi_group=1/​hdmi_group=2/​g;​ s/#​hdmi_drive=2/​hdmi_drive=2/​g;​ s/#​hdmi_mode=1/​hdmi_mode=82\n\nhdmi_force_mode=1/​g;​ s/#​disable_overscan=1/​disable_overscan=1/​g;​ s/#​hdmi_force_hotplug=1/​hdmi_force_hotplug=1/​g'​ /​boot/​config.txt sed -i '​s/#​hdmi_group=1/​hdmi_group=2/​g;​ s/#​hdmi_drive=2/​hdmi_drive=2/​g;​ s/#​hdmi_mode=1/​hdmi_mode=82\n\nhdmi_force_mode=1/​g;​ s/#​disable_overscan=1/​disable_overscan=1/​g;​ s/#​hdmi_force_hotplug=1/​hdmi_force_hotplug=1/​g'​ /​boot/​config.txt
 # HDMI mode, 1920x1200@60 Hz without audio - see https://​www.raspberrypi.org/​documentation/​configuration/​config-txt/​video.md # HDMI mode, 1920x1200@60 Hz without audio - see https://​www.raspberrypi.org/​documentation/​configuration/​config-txt/​video.md
-sed -i '​s/#​hdmi_group=1/​hdmi_group=2/​g;​ s/#​hdmi_drive=2/​hdmi_drive=1/​g;​ s/#​hdmi_mode=1/​hdmi_mode=69\n\nhdmi_force_mode=1/​g;​ s/#​disable_overscan=1/​disable_overscan=1/​g;​ s/#​hdmi_force_hotplug=1/​hdmi_force_hotplug=1/​g'​ /​boot/​config.txt+sed -i '​s/#​hdmi_group=1/​hdmi_group=2/​g;​ s/#​hdmi_drive=2/​hdmi_drive=1/​g;​ s/#​hdmi_mode=1/​hdmi_mode=68\n\nhdmi_force_mode=1/​g;​ s/#​disable_overscan=1/​disable_overscan=1/​g;​ s/#​hdmi_force_hotplug=1/​hdmi_force_hotplug=1/​g'​ /​boot/​config.txt
  
 # quiet boot # quiet boot
computer/raspberry_pi_browser_v2.1546737200.txt.gz · Last modified: 2019/01/05 19:13 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS