Thank you!
RetroELEC Kodi+Wayland+Emulationstation+RetroArch (x86/XU4/RPi)
-
escalade -
May 12, 2016 at 2:26 PM -
Thread is Resolved
-
-
Hi master,
about this issue
Hi master! Just a quick question....
Your script for libretro-database download only the existent files.
I done some mods into .dat file and created a new .dat file but to use it with Retroarch (to perform game scanning) I have to compile it in .rdb.
But... how to do that? Any suggestion?I solved whit this:
go to retroarch/libretro-db/ and run make there to compile just the converter
this creates the c_converter binary that can be used like ./c_converter file.rdb file.datNow I'm trying to compile mame2010-libretro.
According mame2010-libretro/README.txt at master · libretro/mame2010-libretro · GitHub I done this:Code
Display MorePKG_NAME="mame2010-libretro" PKG_VERSION="a4537c3" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="MAME" PKG_SITE="https://github.com/libretro/mame2010-libretro.git" PKG_URL="https://github.com/libretro/mame2010-libretro/archive/$PKG_VERSION.tar.gz" PKG_DEPENDS_TARGET="toolchain" PKG_PRIORITY="optional" PKG_SECTION="emulation" PKG_SHORTDESC="MAME - Multiple Arcade Machine Emulator" PKG_LONGDESC="MAME - Multiple Arcade Machine Emulator" PKG_IS_ADDON="no" PKG_AUTORECONF="no" make_target() { make -f Makefile "VRENDER=soft" -j4 buildtools make -f Makefile "VRENDER=soft" -j4 } makeinstall_target() { mkdir -p $INSTALL/usr/lib/libretro cp mame2010_libretro.so $INSTALL/usr/lib/libretro/ }
but compilation fails with
Codesrc/emu/hash.c:125:18: fatal error: zlib.h: No such file or directory #include <zlib.h> ^ compilation terminated. Makefile:838: recipe for target 'obj/retro64/emu/hash.o' failed make: *** [obj/retro64/emu/hash.o] Error 1 make: *** Waiting for unfinished jobs....
could you help me?
Thanks -
The error is clear, zlib.h not found. It should already be present in your toolchain, so you'd have to revise the makefile and compiler options to make sure the include paths are correct.
-
Thank you for awsome work escalade!
A question.
My kodi always set my resolution screen too big (or spanned it, dont know)... i set it right with Kodi, but ES seems to get settings from somewhere else, because picture is out of boundsI tried with ES option -w X -h Y, i played with overscan in config.txt, but it doesnt work.
Than you
-
My mind reading does not work on long distances, so you'll have to tell me what hardware you have and post logs In any case, sounds like you need to adjust your TV to "just scan" 16:9 or something along those lines. Normally, Kodi and Emulationstation should pick the optimal resolution for you (normally 1080p). There aren't any resolution options in ES as far as I know, it will just use whatever your X server is set to.
New builds are online, worth an upgrade for anyone who has any DVD files in their library as it's now supported again.
-
My mind reading does not work on long distances, so you'll have to tell me what hardware you have and post logs In any case, sounds like you need to adjust your TV to "just scan" 16:9 or something along those lines. Normally, Kodi and Emulationstation should pick the optimal resolution for you (normally 1080p). There aren't any resolution options in ES as far as I know, it will just use whatever your X server is set to.New builds are online, worth an upgrade for anyone who has any DVD files in their library as it's now supported again.
I have RPi3, thats why i thought i could change something in config.txt of the system and Kodi and ES would pick it up.
But the resolution was always the same (wrong), either on arm or x86, so i guess it is the TV.I'll try both suggestions, make logs and come back with what i find out.
Thank you
-
Oh yeah, I must have missed that
-
The error is clear, zlib.h not found. It should already be present in your toolchain, so you'd have to revise the makefile and compiler options to make sure the include paths are correct.I tried without success.
I have to renounce. I'm not able to create a package.mk for mame2010. -
I have RPi3, thats why i thought i could change something in config.txt of the system and Kodi and ES would pick it up.
But the resolution was always the same (wrong), either on arm or x86, so i guess it is the TV.I'll try both suggestions, make logs and come back with what i find out.
Thank you
I feel kinda stupid...
Kodi does get the right resolution for my TV, but the screen goes out of bounds. So my first reaction (always) with this TV was to set overscan.Now I selected the next smaller resolution, perfect fit, ES gets the resolution from kodi (perfect fit) so its OK, sort of... i gues.
My tv is lg 47lb630v. I got the same behavior from kodi 15? onward. This is on the Kodi part, not libreelec, right?
-
Why would you anyways? The core hasn't seen an update in over 6 months, mame/mame2003 is a better choice. I prefer mame2003 as it displays a better picture, aspect seems off with mame.
If your TV supports 1080p and Kodi is set to 1080p it should look correct. If it doesn't you need to adjust your TV.
-
Hi Escalade,
I have tried LE with dosbox core but without success.
Even if I just manually run the following:LibreELEC:~ # /usr/bin/retroarch.start -L /tmp/cores/dosbox_libretro.so
The output in retroarch.log is the same:
Segmentation fault (core dumped)
Did you success with the current core version in LE?
-
It works for me on Generic (Intel). The dosbox core is not really that mature anyways, it has an issue with the keyboard autorepeating and there seems to be a problem with some games copy protection (Little Big Adventure 2 does not find CD even if it's mounted). I'll probably package up the regular dosbox with sdl2 at some point.
-
It works for me on Generic (Intel). The dosbox core is not really that mature anyways, it has an issue with the keyboard autorepeating and there seems to be a problem with some games copy protection (Little Big Adventure 2 does not find CD even if it's mounted). I'll probably package up the regular dosbox with sdl2 at some point.Ahh, that might be the case. I'm on RPI3. Anyway, thank you for your answer.
-
Why would you anyways? The core hasn't seen an update in over 6 months, mame/mame2003 is a better choice. I prefer mame2003 as it displays a better picture, aspect seems off with mame.I use mame2003 too (Mame romset 0.78).
I would like to try mame2010 and create for the libretro community also a database .rdb/.dat for romset 0.139u4 (used in mame2010).
Could you help me for the package.mk?
Thx -
Hi
What would it take to compile This version of Libreelec for Odroid C2?
I tried, and it fails (I think at the end) with
Odroid_C2: no project.mk file.Thanks
P.S. I can compile the normal version of Libreelec
-
I have no interest in that for the same reasons as mentioned above, mame2010 was updated last november 2015. If you want to create packages you need to put in the work yourself, I can help you if you have a specific question. There is a ton of similar packages already that you can look at and learn from.
My tree have a lot of packages not present in upstream LibreELEC, I'm only testing with RPi3/Intel. Always include a full log, the error you mention is not the complete error and does not indicate what went wrong.
-
My tree have a lot of packages not present in upstream LibreELEC, I'm only testing with RPi3/Intel. Always include a full log, the error you mention is not the complete error and does not indicate what went wrong.
Thanks
Tail of logs is
Code
Display More./scripts/image mkimage ================================================================================= Configuration for LibreELEC (community) ================================================================================= Buildoptions: ====================================================== - CPU (ARCH): cortex-a53 (aarch64) - FLOAT: - FPU: - SIMD support: yes - Optimizations: size - LTO (Link Time Optimization) support: yes - GOLD (Google Linker) Support: yes - LLVM support: Graphic configuration: ====================================================== - OpenGL (GLX) support (provider): no (no) - OpenGLES support (provider): yes (opengl-meson) - uvesafb support: no Hardware decoder configuration: ====================================================== - Kodi Player driver: libamcodec - VAAPI Support: - VDPAU Support: Input device configuration: ====================================================== - Remote support: yes - ATV Remote support: no - CEC Adapter support: yes - IRTrans support: no - Kodi Joystick support: yes Misc. hardware configuration: ====================================================== - ALSA support: yes - Pulseaudio support: yes - Bluetooth support: yes - LCD drivers: irtrans,imon,imonlcd,mdm166a,MtxOrb,lis,dm140,hd44780,CFontz,SureElec,vlsys_m428,serialVFD,shuttleVFD - Include driver: RTL8192CU - Include driver: RTL8192DU - Include driver: RTL8188EU - Include driver: RTL8192EU - Include driver: RTL8812AU - Include firmware: misc-firmware - Include firmware: wlan-firmware - Include firmware: dvb-firmware Network service configuration: ====================================================== - Avahi (Zeroconf) support: yes - NFS mounting support: yes - SAMBA mounting support: yes - SAMBA server support: yes - SFTP server support: yes - OpenVPN support: yes OS configuration: ====================================================== - OEM Support: yes - Default ROOT Password: libreelec - Bootloader: u-boot - U-Boot configuration: odroidc2_defconfig - U-Boot config file: boot.ini - UDevil support: yes - Installer support: no Misc. Filesystems: ====================================================== - Swap Support: no - exFAT Support (via Fuse): yes - NTFS Support (via Fuse): yes - Install HFS Tools: yes Kodi configuration: ====================================================== - Kodi version: kodi - Kodi nonfree support: yes - Kodi Blu-Ray support: yes - Bluray BD+ support: yes - Bluray AACS support: yes - Kodi DVDCSS support: yes - Kodi Airplay support: yes - Kodi Airtunes support: yes - Kodi NFS support: yes - Kodi MySQL support: yes - Kodi Optical Drive support: yes - Kodi SAMBA client support: yes - Kodi SSH client support: yes - Kodi UPNP support: yes - Kodi Webserver support: yes - Default Skin: Estuary - Include extra fonts: yes ================================================================================= End Configuration for LibreELEC ================================================================================= INSTALL libc (target) INSTALL toolchain (target) INSTALL configtools (host) INSTALL make (host) INSTALL xz (host) INSTALL sed (host) INSTALL pkg-config (host) INSTALL autoconf (host) INSTALL automake (host) INSTALL libtool (host) INSTALL intltool (host) INSTALL autoconf-archive (host) INSTALL gcc (host) INSTALL bison (host) INSTALL flex (host) INSTALL cmake (host) INSTALL yasm (host) INSTALL glibc (target) INSTALL ccache (host) INSTALL autotools (host) INSTALL linux (host) INSTALL gcc (bootstrap) INSTALL timezone-data (target) INSTALL gcc (target) INSTALL linux (target) INSTALL cpio (host) INSTALL kmod (host) INSTALL wireless-regdb (target) INSTALL keyutils (target) INSTALL linux-drivers (target) INSTALL RTL8192CU (target) INSTALL RTL8192DU (target) INSTALL RTL8188EU (target) INSTALL RTL8192EU (target) INSTALL RTL8812AU (target) INSTALL linux-firmware (target) INSTALL misc-firmware (target) INSTALL wlan-firmware (target) INSTALL dvb-firmware (target) INSTALL u-boot (target) INSTALL gcc-linaro-aarch64-none-elf (host) INSTALL busybox (target) INSTALL busybox (host) INSTALL hdparm (target) INSTALL dosfstools (target) INSTALL e2fsprogs (target) INSTALL diskdev_cmds (target) INSTALL libressl (target) INSTALL zip (target) INSTALL bzip2 (target) INSTALL unzip (target) INSTALL usbutils (target) INSTALL libusb (target) INSTALL systemd (target) INSTALL libcap (target) INSTALL kmod (target) INSTALL util-linux (target) INSTALL entropy (target) INSTALL parted (target) INSTALL parted (host) INSTALL procps-ng (target) INSTALL netbsd-curses (target) INSTALL f2fs-tools (target) INSTALL btrfs-progs (target) INSTALL zlib (target) INSTALL lzo (target) INSTALL xfsprogs-dev (target) INSTALL nano (target) INSTALL rpcbind (target) INSTALL libtirpc (target) INSTALL corefonts (target) INSTALL liberation-fonts-ttf (target) INSTALL util-macros (target) INSTALL network (target) INSTALL connman (target) INSTALL glib (target) INSTALL libffi (target) INSTALL Python (host) INSTALL readline (target) INSTALL dbus (target) INSTALL expat (target) INSTALL iptables (target) INSTALL libmnl (target) INSTALL libnftnl (target) INSTALL wpa_supplicant (target) INSTALL libnl (target) INSTALL iana-etc (target) INSTALL ethtool (target) INSTALL openssh (target) INSTALL openvpn (target) INSTALL bluez (target) INSTALL unfs3 (target) INSTALL flex (target) INSTALL mediacenter (target) INSTALL kodi (target) INSTALL kodi (host) INSTALL xmlstarlet (host) INSTALL Python (target) INSTALL sqlite (target) INSTALL pcre (target) INSTALL swig (host) INSTALL libass (target) INSTALL freetype (target) INSTALL libpng (target) INSTALL fontconfig (target) INSTALL libxml2 (target) INSTALL fribidi (target) INSTALL curl (target) INSTALL rtmpdump (target) INSTALL tinyxml (target) INSTALL libjpeg-turbo (target) INSTALL libcdio (target) INSTALL taglib (target) INSTALL libxslt (target) INSTALL yajl (target) INSTALL ffmpeg (target) INSTALL speex (target) INSTALL crossguid (target) INSTALL giflib (target) INSTALL libdvdnav (target) INSTALL libdvdread (target) INSTALL libdvdcss (target) INSTALL opengl-meson (target) INSTALL alsa-lib (target) INSTALL pulseaudio (target) INSTALL libtool (target) INSTALL json-c (target) INSTALL libsndfile (target) INSTALL soxr (target) INSTALL sbc (target) INSTALL avahi (target) INSTALL libdaemon (target) INSTALL espeak (target) INSTALL libcec (target) INSTALL lockdev (target) INSTALL p8-platform (target) INSTALL SDL2 (target) INSTALL libbluray (target) INSTALL libaacs (target) INSTALL libgcrypt (target) INSTALL libgpg-error (target) INSTALL libbdplus (target) INSTALL nss-mdns (target) INSTALL mysql (target) INSTALL boost (target) INSTALL boost (host) INSTALL mysql (host) INSTALL libplist (target) INSTALL libshairplay (target) INSTALL libnfs (target) INSTALL samba (target) INSTALL libmicrohttpd (target) INSTALL libssh (target) INSTALL libamcodec (target) INSTALL Pillow (target) INSTALL distutilscross (host) INSTALL tiff (target) INSTALL simplejson (target) INSTALL pycrypto (target) INSTALL LibreELEC-settings (target) INSTALL pygobject (target) INSTALL dbus-python (target) INSTALL dbus-glib (target) INSTALL bkeymaps (target) INSTALL xmlstarlet (target) INSTALL peripheral.joystick (target) INSTALL kodi-platform (target) INSTALL alsa (target) INSTALL alsa-utils (target) INSTALL udevil (target) INSTALL fuse-exfat (target) INSTALL fuse (target) INSTALL ntfs-3g_ntfsprogs (target) INSTALL remote (target) INSTALL eventlircd (target) INSTALL lirc (target) INSTALL libftdi1 (target) INSTALL libusb-compat (target) INSTALL libirman (target) INSTALL v4l-utils (target) INSTALL lcdproc (target) INSTALL libhid (target) INSTALL debug (target) INSTALL gdb (target) Odroid_C2: no package.mk file found Makefile:12 : la recette pour la cible « image » a échouée make: *** [image] Erreur 1
-
Hey Escalade, your build works really well, loving it! I'm using it on a ASUS Chromebox (2955U) hooked up to a LG TV (47LM640S).
I'm having some issues having smooth vsync in emulation, I've only tried N64 Super Mario, it plays just fine at 60fps, but there's a little bit of stuttering (not smooth enough) and I think it's related to the refresh rate setting in Retro Arch, the estimated refresh rate is N/A and I'm not sure how to find the best refresh rate for my LG TV.
Having 60fps the game should be smooth as butter, but that's not the case, when rotating Mario for example you see tidbits of stuttering on the backgrounds, it's kinda annoying.
Any tips?
-