-
Notifications
You must be signed in to change notification settings - Fork 612
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
[Suggestions] [Experimental] Ice Lake backlight fix. #97
Conversation
It took me a while to understand what you are doing here. So let's begin with a quick recap on the backlight issue on Ice Lake platforms. I assume that your code snippet that sets Apple's hard-coded frequency value is extracted from the So that's my interpretation of the change you have made. You basically sets the frequency manually if the driver does not invoke the light up function before changing the brightness level. Please feel free to correct me if my interpretation is wrong. Now I would like to confirm the following things.
Perhaps, we need to invite people who own ICL laptops to test the patch before merging it to the main branch. |
Your following explanations are correct in fact, and sorry for the inconvenience.
Yes. But I'm not sure filling the same value as Apple did is reasonable.
Nothing needs to be corrected.
Yes.
I cannot confirm it, for the shortage of ICL laptops.
The driver of CFL will never match But I'm still not sure.
The PR was only a suggestion and it was welcomed to be discussed more further.
OK, I did it. |
It looks fine to me, because WEG needs the frequency requested by Apple's driver to rescale the value of the duty register.
As expected, otherwise it does not make sense.
No worries. I mean it would be better to invite other people to test your patch as well.
Well, I think it does not hurt if we keep that for CFL as well, because the CFL driver uses the same hard-coded frequencies and it is possible that @vit9696 This fix makes sense to me, and I suggest to merge it, but it would be better if we can get some feedback from other folks. What's your suggestion? |
I believe we should merge this too and wait for the reports. If anyone gets issues with it, I will CC. Perhaps we can make it configurable at worst. |
Sounds like a good plan. |
@0xFireWolf That’s nice. I’ll do that later. (Adding -igfxblrexpr) |
Nah, better enable by default. And then disable on reports. Otherwise nobody will enable it. |
@vit9696 @0xFireWolf Changes were made. Now it can be merged. |
Errng, like I said, no need for an argument right now. Better introduce it in a subsequent commit if there are issues. It will require a device property check as well anyway. |
ice lake users can run tests on chat gitter https://gitter.im/ICE-LAKE-HACKINTOSH-DEVELOPMENT/community |
I thought similarly to @0xFireWolf that we need more usage reports before making it as a default behavior. |
You will not get usage reports from the people that do not need this flag, because they have no reasons to set it. And we need the opinions of these users most to determine whether this flag can be enabled by default. There is no better way to get this opinion other than force them having this feature and then wait for issues. |
The argument was removed now. |
in my ice lake DELL laptop, there is no change or improvement,it worked before, and it works now. hopefully on other laptops it will solve the problems. |
I can confirm that on my Lenovo S340 IceLake (81VW00C4GE) it finally solved the problem with dimmed backlight. The backlight was only after the sleep fully on Windows level. |
@0xFireWolf I wanted to ask you a question, I use ig platform 0200518a and everything works fine, if I use 0200538a comes to black screen desk, but ariva safe to desk pouche if I turn up and down the volume I hear the sounds of macos, ig platform 0200538a is the one used natively by mbp 16.2 |
Different platform id's have different connectors, busids, flags, etc. It's pretty much normal one will work and another one doesn't. |
Related Issues:
Tested on Surface Laptop Go.
Short explanations: