Black screen after MM v2.4.0 update.



  • Black screen after updates. Followed the commands below.

    sudo nano /boot/config.txt
    

    added this to the bottom and saved.

    dtoverlay=vc4-kms-v3d
    

    then…

    nano ~/.config/lxsession/LXDE-pi/autostart
    

    added this to the bottom and saved

    @xrandr --output HDMI-1 --rotate right
    

    Then the install…

    cd MagicMirror
    

    and

    sudo git pull && npm install
    

    successful install and rebooted to see a black screen.
    Have I missed anything?


  • Moderator

    According to another similar thread please set this instead:

    dtoverlay=vc4-fkms-v3d (with an additional f )



  • Thanks for the reply, I will try that when I get home.


  • Module Developer

    I also have a black screen.
    Tried both options

    dtoverlay=vc4-fkms-v3d
    

    and

    dtoverlay=vc4-kms-v3d
    


  • I have a similar problem, after starting the MM the screen freezes, only way to unfreeze it is to close electron. Have tried both options too.

    After enabling either of the OpenGL drivers i get the followed errors:

    > magicmirror@2.4.0 start /home/pi/MagicMirror
    > sh run-start.sh
    
    libGL error: MESA-LOADER: failed to retrieve device information
    MESA-LOADER: failed to retrieve device information
    MESA-LOADER: failed to retrieve device information
    Starting MagicMirror: v2.4.0
    Loading config ...
    Loading module helpers ...
    No helper found for module: alert.
    No helper found for module: MMM-Cursor.
    Initializing new module helper ...
    Module helper loaded: updatenotification
    Initializing new module helper ...
    Module helper loaded: MMM-Buttons
    Initializing new module helper ...
    Module helper loaded: MMM-DWD-WarnWeather
    Initializing new module helper ...
    Module helper loaded: MMM-DHT-Sensor
    No helper found for module: clock.
    No helper found for module: compliments.
    No helper found for module: helloworld.
    Initializing new module helper ...
    Module helper loaded: MMM-Remote-Control
    Initializing new module helper ...
    Module helper loaded: MMM-MyWeather
    No helper found for module: MMM-SimpleLogo.
    Initializing new module helper ...
    Module helper loaded: MMM-PiLights
    All module helpers loaded.
    Starting server on port 8080 ... 
    Server started ...
    Connecting socket for: updatenotification
    Connecting socket for: MMM-Buttons
    Starting node helper for: MMM-Buttons
    Connecting socket for: MMM-DWD-WarnWeather
    MMM-DWD-WarnWeather helper started...
    Connecting socket for: MMM-DHT-Sensor
    MMM-DHT-Sensor helper started ...
    Connecting socket for: MMM-Remote-Control
    Starting node helper for: MMM-Remote-Control
    Connecting socket for: MMM-MyWeather
    MMM-WunderGround helper started ...
    Connecting socket for: MMM-PiLights
    [2018-07-03 15:42:24] [MMM-PiLights] Starting node_helper
    Sockets connected & modules started ...
    Launching application.
    (node:1057) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'refs' of undefined
    (node:1057) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    (node:1057) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'refs' of undefined
    (node:1057) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'refs' of undefined
    (node:1057) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): TypeError: Cannot read property 'refs' of undefined
    (node:1057) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property 'refs' of undefined
    (node:1057) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): TypeError: Cannot read property 'refs' of undefined
    (node:1057) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): TypeError: Cannot read property 'refs' of undefined
    

    Edit: MM works without any OpenGL Drivers, but CPU usage is pretty high and the Node errors are still there.


  • Module Developer

    After 2.4.0, Asus Tinker Board cannot display MM. I think it might be related with this openGL issues. Is there any way to solve this?
    ATB has no openGL desktop driver like vc4-kms-v3d. Fake vc4-kms-v3d does not help.



  • I can’t access my mirror remotely anymore. Will I need to format my sd card and try again?



  • I am having the same issues and tried alot right now.

    Tried the
    dtoverlay=vc4-fkms-v3d as well as dtoverlay=vc4-kms-v3d as well as deleting that phrase

    I downgraded electron to npm install electron@1.4.15 since i found that helped in the V2.30 problems.

    I cant currently show the log from starting MagicMirror since i remotly access it and the MM just goes “all black” over the remote-access-page and I cant close it.

    I really just want to downgrad the MM to 2.3 since it worked absolutly fine with it…

    Additional software I use is MM-PIR


  • Module Developer



  • @mykle1
    Thanks Mykle1
    Just how do i tell my pi to get the specific version? I am not versed in programming or coding or anything and couldnt find something online that told me how to install a specific version