Package Details: rtw88-dkms-git r1.029812e-2

Git Clone URL: (read-only, click to copy)
Package Base: rtw88-dkms-git
Description: Newest Realtek rtlwifi codes
Upstream URL:
Keywords: 8723DE 8821CE 8822BE 8822CE
Conflicts: rtlwifi_new-dkms, rtlwifi_new-extended-dkms-git, rtlwifi_new-rtw88-dkms
Provides: rtlwifi_new-dkms, rtlwifi_new-extended-dkms-git, rtlwifi_new-rtw88-dkms
Replaces: rtlwifi_new-extended-dkms-git, rtlwifi_new-rtw88-dkms-git
Submitter: librewish
Maintainer: PRESFIL
Last Packager: PRESFIL
Votes: 10
Popularity: 0.124809
First Submitted: 2020-07-07 06:33 (UTC)
Last Updated: 2021-12-21 17:53 (UTC)

Pinned Comments

PRESFIL commented on 2021-08-26 05:44 (UTC)

@o_flipper, do you have linux-headers installed? You must manually install the correct linux-headers for all your kernels.

ArchWiki states that I should not include linux-headers in the dependency list (because they are individual for each user). Read about build process and DKMS.

Latest Comments

Spixmaster commented on 2022-05-29 07:02 (UTC)

For me, this package completely broke my system. Not even pacman worked. I had to boot from a boot stick and remove it.

eNV25 commented on 2022-05-10 08:29 (UTC)

There is a .git directory in /usr/src/rtw88-*/.git/.

Please remove.

covrom commented on 2022-05-05 11:39 (UTC)

TP-LINK Archer T2E (b821) well supported! Thanks!

PRESFIL commented on 2022-03-11 17:01 (UTC)

@1llum1n4t3d, I thought I was the only one experiencing this.

In any case, @lwfinger makes it clear in the README that he is not the one who can solve such problems, repeatedly. Therefore, it is better to contact

On my own, I can add that I added more modules to the blacklist, maybe this will help:

# Blacklist conflicting rtw88_* modules

blacklist rtw88_8723de
blacklist rtw88_8723d
blacklist rtw88_8821ce
blacklist rtw88_8821c
blacklist rtw88_8822be
blacklist rtw88_8822b
blacklist rtw88_8822ce
blacklist rtw88_8822c
blacklist rtw88_core
blacklist rtw88_pci

1llum1n4t3d commented on 2022-03-11 07:31 (UTC)

Hello I have realtek 8821ce chipset and very bad wifi connection and connection keeps dropping..Please help me for any fix and solutions?

In /etc/default/grub I have put pci=noaer at GRUB_CMDLINE_LINUX_DEFAULT=

lsmod | grep rtw

rtw_8821ce 16384 0 rtw_8821c 94208 1 rtw_8821ce rtw_pci 36864 1 rtw_8821ce rtw_core 266240 2 rtw_8821c,rtw_pci mac80211 1236992 2 rtw_core,rtw_pci cfg80211 1073152 2 rtw_core,mac80211

In /etc/modprobe.d/blacklist.conf I have put:

blacklist rtw88_8821ce blacklist rtw88_8821c blacklist rtw88_pci blacklist rtw88_core

In /var/lib/NetworkManager/NetworkManager-intern.conf have put [connectivity].set.enabled=false and set BSSID manually in gnome wifi settings app.

In /etc/modprobe.d/rtw.conf I have

options rtw_pci disable_msi=1 options rtw_pci disable_aspm=1

1llum1n4t3d commented on 2022-03-11 07:16 (UTC)

Wifi is constantly disconnecting. Does anyone have solutions for fix?

PRESFIL commented on 2021-12-21 17:58 (UTC)

@jonathon, I figured out them for myself empirically, but I cannot guarantee that they will work for everyone.

Hopefully my changes won't break anything. What do you think of it?

jonathon commented on 2021-12-21 16:08 (UTC)

@PRESFIL, what would you think about including a file to blacklist in-kernel drivers when this driver package is installed?

ferretwithaberet commented on 2021-10-10 19:12 (UTC) (edited on 2021-10-10 19:23 (UTC) by ferretwithaberet)

==> dkms install --no-depmod -m rtw88 -v r87.6ccdad5 -k 5.14.10-arch1-1 Error! Bad return status for module build on kernel: 5.14.10-arch1-1 (x86_64) Consult /var/lib/dkms/rtw88/r87.6ccdad5/build/make.log for more information.

I tried to cat /var/lib/dkms/rtw88/r87.6ccdad5/build/make.log but it does not exist. Trying to install through yay.

Edit: Seems like running yay -S rtw88-dkms-git again fixed it, somehow.

PRESFIL commented on 2021-08-26 05:44 (UTC)

@o_flipper, do you have linux-headers installed? You must manually install the correct linux-headers for all your kernels.

ArchWiki states that I should not include linux-headers in the dependency list (because they are individual for each user). Read about build process and DKMS.

o_flipper commented on 2021-08-25 23:14 (UTC)

broken here too. ==> Unable to install module rtw88/r100.87f32b6 for kernel *: Missing kernel headers.

PRESFIL commented on 2021-02-21 21:48 (UTC)

As far as I understand, upstream provides the driver needed. tree /var/lib/dkms /rtw88/ and tree /lib/modules/$(uname -r)/updates/.

You can read upstreams's README also. Don't miss the last paragraph ;)

jfernandz commented on 2021-02-21 20:23 (UTC)

@PRESFIL do you think we should report this to dkms upstream?

Also ... I was wondering if this driver has something to do with the Realtek Semiconductor Corp. RTL8822BE Bluetooth 4.2 Adapter because I'm having a lot of problems with it, and I was thinking in fill a bug in the upstream.

PRESFIL commented on 2021-02-20 07:11 (UTC) (edited on 2021-02-20 08:08 (UTC) by PRESFIL)

You can try to look inside make logs. Search this files with

find /var/lib/dkms/rtw88/ -iname '*log*'

UPD1: OK, now I'm experiencing this error too.

But apparently the build is successful. Maybe this is some minor bug in dkms. It says that there is no such module in the current kernel:

Running module version sanity check.
 - Original module
   - No original module exists within this kernel

, but it is there!

All modules after the build are present here:


The original ones remain in their places. It seems that the build is successful and it is not critical.

jfernandz commented on 2021-02-19 08:27 (UTC) (edited on 2021-02-19 08:37 (UTC) by jfernandz)

@PRESFIL I actually got that message when updating from r44.d4fd1ae to r50.cbe75c9 so now I have the latest version (r50.cbe75c9) but I've had that message in previous updates.

❯ uname -r
❯ dkms status
rtl8812au,, 5.10.16-arch1-1, x86_64: installed
rtl8812au,, 5.10.17-1-lts, x86_64: installed
rtw88, r50.cbe75c9, 5.10.16-arch1-1, x86_64: installed
rtw88, r50.cbe75c9, 5.10.17-1-lts, x86_64: installed
vmware-workstation, 16.1.0_17198959, 5.10.16-arch1-1, x86_64: installed
vmware-workstation, 16.1.0_17198959, 5.10.17-1-lts, x86_64: installed

As you can see I have the error also reinstalling the package:

Obviously this time is with r50.cbe75c9

:: Processing package changes...
Error! The module/version combo: rtw88-r50.cbe75c9
is not located in the DKMS tree.
error: command failed to execute correctly

PRESFIL commented on 2021-02-18 18:43 (UTC) (edited on 2021-02-18 18:43 (UTC) by PRESFIL)

I cannot reproduce that...

  1. If you would provide more information about how the build process went, uname-r, dkms status after installing the package.

  2. Did you perform kernel updates during the build of this package?

  3. Also interesting is why your version is not the latest - my current version is rtw88, r50.cbe75c9. You can compare it yourself.

jfernandz commented on 2021-02-17 20:15 (UTC)

Why I'm having this kind of messages when I update the package?

Error! the module/version combo rtw88-r44.d4fd1ae is not located in the DKMS tree.

Mthw commented on 2020-09-26 15:56 (UTC)

Latest version is working correctly.

librewish commented on 2020-09-26 13:48 (UTC)

The package is available in chaotic-aur repo

You can add chaotic-aur repo for the prebuilt package

Mthw commented on 2020-09-26 13:31 (UTC)

It looks like the driver itself is broken since yesterday. Would it be possible to change the source of this package to the last working commit?

Mthw commented on 2020-09-26 11:14 (UTC)

Is this package broken for anyone else? I can install but dkms fails. LOG:

dark-reader commented on 2020-08-06 16:04 (UTC)

