SOLVED: Realtek drivers for LMDE 5

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
pccobbler
Level 3
Level 3
Posts: 109
Joined: Sun Jan 08, 2017 11:44 am

SOLVED: Realtek drivers for LMDE 5

Post by pccobbler »

For LMDE 5, is the Realtek driver package I need available at https://packages.debian.org/bullseye/firmware-realtek and named firmware-realtek_20210315-3_all? I assume so because it's the one for Debian Bullseye, but I've been burned too many times assuming.

Someone's going to ask, so I should explain. I installed LMDE 5 on an external SSD via an old, dying laptop with Broadcom wireless. Now I want to run that system on a newer laptop with Realtek wireless. I'm doing it this way because I don't want to remove the internal NVMe SSD to avoid a dual-boot.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
djph
Level 7
Level 7
Posts: 1933
Joined: Thu Jun 27, 2019 5:43 am
Location: ::1

Re: Realtek drivers for LMDE 5

Post by djph »

should work. Bullseye is the current 'stable' release that LMDE5 is based on.
pccobbler
Level 3
Level 3
Posts: 109
Joined: Sun Jan 08, 2017 11:44 am

Re: Realtek drivers for LMDE 5

Post by pccobbler »

Thanks for the reply. I always hate to install something, find that it's wrong, and then have to uninstall it.
pccobbler
Level 3
Level 3
Posts: 109
Joined: Sun Jan 08, 2017 11:44 am

Re: Realtek drivers for LMDE 5

Post by pccobbler »

I tried to install the aforementioned .deb, but there were lots of errors, not to mention that wireless still does not work. The results from dpkg are below followed by the results of lspci.

What is "key type PC_SUPER_LEVEL2"? Do I need to install firmware-amd-graphics?

Code: Select all

sudo dpkg -i Downloads/firmware-realtek_20210315-3_all.deb
(Reading database ... 247346 files and directories currently installed.)
Preparing to unpack .../firmware-realtek_20210315-3_all.deb ...
Unpacking firmware-realtek (20210315-3) over (20210315-3) ...
Setting up firmware-realtek (20210315-3) ...
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-11-amd64
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
WARNING: Unknown key type PC_SUPER_LEVEL2
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_gpu_info.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sos.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sdma.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_dmcub.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=b19a56ac-df8e-4944-bd84-5cc11de3b1a9)
I: Set the RESUME variable to override this.



$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c2)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
djph
Level 7
Level 7
Posts: 1933
Joined: Thu Jun 27, 2019 5:43 am
Location: ::1

Re: Realtek drivers for LMDE 5

Post by djph »

I've honestly never seen that error before.

Since you're talking about AMD Graphics -- is the installed kernel new enough for it (I know a number of those Ryzen chips need 5.11+)
pccobbler
Level 3
Level 3
Posts: 109
Joined: Sun Jan 08, 2017 11:44 am

Re: Realtek drivers for LMDE 5

Post by pccobbler »

The kernel is 5.10.0.11, but it's more complicated than just the kernel. Not that long ago, I installed a Linux Mint MATE system the same way I tried making the LMDE 5 system, though with one difference: I used rtl8821ce-dkms_5.5.2.1-7~mx21+1_all because LM isn't at the same level as Debian. That kernel was 5.4.0.104 before today's update and it works fine.
pccobbler
Level 3
Level 3
Posts: 109
Joined: Sun Jan 08, 2017 11:44 am

Re: Realtek drivers for LMDE 5

Post by pccobbler »

Okay, I did the two logical things: I installed firmware-amd-graphics_20210315-3_all,deb, the one for Bullseye, and the aforementioned Realtek driver set, rtl8821ce-dkms_5.5.2.1-7~mx21+1_all.deb. The latter gave no errors, and after a reboot, wireless connectivity was present. The former, however, gave the same errors I posted before. Then I looked at Synaptic and saw that firmware-amd-graphics is already installed.

I think I will wipe the drive and reinstall, only this time I'll only install tl8821ce-dkms_5.5.2.1-7~mx21+1_all.deb.

There's some strange mismatch between LMDE 5 and Bullseye packages, at least Realtek.

By the way, the system I have installed on the internal SSD is Devuan 4.0 Cinnamon. I had to install dkms_2.8.4-3_all.deb and rtl8821ce-dkms_5.5.2.1-7~mx21+1_all.deb, and then install firmware-amd-graphics via Synaptic. Everything works fine.
pccobbler
Level 3
Level 3
Posts: 109
Joined: Sun Jan 08, 2017 11:44 am

Re: Realtek drivers for LMDE 5

Post by pccobbler »

My plan worked. All I need is rtl8821ce-dkms_5.5.2.1-7~mx21+1_all.deb. I'd love to know why the Bullseye Realtek package was a major problem, but my system is working so I'll mark the thread as solved.
Locked

Return to “Networking”