Jump to content

Clover General discussion


ErmaC
30,058 posts in this topic

Recommended Posts

1 hour ago, MakAsus said:

It worked to change to the master branch, but I couldn't find how to change to your branch again.

Everything from 0.9.7 is now included in the master branch. So there is no need to switch back to 0.9.7branch as this branch won't evolve anymore.

 

Thank you all for the tests.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, chris1111 said:

Xcode Error compil

I do most of my test with GCC (maybe I should change that habit!). Do you mean that there is an error when compiling the master branch with Xcode ?

I've just also tried compilation xcode DEBUG and RELEASE and it worked.

Please feel free to tell any problem (might have to PM me if I don't answer).

Edited by Jief_Machak
  • Like 2
Link to comment
Share on other sites

1 hour ago, Jief_Machak said:

I do most of my test with GCC (maybe I should change that habit!). Do you mean that there is an error when compiling the master branch with Xcode ?

I've just also tried compilation xcode DEBUG and RELEASE and it worked.

Please feel free to tell any problem (might have to PM me if I don't answer).

Thanks

Yea I have an error compilling with Xcode 15.0.1 in sonoma 14

I will show you exactly the error when I retry tonight

Edit ****

also About this mac show Intel Unsupported 1536 MB but graphics is pefecly patch by OCLP and it work like it should

With OC it show correct Intel HD 4600 1536 MB

 

Error in spoiler ⬇︎ just after passing all test OK

Spoiler
----------------------------------------------------------------------
Ran 285 tests in 1.444s

OK

Running edk2 build for CloverX64 using the command:
build --cmd-len=50000 -D NO_GRUB_DRIVERS --conf=/Users/chris/src/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t XCODE8 -n 5 

Build environment: macOS-14.3-x86_64-i386-64bit
Build start time: 17:59:37, Jan.03 2024

WORKSPACE        = /Users/chris/src/CloverBootloader
EDK_TOOLS_PATH   = /Users/chris/src/CloverBootloader/BaseTools
CONF_PATH        = /Users/chris/src/CloverBootloader/Conf
PYTHON_COMMAND   = python3


Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE8

Active Platform          = /Users/chris/src/CloverBootloader/Clover.dsc

Processing meta-data .... done!
[CC] DriverEntryPoint
[CC] Acpi
[CC] UefiRuntimeServicesTableLib
[CC] DevicePathFromText
clang: error: argument unused during compilation: '-mabi=ms' [-Werror,-Wunused-command-line-argument]
make: *** [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/DriverEntryPoint.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/MdePkg/Library/BasePrintLib/BasePrintLib]


build.py...
 : error F002: Failed to build module
	/Users/chris/src/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64, XCODE8, RELEASE]

- Failed -
Build end time: 17:59:42, Jan.03 2024
Build total time: 00:00:04

TOOLCHAIN_DIR: /Users/chris/src/opt/local
MTOC_PREFIX: /Users/chris/src/opt/local/bin/
NASM_PREFIX: /Users/chris/src/opt/local/bin/
NASM_VER: 2.16.01
Initializing workspace
recreate Conf folder
WORKSPACE: /Users/chris/src/CloverBootloader
EDK_TOOLS_PATH: /Users/chris/src/CloverBootloader/BaseTools
CONF_PATH: /Users/chris/src/CloverBootloader/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
     to /Users/chris/src/CloverBootloader/Conf/build_rule.txt
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
     to /Users/chris/src/CloverBootloader/Conf/tools_def.txt
Copying $EDK_TOOLS_PATH/Conf/target.template
     to /Users/chris/src/CloverBootloader/Conf/target.txt

Running edk2 build for CloverX64 using the command:
build --cmd-len=50000 -D NO_GRUB_DRIVERS --conf=/Users/chris/src/CloverBootloader/Conf -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t XCODE8 -n 5 

Build environment: macOS-14.3-x86_64-i386-64bit
Build start time: 17:59:43, Jan.03 2024

WORKSPACE        = /Users/chris/src/CloverBootloader
EDK_TOOLS_PATH   = /Users/chris/src/CloverBootloader/BaseTools
CONF_PATH        = /Users/chris/src/CloverBootloader/Conf
PYTHON_COMMAND   = python3


Processing meta-data .
Architecture(s)  = X64
Build target     = RELEASE
Toolchain        = XCODE8

Active Platform          = /Users/chris/src/CloverBootloader/Clover.dsc
... done!
[CC] LegacyRegionLock
[CC] DxeMpLib
[CC] BaseXApicLib
[ASM] InitializeFpu
[CC] AutoGen
clang: error: argument unused during compilation: '-mabi=ms' [-Werror,-Wunused-command-line-argument]
clang: error: argument unused during compilation: '-mabi=ms' [-Werror,-Wunused-command-line-argument]
make: *** [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib/OUTPUT/LegacyRegionLock.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/UefiCpuPkg/Library/MpInitLib/DxeMpInitLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/chris/src/CloverBootloader/Build/Clover/RELEASE_XCODE8/X64/ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib]


build.py...
 : error F002: Failed to build module
	/Users/chris/src/CloverBootloader/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf [X64, XCODE8, RELEASE]

- Failed -
Build end time: 17:59:48, Jan.03 2024
Build total time: 00:00:06

 

 

 

  • Sad 1
Link to comment
Share on other sites

Thanks Jief for this Clover 5156 version can boot my Ryzen 1700X hackintosh with SkyWalkway enabled.

Only About this Hack got wrong bootloader at its home page, but its System Report showed correct Clover version.

Screenshot 2024-01-04 at 10.57.07 AM.png

config-5156.plist

No such an error in my Z490 Hackintosh but there's kernelmanaged stall "SL05" (60sec) x3 during booting before login desktop which's very unusually slow !

Screenshot 2024-01-04 at 4.10.47 PM.png

[Edit]

It can be fixed by using AppleIGC.kext to enable Intel 2.5Gb ethernet adapter.

Screenshot 2024-01-04 at 10.55.45 PM.png

Edited by jsl2000
  • Like 3
Link to comment
Share on other sites

@jsl2000 How do you get this page :
image.png.52a859b88c6538457e8d3e9e35e79a8d.png

When I do "about", I just got the smaller version with no tabs.

 

@chris1111 Are you sure to have the same properties injected for the graphic card name ?

 

 

10 minutes ago, chris1111 said:

OK i got it Works Xcode 15

I've just fixed the problem by removing the arg instead of disabling warnings.

Sorry matxpa, but I prefer the maximum warnings possible. Although I would personally not use the option to consider warnings as errors.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

6 minutes ago, Jief_Machak said:

 

 

@chris1111 Are you sure to have the same properties injected for the graphic card name ?

 

 

I've just fixed the problem by removing the arg instead of disabling warnings.

Sorry matxpa, but I prefer the maximum warnings possible. Although I would personally not use the option to consider warnings as errors.

I dont now?  what is your property inject for the graphics name

Yea I will test your fix Right now then report 😎

 

EDIT** It works 

 

image.png

  • Like 1
Link to comment
Share on other sites

40 minutes ago, chris1111 said:

what is your property inject for the graphics name

I have a key <model> in the dict DeviceProperties/Add/PciRoot(0x0)/Pci(0x2,0x0)

                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>model</key>
                <string>Intel HD Graphics 630</string>

Don't you have that in your config.plist for OC ?

 

  • Like 1
Link to comment
Share on other sites

About_This_Hack may show wrong information because of caching.

Delete the cache

rm -rf ~/.ath

And start the application again. 

  • Like 2
Link to comment
Share on other sites

2 hours ago, Jief_Machak said:

I have a key <model> in the dict DeviceProperties/Add/PciRoot(0x0)/Pci(0x2,0x0)

                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>model</key>
                <string>Intel HD Graphics 630</string>

Don't you have that in your config.plist for OC ?

 

No

model is  not need for my Intel HD 4600

 

  • Like 1
Link to comment
Share on other sites

33 minutes ago, chris1111 said:

No

model is  not need for my Intel HD 4600

 

And if you add a "model" key, does that change something ?

11 hours ago, jsl2000 said:

Only About this Hack got wrong bootloader at its home page, but its System Report showed correct Clover version.

I don't know where "About this hack" got this information. Maybe the developers of "About this hack" can tell me ?

 

11 hours ago, jsl2000 said:

No such an error in my Z490 Hackintosh but there's kernelmanaged stall "SL05" (60sec) x3 during booting before login desktop which's very unusually slow !

Do you have a working OpenCore configuration for the Z490 ?

  • Like 2
Link to comment
Share on other sites

55 minutes ago, Jief_Machak said:

And if you add a "model" key, does that change something ?

I don't know where "About this hack" got this information. Maybe the developers of "About this hack" can tell me ?

 

Do you have a working OpenCore configuration for the Z490 ?

Yes I have working OpenCore 0.9.6 config.plist for your reference.

config-OC-096-Z490.plist

  • Like 1
Link to comment
Share on other sites

2 hours ago, Jief_Machak said:

 

I don't know where "About this hack" got this information. Maybe the developers of "About this hack" can tell me ?

 

 

You missed posts above

https://github.com/CloverHackyColor/About-This-Hack

4 hours ago, Slice said:

About_This_Hack may show wrong information because of caching.

Delete the cache

rm -rf ~/.ath

And start the application again. 

If not cached the application take the information from System Profiler here

Screenshot 2024-01-04 at 19.21.53.png

 

I successfully compiled new Clover sources (re-cloned ab ovo) by GCC131 and by XCODE15 in Sonoma14.3 having Xcode 15,1.

So I think there is a time to make release 5157. 

Good?

  • Like 2
Link to comment
Share on other sites

12 hours ago, mariosun said:

 

 

Audio problem is unsolved for latest AMD AM5 platform

 

As far as I remember we implemented for AMD platform

                <key>InhibitCache</key>
                <true/>

into VoodooHDA.

There is no analog for AppleALC.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

Just now, Slice said:

As far as I remember we implemented for AMD platform

                <key>InhibitCache</key>
                <true/>

into VoodooHDA.

There is no analog for AppleALC.

Thank you @Slice

AM5 Asus x670E Hero has USB audio device and it doesnt need any kext for working

 

Weird thing is AM5 platform had the same audio problem with OpenCore bootloader and the solution was found inside Clover Bootloader code

@Shaneeedid a PR with the solution for OpenCore, maybe if he has some time could explain better!

  • Like 1
Link to comment
Share on other sites

15 minutes ago, mariosun said:

did a PR with the solution for OpenCore

OpenCore team is very picky about pull request. If you miss a simple space or newline, they reject the PR instead of improve it themselves.

mhaeuser took the time to detail every indentation, new-line, etc. missing, instead of just doing it, which probably would have been faster for him.

The same mhaeuser explains; I quote : "Help in the community generally does not work by taking unrefined stuff and finishing it (usually this would happen when forking), but by instructing on how to improve the work. This both gives the submitter a chance to improve their skill and experience". In short : if you don't program as we like, it's because you're lacking skill and experience. And I thought that French were arrogant !! 😀😀😀

 

I've experienced that myself a couple years back. They didn't take my PR, explain that it wasn't a good idea, could be a security breach, bla bla bla. Then waited some time, like a year or so, and implemented it.

 

In conclusion : don't get your hopes high if you want to submit a PR to OpenCore. 

  • Like 2
  • Haha 1
Link to comment
Share on other sites

15 minutes ago, Jief_Machak said:

In conclusion : don't get your hopes high if you want to submit a PR to OpenCore. 

Maybe i have explained bad in my previous post

 

Opencore Devs accepted a Shaneee ' s PR which solved audio problem in latest AM5 (amd CPU platform)

Shaneee and others people found inside Clover Code the solution

I think it is TSC related

image.thumb.png.5fb54014a12dff6a4597600dbc87afcf.png

For this i think it is weird that with Clover booloader am5 platform has audio problem

Edited by mariosun
Added the succesfull Shanee PR
Link to comment
Share on other sites

1 minute ago, mariosun said:

Opencore Devs accepted a Shaneee ' s PR

Nope, they didn't. See https://github.com/acidanthera/OpenCorePkg/pull/277. The PR is closed without merge.

But I can see the modification are indeed imported.

Maybe shaneee did another one ?

 

Was just a little rant. No need to talk about that further.

 

@everyone : is there anyone still having a problem ? If aone has an issue, please open an issue an github. I find it way easier to follow that the forum for bug resolution.

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...