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

    Emulation station not starting on manual install to PI alternative

    Scheduled Pinned Locked Moved Help and Support
    installerrorpi alternativemanual install
    11 Posts 3 Posters 1.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.
    • mituM
      mitu Global Moderator @gitface
      last edited by mitu

      @gitface said in Emulation station not starting on manual install to PI alternative:

      After some searching my suspicion was no graphics drivers installed, but checking the PermaFrost libraries containing the driver for the Mali G31 GPU were installed.

      I assume you're referring to the Panfrost Mesa GPU driver. Libraries being installed doesn't mean you have a functioning GPU setup.
      Is the desktop working on this system ? How about other GL(ES) applications like glmark2 or glxinfo ?

      G 1 Reply Last reply Reply Quote 0
      • G
        gitface @mitu
        last edited by

        As I said in the original post, its a minimal distro so no desktop environment.

        glmark2: command not found
        glxinfo: unable to open display

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

          @gitface said in Emulation station not starting on manual install to PI alternative:

          As I said in the original post, its a minimal distro so no desktop environment.

          Ok, if the desktop env is not installed, then how did you check that the GPU drivers are working ? I assumed you did install some extra packages (as the GPU drivers' packages).

          glmark2: command not found
          glxinfo: unable to open display

          OK.

          G 1 Reply Last reply Reply Quote 0
          • G
            gitface @mitu
            last edited by

            using command line

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

              @gitface Can you be more specific ?

              Did you run any command(s) to check the GPU drivers are working ? Which command and what's the output ?

              G 1 Reply Last reply Reply Quote 0
              • G
                gitface @mitu
                last edited by

                only the ones you mentioned (these are also the only ones I came across during my search's) as shown above

                gizmo98G 1 Reply Last reply Reply Quote 0
                • gizmo98G
                  gizmo98 Global Moderator @gitface
                  last edited by gizmo98

                  @gitface what is the output of „ls /dev/dri“ and „lsmod“? If you run your setup without graphical interface (xorg) install kmscube with „apt install kmscube“ and try to run it with „kmscube“.

                  Kernellog should contain panfrost if open source driver is used. You can check it with „dmesg | grep panfrost“.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    gitface @gizmo98
                    last edited by

                    So I've just reflashed the distro to start from a clean system and run what you asked,

                    So "ls /dev/dri" gives

                    ls: cannot access '/dev/dri': No such file or directory
                    

                    "lsmod" gives

                    Module                  Size  Used by
                    zram                   32768  2
                    nls_iso8859_1          16384  1
                    8189fs               1187840  0
                    cfg80211              352256  1 8189fs
                    sun50iw9_codec         28672  3
                    joydev                 32768  0
                    display_connector      20480  0
                    fuse                  126976  1
                    hid_logitech_hidpp     45056  0
                    i2c_mv64xxx            24576  0
                    hid_logitech_dj        32768  0
                    

                    and finally installing kmscube and running it I get

                    drmGetDevices2 failed: No such file or directory
                    could not open drm device
                    failed to initialize legacy DRM
                    

                    "dmesg | grep panfrost" does nothing which since kmscube failed to run is expected.

                    gizmo98G 1 Reply Last reply Reply Quote 0
                    • gizmo98G
                      gizmo98 Global Moderator @gitface
                      last edited by

                      @gitface I have bad news. The vendor kernel has no panfrost drm driver. I cannot find the panfrost directory in /drivers/gpu/drm https://github.com/bigtreetech/CB1-Kernel/tree/kernel-5.16/kernel/drivers/gpu/drm.

                      According to the device tree panfrost driver should be used for the gpu. https://github.com/bigtreetech/CB1-Kernel/blob/69110e86c7d6abf3860b12aa8e6682f818be4900/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi#L1177

                      G 1 Reply Last reply Reply Quote 1
                      • G
                        gitface @gizmo98
                        last edited by

                        So essentially to get this to work I would have to compile a version of the kernal with the PanFrost files included.

                        I'm thinking that this would be easier, considering my linux-fu is scraping by level, to go with an actual pi or something like an orange pi.

                        At least it works for my original purpose for a 3D printer were everything is done via ssh or web interface.

                        Anyway, cheers for the help.

                        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.