johnfanv2 / LenovoLegionLinux

Driver and tools for controlling Lenovo Legion laptops in Linux including fan control and power mode.
https://github.com/johnfanv2/LenovoLegionLinux
GNU General Public License v2.0
1.67k stars 60 forks source link

[BUG] 0.0.18 in Fedora 41: Compilation Error in DKMS Module Due to Incompatibility with Python 3.13, DNF5, or Recent Kernel (most likely). #273

Open Allephh opened 2 weeks ago

Allephh commented 2 weeks ago

Problem Description The LenovoLegionLinux driver is probably not installed, since nothing has changed in practice. Although the Python GUI is here, I can't change anything there, and the options are impossible to activate. At first, I thought it was a problem related to Python, because in the pre-installation, the text said Python(abi) = 3.12 was missing. Even installing this version of Python (along with pip = darkdetect) didn't solve the problem. Before, in the post-installation, there were also problems related to DNF5, where it showed possible commands that had changed or no longer existed. However, when I installed it again yesterday after formatting, this didn't happen. Log of recently installation:

sudo.dnf.install.dkms.txt

And that's where the Kernel comes in. When I start the system, it presents problems like these:

Here are the videos demonstrating the absence of the driver and the errors.

https://github.com/user-attachments/assets/9081bd86-21d6-4442-bdd3-cdf122db0b5b

https://github.com/user-attachments/assets/23e0b24b-6b51-4c6c-bd0d-6041f48aa19a

https://github.com/user-attachments/assets/0615c66c-c945-40ab-a7e7-2df9e7b09b4d

https://github.com/user-attachments/assets/2d7123c3-cab4-4924-a943-54c6167b6372

And here are the terminal commands that show the logs:

systemctl

cat

Hardware Information:

Software Information:

johnfanv2 commented 2 weeks ago

That is using the old version. The compilation error for the "remove" function was fixed on master. A new version of the pkg for Fedora is needed.

Allephh commented 1 week ago

Hi. Could it have anything to do with this? Changes/TunedAsTheDefaultPowerProfileManagementDaemon

RodrigoPrestes commented 5 days ago

That is using the old version. The compilation error for the "remove" function was fixed on master. A new version of the pkg for Fedora is needed.

Any ideas when we plan to tag a new version?

Hi. Could it have anything to do with this? Changes/TunedAsTheDefaultPowerProfileManagementDaemon

If that's the case, that is being tracked here I believe: https://github.com/johnfanv2/LenovoLegionLinux/issues/279

RodrigoPrestes commented 3 days ago

Looks like we have a new tag, waiting new version to show up on copr.