Dolphin, the GameCube and Wii emulator - Forums

Full Version: Vulkan beta drivers 397.40 break Dolphin Vulkan backend
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(05-22-2018, 08:46 AM)Renazor Wrote: [ -> ]I just missed that it was dolphin's shader cache in this case, it's just one more folder/script to add to the collection.

Doesn't really affect my point, because I was talking about the standard procedure that should have been done since forever by GPU vendors, how can something as obvious and frequent as this get past their internal testing, yes shader cache glitches don't happen only to dolphin, it's the big industry that's lacking in some areas and it's sort of their responsibility and they should have explained through the developer channels it would also reach wider familiarity and thus into dolphin. I did mean for all such (shader) caches, the dolphins and the drivers. I do this every time, oh, I just happen to not update the driver every week, I do it manually a couple of times a year, zero problems. Unless someone's trying to purposelly beta-test the newest and latest, which is what this thread is not about, it looks like a standard user support question.

So if it was Dolphin's cache fault this time, a simple driver version check could be implemented at boot, if it's different than last boot, cleans out all the shaders.

What you suggest should NEVER happen. I'm going to say it once more: You have 0 idea what you are talking about. I have never had any issue with Shadercaches.... ever... My gaming laptop hasn't been reinstalled since 2013 and my desktop since I got it last year and I keep them both completely up to date.

You seem to like very radical solutions to relative small problems, before you say anything again please find out if it can be done in a simpler way. OR if Dolphin is already doing what you are suggesting, since you seem to have some very rudimentary understanding of coding, it might become time to actually read the source code, and if you see something that can be improved, MAKE A PR AND CHANGE IT.

Dolphin already invalidates the shader cache every update of drivers anyway since the UID's will be different (or at least used to) and it used to do it every update of Dolphin as well but that got changed because Dolphin now has a transferable shadercache.
Well I did mistook which cache was causing problems, I was upset on the GPU Vendors not doing their job properly, which is a separate issue, so what I posted may not be necessary for dolphin.

(05-22-2018, 09:43 AM)mstreurman Wrote: [ -> ]You seem to like very radical solutions to relative small problems, before you say anything again please find out if it can be done in a simpler way.

What's your problem, I suggested what I'm doing, and this is the development section, which I assumed would be accustomed to this, such suggestions are normal and are almost always on take-it-or-leave-it and at-your-own-risk basis unless there's some heavily different rules around here.

I may have not indicated that it was only what I am doing and not a user recommendation, I will do that next time better. But being barred from posting just because it's not user safe is not radical too?

But okay if Dolphin does this already, great, it just means it's not necessary to use that workaround, so what's the big deal.

That said, I've never seen anyone blow up over a batch script like this, have you ever opened regedit.exe for starters?The first WinXP PC I got 15 years ago it didn't take a few months before I messed up permissions in windows registry, after a reboot the system was unusable, I called a friend who started laughing and then brought Knoppix Linux Live CD, used that to backup all the data, and reinstall WinXP, big deal. Is it worth losing more nerves over a batch script?


I'm done talking about that, continuing, you said why I don't open a PR about this, but then you recalled me Dolphin does this already through UIDs (I knew before but forgot) now that changed, well, since I don't know anything about that, that's also the reason I didn't say anything about dolphin in that post. Moreover, dolphin trying to go out of it's scope and clean up the global cache probably wouldn't be accepted in the PR if it was made, the whole point of a forum is to negotiate before PRs like that even get submitted.

Infact I do not want to be in the way of the proper solution, I didn't research the Dolphin's cache stuff that deeply, so I don't want to be that specific on what the solution should be.
(05-22-2018, 08:48 PM)Renazor Wrote: [ -> ]Well I did mistook which cache was causing problems, I was upset on the GPU Vendors not doing their job properly, which is a separate issue, so what I posted may not be necessary for dolphin.


What's your problem, I suggested what I'm doing, and this is the development section, which I assumed would be accustomed to this, such suggestions are normal and are almost always on take-it-or-leave-it and at-your-own-risk basis unless there's some heavily different rules around here.

I may have not indicated that it was only what I am doing and not a user recommendation, I will do that next time better. But being barred from posting just because it's not user safe is not radical too?

But okay if Dolphin does this already, great, it just means it's not necessary to use that workaround, so what's the big deal.

That said, I've never seen anyone blow up over a batch script like this, have you ever opened regedit.exe for starters?The first WinXP PC I got 15 years ago it didn't take a few months before I messed up permissions in windows registry, after a reboot the system was unusable, I called a friend who started laughing and then brought Knoppix Linux Live CD, used that to backup all the data, and reinstall WinXP, big deal. Is it worth losing more nerves over a batch script?


I'm done talking about that, continuing, you said why I don't open a PR about this, but then you recalled me Dolphin does this already through UIDs (I knew before but forgot) now that changed, well, since I don't know anything about that, that's also the reason I didn't say anything about dolphin in that post. Moreover, dolphin trying to go out of it's scope and clean up the global cache probably wouldn't be accepted in the PR if it was made, the whole point of a forum is to negotiate before PRs like that even get submitted.

Infact I do not want to be in the way of the proper solution, I didn't research the Dolphin's cache stuff that deeply, so I don't want to be that specific on what the solution should be.

Dude, I have been in IT (service desk, training and management) for over 15 years professionally and 25+ years as a hobby. (since 1989)

The Windows XP story you added is exactly the reason why you should refrain from posting these kinds of radical and outrageous solutions. Users without technical knowledge will usually break more than they are able to fix with it. And believe me when I say: non-technical users will find this and try this.

Please read up how the global shader caches works...
Here I'll tell you a secret: it gets overwritten every time you start a different application. This is true for AMD, Intel and nVidia. 
That story was more about how extreme caution doesn't help in the long run, if the user keeps giving something to the experts to fix, he won't learn much, being dependant on those experts and their level of expertise, generally even with all the education and college, most PC repair services are laughable at least the ones I briefly came across with because I never trusted them from an early age already, I just have to do it myself, even if they know everything I do, some things still come down to taste how I want things set up. But the point was, that was 15 years ago, now, I don't need a friend or a rescue CD anymore, if I wasn't curious and messed things up, I would never learned anything, I didn't mind it because that was all meant to go as research and experience, so it's not a negative or a waste of time, if that was the preferred goal.

But still be careful with the general knowledge "over XX years" ... , someone may know many things, a little about everything, while not a whole lot about one specific thing. And many times people get the impression they know a lot, just because they maybe work around the office with other experts for "XX years", no it doesn't work like that.

Then you have the practical worth, IT is such a broad term, I don't have a luxury to throw enterprise solutions at my home PC setup or just reinstall it every few months like it's no big deal, since I'm very specific of how I want an OS to behave, corporations can throw resources at problems much easier, while less efficient, but faster, which means the college programmes change to adapt to those needs, so that also means those kind of IT experts don't get to learn some of the stuff on the "manual" deep level, because it's not practically worth it to a company to spend 10 hours fixing one computer's registry just to avoid a reinstall, for example. So an IT maintainer wouldn't really know much about why something crashed in deepth, because after 15 minutes of doing some basic attempts he would just re-load to a previous backup image, so he becomes more of an disk imaging expert and how to maintain those systems.

(05-22-2018, 11:44 PM)mstreurman Wrote: [ -> ]Dude, I have been in IT (service desk, training and management) for over 15 years professionally and 25+ years as a hobby. (since 1989)

The Windows XP story you added is exactly the reason why you should refrain from posting these kinds of radical and outrageous solutions. Users without technical knowledge will usually break more than they are able to fix with it. And believe me when I say: non-technical users will find this and try this.

Please read up how the global shader caches works...
Here I'll tell you a secret: it gets overwritten every time you start a different application. This is true for AMD, Intel and nVidia. 

I'm sure this is something that's been done later, I'm not that sure just yet it got overwritten and all nice and clean from the beginning. I'll keep a look on that, I'll be monitoring those modified dates and I'll come back with what I found.
(05-24-2018, 10:24 PM)Renazor Wrote: [ -> ]That story was more about how extreme caution doesn't help in the long run, if the user keeps giving something to the experts to fix, he won't learn much, being dependant on those experts and their level of expertise, generally even with all the education and college, most PC repair services are laughable at least the ones I briefly came across with because I never trusted them from an early age already, I just have to do it myself, even if they know everything I do, some things still come down to taste how I want things set up. But the point was, that was 15 years ago, now, I don't need a friend or a rescue CD anymore, if I wasn't curious and messed things up, I would never learned anything, I didn't mind it because that was all meant to go as research and experience, so it's not a negative or a waste of time, if that was the preferred goal.

