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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › dolphin-emu.org articles v
1 2 Next »

Ubershaders: A Ridiculous Solution to an Impossible Problem
View New Posts | View Today's Posts

Pages (8): « Previous 1 ... 4 5 6 7 8
Jump to page 
Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Ubershaders: A Ridiculous Solution to an Impossible Problem
09-11-2017, 04:52 AM
#71
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,471
Threads: 28
Joined: Feb 2013
The reason we have the issue tracker is so you can give us all the necessary information... you didn't even tell us what build you're on. There are some changes to shader generation going on due to really broken NVIDIA drivers we're trying to work around.
Find
Reply
10-08-2017, 01:39 PM
#72
SergeantFTC
Unregistered
 
The end of this blog post references stuttering resulting from JIT flaws, and says that at the very least an option will likely be added to turn off branching. Has there been any progress on this, and are there any threads/issues/pull requests I can keep an eye on? I'm guessing this is causing the stuttering I'm experiencing in Ocarina of Time Master Quest.
Reply
10-28-2017, 03:57 AM
#73
themanuel Offline
Parasitic Member of the Community
*****
Posts: 825
Threads: 62
Joined: Oct 2009
(10-08-2017, 01:39 PM)SergeantFTC Wrote: The end of this blog post references stuttering resulting from JIT flaws, and says that at the very least an option will likely be added to turn off branching. Has there been any progress on this, and are there any threads/issues/pull requests I can keep an eye on? I'm guessing this is causing the stuttering I'm experiencing in Ocarina of Time Master Quest.

I'm not qualified to answer your specific question but I'm throwing this out there because it might help you.  The N64 Zelda games run natively at 20 FPS, which in itself feels quite jittery.  

Also, I've found that overclocking the emulated CPU on VC N64 games helps them run more smoothly on my setup.  This is specially true for Mario Kart 64 but it may help with Ocarina.  You can specify per-game CPU overclock settings in each game's .ini file (see here for syntax).  I would apply 200% O/C as a first cut.
Windows 10 Pro x64  |  i7-9700K @ 4.6-5.0GHz  |  MSI Z370 Gaming Plus  |  MSI RX 5700 8GB Factory-OC  |  16 GB DDR4-3000
Find
Reply
02-09-2018, 06:26 PM
#74
Yuliang99 Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Jun 2016
Sorry, but I don't understand most of the blog post? What does ubershaders exactly do?
Will my GPU nivida 960 will suffer a burnout when using too much ubershaders for too long? Should I use hybrid mode or do not need to use it at all? I play Pokémon channel and pokepark 2.
Find
Reply
02-09-2018, 06:33 PM
#75
Helios Offline
Stellaaaaaaa
**********
Developers (Some Administrators and Super Moderators)
Posts: 4,403
Threads: 15
Joined: May 2012
Basically, the GC/Wii's GPU can do things that are very cheap to do on it's very specialized GPU, that isn't quick to translate onto PC GPUs. This caused stuttering whenever an effect like that was needed. Hybrid Ubershaders says "Okay, here's a huge PC GPU shader that can do *everything* a Wii's GPU could ask for. When it asks for one of those things, use this huge shader until we can finish compiling the fast, specialized shader". This eliminates stuttering. Exclusive Ubershaders just says "Just run this huge shader all the time. Don't compile fast specialized ones." which is much harder on your PC GPU.

Your GPU won't "burn out" regardless of which settings you pick. The worst case is that you pick wrong settings for your hardware and cause slow downs or stuttering until you fix it.

For your hardware, set the graphics backend to Direct3D 11 and then set Ubershaders to hybrid.
Find
Reply
04-01-2018, 10:58 AM
#76
SpuffyCaptain
Unregistered
 
*edit* disregard, i found it
Has the ubershader option been moved/removed? It used to be under the graphics/enhancements tab but I've just got the latest dev build for windows (5.0-6801) and it's no longer there.
Reply
04-01-2018, 11:02 AM
#77
Helios Offline
Stellaaaaaaa
**********
Developers (Some Administrators and Super Moderators)
Posts: 4,403
Threads: 15
Joined: May 2012
It's been redone. It's now an option in Graphics > General under shader compilation options. Mouse over the option for info.
Find
Reply
09-12-2020, 11:54 PM
#78
Cormy1 Offline
Junior Member
**
Posts: 10
Threads: 1
Joined: Feb 2019
Has there been any update to the situations described in this article concerning the different video backends?
e.g.
Variant generation on Vulkan vs MESA drivers
Behaviour of Vulkan/OpenGL in NVidia drivers for Shader locking
Slower compiled shaders on Vulkan/OpenGL with NVidia, and whether D3D12 disassembly tools have been provided, to hopefully increase efficiency in Dolphin with non-D3D backends.
Find
Reply
10-06-2020, 10:44 AM (This post was last modified: 10-06-2020, 10:45 AM by hyperspeed.)
#79
hyperspeed Offline
Welcome to the F-Zero TV
*****
Posts: 814
Threads: 42
Joined: May 2010
(09-12-2020, 11:54 PM)Cormy1 Wrote: Has there been any update to the situations described in this article concerning the different video backends?
e.g.
Variant generation on Vulkan vs MESA drivers
Behaviour of Vulkan/OpenGL in NVidia drivers for Shader locking
Slower compiled shaders on Vulkan/OpenGL with NVidia, and whether D3D12 disassembly tools have been provided, to hopefully increase efficiency in Dolphin with non-D3D backends.

I would like to kniw this too ubershaders is gorgeous but i still get some minor lag some times, like after every 20/30min or so, something that never happens with the old method when you have created all shaders.
CPU: Intel Core i7 3770 3.4 GHz (3.9 GHz with turbo boost) 4.23GHz with OC
RAM 12GB DDR3
[color=#009900]NVIDIA[/color] GTX 1070 [color=#000099]Asus[/color]
Windows [color=#3333ff]10[/color] Pro 64bit
Currently using Driver 391.01 [color=#00ff00]WHQL[/color]
Find
Reply
« Next Oldest | Next Newest »
Pages (8): « Previous 1 ... 4 5 6 7 8
Jump to page 


  • 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