Error instaling Retropie 4.6 on Raspbian Buster in a Rpi4 4GbRam
-
@mitu It's
$HOME/Retropie-Setup/logs/
-
I can't find that log.
I use this tutorial " https://retropie.org.uk/docs/Manual-Installation/ " to install Retropie in Raspbian Buster version.
How I can delete all the Retropie-Setup directory to get a clean and fresh intallation.
-
@beyondthegrave said in Error instaling Retropie 4.6 on Raspbian Buster in a Rpi4 4GbRam:
How I can delete all the Retropie-Setup directory to get a clean and fresh intallation.
Just delete it using
rm
, then clone it again. -
@mitu I don't know what is the complete command.
I have to text only "rm RetroPie-Setup" or I have to use sudo too? This my first time handling a Raspbery Pi. -
@beyondthegrave said in Error instaling Retropie 4.6 on Raspbian Buster in a Rpi4 4GbRam:
I have to text only "rm RetroPie-Setup" or I have to use sudo too?
No,
sudo
shouldn't be needed.This my first time handling a Raspbery Pi.
Then I suggest you install from a pre-made image that you can download from retropie.org.uk/download.
-
Then I suggest you install from a pre-made image that you can download from retropie.org.uk/download.
But the tutorial link in that page only install from the source, and not the downloaded one pre-made image that you recommend me which is in my download folder.
-
A manual installation is preferred when you already have a system installed and perhaps some other things installed on it. If you're not in that situation, then you should start with a pre-made image and not a manual installation. It's just an alternative method of getting RetroPie working on a Raspberry Pi.
The RetroPie image is based on Raspbian Lite, so if you're starting from scratch, there's no reason to prefer a manual installation over the premade image.
-
Hello,
I got the same issue here.From the Log File:
...
CC tasks/task_decompress.c
CC led/drivers/led_rpi.c
LD retroarch
/usr/bin/ld: obj-unix/release/gfx/drivers_shader/shader_gl_core.o: in functiongl_core_shader::Framebuffer::init()': shader_gl_core.cpp:(.text+0x384): undefined reference to
glTexStorage2D'
/usr/bin/ld: shader_gl_core.cpp:(.text+0x4d4): undefined reference toglTexStorage2D' /usr/bin/ld: obj-unix/release/gfx/drivers_shader/shader_gl_core.o: in function
gl_core_shader::Pass::build_semantic_uint(unsigned char*, slang_semantic, unsigned int)':
shader_gl_core.cpp:(.text+0xa74): undefined reference toglUniform1ui' /usr/bin/ld: shader_gl_core.cpp:(.text+0xaa8): undefined reference to
glUniform1ui'
/usr/bin/ld: shader_gl_core.cpp:(.text+0xaf0): undefined reference toglUniform1ui' /usr/bin/ld: shader_gl_core.cpp:(.text+0xb0c): undefined reference to
glUniform1ui'
/usr/bin/ld: obj-unix/release/gfx/drivers_shader/shader_gl_core.o: in functiongl_core_shader::Pass::build_commands(gl_core_shader::Texture const&, gl_core_shader::Texture const&, gl_core_viewport const&, float const*)': shader_gl_core.cpp:(.text+0x1860): undefined reference to
glBindBufferBase'
/usr/bin/ld: shader_gl_core.cpp:(.text+0x1a2c): undefined reference toglBindBufferBase' /usr/bin/ld: obj-unix/release/gfx/drivers_shader/shader_gl_core.o: in function
gl_core_cross_compile_program':
shader_gl_core.cpp:(.text+0x5780): undefined reference toglGetUniformBlockIndex' /usr/bin/ld: shader_gl_core.cpp:(.text+0x57a0): undefined reference to
glGetUniformBlockIndex'
/usr/bin/ld: obj-unix/release/gfx/drivers_shader/shader_gl_core.o: in functiongl_core_filter_chain_create_from_preset': shader_gl_core.cpp:(.text+0x76bc): undefined reference to
glTexStorage2D'
/usr/bin/ld: obj-unix/release/gfx/drivers/gl.o: in functiongl2_read_viewport': gl.c:(.text+0x758): undefined reference to
glMapBufferRange'
/usr/bin/ld: gl.c:(.text+0x7cc): undefined reference toglUnmapBuffer' /usr/bin/ld: obj-unix/release/gfx/drivers/gl.o: in function
gl2_load_texture_image.constprop.26':
gl.c:(.text+0x2168): undefined reference toglTexStorage2D' /usr/bin/ld: obj-unix/release/./libretro-common/gfx/gl_capabilities.o: in function
gl_query_extension':
gl_capabilities.c:(.text+0x84): undefined reference toglGetStringi' /usr/bin/ld: obj-unix/release/gfx/drivers/gl_core.o: in function
gl_core_set_texture_frame':
gl_core.c:(.text+0x308): undefined reference toglTexStorage2D' /usr/bin/ld: gl_core.c:(.text+0x420): undefined reference to
glTexStorage2D'
/usr/bin/ld: obj-unix/release/gfx/drivers/gl_core.o: in functionvideo_texture_load_gl_core': gl_core.c:(.text+0x5d4): undefined reference to
glTexStorage2D'
/usr/bin/ld: gl_core.c:(.text+0x6f0): undefined reference toglTexStorage2D' /usr/bin/ld: obj-unix/release/gfx/drivers/gl_core.o: in function
gl_core_read_viewport':
gl_core.c:(.text+0x904): undefined reference toglMapBufferRange' /usr/bin/ld: gl_core.c:(.text+0x94c): undefined reference to
glUnmapBuffer'
/usr/bin/ld: obj-unix/release/gfx/drivers/gl_core.o: in functiongl_core_destroy_resources': gl_core.c:(.text+0xa84): undefined reference to
glBindVertexArray'
/usr/bin/ld: gl_core.c:(.text+0xba0): undefined reference toglDeleteSync' /usr/bin/ld: gl_core.c:(.text+0xd54): undefined reference to
glDeleteVertexArrays'
/usr/bin/ld: obj-unix/release/gfx/drivers/gl_core.o: in functiongl_core_init': gl_core.c:(.text+0x1c10): undefined reference to
glTexStorage2D'
/usr/bin/ld: gl_core.c:(.text+0x1f68): undefined reference toglGenVertexArrays' /usr/bin/ld: gl_core.c:(.text+0x1f70): undefined reference to
glBindVertexArray'
/usr/bin/ld: gl_core.c:(.text+0x1f78): undefined reference toglBindVertexArray' /usr/bin/ld: obj-unix/release/gfx/drivers/gl_core.o: in function
gl_core_frame':
gl_core.c:(.text+0x2b70): undefined reference toglBindVertexArray' /usr/bin/ld: gl_core.c:(.text+0x2e14): undefined reference to
glBindVertexArray'
/usr/bin/ld: gl_core.c:(.text+0x3368): undefined reference toglTexStorage2D' /usr/bin/ld: gl_core.c:(.text+0x3454): undefined reference to
glClientWaitSync'
/usr/bin/ld: gl_core.c:(.text+0x345c): undefined reference toglDeleteSync' /usr/bin/ld: gl_core.c:(.text+0x35a0): undefined reference to
glFenceSync'
/usr/bin/ld: obj-unix/release/gfx/drivers_font/gl_core_raster_font.o: in functiongl_core_raster_font_upload_atlas': gl_core_raster_font.c:(.text+0x1d0): undefined reference to
glTexStorage2D'
collect2: error: ld returned 1 exit status
make: *** [Makefile:201: retroarch] Error 1
/home/pi/RetroPie-Setup
Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch not found).Log ended at: Wed May 13 17:40:33 -03 2020
Total running time: 0 hours, 4 mins, 53 secs -
@Oldies4ever How are you installing RetroPie ? RetroArch installs fine from source with the latest RetroPie version.
Please add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first. -
Hello @mitu
Thank you for your reply.
You'll find the requested Info below:
Pi Model or other hardware: Raspberry Pi 4 Model B Rev 1.1 4GB - Compatible: raspberrypi,4-model-bbrcm,bcm2711
OS: Raspian Buster 10.4 Lite
Power Supply used: Original Power Supply - 15.3W / 5.1V / 3.0A DC output
RetroPie Version Used: 4.6.1
Built From: Source - https://github.com/RetroPie/RetroPie-Setup.git
USB Devices connected: Keyboard
Controller used: Keyboard
Error messages received: "Could not successfully build retroarch - RetroArch - frontend to the libretro emulator cores - required by all lr-* emulators (/home/pi/RetroPie-Setup/tmp/build/retroarch/retroarch not found)."
Log found in /dev/shm/runcommand.log (if relevant): N/A
Guide used: https://retropie.org.uk/docs/Manual-Installation/
File: N/A
Emulator: RetroarchPlease see the complete log file: https://pastebin.com/pUh02qLn
-
Can't reproduce the error - did you modify anything in your
config.txt
(disabling KMS) ? Don't you have a binary installation option for RetroArch ? -
Hello @mitu
Thank you very much for your hint about KMS in the config.txt file.
I really didn't paid attention to this.
It was really commented, I don't know why. I didn't ever edit this file.
Now the installation has finished successfully.The solution was really uncomment the two lines below regarding KMS dtoverlay into /boot/config.txt (and restart) :
[pi4] # Enable DRM VC4 V3D driver on top of the dispmanx display stack dtoverlay=vc4-fkms-v3d max_framebuffers=2 [all] dtoverlay=vc4-fkms-v3d start_x=0 gpu_mem=256 hdmi_enable_4kp60=1
Thank's a lot for your help. I hope this topic may help many other friends to enjoy Retropie.
Kind Regards.
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.