Menu

dell/

Screen artifcacts with AMD GPU on Linux

Apparently, it is quite common for AMD GPUs to show screen artifacts on Linux. Most of the times it is related to power management settings. These settings can be adjusted via amdgpu kernel module options. The parameters are different for different GPUs. In my case, I have a Dell laptop with AMD Radeon 890M GPU.

To fix the screen artifacts, run the following commands:

sudo grubby --update-kernel=ALL --args="amdgpu.dcdebugmask=0x410"

Reboot your system.

· 20 Dec 2025

Set up Dell fingerprint reader on Linux

Dell laptops come with a different fingerprint readers. Some of them work out of the box in Fedora and that was my expierince with Precision series. However, my new Dell Pro Max 16 MC16255 came with a different unsupported fingerprint.

Find your fingerprint reader

sudo lsusb

You should see something like this:

Bus 003 Device 002: ID 0a5c:5865 Broadcom Corp. 58200

Where 5865 is the model of the fingerprint reader. There are some copr repositories around that provide support for some of the models, but not for 5865.

There is a good article on Reddit that explains how to get it working.

The solution is to manually install the released driver from Dell for Ubuntu.

Go to Dell support site and download the latest libfprint-2-tod1-broadcom-cv3plus orig package.

Extract it and move:

../usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-2-tod-1-broadcom-cv3plus.so

to

../usr/lib64/libfprint-2/tod-1/libfprint-2-tod-1-broadcom-cv3plus.so

One-liner:

mkdir -p ../usr/lib64/libfprint-2/tod-1/ && mv ../usr/lib/x86_64-linux-gnu/libfprint-2/tod-1/libfprint-2-tod-1-broadcom-cv3plus.so $_

Run the included install script:

sudo ./install.sh

Replace libfprint package:

sudo dnf copr enable quantt/libfprint-tod -y
sudo dnf swap libfprint libfprint-tod -y

Programmatically add your fingerprint:

sudo setenforce 0
sudo systemctl restart fprintd
fprintd-enroll
sudo ausearch -m avc,user_avc,selinux_err -ts today | sudo audit2allow -M fprintd_SELinux
sudo semodule -i fprintd_SELinux.pp
sudo setenforce 1

To enable fingerptint authentication:

sudo authselect enable-feature with-fingerprint
sudo authselect apply-changes

Fingerprint configuration should be also available in GNOME Settings under “Users”.

· 20 Dec 2025

Disable USB device

To disable USB device (audio device from Dell WD-19TB dock station in the example) when connecting it to your laptop, find it’s ids:

sudo lsusb -v

For example:

...
Bus 005 Device 007: ID 0bda:402e Realtek Semiconductor Corp. USB Audio
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x402e 
  bcdDevice            0.01
  iManufacturer           3 Generic
  iProduct                1 USB Audio
  iSerial                 2 200901010001
...

Save idVendor and idProduct values.

Create new file /lib/udev/rules.d/90-delldock.rules with the following content:

ACTION=="add", ATTR{idVendor}=="0bda", ATTR{idProduct}=="402e", RUN="/bin/sh -c 'echo 1 >/sys/\$devpath/remove'"

When the device is connected it will be automatically removed and your system won’t know about it

· 18 Mar 2022

Dell Precision 5540 - Battery drains in sleep mode

Run the following command to check the suspend mode:

cat /sys/power/mem_sleep

If the output looks like this:

[s2idle] deep

It means that very inefficient suspend mode is active (drains battery from 100% to 0 in 9 hours). To enable “deep” mode, edit file /etc/default/grub and append mem_sleep_default=deep to GRUB_CMDLINE_LINUX:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet mem_sleep_default=deep"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

Apply changes:

sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

Restart your laptop and verify changes:

$ cat /sys/power/mem_sleep
s2idle [deep]
· 1 Jan 2020