skyline-emu / skyline

Run Nintendo Switch homebrew & games on your Android device!

Home Page:https://skyline-emu.one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skyline Causes Gradual Slowdowns in the Entire Android System

EduApps-CDG opened this issue · comments

I've been playing Pokemon Shield for about 2 hours every day. The battle scenes usually run at full speed (30FPS). However, as time passes, the FPS starts decreasing and the game eventually stops.

When this happens, I just restart the game (until it happens again). After closing Skyline, I experience an overall lack of performance on the entire system, even though I still have about 3GB of RAM (my total RAM is 8GB). Images in the Android Launcher take seconds to load and I must restart the phone to return to normal.

The effects are pretty similar to a memory leak, but the weird part is that it persists when Skyline is closed.


My phone is a Redmi Note 11 Pro 5G (veux) with 8GB of RAM. (Soon, I will attach debug output and provide better details as I am currently studying).

If you do accept pull requests from external contributors, I would like to try to find a solution.

Hi, this is a known issue if you use DMI (Direct Memory Import) as it makes emulation faster but due to a bug in KGSL (Adreno's kernel driver) it causes a memory leak on older versions. The only solution we have is not using DMI (and dealing with emulation being slower) or restarting your device. I'll ping @bylaws to add any other solutions that might be possible but I don't think so.

I did enabled "Use only GPU for screen composition" in Dev Settings. It stopped crashing but keeps getting slower.

bug in KGSL causes a memory leak on older versions

It means it's a driver bug? I tried on both original and new drivers. The original one is far worse and glitchy :(

@EduApps-CDG Well it technically is a driver bug, just not with the driver you can replace but rather with the driver that was built into android which is controlled by the drivers skyline replaces

Hi there! I actually have a Redmi Note 11 Pro+ 5G. Should I be worried about this issue? Thanks!