Read the statement by Michael Teeuw here.
Installing on a Pi Zero
-
@sdetweil ok. Done the following with no avail.
Removed MagicMirror folder
Ran the install script. No errors. It did an autoreboot but no go.
Reviewed the install_log… no errors.
Did notice, however, the script created 3 folders:
MagicMirror
magic-mirror
magic-mirror-appAt reboot, the X server intent to start but incounters some errors and shuts down with the message: Server terminated successfully (0). Closing log file.
Where do I go from here?
TIAEDIT:
Here’s the Xorg log:[ 64.036] X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 [ 64.101] Build Operating System: Linux 5.4.0-54-generic armv8l Raspbian [ 64.123] Current Operating System: Linux magicmirror 5.10.11+ #1399 Thu Jan 28 12:02:28 GMT 2021 armv6l [ 64.123] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.e nable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1280 bcm2708_fb .fbheight=1024 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:7C:38:09 vc_mem.mem _base=0x1ec00000 vc_mem.mem_size=0x20000000 console=ttyS0,115200 console=tty1 r oot=PARTUUID=a27be534-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootw ait [ 64.220] Build Date: 15 January 2021 02:03:57PM [ 64.243] xorg-server 2:1.20.4-1+rpt2+deb10u3 (https://www.debian.org/support ) [ 64.265] Current version of pixman: 0.36.0 [ 64.311] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 64.314] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 64.415] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 15 18:44:41 202 1 [ 64.455] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 64.471] (==) No Layout section. Using the first Screen section. [ 64.471] (==) No screen section available. Using defaults. [ 64.471] (**) |-->Screen "Default Screen Section" (0) [ 64.471] (**) | |-->Monitor "<default monitor>" [ 64.494] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 64.495] (==) Automatically adding devices [ 64.496] (==) Automatically enabling devices [ 64.496] (==) Automatically adding GPU devices [ 64.503] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 64.517] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 64.517] Entry deleted from font path. [ 64.517] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 64.517] Entry deleted from font path. [ 64.518] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 64.518] Entry deleted from font path. [ 64.518] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. [ 64.518] Entry deleted from font path. [ 64.518] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 64.518] Entry deleted from font path. [ 64.518] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 64.519] Entry deleted from font path. [ 64.519] (==) FontPath set to: /usr/share/fonts/X11/misc, built-ins [ 64.519] (==) ModulePath set to "/usr/lib/xorg/modules" [ 64.519] (II) The server relies on udev to provide the list of input devices . If no devices become available, reconfigure udev or disable AutoAddDevic es. [ 64.519] (II) Loader magic: 0x1fdf80 [ 64.519] (II) Module ABI versions: [ 64.519] X.Org ANSI C Emulation: 0.4 [ 64.519] X.Org Video Driver: 24.0 [ 64.522] X.Org XInput driver : 24.1 [ 64.522] X.Org Server Extension : 10.0 [ 64.538] (--) using VT number 2 [ 64.538] (II) systemd-logind: logind integration requires -keeptty and -keep tty was not provided, disabling logind integration [ 64.542] (II) no primary bus or device found [ 64.545] (II) LoadModule: "glx" [ 64.556] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 64.656] (II) Module glx: vendor="X.Org Foundation" [ 64.657] compiled for 1.20.4, module version = 1.0.0 [ 64.657] ABI class: X.Org Server Extension, version 10.0 [ 64.657] (==) Matched modesetting as autoconfigured driver 0 [ 64.657] (==) Matched fbdev as autoconfigured driver 1 [ 64.657] (==) Assigned the driver to the xf86ConfigLayout [ 64.657] (II) LoadModule: "modesetting" [ 64.664] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 64.674] (II) Module modesetting: vendor="X.Org Foundation" [ 64.675] compiled for 1.20.4, module version = 1.20.4 [ 64.675] Module class: X.Org Video Driver [ 64.675] ABI class: X.Org Video Driver, version 24.0 [ 64.675] (II) LoadModule: "fbdev" [ 64.682] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 64.689] (II) Module fbdev: vendor="X.Org Foundation" [ 64.690] compiled for 1.20.3, module version = 0.5.0 [ 64.690] Module class: X.Org Video Driver [ 64.690] ABI class: X.Org Video Driver, version 24.0 [ 64.693] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 64.693] (II) FBDEV: driver for framebuffer: fbdev [ 64.719] (WW) Falling back to old probe method for modesetting [ 64.719] (EE) open /dev/dri/card0: No such file or directory [ 64.720] (WW) Falling back to old probe method for fbdev [ 64.720] (II) Loading sub module "fbdevhw" [ 64.720] (II) LoadModule: "fbdevhw" [ 64.721] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 64.729] (II) Module fbdevhw: vendor="X.Org Foundation" [ 64.729] compiled for 1.20.4, module version = 0.0.2 [ 64.730] ABI class: X.Org Video Driver, version 24.0 [ 64.734] (II) FBDEV(0): using default device [ 64.734] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 64.739] (II) FBDEV(0): Creating default Display subsection in Screen sectio n "Default Screen Section" for depth/fbbpp 24/32 [ 64.739] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32 [ 64.739] (==) FBDEV(0): RGB weight 888 [ 64.743] (==) FBDEV(0): Default visual is TrueColor [ 64.762] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) [ 64.763] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 5120kB) [ 64.763] (DB) xf86MergeOutputClassOptions unsupported bus type 0 [ 64.763] (II) FBDEV(0): checking modes against framebuffer device... [ 64.763] (II) FBDEV(0): checking modes against monitor... [ 64.764] (II) FBDEV(0): Virtual size is 1280x1024 (pitch 1280) [ 64.764] (**) FBDEV(0): Built-in mode "current" [ 64.764] (==) FBDEV(0): DPI set to (96, 96) [ 64.764] (II) Loading sub module "fb" [ 64.764] (II) LoadModule: "fb" [ 64.765] (II) Loading /usr/lib/xorg/modules/libfb.so [ 64.787] (II) Module fb: vendor="X.Org Foundation" [ 64.787] compiled for 1.20.4, module version = 1.0.0 [ 64.787] ABI class: X.Org ANSI C Emulation, version 0.4 [ 64.787] (**) FBDEV(0): using shadow framebuffer [ 64.787] (II) Loading sub module "shadow" [ 64.787] (II) LoadModule: "shadow" [ 64.788] (II) Loading /usr/lib/xorg/modules/libshadow.so [ 64.796] (II) Module shadow: vendor="X.Org Foundation" [ 64.796] compiled for 1.20.4, module version = 1.1.0 [ 64.801] ABI class: X.Org ANSI C Emulation, version 0.4 [ 64.801] (II) UnloadModule: "modesetting" [ 64.801] (II) Unloading modesetting [ 64.838] (==) FBDEV(0): Backing store enabled [ 64.845] (==) FBDEV(0): DPMS enabled [ 64.847] (II) Initializing extension Generic Event Extension [ 64.852] (II) Initializing extension SHAPE [ 64.865] (II) Initializing extension MIT-SHM [ 64.877] (II) Initializing extension XInputExtension [ 64.888] (II) Initializing extension XTEST [ 64.897] (II) Initializing extension BIG-REQUESTS [ 64.905] (II) Initializing extension SYNC [ 64.913] (II) Initializing extension XKEYBOARD [ 64.921] (II) Initializing extension XC-MISC [ 64.930] (II) Initializing extension SECURITY [ 64.937] (II) Initializing extension XFIXES [ 64.947] (II) Initializing extension RENDER [ 64.955] (II) Initializing extension RANDR [ 64.974] (II) Initializing extension COMPOSITE [ 64.981] (II) Initializing extension DAMAGE [ 64.992] (II) Initializing extension MIT-SCREEN-SAVER [ 65.000] (II) Initializing extension DOUBLE-BUFFER [ 65.007] (II) Initializing extension RECORD [ 65.016] (II) Initializing extension DPMS [ 65.025] (II) Initializing extension Present [ 65.032] (II) Initializing extension DRI3 [ 65.035] (II) Initializing extension X-Resource [ 65.042] (II) Initializing extension XVideo [ 65.053] (II) Initializing extension XVideo-MotionCompensation [ 65.054] (II) Initializing extension SELinux [ 65.054] (II) SELinux: Disabled on system [ 65.058] (II) Initializing extension GLX [ 65.065] (II) AIGLX: Screen 0 is not DRI2 capable [ 68.618] (II) IGLX: Loaded and initialized swrast [ 68.620] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 68.621] (II) Initializing extension XFree86-VidModeExtension [ 68.628] (II) Initializing extension XFree86-DGA [ 68.637] (II) Initializing extension XFree86-DRI [ 68.641] (II) Initializing extension DRI2 [ 118.828] (II) Server terminated successfully (0). Closing log file.
-
@ebolisa i would rebuild the sd card and start again
-
@sdetweil I agree but which OS should I use? The lite one?
-
@ebolisa full desktop
-
@sdetweil Thank you! Finally got it going. I had to change the SD card.
Now I can finally replace my P4 with the P0. The P4, along with the display, are causing heat related problems so, P0 to the rescue.
Just FYI, I cannot hide the cursor and
sudo apt-get install unclutter
didn’t help. -
@ebolisa in css/main.css body should have cursor:none
you are running chromium-browser, not electron, but should have been the same
-
@ebolisa pi0 doesnt have a lot of power, so beware running too much…
check swap space usage
free -m
to see if it needs to be made bigger
-
@sdetweil Yes, I set swap to 1024. It’s slow but it works.
Thanks again!! -
@sdetweil , I went through a fresh SD card install for a Pi Zero W. raspbian and then the raspberry.sh script via your github page. I believe everything completed without error.
However when Magic Mirror launches on reboot, I get a blank page indicating:
This site can’t be reached
localhost refused to connectAny idea what to do to troubleshoot?
-
@rushhour99 is this with extra modules or just the base?
can u show the output of
pm2 logs --lines=100