VLC's CPU usage 100% after graphics change (suspend-sleep, console switch, etc)
Posted: 18 Jun 2020 01:55
Opening an instance of VLC to watch a video runs normally. However, if I pause the video and leave VLC open, then change the graphics (like putting the computer to suspend-sleep and then wake it up, or switching to a text-terminal ttys console), VLC's CPU usage jumps to 100% and stays there. I have to close the VLC instance and reopen it. The problem has been happening for at least a few months now. Wish I'd taken note of the precise time.
System Details:
I don't know if this is a problem between the Nvidia drivers playing poorly with the x-server or kernel. I have been getting video-tearing for a while now intermittently. Just recently I forced a reinstall of nvidia-dkms-440 and that seemed to help. (Reinstalling triggered a recompile of the kernel modules which I assume was part of the problem because of recent kernel updates?)
System Details:
Any idea how to fix this problem? I've tried deleting my old 'vlcrc' and 'vlc-qt-interface.conf' files, then using fresh-default ones, but the problem still happens.Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
Linux Kernel: 5.4.0-37-generic #41-Ubuntu SMP x86_64
CPU: Core i5-3570K
Nvidia GTX 1060 (proprietary drivers, Nvidia-440)
KDE 5.18.5
X-Server: 1.20.8
Dual 4K Monitors over DisplayPort
Memory: 16GB
VLC version: 3.0.9.2-1 amd64
I don't know if this is a problem between the Nvidia drivers playing poorly with the x-server or kernel. I have been getting video-tearing for a while now intermittently. Just recently I forced a reinstall of nvidia-dkms-440 and that seemed to help. (Reinstalling triggered a recompile of the kernel modules which I assume was part of the problem because of recent kernel updates?)