Skip to content
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

Clarity to identify which one to use #284

Open
sanjarbek-ismatov opened this issue Jan 7, 2025 · 4 comments
Open

Clarity to identify which one to use #284

sanjarbek-ismatov opened this issue Jan 7, 2025 · 4 comments

Comments

@sanjarbek-ismatov
Copy link

sanjarbek-ismatov commented Jan 7, 2025

Hi, I use realtek 8821ce wifi adapter on my AMD HP laptop.

lsmod | grep rtw                                                                             
rtw88_8821ce           12288  0
rtw88_8821c            98304  1 rtw88_8821ce
rtw88_pci              40960  1 rtw88_8821ce
rtw88_core            331776  2 rtw88_pci,rtw88_8821c
mac80211             1638400  2 rtw88_pci,rtw88_core
cfg80211             1396736  2 rtw88_core,mac80211

I used linux before too, but Wifi was problematic. Then I found this dkms module: https://github.com/tomaspinho/rtl8821ce . I started using it. It worked normally, then it stopped recieveing updates, at the same time WiFi was fixed after the kernel 6.8.2. Now Wifi is working almost properly, but there are some signal sharp fluctations sometimes. Here is the fix: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git/commit/?id=e1dfa21427baeb813f9a2f9ceab6b7d32c3ca425
The question is: where is the difference between rtw88 modules in the kernel, lwfinger/rtw88 and tomaspinho/rtl8821ce? Which one works better?

@dubhater
Copy link
Collaborator

dubhater commented Jan 7, 2025

This repository has the same driver that is in your kernel, but it's newer.

https://github.com/tomaspinho/rtl8821ce is a completely different driver. Sometimes it's better, sometimes it's worse.

@sanjarbek-ismatov
Copy link
Author

but it's newer.

Does newer mean better? Why is it seperated from the kernel source? Is it worth blacklisting the kernel modules and installing?

https://github.com/tomaspinho/rtl8821ce

It is not maintained any more. It was really helpful
I use Arch with KDE, the changes in the wifi signals was annoying, but I changed icons to papirus, not it's less-distracting.

@sanjarbek-ismatov
Copy link
Author

This repository has the same driver that is in your kernel, but it's newer.

https://github.com/tomaspinho/rtl8821ce is a completely different driver. Sometimes it's better, sometimes it's worse.

Hey, you fixed my problem in kernel 6.8.x, right? I am fond of creating drivers, OS components. I am currently learning C, can you show me guidance? I mean, I do not know what to learn after C. Also, How do you know how to build or fix drivers for realtek, including mine? Your thoughts or suggestions would be really helpful!

@morrownr
Copy link
Collaborator

@sanjarbek-ismatov

Why is it seperated from the kernel source?

Having a separate repo from Linux mainline allows for easier widespread testing.

Is it worth blacklisting the kernel modules and installing?

There is no need to blacklist rtw88 in mainline because if you install this driver, it will blacklist them for you.

How do you know how to build or fix drivers for realtek, including mine? Your thoughts or suggestions would be really helpful!

My first suggestion would be to start monitoring the linux-wireless mailing list so as to learn how it is done.

Go to the following site and read. You will run across information about how to subscribe to linux-wireless. It can take a while to understand how things work.

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

No branches or pull requests

3 participants