Docking Station monitors: sparkle and blanking after display off

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
mrwinsto
Level 1
Level 1
Posts: 7
Joined: Thu Nov 09, 2023 10:01 am

Docking Station monitors: sparkle and blanking after display off

Post by mrwinsto »

I've been having some monitor trouble for a long time now. Finally tired of it, so I'd like to ask for some help. I'm not even sure which log file to start looking in...
I have a laptop attached to a USB3 docking station, and two monitors attached to that. Total of three screens in my setup. After the screens go blank due to inactivity, *sometimes* when I come back, the dock-attached screens sparkle, and/or randomly go black for 2-3 seconds. "Sparkle" means there is "noise" on the screen; some pixels, or small rows/columns of pixels, randomly light up for a brief moment (like, less than 1/4 second). They appear to only light up with a single color (R, G, or B; never yellow, or white).

Unplugging and re-plugging an HDMI cable for one of the external monitors fixes the problem....until the next, or some future, idle period.

Here's a snippet of inxi, if that helps:

Code: Select all

System:    Kernel: 5.15.0-100-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 
           dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: Inspiron 5570 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 0YDF7T v: X06 serial: <filter> UEFI: Dell v: 1.14.0 date: 04/06/2023 
Battery:   ID-1: BAT0 charge: 28.6 Wh condition: 28.6/38.8 Wh (74%) volts: 12.9/11.4 model: SMP DELL 35RH35C type: Li-ion 
           serial: <filter> status: Full 
CPU:       Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31999 
           Speed: 600 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 814 2: 1505 3: 700 4: 741 5: 700 6: 700 7: 700 8: 700 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917 
           Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati,modesetting unloaded: fbdev,vesa 
           resolution: 1920x1080~60Hz, 1920x1080~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.6 direct render: Yes
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Docking Station monitors: sparkle and blanking after display off

Post by SMG »

mrwinsto wrote: Thu Mar 14, 2024 1:35 pmHere's a snippet of inxi, if that helps:
Graphics: Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917
Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati,modesetting unloaded: fbdev,vesa
resolution: 1920x1080~60Hz, 1920x1080~60Hz, 1920x1080~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.2.6 direct render: Yes[/code]
Why does your system show AMD drivers loaded but there is no AMD GPU device?

Please upgrade your inxi version and supply the complete system information. There were some bugs in underlying programs inxi uses that caused this type of issue (not showing the AMD device) in the past.
How to Update the inxi command to the latest version
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mrwinsto
Level 1
Level 1
Posts: 7
Joined: Thu Nov 09, 2023 10:01 am

Re: Docking Station monitors: sparkle and blanking after display off

Post by mrwinsto »

I wondered the same thing. But then, lots of software-ish things have me scratch my head.

Anyway, inxi 3.3.31-00 output of the graphics section:

Code: Select all

Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 M440/M445 530/535
    620/625 Mobile] driver: amdgpu v: kernel
  Device-3: N/A driver: snd-usb-audio,uvcvideo type: USB
  Device-4: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
    type: USB
  Display: x11 server: X.Org v: 1.20.13 with: Xwayland driver: X:
    loaded: amdgpu,modesetting unloaded: fbdev,vesa dri: iris gpu: i915
    resolution: 1: 1920x1080~60Hz 2: 1080x1920~60Hz 3: 1920x1080~60Hz
  API: OpenGL v: 4.6 vendor: intel mesa v: 21.2.6 renderer: Mesa Intel UHD
    Graphics 620 (KBL GT2)
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Docking Station monitors: sparkle and blanking after display off

Post by SMG »

mrwinsto wrote: Thu Mar 14, 2024 5:01 pm I wondered the same thing. But then, lots of software-ish things have me scratch my head.
Notice that Device-2 has a very long name. That's how it became a victim of the bugs and did not show in the older version of inxi. (I was involved in the original investigation which is how I became familiar with the issue and the subsequent fix.)

Code: Select all

Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 M440/M445 530/535
    620/625 Mobile] driver: amdgpu v: kernel
Please provide your complete System Information. Open the System Reports app and click the System Information tab on the left. Your computer's information should come up in the right pane. Then click the Copy button in the lower right and paste the results into a reply window here so we can see how Linux Mint views your hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mrwinsto
Level 1
Level 1
Posts: 7
Joined: Thu Nov 09, 2023 10:01 am

Re: Docking Station monitors: sparkle and blanking after display off

Post by mrwinsto »

Complete system information:

Code: Select all

System:
  Kernel: 5.15.0-100-generic arch: x86_64 bits: 64 compiler: gcc v: 9.4.0 Desktop: Cinnamon
    v: 4.8.6 tk: GTK v: 3.24.20 wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa
    base: Ubuntu 20.04 focal
Machine:
  Type: Laptop System: Dell product: Inspiron 5570 v: N/A serial: <superuser required> Chassis:
    type: 10 serial: <superuser required>
  Mobo: Dell model: 0YDF7T v: X06 serial: <superuser required> UEFI: Dell v: 1.14.0
    date: 04/06/2023
Battery:
  ID-1: BAT0 charge: 28.6 Wh (100.0%) condition: 28.6/38.8 Wh (73.7%) volts: 12.9 min: 11.4
    model: SMP DELL 35RH35C serial: <filter> status: full
CPU:
  Info: quad core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake rev: A cache:
    L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 1943 high: 2328 min/max: 400/4000 cores: 1: 2328 2: 2182 3: 1989 4: 1893
    5: 1805 6: 1762 7: 1767 8: 1823 bogomips: 31999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel arch: Gen-9.5 ports:
    active: DP-3,DP-4,eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5917
  Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 M440/M445 530/535 620/625 Mobile]
    vendor: Dell driver: amdgpu v: kernel arch: GCN-3 pcie: speed: 2.5 GT/s lanes: 4 bus-ID: 01:00.0
    chip-ID: 1002:6900 temp: 52.0 C
  Device-3: N/A driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    bus-ID: 1-4.1.3.3:14 chip-ID: 1d6c:0103
  Device-4: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-5:4 chip-ID: 1bcf:28c1
  Display: x11 server: X.Org v: 1.20.13 with: Xwayland driver: X: loaded: amdgpu,modesetting
    unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4920x1920 s-dpi: 96
  Monitor-1: DP-3 mapped: DP-1-2 pos: primary,bottom-c model: AOC 24B2W1 res: 1920x1080 dpi: 93
    diag: 604mm (23.8")
  Monitor-2: DP-4 mapped: DP-1-3 pos: top-right model: AOC 24B2W1 res: 1080x1920 dpi: 93
    diag: 604mm (23.8")
  Monitor-3: eDP-1 pos: bottom-l model: AU Optronics 0x10ed res: 1920x1080 dpi: 142
    diag: 394mm (15.5")
  API: OpenGL v: 4.6 vendor: intel mesa v: 21.2.6 glx-v: 1.4 es-v: 3.2 direct-render: yes
    renderer: Mesa Intel UHD Graphics 620 (KBL GT2) device-ID: 8086:5917
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:9d71
  Device-2: N/A driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1
    bus-ID: 1-4.1.3.3:14 chip-ID: 1d6c:0103
  Device-3: Lenovo Wireless Device driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-4.2:7 chip-ID: 17ef:30b0
  API: ALSA v: k5.15.0-100-generic status: kernel-api
  Server-1: PulseAudio v: 13.99.1 status: active
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel pcie:
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8136
  IF: enp2s0 state: down mac: <filter>
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 8086:2526
  IF: wlp3s0 state: down mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter driver: r8152 type: USB rev: 3.0
    speed: 5 Gb/s lanes: 1 bus-ID: 2-4.1:4 chip-ID: 0bda:8153
  IF: enxf8ce72020cb1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-7:8
    chip-ID: 8087:0025
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 bus-ID: 00:17.0
    chip-ID: 8086:282a
Drives:
  Local Storage: total: 465.76 GiB used: 161.52 GiB (34.7%)
  ID-1: /dev/sda vendor: Crucial model: CT500MX200SSD1 size: 465.76 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 221.41 GiB used: 146.29 GiB (66.1%) fs: ext4 dev: /dev/sda5
  ID-2: /boot/efi size: 499 MiB used: 70 MiB (14.0%) fs: vfat dev: /dev/sda2
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 2.2 MiB (0.1%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002
  Device-1: 1-2:2 info: Chicony Wireless Device type: mouse driver: hid-generic,usbhid rev: 2.0
    speed: 12 Mb/s lanes: 1 chip-ID: 04f2:1825
  Hub-2: 1-4:3 info: Lenovo USB2.0 Hub ports: 3 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 17ef:30af
  Hub-3: 1-4.1:5 info: Lenovo ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1 chip-ID: 17ef:30ac
  Device-1: 1-4.1.2:9 info: Microsoft Natural Ergonomic Keyboard 4000 V1.0 type: keyboard,HID
    driver: microsoft,usbhid rev: 2.0 speed: 1.5 Mb/s lanes: 1 chip-ID: 045e:00db
  Hub-4: 1-4.1.3:12 info: Lenovo ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1 chip-ID: 17ef:30ae
  Device-1: 1-4.1.3.3:14 info: N/A type: video,audio driver: snd-usb-audio,uvcvideo rev: 2.0
    speed: 480 Mb/s lanes: 1 chip-ID: 1d6c:0103
  Device-2: 1-4.2:7 info: Lenovo Wireless Device type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid rev: 2.0 speed: 12 Mb/s lanes: 1 chip-ID: 17ef:30b0
  Device-3: 1-4.3:10 info: Lenovo type: billboard driver: N/A rev: 2.0 speed: 12 Mb/s lanes: 1
    chip-ID: 17ef:30a9
  Device-4: 1-5:4 info: Sunplus Innovation Integrated_Webcam_HD type: video driver: uvcvideo
    rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 1bcf:28c1
  Device-5: 1-6:6 info: Realtek RTS5129 Card Reader Controller type: <vendor specific>
    driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc rev: 2.0 speed: 480 Mb/s lanes: 1 chip-ID: 0bda:0129
  Device-6: 1-7:8 info: Intel type: bluetooth driver: btusb rev: 2.0 speed: 12 Mb/s lanes: 1
    chip-ID: 8087:0025
  Device-7: 1-8:11 info: Raydium Touch System type: HID driver: hid-multitouch,usbhid rev: 2.0
    speed: 12 Mb/s lanes: 1 chip-ID: 2386:3119
  Device-8: 1-9:13 info: Shenzhen Goodix Fingerprint Reader type: abstract (modem),CDC-data
    driver: cdc_acm rev: 2.0 speed: 12 Mb/s lanes: 1 chip-ID: 27c6:5301
  Hub-5: 2-0:1 info: super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s lanes: 1 chip-ID: 1d6b:0003
  Hub-6: 2-4:2 info: Lenovo USB3.1 Hub ports: 4 rev: 3.2 speed: 5 Gb/s lanes: 1
    chip-ID: 17ef:30ab
  Device-1: 2-4.1:4 info: Realtek RTL8153 Gigabit Ethernet Adapter type: Network driver: r8152
    rev: 3.0 speed: 5 Gb/s lanes: 1 chip-ID: 0bda:8153
  Hub-7: 2-4.3:3 info: Lenovo ports: 4 rev: 3.2 speed: 5 Gb/s lanes: 1 chip-ID: 17ef:30ad
Sensors:
  System Temperatures: cpu: 55.0 C pch: 49.5 C mobo: 48.0 C sodimm: SODIMM C gpu: amdgpu
    temp: 53.0 C
  Fan Speeds (rpm): cpu: 2700
Repos:
  Packages: 2685 pm: dpkg pkgs: 2639 pm: flatpak pkgs: 46
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com ulyssa main upstream import backport
    2: deb http: //mirror.uoregon.edu/ubuntu focal main restricted universe multiverse
    3: deb http: //mirror.uoregon.edu/ubuntu focal-updates main restricted universe multiverse
    4: deb http: //mirror.uoregon.edu/ubuntu focal-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
    6: deb http: //archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/veeam.list
    1: deb [arch=amd64] http: //repository.veeam.com/backup/linux/agent/dpkg/debian/public stable veeam
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] http: //packages.microsoft.com/repos/code stable main
Info:
  Processes: 333 Uptime: 6h 8m Memory: total: 16 GiB available: 15.51 GiB used: 7.29 GiB (47.0%)
  Init: systemd v: 245 target: graphical (5) default: graphical Compilers: gcc: 9.4.0 alt: 9
  Client: Unknown python3.8 client inxi: 3.3.31
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Docking Station monitors: sparkle and blanking after display off

Post by SMG »

mrwinsto wrote: Fri Mar 15, 2024 2:02 pm Complete system information:
What is the make/model of the docking station?

All the ports are showing as being attached to the Intel GPU.

Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel arch: Gen-9.5 ports:
active: DP-3,DP-4,eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5917
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mrwinsto
Level 1
Level 1
Posts: 7
Joined: Thu Nov 09, 2023 10:01 am

Re: Docking Station monitors: sparkle and blanking after display off

Post by mrwinsto »

SMG wrote: Fri Mar 15, 2024 7:00 pm
mrwinsto wrote: Fri Mar 15, 2024 2:02 pm Complete system information:
What is the make/model of the docking station?

All the ports are showing as being attached to the Intel GPU.

Graphics:
Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel arch: Gen-9.5 ports:
active: DP-3,DP-4,eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5917
It's a ThinkPad Universal USB-C dock. Part number 40AY0090US
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Docking Station monitors: sparkle and blanking after display off

Post by SMG »

mrwinsto wrote: Thu Mar 14, 2024 1:35 pmUnplugging and re-plugging an HDMI cable for one of the external monitors fixes the problem....until the next, or some future, idle period.
Is thee a specific reason you are not using the HDMI port on the laptop?

Do you know if you have the latest firmware for the dock? I saw references to firmware but didn't see ant links for any so I'm not sure if there is firmware.

The issue sounds like the dock could be the issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mrwinsto
Level 1
Level 1
Posts: 7
Joined: Thu Nov 09, 2023 10:01 am

Re: Docking Station monitors: sparkle and blanking after display off

Post by mrwinsto »

It's theoretically possible that it's a firmware issue. But it never happens under Windows. Only under lInux. So I'm inclined to believe it's a driver issue. When the screen blanks out, it blanks for 2-3 seconds. It looks like the hardware or driver thinks the cable connection to the monitor went away, or got interrupted. The hardware has to get the EDID over the low-speed link (the slow speed control channel), and then it can reconfigure the hardware to the right mode. The trouble is, no cables got disconnected. So, it might be a graphics driver, or it might be a power management driver that's sending the wrong event, or a bad/spurious event, to the graphics driver.

Surely there is a driver or power management log file, or some other log file, that would show an HDMI or displayport cable being plugged in, and the driver's actions when that event or signal is sent to it. I'm just wondering where, so that I can isolate the right driver and update it, or file a bug.
User avatar
SMG
Level 25
Level 25
Posts: 32007
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Docking Station monitors: sparkle and blanking after display off

Post by SMG »

mrwinsto wrote: Fri Mar 15, 2024 8:53 pmIt's theoretically possible that it's a firmware issue. But it never happens under Windows.
If you are running Windows then you can likely theoretically update the firmware for the dock.
mrwinsto wrote: Fri Mar 15, 2024 8:53 pm Only under lInux. So I'm inclined to believe it's a driver issue. When the screen blanks out, it blanks for 2-3 seconds. It looks like the hardware or driver thinks the cable connection to the monitor went away, or got interrupted. The hardware has to get the EDID over the low-speed link (the slow speed control channel), and then it can reconfigure the hardware to the right mode. The trouble is, no cables got disconnected. So, it might be a graphics driver, or it might be a power management driver that's sending the wrong event, or a bad/spurious event, to the graphics driver.
There are no newer graphics drivers available and there are no power management drivers. Graphics drivers are in the kernel and you have the newest that is available for an LM20 version.

With your hardware, I would not be running LM20.1. I would have moved on to LM21 where newer kernels with newer graphics drivers are available.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Post Reply

Return to “Graphics Cards & Monitors”