Coder Social home page Coder Social logo

emuelec / emuelec Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coreelec/coreelec

2.3K 81.0 392.0 425.19 MB

EmuELEC, retro emulation for Amlogic devices. Based on CoreELEC. https://emuelec.org or join us on Discord: https://discord.gg/jQWCFwTn5T

Home Page: https://emuelec.org

Makefile 47.16% Shell 29.28% Python 9.05% C 11.78% GLSL 1.19% Dockerfile 0.21% Emacs Lisp 0.19% CMake 0.43% Jinja 0.02% C++ 0.49% Hack 0.04% HTML 0.02% CSS 0.13%
emulationstation retroarch emulation amlogic odroidgoadvance

emuelec's Introduction

EmuELEC

Retro emulation for Amlogic devices. Based on CoreELEC and Lakka with tidbits from Batocera. I just combine them with Batocera-Emulationstation and some standalone emulators (Advancemame, PPSSPP, Reicast, Amiberry and others).


GitHub Release GPL-2.0 Licensed Discord

⚠️IMPORTANT⚠️

EmuELEC is now aarch64 ONLY, compiling and using the ARM version after version 3.9 is no longer supported. Please have a look at the master_32bit branch if you want to build the 32-bit version.


Development

Build prerequisites

These instructions are only for Debian/Ubuntu based systems.

$ apt install gcc make git unzip wget xz-utils libsdl2-dev libsdl2-mixer-dev libfreeimage-dev libfreetype6-dev libcurl4-openssl-dev rapidjson-dev libasound2-dev libgl1-mesa-dev build-essential libboost-all-dev cmake fonts-droid-fallback libvlc-dev libvlccore-dev vlc-bin texinfo premake4 golang libssl-dev curl patchelf xmlstarlet default-jre xsltproc libvpx-dev

Building EmuELEC

To build EmuELEC locally do the following:

$ git clone https://github.com/EmuELEC/EmuELEC.git
$ cd EmuELEC
$ git checkout dev
$ PROJECT=Amlogic-ce DEVICE=Amlogic-ng ARCH=aarch64 DISTRO=EmuELEC make image

For the Odroid GO Advance/Super:

$ PROJECT=Rockchip DEVICE=OdroidGoAdvance ARCH=aarch64 DISTRO=EmuELEC make image

Note: In some cases you may also need to install the tzdata, xfonts-utils and/or lzop packages.

$ apt install tzdata xfonts-utils lzop

Remember to use the proper DTB for your device!

Submitting patches

Please create a pull request with the changes you made in the dev branch and make sure to include a brief description of what you changed and why you did it.

Get in touch

If you have a question, suggestions for new features, or need help configuring or installing EmuELEC, please visit our forum. You may also want to visit our wiki or join our Discord.

EmuELEC DOES NOT INCLUDE KODI

Please note, this is mainly a personal project, I can't guarantee it will work with your box. I've spent many hours tweaking many things and making sure everything works, but I can't test everything and some things may not work yet. Also, be aware of hardware limitations and don't expect everything to run at 60FPS (especially N64, PSP, and Reicast). I can't guarantee that changes will be incorporated to fit your specific needs, but I welcome pull requests, help testing other boxes, and fixing problems in general.
I'm working on this project in my spare time, I'm not making any money from it, so it will take me a while to test all the changes properly, but I'll do my best to help you fix any problems you might have on other boxes, in my spare time.

License

EmuELEC is based on CoreELEC, which in turn is licensed under the GPLv2 (and GPLv2-or-later). All original files created by the EmuELEC team are licensed as GPLv2-or-later and marked as such.

However, the distro contains many non-commercial emulators/libraries/cores/binaries and therefore cannot be sold, bundled, offered, included in commercial products/applications or anything similar, including but not limited to Android devices, smart TVs, TV boxes, handheld devices, computers, SBCs or anything else that can run EmuELEC with the included emulators/libraries/cores/binaries.

Also note the license section from the README from the CoreELEC team, which has been adapted for EmuELEC:

As EmuELEC includes code from many upstream projects it includes many copyright owners. EmuELEC makes NO claim of copyright on any upstream code. Patches to upstream code have the same license as the upstream project, unless specified otherwise. For a complete copyright list please checkout the source code to examine license headers. Unless expressly stated otherwise all code submitted to the EmuELEC project (in any form) is licensed under GPLv2-or-later. You are absolutely free to retain copyright. To retain copyright simply add a copyright header to each submitted code page. If you submit code that is not your own work it is your responsibility to place a header stating the copyright.