But still be careful with the general knowledge "over XX years" ... , someone may know many things, a little about everything, while not a whole lot about one specific thing. And many times people get the impression they know a lot, just because they maybe work around the office with other experts for "XX years", no it doesn't work like that.

Then you have the practical worth, IT is such a broad term, I don't have a luxury to throw enterprise solutions at my home PC setup or just reinstall it every few months like it's no big deal, since I'm very specific of how I want an OS to behave, corporations can throw resources at problems much easier, while less efficient, but faster, which means the college programmes change to adapt to those needs, so that also means those kind of IT experts don't get to learn some of the stuff on the "manual" deep level, because it's not practically worth it to a company to spend 10 hours fixing one computer's registry just to avoid a reinstall, for example. So an IT maintainer wouldn't really know much about why something crashed in deepth, because after 15 minutes of doing some basic attempts he would just re-load to a previous backup image, so he becomes more of an disk imaging expert and how to maintain those systems.


I'm sure this is something that's been done later, I'm not that sure just yet it got overwritten and all nice and clean from the beginning. I'll keep a look on that, I'll be monitoring those modified dates and I'll come back with what I found.

Just gonna throw it in there... I've got 50+ certificates and 20 or so full certifications for which I studied hard including (but not limited to) ITIL Foundations v3, MCDST: Windows XP, MCITP: Windows 7 Enterprise Adminisrator, MCSA: Windows 10, MCP: Configuring Windows Server 2000, MCITP: Windows Server 2008 R2 Enterprise Administrator, MCITP: Windows Server 2012 R2 Enterprise Administrator, Cisco A+, Cisco N+ and that is on top of my 4 years of university studies in Systems Administration and 2 years in Computer Sciences, so I do know a lot about troubleshooting and all that is around it. I'm not saying I know everything because that is impossible but I can always learn and that is me saying it as a Trainer/Teacher myself. I am far from being a developer though, I can read code to some extent but I was never interested in coding itself.
(05-24-2018, 10:24 PM)Renazor Wrote: [ -> ]That story was more about how extreme caution doesn't help in the long run, if the user keeps giving something to the experts to fix, he won't learn much, being dependant on those experts and their level of expertise, generally even with all the education and college, most PC repair services are laughable at least the ones I briefly came across with because I never trusted them from an early age already, I just have to do it myself, even if they know everything I do, some things still come down to taste how I want things set up. But the point was, that was 15 years ago, now, I don't need a friend or a rescue CD anymore, if I wasn't curious and messed things up, I would never learned anything, I didn't mind it because that was all meant to go as research and experience, so it's not a negative or a waste of time, if that was the preferred goal.

But still be careful with the general knowledge "over XX years" ... , someone may know many things, a little about everything, while not a whole lot about one specific thing. And many times people get the impression they know a lot, just because they maybe work around the office with other experts for "XX years", no it doesn't work like that.

Then you have the practical worth, IT is such a broad term, I don't have a luxury to throw enterprise solutions at my home PC setup or just reinstall it every few months like it's no big deal, since I'm very specific of how I want an OS to behave, corporations can throw resources at problems much easier, while less efficient, but faster, which means the college programmes change to adapt to those needs, so that also means those kind of IT experts don't get to learn some of the stuff on the "manual" deep level, because it's not practically worth it to a company to spend 10 hours fixing one computer's registry just to avoid a reinstall, for example. So an IT maintainer wouldn't really know much about why something crashed in deepth, because after 15 minutes of doing some basic attempts he would just re-load to a previous backup image, so he becomes more of an disk imaging expert and how to maintain those systems.


I'm sure this is something that's been done later, I'm not that sure just yet it got overwritten and all nice and clean from the beginning. I'll keep a look on that, I'll be monitoring those modified dates and I'll come back with what I found.

Just gonna throw it in there... I've got 50+ certificates and 20 or so full certifications for which I studied hard for including (but not limited to) ITIL Foundations v3, [color=#111111]MCDST: Windows XP,[/color] MCITP: Windows 7, MCSA: Windows 10, MCP: Configuring Windows 2000, MCITP: Windows Server 2008 R2 Enterprise, MCITP: Windows Server 2012 R2 Enterprise, Cisco A+, Cisco N+ on top of my 4 years of university studies in Systems Administration and 2 years in Computer Sciences, so I do know a lot about troubleshooting and all that is around it, I'm not saying I know everything, because I can always learn and that is me saying it as a Trainer/Teacher myself. I am far from being a developer though, I can read code to some extent but I was never interested in doing that for myself.
Pages: 1 2