RTL8852BE WLAN in openSUSE 15.6

Hello again with another question regarding my RTL8852BE WiFi chip. Since support for Leap 15.5 is running out, I will be switching to Leap 15.6 soon. Right now, I have a version of rtw89-kmp-default from the openSUSE Hardware repo installed. It eventually stopped updating via zypper up, if I switch to any of the newer versions in the Hardware repo or the Sauerland hardware repo (see below), WiFi doesn’t work and my system runs really slow.

zypper se -s rtw89

Reading installed packages...

S  | Name              | Type       | Version                                       | Arch   | Repository
---+-------------------+------------+-----------------------------------------------+--------+-----------------------------------
   | rtw89             | srcpackage | 5.17~80.gd1fced1-lp155.4.1                    | noarch | home:Sauerland:hardware Repository
   | rtw89             | srcpackage | 5.17~78.gd823c59-lp155.2.1                    | noarch | Hardware Repository
   | rtw89             | srcpackage | 5.17~80.gd1fced1-lp155.1.1                    | noarch | home:Sauerland
i+ | rtw89-kmp-default | package    | 5.17~57.g1283764_k5.14.21_150500.53-lp155.1.1 | x86_64 | (System Packages)
v  | rtw89-kmp-default | package    | 5.17~80.gd1fced1_k5.14.21_150500.53-lp155.4.1 | x86_64 | home:Sauerland:hardware Repository
v  | rtw89-kmp-default | package    | 5.17~78.gd823c59_k5.14.21_150500.53-lp155.2.1 | x86_64 | Hardware Repository
v  | rtw89-kmp-default | package    | 5.17~80.gd1fced1_k5.14.21_150500.53-lp155.1.1 | x86_64 | home:Sauerland
v  | rtw89-ueficert    | package    | 5.17~80.gd1fced1-lp155.4.1                    | x86_64 | home:Sauerland:hardware Repository
i+ | rtw89-ueficert    | package    | 5.17~78.gd823c59-lp155.2.1                    | x86_64 | Hardware Repository
v  | rtw89-ueficert    | package    | 5.17~80.gd1fced1-lp155.1.1                    | x86_64 | home:Sauerland

Question for my upgrade to Leap 15.6: Where do I get the driver for my WiFi chip in Leap 15.6? The following Github issue makes me think it might finally be included in the kernel.

Is that the case?
If not: Should I keep the now installed, but somehow orphaned driver? Or should I use one from the Hardware repo or the Sauerland repo?

Thanks for any help.

For reference: Here was my last (solved) question regarding this topic: https://forums.opensuse.org/t/rtw89-wifi-driver-crashes-seemingly-randomly/168089

The drivers in the 3 Repos you have added are the same, maybe only a readme or something is different.

So you have to use the rtw89-kmp-default and the rtw89-ueficert packages from 1 Repo and disable the other, mostly my complete /home Repo.

Also if you use the Leap kernel and secure boot, have you added the key to the mok?

The problem with the git Repo is, that openSUSE uses a backported kernel and the drivers will not build without patching. But that are the sources for the kmps in my /home and in hardware-Repo.

Sauerland, your reply-time is incredible.

I understand, I will update to Leap 15.6, choose a repo for the driver and install both packages from the repo.

Right now I am not using secure boot.

I just tried (on Leap 15.5) to install both the rtw89-kmp-default package and the rtw89-ueficert package from the same repo, once from the openSUSE Hardware repo and once from your hardware repo. Both times the Wi-Fi didn’t work, Nautilus didn’t work (stopped replying directly after opening, showed no files) and the system wouldn’t shut down anymore. Both times I had to roll back (snapper rollback) to the working system with the driver that has g1283764 in the version number. Any thoughts on why the drivers from the repos aren’t working? Btw I have all kernel-firmware files installed from openSUSE update repo.

Anyways, I will update to Leap 15.6 soon and see what happens there when I add the drivers.

If you do not use any Nvidia drivers, you can try to use kernel:stable:backports Repo, maybe the driver will work with this without any kmp.

I’m not using any Nvidia drivers. Just did the upgrade to Leap 15.6. I had the following repos enabled:

zypper lr -Eu
Repository priorities in effect:                                                                                                                                                                              (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  6 repositories

#  | Alias                   | Name                                                         | Enabled | GPG Check | Refresh | URI
---+-------------------------+--------------------------------------------------------------+---------+-----------+---------+-------------------------------------------------------------------------------
 8 | repo-backports-update   | Update repository of openSUSE Backports                      | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/backports/
16 | repo-non-oss            | Non-OSS Repository                                           | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/
17 | repo-oss                | Main Repository                                              | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/distribution/leap/15.6/repo/oss/
19 | repo-packman-essentials | Packman Repository (Essentials)                              | Yes     | (r ) Yes  | Yes     | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.6/Essentials/
21 | repo-sle-update         | Update repository with updates from SUSE Linux Enterprise 15 | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/sle/
23 | repo-update             | Main Update Repository                                       | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/oss
24 | repo-update-non-oss     | Update Repository (Non-Oss)                                  | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/leap/15.6/non-oss/

After the upgrade, I rebooted and found WiFi working.

lsmod | grep rtw
rtw89_8852be           12288  0
rtw89_8852b           364544  1 rtw89_8852be
rtw89_pci              94208  1 rtw89_8852be
rtw89_core            667648  2 rtw89_8852b,rtw89_pci
mac80211             1527808  2 rtw89_core,rtw89_pci
cfg80211             1290240  4 wl,rtw89_8852b,rtw89_core,mac80211
sudo modinfo rtw89_8852be
filename:       /lib/modules/6.4.0-150600.23.30-default/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8852be.ko.zst
...
rpm -qf /lib/modules/6.4.0-150600.23.30-default/kernel/drivers/net/wireless/realtek/rtw89/rtw89_8852be.ko.zst
kernel-default-extra-6.4.0-150600.23.30.1.x86_64
zypper se -s rtw89
Loading repository data...
Reading installed packages...
No matching items found.

Correct me if I’m wrong, but this looks like I don’t need to install the rtw89 driver from anywhere, it seems to be included in the kernel. Is that correct? Or is this some old residues from the Leap 15.5 installation?

That’s probably correct. On my system, RTL8852BE is working fine with no additional drivers. (It never worked with Leap 15.5).

Yes, the ID is in the driver in Leap 15.6 and should be working out of the box.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.