Branding

All EmuELEC related logos, videos, images and branding in general are the sole property of EmuELEC. They are all copyrighted by the EmuELEC team and may not be included in any commercial application without proper permission (yes, that includes EmuELEC bundled with ROMS for donations!).

However, you have permission to include/modify them in your forks/projects as long as they are fully open source and freely available (i.e. not under a bunch of "click on this sponsored ad to get the link!" buttons) and do not violate any copyright laws, even if you receive donations for such a project (we are not against donations for honest people!), we just ask that you give us the appropriate credits and if possible a link to this repo.

Happy retrogaming!

emuelec's People

Contributors

antonlacon avatar arthur-liberman avatar awiouy avatar cdu13a avatar chewitt avatar codesnake avatar cvh avatar dhewg avatar fritsch avatar gujs avatar heitbaum avatar hiassoft avatar inusasha avatar jernejsk avatar knaerzche avatar kszaq avatar kwiboo avatar langerz82 avatar lrusak avatar mglae avatar milhousevh avatar portisch avatar ray-future avatar shantigilbert avatar spycat88 avatar sraue avatar stefansaraev avatar supervisedthinking avatar trsqr avatar vpeter4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emuelec's Issues

S912 defaults back to 32bpp color even if forced to 16bpp

Some emulators (Reicast, OpenBOR, Drastic, Retroarch shaders) on the S912 need to have color depth set to 16bpp or else only a black screen is shown. When running any emulator the color depth switches to

mode "1920x1080-0"
	# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
	geometry 1920 1080 1920 3240 32
	timings 0 0 0 0 0 0 0
	accel false
	rgba 8/16,8/8,8/0,0/0
endmode

What I tried

I've tried forcing the 16bpp before running an emulator by setting

fbset -g 1920 1080 1920 2160 16

and also

fbset -g 1920 1080 1920 3240 16

Also I tried forcing 16BPP on the FB drivers directly, the system boots to 16BPP but when I run an emulator it switches back to 32BPP.

Also tried patching the dtb (this is the only place I found any mention of 3240) but the same thing happens

--- a/arch/arm64/boot/dts/amlogic/gxm_q200_2g.dts
+++ b/arch/arm64/boot/dts/amlogic/gxm_q200_2g.dts
@@ -161,7 +161,7 @@
 		mem_size = <0x01851000 0x00100000>; /* fb0/fb1 memory size */
 		display_mode_default = "1080p60hz";
 		scale_mode = <1>; /** 0:VPU free scale 1:OSD free scale 2:OSD super scale */