On the RTL8821CE adapter the 5 GHz networks work flawlessly while the 2.4 GHz ones have weak signal strength and quality that degrade rapidly when increasing the distance from the access point.

usuariopolivalen commented on 2020-08-01 20:18 (UTC)

This lwfinger github are gonna be merged inside stable kernels on some point?? I have an 8822CE customized by lenovo with a special ID and there is no support until 5.8 kernel..

ben81 commented on 2020-07-28 03:07 (UTC) (edited on 2020-07-28 03:08 (UTC) by ben81)

This driver has weak reception of 2.4 GHz wifi on the RTL8821CE adapter. It works great with 5 GHz.

librewish commented on 2020-07-07 06:45 (UTC) (edited on 2020-07-07 06:45 (UTC) by librewish)

the upstream git repo has been deleted

and new repo is at

i have created rtw88-dkms-git package

and created an merge request

Mthw commented on 2020-06-26 11:51 (UTC)

What is the difference between this package and rtlwifi_new-rtw88-dkms? Do we need both?

Mthw commented on 2020-06-26 11:51 (UTC)

What is the difference between this package and rtlwifi_new-rtw88-dkms-git? Do we need both?

JohannesK commented on 2020-06-23 09:30 (UTC) (edited on 2020-06-23 09:30 (UTC) by JohannesK)

The package doesn't build for me...

==> Validating source files with sha256sums...
    rtlwifi_new ... Skipped
    dkms.conf ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: rtlwifi_new-rtw88-dkms

Morisson commented on 2020-06-14 20:32 (UTC) (edited on 2020-06-14 20:36 (UTC) by Morisson)

Извлечение из origin -> Найден dkms.conf ==> Проверка файлов source с использованием sha256sums... rtlwifi_new ... Пропущено dkms.conf ... СБОЙ ==> ОШИБКА: Исходные файлы не прошли проверку целостности!

Ev1lbl0w commented on 2020-06-13 11:05 (UTC) (edited on 2020-06-13 11:06 (UTC) by Ev1lbl0w)

I have been getting errors since the deletion of the "extended" branch; this package is no longer working for me, and I have to manually clone the repo to get WiFi. My WiFi card is RTL8723DE.

Here are some of the odd errors (clean built twice, kernel 5.7.2):

:: Running pre-transaction hooks...
(1/1) Remove DKMS modules
==> dkms remove rtlwifi_new -v r333.79393b9 -k 5.7.2-arch1-1
:: Processing package changes...
Error! There are no instances of module: rtlwifi_new
r333.79393b9 located in the DKMS tree.
error: command failed to execute correctly
(1/1) reinstalling rtlwifi_new-rtw88-dkms                                                             [############################################################] 100%

Creating symlink /var/lib/dkms/rtlwifi_new/r333.79393b9/source ->

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...(bad exit status: 2)
make -j8 KERNELRELEASE=5.7.2-arch1-1 -C /usr/lib/modules/5.7.2-arch1-1/build M=/var/lib/dkms/rtlwifi_new/r333.79393b9/build.......
cleaning build area...(bad exit status: 2)
Kernel cleanup unnecessary for this kernel.  Skipping...

DKMS: build completed.
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install rtlwifi_new/r333.79393b9 -k 5.7.2-arch1-1
==> Unable to install module rtlwifi_new/r333.79393b9 for kernel 5.3.1-arch1-1-ARCH: Missing kernel headers.
yay -Sy rtlwifi_new-rtw88-dkms  109.93s user 18.19s system 180% cpu 1:11.10 total

Dante777 commented on 2020-06-11 18:48 (UTC)

No wifi at all using the r328.6dcff1c-2 package, even after the dkms.conf update. Reverting to r293.05f5504-1 version, works flawlessly. (RTL8822BE)

librewish commented on 2020-06-09 19:20 (UTC)


dkms.conf needs update

Ultim commented on 2020-03-18 17:39 (UTC) (edited on 2020-03-18 17:39 (UTC) by Ultim)

Thank you. So much better with this driver :) RTL8822BE

Dante777 commented on 2020-02-08 11:02 (UTC) (edited on 2020-04-28 16:51 (UTC) by Dante777)

Thank you so much for this ! After kernel 5.4, that's the only way i can get functional wifi on my machine. (RTL8822BE) Deeply appreciate it.