• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 84 85 86 87 88 ... 369 Next »

What exactly causes shader cache stuttering?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
What exactly causes shader cache stuttering?
12-14-2016, 12:42 AM
#24
techloomp
Unregistered
 
I feel like best/simplest/most effective solution is somehow omitted. Personally I think the best way to solve shader compilation stuttering would be to:

1. Gather necessary shaders - in "oryginal" form, just the "bytes/code" before it is transformed into PC GPU shaders
2. Save them on disk, or remotely through some REST API with game identiefier and hash (global database for each game, anyone playing Wii game through Dolphin could be sending game "oryginal" shader "bytes/code")
3. Per request, on target pc/GPU/driver transform all gathered "original" shaders to PC GPU shaders, compile it: a) when user whants (without actually playing game) or b) when users starts a game and wants to wait till all the shaders will be compiled or c) when user starts a game - in seperate thread
4. Now we have pre-compiled PC GPU shaders per game - use it (check hash) if it is available, if not do point 2
5. When Dolphin will detect GPU/driver change - do point 3

The idea is to have all the "original bytes/code" that have to be transformed to PC GPU shaders for each game (to gather most of them at least one person would have to actually finish whole game). This can be later offered as downloadable package for game. Dolphin will have to re-compile it each time when GPU/driver change - save it and re-use.

What is wrong with my thinking ? Isn't that best/simplest to implement solution ?
Reply
« Next Oldest | Next Newest »


Messages In This Thread
What exactly causes shader cache stuttering? - Gamedominator06 - 04-03-2015, 10:34 AM
RE: What exactly causes shader cache stuttering? - Fiora - 04-03-2015, 11:58 AM
RE: What exactly causes shader cache stuttering? - NaturalViolence - 04-03-2015, 12:29 PM
RE: What exactly causes shader cache stuttering? - tueidj - 04-08-2015, 09:58 PM
RE: What exactly causes shader cache stuttering? - Gamedominator06 - 04-03-2015, 12:30 PM
RE: What exactly causes shader cache stuttering? - Fiora - 04-03-2015, 12:54 PM
RE: What exactly causes shader cache stuttering? - Khronikos - 04-06-2015, 03:07 AM
RE: What exactly causes shader cache stuttering? - bomblord - 04-08-2015, 03:47 AM
RE: What exactly causes shader cache stuttering? - JosJuice - 04-08-2015, 03:57 AM
RE: What exactly causes shader cache stuttering? - phly95 - 01-15-2016, 01:11 AM
RE: What exactly causes shader cache stuttering? - AnyOldName3 - 04-08-2015, 03:59 AM
RE: What exactly causes shader cache stuttering? - bomblord - 04-08-2015, 04:01 AM
RE: What exactly causes shader cache stuttering? - Rikimaru - 04-08-2015, 04:33 AM
RE: What exactly causes shader cache stuttering? - Fiora - 04-08-2015, 06:58 AM
RE: What exactly causes shader cache stuttering? - Rikimaru - 04-08-2015, 08:31 PM
RE: What exactly causes shader cache stuttering? - Fiora - 04-08-2015, 09:33 PM
RE: What exactly causes shader cache stuttering? - mimimi - 04-09-2015, 01:04 AM
RE: What exactly causes shader cache stuttering? - Fiora - 04-09-2015, 01:42 AM
RE: What exactly causes shader cache stuttering? - leolam - 01-15-2016, 03:52 AM
RE: What exactly causes shader cache stuttering? - mbc07 - 01-15-2016, 04:09 PM
RE: What exactly causes shader cache stuttering? - leolam - 01-16-2016, 02:21 AM
RE: What exactly causes shader cache stuttering? - mbc07 - 01-16-2016, 03:10 AM
RE: What exactly causes shader cache stuttering? - AnyOldName3 - 01-16-2016, 06:20 AM
RE: What exactly causes shader cache stuttering? - techloomp - 12-14-2016, 12:42 AM
RE: What exactly causes shader cache stuttering? - AnyOldName3 - 12-14-2016, 12:53 AM
RE: What exactly causes shader cache stuttering? - leolam - 12-14-2016, 01:02 AM
RE: What exactly causes shader cache stuttering? - techloomp - 12-14-2016, 05:21 PM
RE: What exactly causes shader cache stuttering? - JMC47 - 12-14-2016, 01:17 AM
RE: What exactly causes shader cache stuttering? - techloomp - 12-14-2016, 05:22 PM
RE: What exactly causes shader cache stuttering? - JMC47 - 12-14-2016, 06:33 PM
RE: What exactly causes shader cache stuttering? - JOHN30011887 - 12-19-2016, 08:02 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode