Comments (14)
I tried the image in your link and it works much better than the Lakka 2.0 image. I now get a stable frame rate again similarly as the older builds.
from lakka-libreelec.
@gouchi @Ntemis do you know if we can do this?
I'd like to implement this.
And is it problematic to always enable the performance scheduler?
from lakka-libreelec.
We need to check how to do it and provide testing image.
from lakka-libreelec.
Just want to add that I also see significantly worse performance after upgrading to Lakka 2.0 coming from an older build that had lots of performance related adjustments activated (CPU Governor=Performance, 1000hz tickrate, preemptible kernel etc.). Don't know if it is still relevant, but perhaps consider revisiting these changes if they have since been discarded again: libretro/Lakka#401
The main topics covered are:
- Setting cpu governor to performance if not already set. (Probably low risk)
- Setting tick rate to 1000Hz. (Probably low risk)
- Setting preemption model to 'Fully Preemptible Kernel (RT) (Probably high risk)
from lakka-libreelec.
You're right. I do this now.
from lakka-libreelec.
Thanks for pointing it @larskj
What are the dangers of Fully Preemptible Kernel (RT) ?
Should I enable these options on ARM boards?
from lakka-libreelec.
If we didn't see any problems with it the last time we used the RT patch and enabled the Fully Preemtible Kernel then I think we should add the changes again.
There should be nothing wrong with enabling these options for ARM boards as well.
from lakka-libreelec.
I noticed no issues with the fully preemptible kernel last time. Except that we could not compile Xorg anymore. But I have no plans to support Xorg anyway.
A small downside was the maintainance of the patch on kernels like the sunxi one where the patch may not apply.
Note: RT patches are there https://www.kernel.org/pub/linux/kernel/projects/rt/
from lakka-libreelec.
Ok great, then I think we should just go ahead and apply it again.
I'm looking at the changes made in the current build I am running, which runs very well.
Besides the RT patch and preemptible kernel I also ended up changing the priority in retroarch to SCHED_FIFO with max priority, see larskj/RetroArch@ce597fe
from lakka-libreelec.
Ok, I enabled the RT patch for the generic images. I will add it on RPi and Gamegirl tonight.
What about submitting a PR for this RetroArch patch? Is it safe?
from lakka-libreelec.
Ok great I will try the image for generic x64 when it is available. For Lakka who owns the entire system it makes sense to set max priority. I will test the new image first and then consider making a PR for this other patch.
from lakka-libreelec.
Here is an image http://static.kivutar.me/Lakka-Generic.x86_64-2.1-rc2.img.gz
It is named rc2, but it's a developer version.
from lakka-libreelec.
Thanks for your test. I will release soon then.
@Brunnis what do you think about this change, is it enough to close this issue?
from lakka-libreelec.
Yep, I believe so. As I understand it you're now forcing the performance governor at all times, even when in the menu right? Although the optimal solution would be to use the performance governor only when running a game, this is fine and should only have a pretty marginal negative effect on power consumption when in the menu.
from lakka-libreelec.
Related Issues (20)
- [Feature Request] reboot to bootloader or optional payload on switch HOT 3
- RetroArch crashing when launching game with RetroAchievements enabled on RPi5
- 240p composite support not working properly (RPi) HOT 2
- RPi4 FBneo core HOT 2
- add geolith-libretro core to 5.x builds
- Gamecon module is not enabled in the latest Lakka Development builds HOT 7
- how build a simple program HOT 1
- Lakka-v5.x : x11.x86_64 : retroarch.service is failed and restarted - repeated. HOT 5
- Lakka-v5.x : wayland.x86_64 : retroarch screen is not shown. HOT 10
- autoconfig file for retroflag GPi case builds HOT 8
- Installer leaves system unbootable (N100 Beeline Mini S12) HOT 2
- [RPi 5] Partition size issue on a 2TB NVMe HOT 6
- Rollback options no longer available HOT 3
- No Lakka 5.0 Rpi4 images HOT 3
- Lakka-v5.0: AMLGX.aarch64: hdmi goes sleep display nothing HOT 2
- Website Download Link broken for Retroflag GPI Case 2W / Raspbery Pi Zero 2 (aarch64) HOT 1
- Lakka 5.0 mGba Core Missing Interframe Blending HOT 24
- Support for NSO Controller (Nintendo Switch Online NES, SNES & N64 Controller) HOT 1
- Lakka-AMLGX.aarch64-5.0-lepotato - cvbs dont work HOT 5
- Pi Official 7 inch Touch Screen 2 pixel column Blank HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lakka-libreelec.