Retropi running on Ubuntu 16.04 LTS x86 Flavor with intel gizmo2 board will not make emulationstation.
-
I followed the instructions, but I get an error at 22% while it builds emulationstation.
Log started at: Mon 19 Sep 10:13:23 BST 2016
= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
= = = = = = = = = = = = = = = = = = = = =~/RetroPie-Setup/tmp/build/emulationstation ~/RetroPie-Setup
= = = = = = = = = = = = = = = = = = = = =
Getting sources for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
= = = = = = = = = = = = = = = = = = = = =git clone --depth 1 "https://github.com/retropie/EmulationStation" "/home/lee/RetroPie-Setup/tmp/build/emulationstation"
Cloning into '/home/lee/RetroPie-Setup/tmp/build/emulationstation'...
~/RetroPie-Setup
~/RetroPie-Setup/tmp/build/emulationstation ~/RetroPie-Setup= = = = = = = = = = = = = = = = = = = = =
Building 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
= = = = = = = = = = = = = = = = = = = = =Removing additional swap
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.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
Looking for bcm_host.h
bcm_host.h not found
Looking for libMali.so
libMali.so not found
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
-- Looking for FreeImage...
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'freeimage'
-- No package 'freeimage' found
-- Found FreeImage: optimized;/usr/lib/x86_64-linux-gnu/libfreeimage.so;debug;/usr/lib/x86_64-linux-gnu/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
-- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- date_time
-- locale
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.47.0")
-- Found ALSA: /usr/lib/x86_64-linux-gnu/libasound.so (found version "1.1.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lee/RetroPie-Setup/tmp/build/emulationstation
Scanning dependencies of target nanosvg
Scanning dependencies of target pugixml
[ 1%] Building CXX object external/nanosvg/CMakeFiles/nanosvg.dir/src/nanosvg_impl.cpp.o
[ 2%] Building CXX object external/pugixml/CMakeFiles/pugixml.dir/src/pugixml.cpp.o
[ 3%] Linking CXX static library ../../libnanosvg.a
[ 3%] Built target nanosvg
[ 4%] Linking CXX static library ../../libpugixml.a
[ 4%] Built target pugixml
Scanning dependencies of target es-core
[ 4%] Building CXX object es-core/CMakeFiles/es-core.dir/src/AudioManager.cpp.o
[ 5%] Building CXX object es-core/CMakeFiles/es-core.dir/src/GuiComponent.cpp.o
[ 6%] Building CXX object es-core/CMakeFiles/es-core.dir/src/HelpStyle.cpp.o
[ 7%] Building CXX object es-core/CMakeFiles/es-core.dir/src/HttpReq.cpp.o
[ 8%] Building CXX object es-core/CMakeFiles/es-core.dir/src/ImageIO.cpp.o
[ 8%] Building CXX object es-core/CMakeFiles/es-core.dir/src/InputConfig.cpp.o
[ 9%] Building CXX object es-core/CMakeFiles/es-core.dir/src/InputManager.cpp.o
[ 10%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Log.cpp.o
[ 11%] Building CXX object es-core/CMakeFiles/es-core.dir/src/platform.cpp.o
[ 12%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.cpp.o
[ 12%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Renderer_init_sdlgl.cpp.o
[ 13%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Settings.cpp.o
[ 14%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Sound.cpp.o
[ 15%] Building CXX object es-core/CMakeFiles/es-core.dir/src/ThemeData.cpp.o
[ 16%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Util.cpp.o
[ 17%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Window.cpp.o
[ 17%] Building CXX object es-core/CMakeFiles/es-core.dir/src/animations/AnimationController.cpp.o
[ 18%] Building CXX object es-core/CMakeFiles/es-core.dir/src/components/AnimatedImageComponent.cpp.o
[ 19%] Building CXX object es-core/CMakeFiles/es-core.dir/src/components/BusyComponent.cpp.o
[ 20%] Building CXX object es-core/CMakeFiles/es-core.dir/src/components/ButtonComponent.cpp.o
[ 21%] Building CXX object es-core/CMakeFiles/es-core.dir/src/components/ComponentGrid.cpp.o
[ 21%] Building CXX object es-core/CMakeFiles/es-core.dir/src/components/ComponentList.cpp.o
[ 22%] Building CXX object es-core/CMakeFiles/es-core.dir/src/components/DateTimeComponent.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
es-core/CMakeFiles/es-core.dir/build.make:566: recipe for target 'es-core/CMakeFiles/es-core.dir/src/components/ComponentList.cpp.o' failed
make[2]: *** [es-core/CMakeFiles/es-core.dir/src/components/ComponentList.cpp.o] Error 4
make[2]: *** Deleting file 'es-core/CMakeFiles/es-core.dir/src/components/ComponentList.cpp.o'
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:217: recipe for target 'es-core/CMakeFiles/es-core.dir/all' failed
make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
Removing additional swap
~/RetroPie-Setup
Could not successfully build EmulationStation - Frontend used by RetroPie for launching emulators (/home/lee/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found).Log ended at: Mon 19 Sep 10:17:37 BST 2016
Total running time: 0 hours, 4 mins, 14 secs -
I have exactly the same problem that @leejsmith does, except with 14.04 and it dies at 12%.
[ 7%] [ 7%] Building CXX object es-core/CMakeFiles/es-core.dir/src/InputConfig.cpp.o Building CXX object es-core/CMakeFiles/es-core.dir/src/ImageIO.cpp.o [ 8%] [ 7%] [ 9%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Log.cpp.o Building CXX object es-core/CMakeFiles/es-core.dir/src/platform.cpp.o Building CXX object es-core/CMakeFiles/es-core.dir/src/InputManager.cpp.o [ 10%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Renderer_draw_gl.cpp.o [ 11%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Renderer_init_sdlgl.cpp.o [ 12%] Building CXX object es-core/CMakeFiles/es-core.dir/src/Settings.cpp.o c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions. make[2]: *** [es-core/CMakeFiles/es-core.dir/src/InputManager.cpp.o] Error 4 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2 make: *** [all] Error 2 Removing additional swap ~/RetroPie-Setup Could not successfully build EmulationStation - Frontend used by RetroPie for launching emulators (/home/kevin/RetroPie-Setup/tmp/ build/emulationstation/emulationstation not found). kevin@compute-stick:~/RetroPie-Setup/logs$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.3' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
-
I have tried this 3 times and it stops at the same point every time.
-
Out of memory or compiler bug. You can try adding
__default_gcc=4.9
after sudo -
@BuZz so sudo __default_gcc=4.9 retropie_setup.sh
-
@BuZz This did not help :(
-
I have increased the swapfile and it has passed the 22% mark.
-
-
I now have retropie running on my intel gizmo2 board with ubuntu. The problem was lack of memory during the compiling of emulationstation core files. I made a swapfile before running the retropie install script and it works.
-
@leejsmith
Question what graphics driver did you install.Did you specifically downloaded the newest Radeon driver for your model.
And how is testing going? -
@Twitch0815 HI, So far I just wanted to get it working and I have not checked what graphics driver ubuntu is using. As it stands it runs close to a PI 3 when I tested mario kart 64 the audio was choppy and the 3d was jerky. I need to change the power button script to shutdown instead of bring up the options for shutdown, suspend ect.
-
Just wondering if there was an updated Radeon driver you could install then what is included with Kernel I talked to super about it he seems to think the only one is the ubuntu provided one with default. On my INtel Nuc the default driver sucked and I did not see a boost in performance till installing the factory downloaded driver.
-
@Twitch0815 It does look like amd have drivers for it and I found a guide on this page.
I will give this a try later today.
-
Awesome let me know what kind of results you get.
-
In case you are compiling using "-j" flag to compile multiple files in parallel: you can try to remove that option to reduce memory footprint.
-
on PC it is assumed that you have reasonable amount of free ram - by default it will use the number of cpu cores for the
-j
option. can be overridden withsudo MAKEFLAGS=-j1 ./retropie-setup.sh
etc -
@Twitch0815 That looks a few levels above what I am prepared to do for a few extra fps.
-
@leejsmith
at least with my experience with an Intel Nuc I would say the performance gains I saw from having a fully up to date driver were night and day. I saw abysmal performance on an Intel Nuc old generation. Some emulators did not even start at all.
Testing after installing the manufacturer driver saw huge increases all emulators launching properly. I was even able to run a ps2 game at about 3/4 speed.
Just food for thought. -
@Zanoryt Please see https://retropie.org.uk/forum/topic/3/read-this-first BTW and format your posts when posting logs (or use an external pastebin site)
-
The AMD driver download at http://support.amd.com/en-us/download/embedded?os=Linux x86_64 will not work on Ubuntu 16.04
AMD's proprietary Catalyst driver (called
fglrx
) is not compatible with the Xorg shipped in Ubuntu 16.04 or later. AMD are no longer updating Catalyst for Linux so this proprietary driver is no longer an option.The only option available is to use the open source driver (called
radeon
) which is already included.There is a newer AMD driver framework upstream (called
amdgpu
) which has both open source and proprietary options, but it does not support the older HD8000-series in the Gizmo 2 (nor does it support the HD6870 I'm running in my desktop PC).The free
radeon
driver used to be fairly terrible, but it's quite good these days. Current performance on the Gizmo 2 (and my PC) is as good as it's going to get on Ubuntu 16.04 onwards.The only way I can see to maybe get better performance is use Ubuntu 14.04 LTS and the proprietary embedded driver linked above, but I don't know if that's possible with the Gizmo 2, nor if RetroPie will still compile on older Ubuntu releases.
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.