Git Product home page Git Product logo

Comments (8)

esetnik avatar esetnik commented on July 24, 2024

I have instant reboot when kextload AppleIntelInfo.kext with i7-7700k and HWP enabled following https://www.tonymacx86.com/threads/skylake-hwp-enable.214915/

from appleintelinfo.

KGP avatar KGP commented on July 24, 2024

In contrary to your exotic XCPM approach, I use Pike's ssdtPRGen.sh and ssdt.aml with SMBIOS iMac17,1... Even with this fully compatible and fully functional XCPM implementation, I witness an immediate reboot when executing "sudo kextload AppleIntelInfo.kext" with my i9-7980XE... Up to my knowledge, "sudo kextload AppleIntelInfo.kext" and AppleIntelInfo.kext work absolutely flawless with any other Skylake-X processor! I myself formerly used a i7-7800X without any issues on the same build and with the same system configuration!

from appleintelinfo.

KGP avatar KGP commented on July 24, 2024

Pike, how are doing? Hope everything is just fine there!

Is there any severe incompatibility problem between AppleIntelInfo.kext and the i9-7980XE or what is the reason that you do not respond at all on my issue report for already more than 23 days? I would extremely appreciate if you could come up with a short feedback or update as soon as possible..

Many thanks in advance, KGP

from appleintelinfo.

Piker-Alpha avatar Piker-Alpha commented on July 24, 2024

Sorry folks. I'm so busy trying to keep up with everything and since I don't have a fix handy, replying seemed pointless. Let's try to move this forward now that you have my attention ;)

First. Change all compiler directives to 0:

#define REPORT_MSRS			1
#define REPORT_RAPL_MSRS		1
#define REPORT_HWP				1
#define REPORT_HDC				1
#define REPORT_IGPU_P_STATES	1
#define REPORT_C_STATES		1
#define REPORT_IPG_STYLE		1
#define ENABLE_HWP				1
#define WRITE_LOG_REPORT		1

Now recompile and try again.

from appleintelinfo.

KGP avatar KGP commented on July 24, 2024

Thanks for your response, Pike! My system currently is broken. As soon I am up again, I will come back with some feedback to your above instructions.

from appleintelinfo.

KGP avatar KGP commented on July 24, 2024

Sorry for the delay in my response .. it took me several days to fix my pc...

Well I am able to set all compiler directives to 1 apart from #define REPORT_MSRS..

#define REPORT_MSRS set to 1 causes the reboot with the i9-7980XE...

from appleintelinfo.

Piker-Alpha avatar Piker-Alpha commented on July 24, 2024

Have you tried to only set REPORT_MSRS to 1?

If that fails, with all others set to 0, then please add a return statement after a few lines in:

void AppleIntelInfo::reportMSRs(void)

To see if you can locate the exact spot that triggers the problem.

from appleintelinfo.

KGP avatar KGP commented on July 24, 2024

o.k. with

#define REPORT_MSRS				1
#define REPORT_RAPL_MSRS		0
#define REPORT_HWP				0
#define REPORT_HDC				0

#define REPORT_IGPU_P_STATES	0
#define REPORT_C_STATES			0
#define REPORT_IPG_STYLE		0
#define REPORT_INTEL_REGS		0

#define ENABLE_HWP				0

#define WRITE_LOG_REPORT		0

I cannot even compile AppleIntelInfo.plist and I get the following compilation errors:

In file included from /Users/kgp/Desktop/AppleIntelInfo-master/AppleIntelInfo/AppleIntelInfo.cpp:13:
/Users/kgp/Desktop/AppleIntelInfo-master/AppleIntelInfo/AppleIntelInfo.h:107:10: warning: 
      'IOLOG' macro redefined [-Wmacro-redefined]
        #define IOLOG(fmt, args...) os_log_with_type(OS_LOG_DEFAULT, OS_...
                ^
/Users/kgp/Desktop/AppleIntelInfo-master/AppleIntelInfo/AppleIntelInfo.h:102:10: note: 
      previous definition is here
        #define IOLOG(fmt, args...) IOLog(fmt, ##args)
                ^
/Users/kgp/Desktop/AppleIntelInfo-master/AppleIntelInfo/AppleIntelInfo.cpp:1062:7: error: 
      use of undeclared identifier 'gCheckC7'
                if (gCheckC7)
                    ^
/Users/kgp/Desktop/AppleIntelInfo-master/AppleIntelInfo/AppleIntelInfo.cpp:1087:7: error: 
      use of undeclared identifier 'gCheckC7'
                if (gCheckC7)
                    ^
1 warning and 2 errors generated.

** BUILD FAILED **


The following build commands failed:
	CompileC build/AppleIntelInfo.build/Release/AppleIntelInfo.build/Objects-normal/x86_64/AppleIntelInfo.o AppleIntelInfo/AppleIntelInfo.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Other question:
If I would finally succeed in compiling AppleIntelInfo just with REPORT_MSRS to 1 how does the return statement looks like?

IOReturn result		= kIOReturnSuccess;

?

And where to place it in AppleIntelInfo.h? Here?

#ifdef REPORT_MSRS
	void reportMSRs(void);

	#ifdef REPORT_HWP
	void reportHWP(void);
	#endif

	#ifdef REPORT_HWP
	void reportHDC(void);
	#endif

	bool hasCPUFeature(long targetCPUFeature);

	bool logMSRs		= true;		// Set <key>logIGPU</key> to <false/> in Info.plist to disable this feature.
#endif

from appleintelinfo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.