Project

General

Profile

Emulator Issues #10997

Android: Ubershaders appear to be completely recompiled every time

Added by ryanebola16 over 2 years ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-9993

Description

Game Name?

Super Smash Bros. Brawl

Game ID? (right click the game in the game list, properties, info tab)

RSBE01

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

4ea8dda4fadb4b58b15052d053bc0af8
WIIScrubber edited ISO, only replaces music and intro video. Works fine on Dolphin and real Wii.

What's the problem? Describe what went wrong.

I'm not certain about this issue due to #10971 but it's a good guess.

Android Dolphin emulation takes about 1 minute 30 seconds to start up every time with Async Ubershaders and compile shaders before starting.
There is stuttering every time at the beginning of emulation with Async Ubershaders without compile shaders before starting.

Windows Dolphin starts emulation quickly after initial shader compilation.

What steps will reproduce the problem?

  1. Enable Async Ubershaders and compile shaders before starting on Android
  2. Start emulation for Brawl (should take about 1 minute and 30 seconds before game begins)
  3. Exit emulation
  4. Restart emulation
  5. Observe that game will not begin for another 1 minute and 30 seconds

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-6946

Is the issue present in the latest stable version?

No

What are your PC specifications? (CPU, GPU, Operating System, more)

Samsung Galaxy Note8 (SM-N950U)
Qualcomm Snapdragon 835
Octa-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo)
Adreno 540
6GB RAM (LPDDR4)
Baseband version N950USQS2BQK2
Kernel version 4.4.21
Android 8.0.0
OpenGL ES 3.2 V@269.0

History

#1 Updated by Stenzek over 1 year ago

  • Status changed from New to Working as intended

This is likely due to the GL driver not implementing its own disk cache. We could use program binaries to mitigate this somewhat, however most other GL drivers have some sort of cache, so it's redundant.

As an aside, there is now a progress indicator for compiling shaders on Android.

#2 Updated by ryanebola16 over 1 year ago

Appears to be fixed by https://github.com/dolphin-emu/dolphin/pull/7999

Also, my phone OS has updated since posting this issue:
Samsung Galaxy Note8 (SM-N950U)
Qualcomm Snapdragon 835
Octa-core (4x2.35 GHz Kryo & 4x1.9 GHz Kryo)
Adreno 540
6GB RAM (LPDDR4)
Android 9
OpenGL ES 3.2 V@331.0

#3 Updated by JosJuice over 1 year ago

  • Status changed from Working as intended to Fix pending

#4 Updated by Stenzek over 1 year ago

  • Fixed in set to 5.0-9993
  • Status changed from Fix pending to Fixed

Also available in: Atom PDF