-		display_size_default = <1920 1080 1920 3240 32>; //1920*1080*4*3 = 0x17BB000
+		display_size_default = <1920 1080 1920 3240 16>; //1920*1080*4*3 = 0x17BB000
 		logo_addr = "0x7d851000"; /*ion base + fb0 memory size for uboot logo osd1*/
 	};
 	ge2d {

Since this only happens on the S912 I am thinking it might be a libhybris issue but that seems out of my league and I am out of ideas, so I am asking for help on this issue, hopefully someone can help.

Intro video not working on S912/PK7

Hi, merry christmas, intro video is not working, seems it's a wrong path in \EMUELEC\Storage.config\emuelec\scripts\show_splash.sh.

The lines from 12 to 14:

GAMELOADINGSPLASH="/storage/.config/splash/loading-game.png" DEFAULTSPLASH="/storage/.config/splash/splash-1080.png" VIDEOSPLASH="/usr/config/splash/emuelec_intro_1080p.mp4"

But the intro video is in "/storage/.config/splash/emuelec_intro_1080p.mp4"

I have edit show_splash.sh pointing to the right path but intro video still not working.

My best regards, sorry my poor english.

How to configure EmuELEC to sync time from a local NTP server?

After I complete building the EmuELEC v3.1 environment, the s905 device will be moved to a location where it's limited to local network access (no Internet access), and there's a local NTP server.

I've been searching for the ntp configs in the system, but unfortunately I couldn't find it. Is it defined in a script or somewhere else? Could you please give some hints?

EmuELEC Kodi add-on in wrong category

I would like to first extend my very heartfelt thanks for your amazing work. I've been looking for something to turn my ODroid N2 into a combined HTPC/Retro gaming machine. Android on the N2 is not very mature yet so I turned to CoreELEC. However, the Internet Archive Game Launcher for kodi didn't work well. I was very glad to find your add-on and see that it works just like my retropie.

I just have a small request: would it be possible to put the add-on in the games category so that it is accessible from the main games menu? Right now in CoreELEC it ends up in the generic "Add-ons" menu, under the "Program Add-ons" category which is at the very bottom of the list and so is inconvenient to reach.

Thanks!

How to adjust overscan for CRT?

I'm using latest EmuELEC v3.1 standalone version on a S905M device. I've followed the instructions in Wiki to create EE_VIDEO_MODE file to enable CRT output, which is working. Now I'd like to adjust overscan to optimize the display. However, I cannot find the info in Wiki.

I also own a Raspberry Pi 3 with RetroPie installed. I can edit config.txt to play with overscan_left/overscan_right/overscan_top/overscan_buttom settings to meet my needs.

Is it possible to do similar overscan adjustment on EmuELEC? Any suggestions are truly appreciated.

Skip EmulationStation

First, thank you for good work.

I wonder is there a way to go from Kodi directly to Retroarch and back and skip EmulationStation altogether?

I understand EmulationStation is more like a frontend for Retroarch, but I think Retroarch has good enough GUI.

TODO

  • Compile a list of needed bios with md5sums and paths
  • Try to improve Bluetooth gamepad connection
  • Update the Wiki with install/update instructions
  • Try to consolidate all logs in one directory for easy debug
  • Implement a more robust/fool proof logging system for troubleshooting
  • Find a way to force update without losing custom settings
  • Port the bezel project script to use with @SumavisionQ5 script
  • Splash screen selector
  • Implement and easy way to connect to wifi
  • Try to add more control to BGM
  • Try to figure out the mixer so I can play several audio sources at the same time. - Fixed in 2.7
  • Create a configuration for each Retroarch core
  • Port more RetroPie scripts not needed

build error. install libgpg-error has failed

git head: 38a80fd
git branch: EmuELEC-CE.9.2
os: Manjaro
kernel: 4.19.69

Problem

I execute this command:

PROJECT=Amlogic-ng ARCH=arm DISTRO=EmuELEC make image

This build process successful run to [174/374] until 175: BUILD libgpg-error. Following is error:

gawk -f /home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/src/mkstrtable.awk -v textidx=2 -v nogettext=1 \
	-v prefix=GPG_ERR_ -v namespace=errnos_ \
	/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/src/errnos.in >errnos-sym.h
/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/toolchain/bin/host-gcc -g -O0 -I. -I/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/src -o mkheader /home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/src/mkheader.c
cat /home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/src/gpg-error.def.in >_gpg-error.def.h
gawk: fatal: cannot use gawk builtin `namespace' as variable name
make[3]: *** [Makefile:1617: errnos-sym.h] Error 2
make[3]: *** Waiting for unfinished jobs....
gawk: /home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/src/mkerrcodes.awk:88: warning: regexp escape sequence `\#' is not a known regexp operator
/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/toolchain/bin/armv8a-libreelec-linux-gnueabi-cpp -I. -I/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/src -I..   _gpg-error.def.h | \
  grep -v '^#' >gpg-error.def
rm _mkerrcodes.h
rm _gpg-error.def.h
make[3]: Leaving directory '/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/.armv8a-libreelec-linux-gnueabi/src'
make[2]: *** [Makefile:509: all-recursive] Error 1
make[2]: Leaving directory '/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/.armv8a-libreelec-linux-gnueabi'
make[1]: *** [Makefile:441: all] Error 2
make[1]: Leaving directory '/home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/libgpg-error-1.36/.armv8a-libreelec-linux-gnueabi'
FAILURE: scripts/install libgpg-error has failed!
[175/374] [FAIL] install libgpg-error

The following logs for this failure are available:
  stdout: /home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/.threads/logs/177/stdout
  stderr: /home/me/code/EmuELEC/build.EmuELEC-Amlogic-ng.arm-2.7/.threads/logs/177/stderr

parallel: This job failed:
package_worker 2 177 374 'install libgpg-error'
Parallel build failure - see log for details. Time of failure: Sat Sep 21 17:30:56 CST 2019

This zip file 177.zip contains stdout and stderr

Can't get sub folder game when ROMS on USB media

Hello,
When I use ROMS on USB media, the games in sub folder are invisible, such as "\roms\mame\test1\xxxx.zip".
But when it in inner SD card they are visible.

And in old version the games in sub folder are tree struct in ES, but in new version they are flat, I don't think this is a very good change.

Thank you for seeing my chatter.
Best wishes.

S905x2, S905x3, Amlogic-NG: There is a big performance hit if you use Retroarch directly

There has been a longstanding and significant bug on devices that use the Amlogic-NG build (for S905x2, S905x3, S922x, A311D) for a long time now that will reduce performance in 2 scenarios:

1.- ES will show screen tearing after loading any game/emulator.
2.- Using Retroarch directly (from the quit menu or by booting directly) will show significant performance drop after exiting a game and loading another one(or the same one) without restarting Retroarch.

On the first scenario it ONLY affects emulation station and does not affect the games at all, so I suggest not to use Retroarch directly.

Video here: https://www.youtube.com/watch?v=F7P7iY2V1AE

At the moment I do not know where this bug is coming from and have no idea how to fix it, but to my knowledge this also affects Ubuntu and other emulation distros for these devices as well.

More general info can be found here: https://forum.odroid.com/viewtopic.php?f=181&t=34827&p=276367

so if anyone has any idea how to fix this bug or has a workaround that we could implement, please let me know.

In the meantime, if you have any of those devices, use Emulationstation as your front-end the performance drop on Emulationstation does not affect Retroarch or other emulators.

UPDATE: Latest release v3.5 fixes the sluggishness on Emulationstation, although the Retroarch part still has the bug.

[Bug]Loading game freezed after quit from RetroArch

Version
3.0, 3.1

How to reproduce:
Run a clean 3.1 system, fill it with some game roms
in ES, Quit -> Start RetroArch
In RetroArch, Quit RetroArch.
When back in ES, try to run any roms, the screen will freeze immediately (black screen with clock at right corner), no response to any keys except Ctrl+Alt+Del

Walk Round
When back in ES, System Settings -> Lanugage, change to another language to make it restart ES, then you can run the roms safely.

Tested in Devices
R3300-L: S905L, 1g ram, 8g rom
Q5: S905M, 1g ram, 8g rom
N1: S905D, 2g ram, 8g rom

Update 2019-11-26: Simplified the reproduce description.

ES display is not restored after I force PPSSPPSA to run under 720p60hz. How to fix it?

It's EmuELEC v3.1 (on s905m) running at 1080p60hz. Most emulators work great at this resolution. Due to performance reason, I'm trying to force PPSSPPSA to run under 720p60hz.

Below are the changes I made to /storage/.config/emuelec/scripts/emuelecRunEmu.sh. Change 1 (to force 720p60hz for ppsspp):

"psp")
	if [ "$EMU" = "PPSSPPSA" ]; then
	#PPSSPP can run at 32BPP but only with buffered rendering, some games need non-buffered and the only way they work is if I set it to 16BPP
	# /emuelec/scripts/setres.sh 16 # This was only needed for S912, but PPSSPP does not work on S912
	# force ppsspp to run under 720p60hz
	echo 720p60hz > /sys/class/display/mode
	fbset -fb /dev/fb0 -g 1280 720 1280 1440 16
	set_kill_keys "ppsspp"
	RUNTHIS='${TBASH} /usr/bin/ppsspp.sh "${ROMNAME}"'
	fi
	;;

