Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add retroarch installation script #36

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

ayufan
Copy link

@ayufan ayufan commented Jul 29, 2017

pfeerick added 29 commits July 26, 2017 19:09
For future shutdown on retroarch trigger
As per lukasz request
Analog by default, commented HDMI value
Lets see if alsa-base is the magic sauce
Removed current method of starting x11/retroarch and shutting the system
down in order to have a clean slate to test a better implementation.
Basically a re-apply of 0a6deb3 omitting pulseaudio
Decided to be lazy for now and use customised config as is
(too little time, too much mucking around to filter changes)
@pfeerick
Copy link

Right, I'm guessing sound must be working now (don't have any games or anything to test it with! :-O ... have to get luke to help me on that front ;) ). This variant currently directly pulls these two files from a 'extras' repo, so should still just work fine. I'm not happy with the /etc/profile.d/ form of startup, but I haven't been able to get X11 to boot properly via a graphical.target, etc.

If Luke's happy with this build, then it 'works' ;) Just let me know if you want any specific changes before you pull it, or go right ahead ;) I'm guessing you'll build a new rootfs for it, so the 'variant' hack I did to make_rootfs can be rolled back once there's a rootfs for it?

btw, am I right in thinking that your rootfs jenkinsfile needs a cleanup stage? I noticed your 0.2.2 rootfs build dragged along 0.1 files with it (bottom six files) => https://github.com/ayufan-rock64/linux-rootfs/releases/tag/0.2.2

@Funmungus
Copy link

I have been testing this. I only tested snes9x and snes9x 2005. The regular snes9x build does not work, but so far snes9x 2005 works quite well. Retroarch ran for me without modifications very slowly, but after enabling sunxi DRM (and manual requirements) retroarch performance was very good. (Side note, better gaming experience than Lakka on another arm computer).
I tested a manual build also, but mainly I tested the same steps in the retroarch install script.

@pfeerick
Copy link

@Funmungus Can you give this image a try as a comparison? It is is the last image I generated which was retroarch specific, and is was the script was designed to generate as part of the build system.

@Funmungus
Copy link

@pfeerick Sure, but I might not get to it until the weekend. This week I am playing with docker, trying to get a dev environment that can use the sunxi enhancements.

Also I tested sound. It took me a while to figure it out, but I just had to add my user to the audio group. I tried with and without the selected audio device optimization, and the selected audio device really is necessary. Also the Alsa card could be audiocodec or sndhdmi. Is there any way to detect or select this for the optimized retroarch.cfg?

@ayufan
Copy link
Author

ayufan commented Oct 5, 2017

@pfeerick How are we doing on this one? ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants