• 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 ... 44 45 46 47 48 ... 367 Next »

Vulkan without precompiling shaders working better than D3D on nVidia system
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Vulkan without precompiling shaders working better than D3D on nVidia system
01-19-2019, 05:19 AM
#1
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
I recently decided to do a few tests to see if I could live without precompiling shaders before loading each game, because every time I update Dolphin, the first time I launch a game with a large UID cache, Dolphin takes about 2 minutes to do the compilation process.

After disabling the option I was surprised to see how badly D3D performs on games like SMG2, while the shaders are being compiled during gameplay.  The sound stutters tremendously for minutes.  Once everything is compiled, D3D performs very well on my system.  This is with async ubershaders enabled, by the way.  OpenGL displays similar behavior.

I then decided to check out Vulkan, which I had not checked in a while, and there is hardly any additional stuttering when launching a game for the first time after a Dolphin update.  In general, I can't tell if Vulkan does better or worse in terms of small stutter hiccups here and there, vs. D3 with precompiled shaders loaded pre-game.

Questions:
1. Does the preloaded pre-compiled shader option even works in Vulkan? If it doesn't that would explain why it seems unaffected the the "first time game load after a Dolphin update" delay.
2. Are the ubershader issues that have been identified on nVidia GPU's using Vulkan in the past, now mostly resolved?

I guess if this combination works for me I'll stick to it but I'm curious as to why Vulkan does so much better in this regard.
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
01-19-2019, 06:56 AM
#2
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,542
Threads: 29
Joined: Feb 2013
Vulkan is threaded and can compile the shaders in the background better, I'm guessing.
Find
Reply
01-21-2019, 12:20 PM
#3
themanuel Offline
Parasitic Member of the Community
*****
Posts: 828
Threads: 63
Joined: Oct 2009
That would explain it, since dolphin doesn't use all the cores. The difference is dramatic. I'm finding that I can live with occasional little stutter in exchange for not having to wait for shaders to be compiled when updating dolphin.
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
« Next Oldest | Next Newest »


  • 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