RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    EmulationStation LIBCEC Message: lvl0: CECInput::mAdapter->DetectAdapters failed

    Scheduled Pinned Locked Moved Help and Support
    libcecemulationstatiohdmiceccechdmi
    8 Posts 3 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • madmodder123M
      madmodder123
      last edited by

      Retropie 4.3.7
      Raspberry Pi 3

      Whenever I launch a game I see the following message before the runcommand splash/load screens appear:

       lvl0:   CECInput::mAdapter->DetectAdapters failed
      

      I compiled ES by myself and put the compiled executable in /opt/retropie/supplementary/emulationstation folder.
      If I use the regular binary version of ES from the retropie-setup script I do not get this message.
      I am pretty sure my TV doesn't support CEC.
      I have libcec [4.0.2.2~jessie] and libcec3 [3.0.1-3~jessie] currently installed.
      Previously I had compiled the following libcec from source: https://github.com/Pulse-Eight/libcec/

      Anyone have any ideas?

      mituM jonnykeshJ 2 Replies Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @madmodder123
        last edited by

        @madmodder123 You're using a development version of ES, which probably has a new feature regarding CEC enabled TVs. Being a development version, work is in progress and you can't expect things to go smooth as in the stable version.
        You can either use the stable branch to update from source or use the binary install when you update, those will be fine.

        1 Reply Last reply Reply Quote 0
        • jonnykeshJ
          jonnykesh @madmodder123
          last edited by

          @madmodder123 run sudo apt-get install libcec-dev

          1 Reply Last reply Reply Quote 0
          • madmodder123M
            madmodder123
            last edited by

            @jonnykesh @mitu

            So I installed libcec-dev and recompiled the master branch of ES - that didn't work
            I then recompiled the stable branch of ES - that didn't work

            Is there a way I can just hide the message since it doesn't seem to affect anything?

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @madmodder123
              last edited by

              @madmodder123 Modify the autostart script and redirect the Emulationstation output to /dev/null.

              madmodder123M 1 Reply Last reply Reply Quote 0
              • madmodder123M
                madmodder123 @mitu
                last edited by

                @mitu Thanks!

                For other people:

                In the command line type:

                 sudo nano /opt/retropie/supplementary/emulationstation/emulationstation.sh
                

                and change

                "$esdir/emulationstation" "$@"
                

                to

                "$esdir/emulationstation" "$@" > /dev/null 2>&1
                
                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @madmodder123
                  last edited by

                  @madmodder123 I was rather suggesting to modify /opt/retropie/configs/all/autostart.sh. The emulationstation.sh is more likely to get overwritten by an upgrade of ES, the autostart part, not so much.

                  madmodder123M 1 Reply Last reply Reply Quote 0
                  • madmodder123M
                    madmodder123 @mitu
                    last edited by

                    @mitu
                    Alright sounds good to me i'll do that then.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                    Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.