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

    Lubuntu 19.10/Retropie Font error

    Scheduled Pinned Locked Moved Help and Support
    ubuntuerrorfontsetupemulationstaton
    27 Posts 3 Posters 2.6k 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.
    • J
      Jumpa
      last edited by

      Hi, I'm trying to install Retropie on Lubuntu 19.10.
      I'm on a fresh Lubuntu installation. I've followed the official guide: https://retropie.org.uk/docs/Debian/

      After basic installation from the setup script, I receive the following error:

      RetroPie-Setup/tmp/build/emulationstation/es-core/src/resources/Font.cpp:398: void Font::renderTextCache(TextCache*): Assertion `*it->textureIdPtr != 0' failed.
      Aborted (core dumped)

      I've read something about "resources" folder missing, but the folder is there and I've no clue what to do...could you please help me? Many thanks in advance.

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

        @Jumpa said in Lubuntu 19.10/Retropie Font error:

        I've read something about "resources" folder missing, but the folder is there and I've no clue what to do...could you please help me? Many thanks in advance.

        Where exactly are you looking for the resources folder ? It should be one in /opt/retropie/supplementary/emulationstation.

        1 Reply Last reply Reply Quote 0
        • J
          Jumpa
          last edited by

          Yeah, the folder is in that path...any other idea? Should I downgrade to 19.04?

          Retropie-Setup Script 4.5.19 (commit d037c7f)

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

            Can you check if the folder is empty or not ? Can you try re-installing EmulationStation from RetroPie Setup and then post the log file ? It should be in $HOME/RetroPie-Setup/logs.

            1 Reply Last reply Reply Quote 0
            • J
              Jumpa
              last edited by

              The folder is not empty...wow it took me more than 1 hour to complete the basic install (it's an old pc), is there another way?

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

                @Jumpa Re-installing just one package will not take that long.

                1 Reply Last reply Reply Quote 0
                • J
                  Jumpa
                  last edited by Jumpa

                  Ok, I removed and then reinstalled the core package emulationstation. Here the: log (same error BTW).

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

                    It looks like your RetroPie-Setup installation path is non standard - it should be /home/user/RetroPie-Setup, but you've cloned the repository to /home/user/Desktop/RetroPie-Setup.
                    Try again the - full - installation from /home/user/RetroPie-Setup.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jumpa
                      last edited by Jumpa

                      Started from scratch (reinstalled even lubuntu). Setup installation in standard path (/home/user/Retropie-Setup), the resources folder is in place. Same error. Give up? This is the output of "emulationstation --debug":

                      Apr 21 13:47:47 lvl2:   EmulationStation - v2.9.1rp, built Apr 21 2020 - 11:04:53
                      Apr 21 13:47:47 lvl2:   Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"...
                      Apr 21 13:47:48 lvl2:   Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"...
                      Apr 21 13:47:48 lvl2:   Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"...
                      Apr 21 13:47:48 lvl2:   Creating window...
                      Apr 21 13:47:48 lvl2:   Created window successfully.
                      Apr 21 13:47:48 lvl2:   GL vendor:  
                      Apr 21 13:47:48 lvl2:   GL renderer:
                      Apr 21 13:47:48 lvl2:   GL version:  
                      Apr 21 13:47:48 lvl2:   Checking available OpenGL extensions...
                      Apr 21 13:47:48 lvl2:    ARB_texture_non_power_of_two: MISSING
                      Apr 21 13:47:48 lvl1:   Tried to enable vsync, but failed! (No OpenGL context has been made current)
                      emulationstation: /home/user/RetroPie-Setup/tmp/build/emulationstation/es-core/src/resources/Font.cpp:398: void Font::renderTextCache(TextCache*): Assertion `*it->textureIdPtr != 0' failed.
                      Aborted (core dumped)
                      

                      OpenGL version:

                      OpenGL version string: 1.4 Mesa 19.2.8
                      
                      1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator
                        last edited by

                        It looks like your old PC doesn't support OpenGL 2, which is required by EmulationStation to work. What GPU do you have in the system ?

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jumpa
                          last edited by Jumpa

                          It has an Intel Atom D525 with integrated graphics...GMA 3150 I think.

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

                            According to this page, it does indeed limited to OpenGL 1.5. Even if EmulationStation would run, you'll most likely hit the same limitation when running emulators.

                            Get a more recent system, with a GPU capable of at least OpenGL 2.1.

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jumpa
                              last edited by

                              Well, I managed to enable OpenGL 2.1 with this tutorial:

                              OpenGL version string: 2.1 Mesa 19.2.8
                              

                              But i keep receiving the font error...so my doubt remains.

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

                                @Jumpa Can you post a debug log ?

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TheRavensGuild
                                  last edited by

                                  @mitu I'm struggling with the same issue. I have open GL 2.0, so I don't think that's the problem.

                                  Please help!

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

                                    @TheRavensGuild Post your es_log.txt file to see if you have the same error or not.

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      TheRavensGuild @mitu
                                      last edited by

                                      @mitu I'm still pretty new with this. where would I find said file?

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

                                        @TheRavensGuild In $HOME/.emulationstation. Or you could take the advice above and run emulationstation --debug from an xterm/gnome-terminal windows and post the output.

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          TheRavensGuild @mitu
                                          last edited by

                                          @mitu I got this

                                          May 12 22:17:49 lvl2: 	EmulationStation - v2.9.1rp, built May 11 2020 - 14:32:55
                                          May 12 22:17:49 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamenames.xml"...
                                          May 12 22:17:49 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamebioses.xml"...
                                          May 12 22:17:49 lvl2: 	Parsing XML file "/opt/retropie/supplementary/emulationstation/resources/mamedevices.xml"...
                                          May 12 22:17:49 lvl2: 	Creating window...
                                          May 12 22:17:49 lvl2: 	Created window successfully.
                                          May 12 22:17:49 lvl2: 	GL vendor:   
                                          May 12 22:17:49 lvl2: 	GL renderer: 
                                          May 12 22:17:49 lvl2: 	GL version:  
                                          May 12 22:17:49 lvl2: 	Checking available OpenGL extensions...
                                          May 12 22:17:49 lvl2: 	 ARB_texture_non_power_of_two: MISSING
                                          May 12 22:17:49 lvl1: 	Tried to enable vsync, but failed! (No OpenGL context has been made current)
                                          emulationstation: /home/name/RetroPie-Setup/tmp/build/emulationstation/es-core/src/resources/Font.cpp:398: void Font::renderTextCache(TextCache*): Assertion `*it->textureIdPtr != 0' failed.
                                          Aborted (core dumped)
                                          
                                          
                                          1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator
                                            last edited by

                                            Sure enough, looks identical to the original poster's error, which makes me believe you don't have accelerated OpenGL 2.0. Can you post the output of glxinfo to pastebin.com ? What hardware/GPU do you have ?

                                            T 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.