Skip to content

Update - #783

Open
iurjscsi1101500 wants to merge 8 commits into
t2linux:masterfrom
iurjscsi1101500:master
Open

Update#783
iurjscsi1101500 wants to merge 8 commits into
t2linux:masterfrom
iurjscsi1101500:master

Conversation

@iurjscsi1101500

Copy link
Copy Markdown

No description provided.

Comment thread docs/guides/fan.md
Comment on lines +7 to +8
If you are running a kernel version newer than 7.2 (check using `uname -r`), `t2fanrd` will not work on your system. You will need to use another fan-control daemon that supports standard hwmon paths (e.g., `fancontrol` or `thinkfan`).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My fork of t2fanrd supports hwmon. Not all distros have updated, but the upstream repo is archived now.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know that your fork supports it, but for new users, its better that they use a standard fan daemon

Comment thread docs/guides/fan.md

In some Macs, the fan has been found to work out of the box. In such cases, the driver is not required unless you want to force a certain speed or do some other configuration which can be done by the help of this driver.

If you are running a kernel version newer than 7.2 (check using `uname -r`), `t2fanrd` will not work on your system. You will need to use another fan-control daemon that supports standard hwmon paths (e.g., `fancontrol` or `thinkfan`).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We literally have a fixed t2fanrd for Macsmc. wtf?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using t2fanrd together with zonepower will lead to prochot btw

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using t2fanrd together with zonepower will lead to prochot btw

Thanks for letting us know. Zonepower needs to be ported to t2linux then. Has the fan controller used by KaiT2en been depreciated?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it has a switch for native and manual control. Native smc control is recommended. Our manual control is not known to cause prochot but needs to be confirmed.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As said, new users should use standard fan daemons instead of t2fanrd

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The standard t2fanrd does not work (the one mentioned in the wiki), is your fork in ubuntu and arch?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ubuntu has working t2fanrd, with AdityaGarg8's fork which does the same thing. Arch is going to get updated soon.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't ship fan daemon bloat! Just dont! Users can decide themselves.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sharpenedblade i personally agree with @deqrocks, for most systems fan daemons are bloat, and not required, for systems that have broken amdgpu firmware (iMacs), they can use lm-sensors or something else, we should divert users from t2fanrd as much as possible, because we should not maintain it forever yk.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't ship fan daemon bloat! Just dont! Users can decide themselves.

I am going to remove it very soon

we should divert users from t2fanrd as much as possible, because we should not maintain it forever yk.

Im not saying that we should to tell users to use it, but we shouldn't say its broken.

Comment thread docs/guides/hybrid-graphics.md Resolved
Comment thread docs/guides/hybrid-graphics.md Outdated
```

2. Or alternatively, add kernel parameter `apple_gmux.force_igd=1`
2. Alternatively, you can manually set the EFI variable `gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9` on every boot (5th byte: `1` = IGD, `0` = DIS).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is too complicated for a normal user to understand. Just suggest using 0xbb's GPU switch script to people (https://github.com/0xbb/gpu-switch) as an alternative.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually only one command to write the byte

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually only one command to write the byte

Well you can just add the command as well. The statement in the PR is not easy to understand imo.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K, will do

Comment thread docs/guides/hybrid-graphics.md Resolved
Comment thread docs/guides/hybrid-graphics.md Resolved
Comment thread docs/state.md Resolved
Comment thread docs/state.md Resolved
Comment thread docs/state.md Resolved
@AdityaGarg8

Copy link
Copy Markdown
Member

Looks like upstream ain't very happy with these patches as well:

https://lore.kernel.org/lkml/b0682da2-9f4b-4674-995f-ea2c35ac5cfc@amd.com/

@deqrocks

Copy link
Copy Markdown
Contributor

Looks like upstream ain't very happy with these patches as well:

https://lore.kernel.org/lkml/b0682da2-9f4b-4674-995f-ea2c35ac5cfc@amd.com/

because someone doesnt understand what it is and what it does and how apple macs work. I was about to send a very very angry email to this person but stopped in the last second.

@iurjscsi1101500

Copy link
Copy Markdown
Author

https://lore.kernel.org/lkml/b0682da2-9f4b-4674-995f-ea2c35ac5cfc@amd.com/

The code works, and this code is upstreamable, but this guy just said, this is bad and did not elaborate further.

@AdityaGarg8

Copy link
Copy Markdown
Member

https://lore.kernel.org/lkml/b0682da2-9f4b-4674-995f-ea2c35ac5cfc@amd.com/

The code works, and this code is upstreamable, but this guy just said, this is bad and did not elaborate further.

If you wanna go ahead with discussion you may but a code rejected by upstream means it stays downstream. Since no one here has enough knowledge of the code, afterall we didn't develop it, I'm not sure how to proceed further.

@deqrocks

Copy link
Copy Markdown
Contributor

https://lore.kernel.org/lkml/b0682da2-9f4b-4674-995f-ea2c35ac5cfc@amd.com/

The code works, and this code is upstreamable, but this guy just said, this is bad and did not elaborate further.

If you wanna go ahead with discussion you may but a code rejected by upstream means it stays downstream. Since no one here has enough knowledge of the code, afterall we didn't develop it, I'm not sure how to proceed further.

So maintaining downstream code shouldnt be new to T2Linux. I dont feel inclined to fight my anger down about upstream anytime soon. Also I have work to do. You can decide for yourself if you want to maintain code broken for years or our working code. But what upstream says is no argument here and I dont see myself fixing whatever your problem is. From my point: just dont merge it and we have both less work. If @iurjscsi1101500 insists on merging to T2Linux then it is his decision. Same for you.

1. You can use the **T2-Hybrid-gpu-control** app provided by KaiT2en: https://github.com/kaiT2en/KaiT2en-Fedora/tree/main/apps/t2-hybrid-gpu-control

2. Alternatively, you can manually set the EFI variable `gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9` on every boot (5th byte: `1` = IGD, `0` = DIS).
2. Alternatively, you can use 0xbb's [gpu-switch](https://github.com/0xbb/gpu-switch#windows-810-usage) script.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link points to Windows bit. Have you copied pasted?

@AdityaGarg8

Copy link
Copy Markdown
Member

https://lore.kernel.org/lkml/b0682da2-9f4b-4674-995f-ea2c35ac5cfc@amd.com/

The code works, and this code is upstreamable, but this guy just said, this is bad and did not elaborate further.

If you wanna go ahead with discussion you may but a code rejected by upstream means it stays downstream. Since no one here has enough knowledge of the code, afterall we didn't develop it, I'm not sure how to proceed further.

So maintaining downstream code shouldnt be new to T2Linux. I dont feel inclined to fight my anger down about upstream anytime soon. Also I have work to do. You can decide for yourself if you want to maintain code broken for years or our working code. But what upstream says is no argument here and I dont see myself fixing whatever your problem is. From my point: just dont merge it and we have both less work. If @iurjscsi1101500 insists on merging to T2Linux then it is his decision. Same for you.

We maintained downstream code because we developed it. It's easy for us to maintain only when we have sufficient knowledge about it. Also, I respect your choice to give work priority. I myself give my work priority.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants