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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 38 39 40 41 42 ... 117 Next »

****Attention Developers****
View New Posts | View Today's Posts

Pages (2): « Previous 1 2
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
****Attention Developers****
01-03-2015, 03:46 AM
#11
StripTheSoul Offline
YouKittenMe?
*******
Posts: 4,639
Threads: 39
Joined: Oct 2009
Sorry if this is a stupid question but is JITIL even still needed for... anything or anyone? Or does it not hinder any other development like e.g. DX9 did?
Intel i5-4690k (Devil's Canyon) @ 3.5 GHz (+Scythe Mugen) / Gainward GTX 1070 Phoenix (OC'd) / ASUS Z97 PRO GAMER / 16GB G.Skill DDR3-2400 CL10 TridentX / X-Fi XtremeMusic / Win10 Pro 64bit / Dell S2716DG Monitor / 3x original WiiMote+MotionPlus+Nunchuk
Find
Reply
01-03-2015, 04:01 AM
#12
AnyOldName3 Offline
First Random post over 9000
*******
Posts: 3,533
Threads: 1
Joined: Feb 2012
The progress reports have mentioned that comparing how it's broken vs how JIT's broken has helped isolate several bugs recently, so I wouldn't say it's as much of a hindrance as D3D9.
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
Find
Reply
01-03-2015, 04:06 AM
#13
Fiora Offline
x86 JIT Princess
**********
Developers (Some Administrators and Super Moderators)
Posts: 237
Threads: 0
Joined: Aug 2014
JITIL is useful in the sense that it could allow for a wide variety of optimizations to be done far more cleanly and easily than in the regular JIT, but it needs a lot of love to get up to the same standard. It's also not really designed ideally, given what we know now, I think: some devs have suggested we'd probably be better off bit by bit adding IL support to the current JIT instead of trying to resurrect JITIL.
Website Find
Reply
01-03-2015, 04:12 AM (This post was last modified: 01-03-2015, 04:19 AM by Fiora.)
#14
Fiora Offline
x86 JIT Princess
**********
Developers (Some Administrators and Super Moderators)
Posts: 237
Threads: 0
Joined: Aug 2014
To clarify/correct a few of these:

(01-02-2015, 11:08 PM)kirbypuff Wrote: * Anything you can do to optimize the GPU thread. The GPU thread is the main source of slowdown (bad performance) in Dolphin, especially when running at a high IR.

The CPU thread is already running very fast, because it's much easier to optimize. But optimizng the GPU thread is *HARD*. If you're looking for a challenge, this is the one for you.
Very few games are vertex loader or texture encoding bound now; probably at most a dozen or two (rough guess, I might be wrong). Most "GPU bound" games are actually bound by EFB transfers, whether pokes or EFB2RAM or similar, not the actual GPU thread. This is largely a matter of driver overhead, but certainly not an insurmountable problem: smarter EFB caching and other techniques could definitely be used to improve things.

(01-02-2015, 11:08 PM)kirbypuff Wrote: * Improve, optimize or rewrite the shader compiler. Dolphin's current real-time shader compiler and shader cache is very inefficient, leading to frequent pauses or massive stuttering. It has to be a better solution than TinoB's Async shader compiler and something that works well on Dual-Core CPUs.
The shader compiler is part of the GPU drivers and cannot be "rewritten" or optimized. Naturally there are some planned ways to try to improve compilation time stuttering (e.g. with generic ubershaders for not-yet-compiled TEV configurations) but I wouldn't recommend that for a new dev, since it's such a huge project and requires lots of knowledge of both the TEV pipeline and D3D/OGL.

If someone has a lot of knowledge about shader compilers they might be able to modify Dolphin's shaders to compile faster, but I don't know if that's really possible. Talking with an experienced shader compiler dev suggested it probably isn't possible to get a large improvement that way.

(01-02-2015, 11:08 PM)kirbypuff Wrote: * Fix the broken / garbled audio in ZFreeze titles with DSP HLE.
If by "zfreeze titles" you mean Rogue Squadron 2/3, this is because they use an older version of the AX library that is slightly different from the one HLE'd in Dolphin. Fixing this would require some reverse-engineering to identify the differences and implement them. Note it has no relation to zfreeze, just these two games IIRC.

(01-02-2015, 11:08 PM)kirbypuff Wrote: * Improve the current Stereoscopic 3D implementation to work with RealXFB as well.

* If possible, a way to use higher IRs than 1x with Real XFB.
This isn't really possible: RealXFB by definition can only work with 1x IR in such a way that it exactly matches the output of the Gamecube. But what can be done is enhancing Virtual XFB to support more uses of the XFB, so that fewer games actually need RealXFB. This is a subtle but important distinction.
Website Find
Reply
01-03-2015, 04:18 AM (This post was last modified: 01-03-2015, 04:20 AM by Link_to_the_past.)
#15
Link_to_the_past Offline
Link on steroids really
*******
Posts: 1,767
Threads: 17
Joined: Feb 2010
Fiora improving virtual xfb is doable? It would be great if so, especially if it could cover the broken video cases with gamecube titles. After some conversations in the past with devs i gave up on asking about it, thought it is not doable.
Find
Reply
01-03-2015, 04:32 AM (This post was last modified: 01-03-2015, 04:49 AM by Fiora.)
#16
Fiora Offline
x86 JIT Princess
**********
Developers (Some Administrators and Super Moderators)
Posts: 237
Threads: 0
Joined: Aug 2014
As far as I know, yes: it's very primitive and only works with very specific uses of the XFB (beyond those that work with XFB off). It could probably be extended to support more, just like EFB2Texture could be improved to support more uses of the EFB.

(Someone correct me if I'm wrong on this) For example, both EFB2Tex and Virtual XFB (which is the equivalent of XFB2Tex) assume that the XFB/EFB will only be accessed in its entirety (as one single texture), not in part. But there's nothing saying we can't support partial usage of the XFB/EFB as a texture. I don't know if any game does this (you'd want to see what games actually do before trying to extend XFB2Tex/EFB2Tex), but this is just an example of something relatively straightforward that it doesn't support doing.

Basically "virtual XFB" is just a term for "anything that doesn't mean actually copying the XFB into RAM and downscaling it to 1x resolution like the Gamecube wants you to do", I think.
Website Find
Reply
01-03-2015, 04:41 AM
#17
shuffle2 Offline
godisgovernment
*
Project Owner  Developers (Administrators)
Posts: 698
Threads: 17
Joined: Mar 2009
please direct people to this page for getting started with dolphin development on windows https://github.com/dolphin-emu/dolphin/wiki/Building-for-Windows
Find
Reply
01-03-2015, 06:02 AM (This post was last modified: 01-03-2015, 06:03 AM by kirbypuff.)
#18
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
EDIT: Updated the original post.

@Fiora, JMC47 :

Fixed.
Find
Reply
01-03-2015, 06:15 AM
#19
JMC47 Offline
Content Producer
*******
Content Creators (Moderators)
Posts: 6,543
Threads: 29
Joined: Feb 2013
EFB2Subtex is the dreeeeeeeeam
Find
Reply
01-03-2015, 06:28 AM (This post was last modified: 01-03-2015, 07:34 AM by kirbypuff.)
#20
kirbypuff Offline
The Original White Marshmallow
*****
Posts: 825
Threads: 37
Joined: Aug 2010
[EDIT] Updated.

[EDIT #2] Updated again.

Check out the last one Smile
Find
Reply
« Next Oldest | Next Newest »
Pages (2): « Previous 1 2


  • 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