Change 2 (to restore 1080p60hz):

	# Show exit splash
	echo 1080p60hz > /sys/class/display/mode
	fbset -fb /dev/fb0 -g 1920 1080 1920 2160 32
	${TBASH} /emuelec/scripts/show_splash.sh exit

The result is, PPSSPPSA can run under 720p60hz, but after I quit it, ES shows only blank screen at the left top corner. It seems it fails to restore 1080p60hz. How can I fix it?

BTW, another minor issue, the kill key (hotkey+start) doesn't work for PPSSPPSA.

ES freezes and crashes in the gamelist view

Hi @shantigilbert recently I found a boring bug, there are 2000+ games in my arcade system, ES freezes and crashes after holding the joypad's DOWN button for about 30 seconds in gamelist view, this issue appears in both video UI mode and detail UI mode, please help :(

Compile addon CE.9.2 error.

The last consolidation phase error.
Already generated directory../EmuELEC/retroarch_work/2019-07-25_192812
But did not generate the directory /usr/config

skipped build.EmuELEC-Amlogic.arm-devel/mpg123-compat-1.25.10/.install_pkg skipped build.EmuELEC-Amlogic.arm-devel/SDL-1.2.15/.install_pkg skipped build.EmuELEC-Amlogic.arm-devel/SDL_net-1.2.8/.install_pkg cp: Unable to get '/home/gonggy/EmuELEC/retroarch_work/2019-07-25_192812/usr/config' stat: No such file or directory

