• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

ASUS Tinkerboard: unable to install retroarch and emulationstation.

Scheduled Pinned Locked Moved Help and Support
retroarchemulatiostationtinkerboardasusinstall
15 Posts 5 Posters 3.0k 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.
  • E
    E3L1
    last edited by mitu 15 Jan 2019, 11:06

    So I got a ASUS tinker board so that I can play those good N64 games. Discovered that I pretty much needed to install retropie on top of tinker os (asus version of Debian) and got almost everything installed but for some reason retroach and emulationstation will not install. Though all the emulators seem to have installed correctly.... im not a Linux guy.... I do have the logs from trying to install the two item here;

    Retroarch;

    Log started at: Tue Jan 15 10:27:29 UTC 2019

    RetroPie-Setup version: 4.4.4 (9cac54f)
    System: Linux RetroPi 4.4.132+ #1 SMP Tue Oct 23 18:03:49 CST 2018 armv7l GNU/Linux

    = = = = = = = = = = = = = = = = = = = = =
    Installing dependencies for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =

    Did not find needed package(s): libsdl2-dev. I am trying to install them now.

    = = = = = = = = = = = = = = = = = = = = =
    Installing dependencies for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
    = = = = = = = = = = = = = = = = = = = = =

    /home/linaro/RetroPie-Setup/tmp/build/sdl2 /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Getting sources for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
    = = = = = = = = = = = = = = = = = = = = =

    Already on 'kms-2.0.8'
    M debian/changelog
    Your branch is up-to-date with 'origin/kms-2.0.8'.
    Already up-to-date.
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    /home/linaro/RetroPie-Setup/tmp/build/sdl2 /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Building 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
    = = = = = = = = = = = = = = = = = = = = =

    dpkg-buildpackage: info: source package libsdl2
    dpkg-buildpackage: info: source version 2.0.8+1
    dpkg-buildpackage: info: source distribution UNRELEASED
    dpkg-buildpackage: info: source changed by Jools Wills buzz@exotica.org.uk
    dpkg-source --before-build 2.0.8+1
    dpkg-buildpackage: info: host architecture armhf
    dpkg-checkbuilddeps: error: Unmet build dependencies: libgl1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)
    cp: cannot stat '../*.deb': No such file or directory
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    Could not successfully build sdl2 - SDL (Simple DirectMedia Layer) v2.x (/home/linaro/RetroPie-Setup/tmp/build/sdl2/libsdl2-dev_2.0.8+1_armhf.deb not found).
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following package was automatically installed and is no longer required:
    libopts25
    Use 'sudo apt autoremove' to remove it.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Successfully installed package(s): .
    /home/linaro/RetroPie-Setup/tmp/build/retroarch /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Getting sources for 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =

    git clone --recursive --depth 1 --branch v1.7.5 "https://github.com/libretro/RetroArch.git" "/home/linaro/RetroPie-Setup/tmp/build/retroarch"
    Cloning into '/home/linaro/RetroPie-Setup/tmp/build/retroarch'...
    Note: checking out 'c9c6c5a5a63cf49821f785eda58ad46864864cd5'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

    git checkout -b <new-branch-name>

    patching file input/input_driver.c
    Successfully applied patch: /home/linaro/RetroPie-Setup/scriptmodules/emulators/retroarch/01_hotkey_hack.diff
    patching file menu/widgets/menu_entry.c
    Successfully applied patch: /home/linaro/RetroPie-Setup/scriptmodules/emulators/retroarch/02_disable_search.diff
    patching file input/drivers_joypad/udev_joypad.c
    Successfully applied patch: /home/linaro/RetroPie-Setup/scriptmodules/emulators/retroarch/03_disable_udev_sort.diff
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    /home/linaro/RetroPie-Setup/tmp/build/retroarch /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Building 'retroarch' : RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators
    = = = = = = = = = = = = = = = = = = = = =

    Checking operating system ... Linux
    Checking for suitable working C compiler ... /usr/bin/gcc works
    Checking for suitable working C++ compiler ... /usr/bin/g++ works
    Checking for pkg-config ... /usr/bin/pkg-config
    Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes
    Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes
    Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes
    Checking function sd_get_machine_names in -lsystemd ... no
    Checking presence of package bcm_host ... no
    Checking function bcm_host_init in -lbcm_host ... no
    Checking presence of package egl ... 7.10
    Checking function ass_library_init in -lass ... no
    Checking function pthread_create in -lpthread ... yes
    Checking function pthread_key_create in -lpthread ... yes
    Checking function dlopen in -ldl ... yes
    Checking function socket in -lc ... yes
    Checking function getaddrinfo in -lc ... yes
    Checking existence of -lminiupnpc ... no
    Checking function fcntl in -lc ... yes
    Checking function getopt_long in -lc ... yes
    Checking presence of package alsa ... 1.1.3
    Checking presence of package rsound >= 1.1 ... no
    Checking presence of package libroar ... no
    Checking presence of package sdl2 >= 2.0.0 ... no
    Forced to build with package sdl2, but cannot locate. Exiting ...
    Makefile:10: config.mk: No such file or directory
    rm -rf obj-unix
    rm -f retroarch
    rm -f .d
    Makefile:10: config.mk: No such file or directory
    config.mk is outdated or non-existing. Run ./configure again.
    Makefile:182: recipe for target 'config.mk' failed
    make: *** [config.mk] Error 1
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-
    emulators (/home/linaro/RetroPie-Setup/tmp/build/retroarch/retroarch not found).

    Log ended at: Tue Jan 15 10:29:19 UTC 2019
    Total running time: 0 hours, 1 mins, 50 secs

    Emulationstation;

    Log started at: Tue Jan 15 10:34:26 UTC 2019

    RetroPie-Setup version: 4.4.4 (9cac54f)
    System: Linux RetroPi 4.4.132+ #1 SMP Tue Oct 23 18:03:49 CST 2018 armv7l GNU/Linux

    = = = = = = = = = = = = = = = = = = = = =
    Installing dependencies for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
    = = = = = = = = = = = = = = = = = = = = =

    Did not find needed package(s): libsdl2-dev. I am trying to install them now.

    = = = = = = = = = = = = = = = = = = = = =
    Installing dependencies for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
    = = = = = = = = = = = = = = = = = = = = =

    /home/linaro/RetroPie-Setup/tmp/build/sdl2 /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Getting sources for 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
    = = = = = = = = = = = = = = = = = = = = =

    Already on 'kms-2.0.8'
    M debian/changelog
    Your branch is up-to-date with 'origin/kms-2.0.8'.
    Already up-to-date.
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    /home/linaro/RetroPie-Setup/tmp/build/sdl2 /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Building 'sdl2' : SDL (Simple DirectMedia Layer) v2.x
    = = = = = = = = = = = = = = = = = = = = =

    dpkg-buildpackage: info: source package libsdl2
    dpkg-buildpackage: info: source version 2.0.8+1
    dpkg-buildpackage: info: source distribution UNRELEASED
    dpkg-buildpackage: info: source changed by Jools Wills buzz@exotica.org.uk
    dpkg-source --before-build 2.0.8+1
    dpkg-buildpackage: info: host architecture armhf
    dpkg-checkbuilddeps: error: Unmet build dependencies: libgl1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)
    cp: cannot stat '../*.deb': No such file or directory
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    Could not successfully build sdl2 - SDL (Simple DirectMedia Layer) v2.x (/home/linaro/RetroPie-Setup/tmp/build/sdl2/libsdl2-dev_2.0.8+1_armhf.deb not found).
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following package was automatically installed and is no longer required:
    libopts25
    Use 'sudo apt autoremove' to remove it.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Successfully installed package(s): .
    /home/linaro/RetroPie-Setup/tmp/build/emulationstation /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Getting sources for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
    = = = = = = = = = = = = = = = = = = = = =

    git clone --recursive --depth 1 --branch stable "https://github.com/RetroPie/EmulationStation" "/home/linaro/RetroPie-Setup/tmp/build/emulationstation"
    Cloning into '/home/linaro/RetroPie-Setup/tmp/build/emulationstation'...
    Submodule 'external/pugixml' (https://github.com/zeux/pugixml.git) registered for path 'external/pugixml'
    Cloning into '/home/linaro/RetroPie-Setup/tmp/build/emulationstation/external/pugixml'...
    Submodule path 'external/pugixml': checked out 'd2deb420bc70369faa12785df2b5dd4d390e523d'
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    /home/linaro/RetroPie-Setup/tmp/build/emulationstation /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice

    = = = = = = = = = = = = = = = = = = = = =
    Building 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
    = = = = = = = = = = = = = = = = = = = = =

    Removing additional swap
    -- The C compiler identification is GNU 6.3.0
    -- The CXX compiler identification is GNU 6.3.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    libMali.so found
    -- Found Freetype: /usr/lib/arm-linux-gnueabihf/libfreetype.so (found version "2.6.3")
    -- Looking for FreeImage...
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
    -- Checking for module 'freeimage'
    -- No package 'freeimage' found
    -- Found FreeImage: optimized;/usr/lib/arm-linux-gnueabihf/libfreeimage.so;debug;/usr/lib/arm-linux-gnueabihf/libfreeimage.so
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
    Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
    Call Stack (most recent call first):
    /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
    CMake/Packages/FindSDL2.cmake:163 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    CMakeLists.txt:51 (find_package)

    -- Configuring incomplete, errors occurred!
    See also "/home/linaro/RetroPie-Setup/tmp/build/emulationstation/CMakeFiles/CMakeOutput.log".
    See also "/home/linaro/RetroPie-Setup/tmp/build/emulationstation/CMakeFiles/CMakeError.log".
    make: *** No rule to make target 'clean'. Stop.
    make: *** No targets specified and no makefile found. Stop.
    Removing additional swap
    /opt/retropie/supplementary/usbromservice /home/linaro/RetroPie-Setup/tmp/build/usbromservice
    Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/linaro/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found).

    Log ended at: Tue Jan 15 10:34:52 UTC 2019
    Total running time: 0 hours, 0 mins, 26 secs

    1 Reply Last reply Reply Quote 0
    • mituM
      mitu Global Moderator
      last edited by 15 Jan 2019, 12:49

      All boils down to libsdl2 not being build for your platform. If you look closely at the installation log, the build failes because you're missing a few packages:

       dpkg-checkbuilddeps: error: Unmet build dependencies: libgl1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev
      

      Install those packages manually, then re-try the process. However, it's not guaranteed that even if they compile and install they will work correctly on your environment. The tinkerboard is still an experimental platform at this point for RetroPie.

      E 1 Reply Last reply 15 Jan 2019, 16:57 Reply Quote 1
      • ExarKunIvE
        ExarKunIv
        last edited by 15 Jan 2019, 15:27

        dont know if you tried this but there is a guy who is working on a build of retropie for the tinker board.

        forum

        he does not have anything do to with the work that is done here but its worth a look.

        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
        Maintainer of RetroPie-Extra .

        E 1 Reply Last reply 15 Jan 2019, 16:59 Reply Quote 0
        • E
          E3L1 @mitu
          last edited by 15 Jan 2019, 16:57

          @mitu sorry for my lack of Linux knowledge but how would I get and install said packages?

          mituM 1 Reply Last reply 15 Jan 2019, 17:22 Reply Quote 0
          • E
            E3L1 @ExarKunIv
            last edited by 15 Jan 2019, 16:59

            @ExarKunIv I’ve actually looked at it but for some reason when I write the image the sad card won’t boot... actually for that matter the only thing I’ve been able to get boot in tinker OS...

            ExarKunIvE 1 Reply Last reply 15 Jan 2019, 18:42 Reply Quote 0
            • mituM
              mitu Global Moderator @E3L1
              last edited by 15 Jan 2019, 17:22

              @E3L1 Just like on any Debian distro, using apt

              apt -y install libgl1-mesa-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxss-dev
              
              E 1 Reply Last reply 16 Jan 2019, 06:10 Reply Quote 1
              • ExarKunIvE
                ExarKunIv @E3L1
                last edited by 15 Jan 2019, 18:42

                @E3L1 ok , just a thought.
                i have not got the board yet, so i cant help.
                been meaning to but have not had the chance

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                1 Reply Last reply Reply Quote 0
                • E
                  E3L1 @mitu
                  last edited by 16 Jan 2019, 06:10

                  @mitu OK so now there installed but now I have a new problem.... when I try to start EmulationStation all I get back is;

                  “Error creating SDL window!
                  Could not initialize OpenGL / GLES library
                  Renderer failed to initialize!
                  Window failed to initialize!”

                  So am I missing open GL? Or is some other thing preventing it from starting?

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by 16 Jan 2019, 06:13

                    I've not tested this for some time on the tinker board. It's possible something has happened to break it. I was considering to ditch support for the Image that comes with the tinkerboard and instead look at using Armbian as a base as it looks like it's better support. I cannot offer any advice until I have looked at this.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    E 1 Reply Last reply 16 Jan 2019, 06:31 Reply Quote 0
                    • E
                      E3L1 @BuZz
                      last edited by 16 Jan 2019, 06:31

                      @BuZz on that note ive tried using armbian but it seams that only tinkeros is actually bootable on the tinkerboard.... any ideas why?

                      BuZzB 1 Reply Last reply 16 Jan 2019, 06:39 Reply Quote 0
                      • BuZzB
                        BuZz administrators @E3L1
                        last edited by 16 Jan 2019, 06:39

                        @E3L1 No - I've yet to try Armbian on the Tinker board.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        E 1 Reply Last reply 16 Jan 2019, 07:13 Reply Quote 0
                        • E
                          E3L1 @BuZz
                          last edited by 16 Jan 2019, 07:13

                          @BuZz so ive been looking around, do I need to disable the desktop interface for emulationstation to work?

                          1 Reply Last reply Reply Quote 0
                          • E
                            E3L1
                            last edited by 16 Jan 2019, 10:54

                            so got armbian to boot, the problem was that I put a paperclip through the run pinouts for tinker os, armbian dous NOT boot with them shorted.... will now try armbian install

                            1 Reply Last reply Reply Quote 0
                            • E
                              E3L1
                              last edited by 17 Jan 2019, 13:57

                              Well I’ve managed to get everything installed and running though for some reason there is this strange audio thing happening, literally 50% of the time when starting games the audio is missing but like super predictable like start game no audio, restart same game audio, restart again no audio.... any ideas?

                              1 Reply Last reply Reply Quote 0
                              • E
                                Esmertec
                                last edited by 9 Feb 2019, 08:46

                                @E3L1 , try this:
                                In terminal type:
                                sudo nano /usr/share/alsa/alsa.conf
                                Then Change
                                defaults.pcm.card to 1
                                To
                                defaults.pcm.card to 0
                                Save, exit, and reboot.

                                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.

                                  This community forum collects and processes your personal information.
                                  consent.not_received