-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update WinRing0 #1
base: master
Are you sure you want to change the base?
Conversation
Whole sources can be got here https://www.techpowerup.com/forums/threads/winring0.119184/#post-3608682
What are the changes from the version which is currently used? :) |
Weeell.. Technically it's just about this. In other news, it was more of a ping to signal you about winring0 sources actually being alive again. |
Now I wish I didn't ask lol 😅 Feel free to make the changes you are mentioning and I will merge them. |
I haven't all that faith in me tbh. |
If I may chime in here. One Problem with WinRing0 is the need for a certificate for the driver. I always had the source sitting around here (found it on some forum somewhere years ago) but you can't simply rebuild the driver. mirh you explained this in your forum post also. Hence I never bothered to include the source of the library/driver into this project and just provided a link to the binaries. Speaking about the project in general (sorry for being off-topic here), There are some things I always wanted to add to it but never had the time to (proper support for newer Fam15h, Fam16h support where I lack the hardware and more recently Fam17h, also lacking the hardware right now). At one time I had a working branch with GPU-related functionality (reading the GPU p-states table) and stuff that was added in Richland (cTDP), but these things were never completely finished and/or didn't work, also due to limitations of the hardware I had (cTDP seems to depend on platform support on top of basic support in the APU). |
Well, this project is released under GPL3, so technically even if WinRing0 is "only" BSD, I wouldn't want to make uncle richard sad. Tbh, I don't think binaries should ever have a place in sources to begin with (then when releasing binaries, you can do whatever you want).
Yes and no. I see what you mean, but thankfully, at least in my wanderings it always looked like newer forks always managed to retain features added in previous ones (or if any, at least this seems true for this compared to all the other deads). Obviously, nothing is stopping uninformed people that stumble over that version or the other, to just use it.. Period. But in the meantime for those that manage to even realize there are multiple versions.. Just the most simple "checking at release date" seems already a pretty good indicator of what they should use.
Oh, now I got who you are... Well, I don't really mind personally (even though an issue or this would probably result in a tidier chatting) But I don't know yours or @sweoggy's plans, and.. If you had the time to "stick to the scene", perhaps you could form a common organization or something? |
For precisely what you said I never put the WinRing0 libraries into my repository for this project. The other reason would be I don't believe in committing binaries to a source repository, but that's a philosophical debate. It seems we agree on this. The releases feature of Github could be used though, I think. What I meant is I also never considered it to be a good idea to commit the sources of WinRing0 either. Both due to licensing concerns and there being no real use due to what I said regarding the need of a certificate for the driver. I just roughly explained my plans but to be honest they are not very concrete aside from the general goals. Currently I don't feel like creating an organization so I'm fine with several forks pursuing different goals. In fact this was the intention when putting it on Github (the original creator licensing it under GPLv3 also played a role ofc). Too often I have observed closed source community projects that got abandoned in this area. Funny you link this, because I knew the original Linux fork here https://github.com/johkra/AmdMsrTweaker Lastly thanks for reminding me there is another major forum related to tweaking computer hardware ;-) |
Winring0 uses a Simplified BSD License, which is GPL compatible. As you say, github releases certainly are a godsend here.
I mean, sure. At least though.. Agree if the development should continue on yours or his!
I totally see you. I feel so dreadful sometimes, thinking how much time was wasted reinventing the wheels.
Well, let's see what they think =) @johkra @danfe
Lol, tbh it's mostly google that lead me there. |
Thanks for the highlight, I'm very interested in the tool and look forward for its further development, as well as merging all OS-specific forks (Linux, FreeBSD) into one true upstream.
In fact, it seems totally doable, given how nicely those system-specific pieces are isolated, and how clean and portable the remaining C++ code is. I can crank a patch (to add Linux+FreeBSD support) and file an issue if that what it takes.
That was precisely the reason why I sticked to the original version number: to give end-users less things to worry about when comparing results across different operating systems. I guess I cannot comment much on the Windows side of things, apart from #thanksMS #W10shit, keeping binaries in the repo is indeed bad (the first thing I purged after forking), yet "drivers now had to be certified what shall we do well that's your pain" (yeah that's pretty mean). I don't known enough about Win10, or if particular code in question being BSD-licensed plays any significant role in this case. |
I know this is a side project for everyone, and I don't know if it is still alive for any of you, but I'm diving in here since this seems to be the most active discussion thread I can find and has all the active developers. It seems that the spring release of Windows 10 has killed functionality here on my 860k - running Mirh's test release (including his winring0 build or not including it) I get "ERROR: cannot read from PCI configuration space (F0x0)" and running other versions or K15TK I get BSOD. |
I'm not sure I can be considered a developer, anyway
Meaning the Creator's Update?
Well, that means something is getting loaded in that case after all. |
Yes, Creator's Update. I hate the names -- 1703. With the original build from mpollice and K15TK I get BSOD, with your files I get the "ERROR: cannot read from PCI configuration space (F0x0)." I haven't had a chance to dig much further, but the original build and K15TK both worked (mostly) prior to 1703. As I recall, I could get it to BSOD in some cases, but I figured out that if I was careful and only did certain things it would play nice. What was working then doesn't work now. |
There shouldn't be really a lot of differences between this slightly updated build and older ones.. So I suspect this would crash too, if it got loaded. Could you check windows event viewer for reports about this driver? |
I have my release in use on machines with 1703 without any issue. Most of them are not set up to use Secure Boot though, so this is the only reason I can imagine right now. |
Circling back to this with 1804 because I really missed my lower voltage states. Can't go back to older versions and check, but I'm able to set all pstates EXCEPT P3. I don't know if I failed to figure this out before or if something has changed. So, this works: AmdMsrTweaker [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] This crashes the machine: AmdMsrTweaker [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] When I first started using this, the latter version worked. Yes, I know this is an ancient machine at this point. Edit: |
You may also want to host/include complete linked sources to build the whole thing then, if you deem so.