External roms device format issue

I tested the S905 external roms, roms can be recognized under FAT/NTSF, but a type of simulator like GB/GBC/GBA can't enter the game.

neogeo command error

<system>
	<name>neogeo</name>
	<fullname>NEO-GEO</fullname>
	<path>/storage/roms/neogeo</path>
	<extension>.zip .ZIP .iso .ISO</extension>
	<command>/usr/bin/sx05reRunEmu.sh FBA %ROM%</command>
	<platform>neogeo</platform>
	<theme>neogeo</theme>
</system>

mupen64plus error

make command:
make image PROJECT=Amlogic DEVICE=S905 platform=linux ARCH=arm DISTRO=Sx05RE

/home/openwrt/Sx05RE/build.Sx05RE-S905.arm-1.9/toolchain/bin/armv8a-libreelec-linux-gnueabi-g++ -DLINUX -DEGL_API_FB -march=armv8-a+crc -mtune=cortex-a53 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -fomit-frame-pointer -Wall -pipe -Os -fvisibility-inlines-hidden -std=c++11 -O2 -DNDEBUG -fsigned-char -ffast-math -fno-strict-aliasing -fomit-frame-pointer -fvisibility=hidden -DGIT_VERSION="" a4fbedf"" -DOS_WINDOWS -DMINGW -DHAVE_NEON -D__ARM_NEON__ -D__NEON_OPT -ftree-vectorize -mvectorize-with-neon-quad -ftree-vectorizer-verbose=2 -funsafe-math-optimizations -fno-finite-math-only -D__LIBRETRO__ -DUSE_FILE32API -DM64P_PLUGIN_API -DM64P_CORE_PROTOTYPES -D_ENDUSER_RELEASE -DSINC_LOWER_QUALITY -DTXFILTER_LIB -D__VEC4_OPT -DMUPENPLUSAPI -I./custom -I./custom/mupen64plus-core -I./custom/android/include -I./custom/GLideN64 -I./GLideN64/src -I./GLideN64/src/osal -I./mupen64plus-core/src -I./mupen64plus-core/src/api -I./custom/mupen64plus-core/plugin/audio_libretro -I./libretro-common/include -I./libretro -I./GLideN64/src/inc -I./xxHash -I./libretro-deps/libpng -fPIC -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DGLES2 -DUSE_DEPTH_RENDERBUFFER -DNEW_DYNAREC=3 -DDYNAREC -c GLideN64/src/DepthBuffer.cpp -o GLideN64/src/DepthBuffer.o
GLideN64/src/CommonPluginAPI.cpp:2:11: fatal error: windows.h: No such file or directory

include <windows.h>

       ^~~~~~~~~~~

compilation terminated.
GLideN64/src/Config.cpp:2:11: fatal error: windows.h: No such file or directory

include <windows.h>

       ^~~~~~~~~~~

From Kodi to emulationstation

First, thank you for amazing work.

How did you create a submenu in power button to go back to emulationstation? I installed a build and it deleted some settings from the kodi.

Merge linux upstream HID input patch

https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git/commit/?id=6ce901eb61aa30ba8565c62049ee80c90728ef14

current status in master branch:
amlogic-3.10) use LibreELEC/linux-amlogic 95ba9d626c0fce672caa296f5911ab9190881642 Fixed
amlogic-3.14) use CoreELEC/linux-amlogic f1bb00821950b0f5cab1b8a820c697ba9fbd3183 NOT Fixed
amlogic-4.9) use CoreELEC/linux-amlogic 6f607ec78af4fc755f41a7dd7e73ad6542f9143b Fixed

In my case, i wrote a shell to inject input_event to event device of my gamepad when catch a special input_event triggered by a button pressed and hold, the kernel without the patch will auto report a input_event of button release, but it works fine if kernel be patched.

Maybe we should merge this patch to packages/linux/patches/amlogic-3.14

PSP doesnt exit

HI, I installed for first time Emuelec and is awesome the performance for PSP but i have a problem, when I press start + hotkey doesnt exit, but all of emulators yes.

Emuelec generic

X96mini with 2gb

Thanks

CVBS not working on X96 s905W

Hello, i cant make it work.

it boots up, then i can see the emuelec logo on the old tv, and then black screen.
I tried to add EE_VIDEO_MODE file to the sdcard on the same folder as dtb.img but nothing changes.

This tv supports 480cvbs video only via composite cable.
Android tv works ok on it, i was even using atvxperience.
I really need to make it work on this old tv, its a must for me, i'm desperate.

The box is the X96 S905X with 2gb ram and 16gb rom.

Please help?

Cannot set timezone

The system time is 16 hours behind my local time, I found /etc/localtime is pointed to /usr/share/zoneinfo/Mexico/General through /var/run/localtime

EmuELEC:~ # ll /etc/localtime 
lrwxrwxrwx    1 root     root            18 Dec 21 00:16 /etc/localtime -> /var/run/localtime
EmuELEC:~ # ll /var/run/localtime 
lrwxrwxrwx    1 root     root            34 Dec 26 02:21 /var/run/localtime -> /usr/share/zoneinfo/Mexico/General

But if I change /var/run/localtime, it will be restored after reboot.
I found nowhere to set the timezone after I looked through ES and RA. Is there any way to change it?

Thanks!

ES per-system game settings cannot choose SUPERGRAFX (Beetle SGX) core for pcenginecd games

It's EmuELEC v3.1 on s905m. When I configure the per-system settings for pcenginecd from ES, the only core available is PCE_FAST, and I cannot select SUPERGRAFX. The problem is, turbo key doesn't work properly with the former core.

If I launch RA, manually load SUPERGRAFX (Beetle SGX) core and load the game, turbo key works properly. So I'd like to use this core for pcenginecd games.

Which config file defines the cores available for each system? Is it possible I manually add SUPERGRAFX (Beetle SGX) core for pcenginecd?

USB Boot

Not really an issue, I just didn't know how to contact you.

I have a TV BOX without sd card, and it does not boot from usb. So I wonder if there is a .zip version I can install from recovery.

Thanks a lot.

evremap problem

using
/emuelec/bin/evremap /dev/input/by-id/usb-MY-POWER_LeWGP-201-event-if01 /dev/input/by-id/usb-MY-POWER_LeWGP-201-event-joystick &
test with
evtest /dev/input/event2
result is :

Event: time 1566720565.427202, type 4 (Misc), code 4 (ScanCode), value 9000c
Event: time 1566720565.427202, type 1 (Key), code 315 (BtnStart), value 1
Event: time 1566720565.427202, -------------- Report Sync ------------
Event: time 1566720565.547205, type 4 (Misc), code 4 (ScanCode), value 9000c
Event: time 1566720565.547205, type 1 (Key), code 315 (BtnStart), value 0
Event: time 1566720565.547205, -------------- Report Sync ------------
Event: time 1566720566.731301, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720566.731301, type 1 (Key), code 314 (BtnSelect), value 1
Event: time 1566720566.731301, -------------- Report Sync ------------
Event: time 1566720566.735247, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720566.735247, type 1 (Key), code 314 (BtnSelect), value 0
Event: time 1566720566.735247, -------------- Report Sync ------------
Event: time 1566720566.923356, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720566.923356, -------------- Report Sync ------------
Event: time 1566720567.915241, type 4 (Misc), code 4 (ScanCode), value 90001
Event: time 1566720567.915241, type 1 (Key), code 304 (BtnA), value 1
Event: time 1566720567.915241, -------------- Report Sync ------------
Event: time 1566720568.075272, type 4 (Misc), code 4 (ScanCode), value 90001
Event: time 1566720568.075272, type 1 (Key), code 304 (BtnA), value 0
Event: time 1566720568.075272, -------------- Report Sync ------------
Event: time 1566720569.779277, type 4 (Misc), code 4 (ScanCode), value 90002
Event: time 1566720569.779277, type 1 (Key), code 305 (BtnB), value 1
Event: time 1566720569.779277, -------------- Report Sync ------------
Event: time 1566720569.923352, type 4 (Misc), code 4 (ScanCode), value 90002
Event: time 1566720569.923352, type 1 (Key), code 305 (BtnB), value 0
Event: time 1566720569.923352, -------------- Report Sync ------------
Event: time 1566720570.419368, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720570.419368, type 1 (Key), code 314 (BtnSelect), value 1
Event: time 1566720570.419368, -------------- Report Sync ------------
Event: time 1566720570.423334, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720570.423334, type 1 (Key), code 314 (BtnSelect), value 0
Event: time 1566720570.423334, -------------- Report Sync ------------
Event: time 1566720570.563364, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720570.563364, -------------- Report Sync ------------
the map key:
Event: time 1566720570.423334, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720570.423334, type 1 (Key), code 314 (BtnSelect), value 0
Event: time 1566720570.423334, -------------- Report Sync ------------
Event: time 1566720570.563364, type 4 (Misc), code 4 (ScanCode), value 9000b
Event: time 1566720570.563364, -------------- Report Sync ------------
other key: like A
Event: time 1566720567.915241, type 4 (Misc), code 4 (ScanCode), value 90001
Event: time 1566720567.915241, type 1 (Key), code 304 (BtnA), value 1
Event: time 1566720567.915241, -------------- Report Sync ------------
Event: time 1566720568.075272, type 4 (Misc), code 4 (ScanCode), value 90001
Event: time 1566720568.075272, type 1 (Key), code 304 (BtnA), value

is it a problem?

About emuelec3.1, the question of the shortcut function key in retroarch mode?

Volume shortcut function key code: - 3 and + 3 are the default corresponding to the up key and down key of my handle, but I have changed to other keys, and the up key and down key volume adjustment will still work, which makes me quite puzzled when playing games. The previous version will not have such a problem. It is better to map all the function shortcut keys to the keyboard
P91119-192604
Uploading P91119-192632.jpg…
Uploading P91119-192650.jpg…

Kodi crashes on S912

###Background
Kodi reboots a lot, even goes to safemode a red version of kodi.
###Description
Device is MXIII 4k s912 16gig 1gig ethernet
Iog file attached
kodi.log

Help Testing/Configuring the following emulator cores

There are a few platforms that have not been properly tested on EmuELEC, they are included but I either didn't knew how to test them or I don't have enough time to do so, could anyone help me by testing any of these platforms? or if you have tested any, can you share how you did it? was ist just placing the roms, or does it needs a BIOS etc.

The untested platforms are:

  • C128
  • CVIC20
  • CHAILOVE
  • GME
  • FFMPEG (Libretro Core)

These platforms have been tested and confirmed working

  • AMSTRADCPC
  • ATARI800
  • C16/Plus4
  • CANONBALL
  • DAPHNE
  • DOOM
  • INTELLIVISION
  • NEC PC 9800
  • PCFX
  • QUAKE
  • X68000
  • ZX81
  • RICKDANGEROUS
  • FLASHBACK
  • CAVESTORY
  • UZEBOX

Compile addon error

Compile addon error
Http://sources.libreelec.tv/mirror/capsimg/capsimg-067db4c.tar.gz
can not download.
Libreelec has removed the capsimg directory.
This file has been downloaded at https://codeload.github.com/FrodeSolheim/capsimg/tar.gz/067db4c
Why download again on the libecel website?
I tried editing /EmuELEC/packages/sx05re/tools/capsimg/package.mk
But there is no address about LibELEC.
How to skip download this file from LibELEC?

`
--2019-07-22 22:06:05-- https://github.com/FrodeSolheim/capsimg/archive/067db4c.tar.gz
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/FrodeSolheim/capsimg/tar.gz/067db4c [following]
--2019-07-22 22:06:06-- https://codeload.github.com/FrodeSolheim/capsimg/tar.gz/067db4c
Resolving codeload.github.com (codeload.github.com)... 140.82.113.9
Connecting to codeload.github.com (codeload.github.com)|140.82.113.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 127300 (124K) [application/x-gzip]
Saving to: '/home/gonggy/EmuELEC/sources/capsimg/capsimg-067db4c.tar.gz'

      /home/gon   0%[                    ]       0  --.-KB/s               
     /home/gong  15%[==>                 ]  19.44K  96.9KB/s               
    /home/gongg  41%[=======>            ]  51.55K   128KB/s               
   /home/gonggy  96%[==================> ] 119.88K   199KB/s               

/home/gonggy/EmuELE 100%[===================>] 124.32K 205KB/s in 0.6s

2019-07-22 22:06:08 (205 KB/s) - '/home/gonggy/EmuELEC/sources/capsimg/capsimg-067db4c.tar.gz' saved [127300/127300]

�[1;31mWARNING�[0m      Incorrect checksum calculated on downloaded file: got cfa9acf876254426781925366af67d70d392542d90d6367288d1ab162fc1a7e8 wanted 0576a49a23c70b0022d423d8ae4691c8d7004ceed1527b971f2eba0fc799c0af

--2019-07-22 22:06:08-- http://sources.libreelec.tv/mirror/capsimg/capsimg-067db4c.tar.gz
Resolving sources.libreelec.tv (sources.libreelec.tv)... 138.68.75.163
Connecting to sources.libreelec.tv (sources.libreelec.tv)|138.68.75.163|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-07-22 22:06:08 ERROR 404: Not Found.

Cant't get capsimg sources : https://github.com/FrodeSolheim/capsimg/archive/067db4c.tar.gz
Try later!
`

how to make CoreELEC

use this make command to error
make image PROJECT=Amlogic DEVICE=S905 platform=linux ARCH=arm DISTRO=Sx05RE

Refresh Rate

Hi
What need configure in config kernel 3.14 and 4.9
S905 for 1024x768 85Hz ?

ld.gold: error: cannot find -lpthreads

I got the following error message while building the image, here are my os and compiler Version:

  • Ubuntu 18.04.2 LTS
  • cmake version 3.10.2

OUTPUT ERROR MESSAGE

Run Build Command:"/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/toolchain/bin/gmake" "cmTC_1e271/fast"
/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/toolchain/bin/gmake -f CMakeFiles/cmTC_1e271.dir/build.make CMakeFiles/cmTC_1e271.dir/build
gmake[1]: Entering directory '/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/PPSSPPSDL-e8aad38e772c527db9e3653e4697c288336210b4/.armv8a-libreelec-linux-gnueabi/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1e271.dir/CheckFunctionExists.c.o
/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/toolchain/bin/armv8a-libreelec-linux-gnueabi-gcc   -march=armv8-a+crc -mtune=cortex-a53 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -fomit-frame-pointer -Wall -pipe -O3 -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_1e271.dir/CheckFunctionExists.c.o   -c /home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/toolchain/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_1e271
/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/toolchain/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1e271.dir/link.txt --verbose=1
/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/toolchain/bin/armv8a-libreelec-linux-gnueabi-gcc -march=armv8-a+crc -mtune=cortex-a53 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -fomit-frame-pointer -Wall -pipe -O3 -DCHECK_FUNCTION_EXISTS=pthread_create  -march=armv8-a+crc -mtune=cortex-a53 -Wl,--as-needed -fuse-ld=gold  CMakeFiles/cmTC_1e271.dir/CheckFunctionExists.c.o  -o cmTC_1e271 -lpthreads
/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/toolchain/lib/gcc/armv8a-libreelec-linux-gnueabi/8.2.0/../../../../armv8a-libreelec-linux-gnueabi/bin/ld.gold: error: cannot find -lpthreads
CMakeFiles/cmTC_1e271.dir/CheckFunctionExists.c.o:CheckFunctionExists.c:function main: error: undefined reference to 'pthread_create'
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_1e271.dir/build.make:87: cmTC_1e271] Error 1
gmake[1]: Leaving directory '/home/hunter/EmuELEC/build.EmuELEC-Amlogic.arm-2.5.4/PPSSPPSDL-e8aad38e772c527db9e3653e4697c288336210b4/.armv8a-libreelec-linux-gnueabi/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_1e271/fast] Error 2

Hope to get your help!

About PPSSPP SDL

hello, there. Long time no see, hope you are doing well. I was wondering if we can use the hotkey to quit ppssppa (ppsspp sdl) with ES? maybe like press 'hotkey + start'?

How to connect my Bluetooth gamepade

In the original sx05re, there is a kodi to assist in connecting to a Bluetooth device. Now kodi has been deleted, is there no connection option for the Bluetooth device? The Ps3 gamepad can be connected to Bluetooth with a data cable connection first. What about other Bluetooth gamepads?

PS:Above from Google Translate, I hope you can understand

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.