Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › VLC ridiculously high CPU usage
New Posts  All Forums:Forum Nav:

VLC ridiculously high CPU usage

post #1 of 22
Thread Starter 
When playing videos on VLC, its CPU usage in my quad-core Xeon (E3-1230) lingers typically around 20%-50% (depending on quality and format), and frequently jumps to 100% for about a second or two, causing all video to freeze (not only the video being played itself, but all applications stop responding altogether and the mouse pointer won't move). The sound plays just fine without interruption even during these freezes, however. This only appears to happen in VLC, dragon player works just fine (but I much prefer VLC).

Anyone know what's up? I have Radeon HD4670 with free drivers on Debian testing if that matters (I disabled both GPU acceleration and hardware overlay, neither of which made any difference).
post #2 of 22
Quote:
Originally Posted by bomfunk View Post

When playing videos on VLC, its CPU usage in my quad-core Xeon (E3-1230) lingers typically around 20%-50% (depending on quality and format), and frequently jumps to 100% for about a second or two, causing all video to freeze (not only the video being played itself, but all applications stop responding altogether and the mouse pointer won't move). The sound plays just fine without interruption even during these freezes, however. This only appears to happen in VLC, dragon player works just fine (but I much prefer VLC).
Anyone know what's up? I have Radeon HD4670 with free drivers on Debian testing if that matters (I disabled both GPU acceleration and hardware overlay, neither of which made any difference).

Um that is your problem right there. You've basically told the GPU to do just about nothing and the CPU to do everything. Also sounds like you might have a bad driver and VLC build.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #3 of 22
Thread Starter 
Quote:
Originally Posted by Rookie1337 View Post

Um that is your problem right there. You've basically told the GPU to do just about nothing and the CPU to do everything. Also sounds like you might have a bad driver and VLC build.
Oh, yea, I should clarify.

They were both enabled, disabling them didn't make any difference.
post #4 of 22
Is this something new or has this always happened? VLC uses 1% cpu usage while watching 720p and 2-4% while watching 1080p for me. If you have the latest VLC player and have GPU acceleration on, then it may be a codec problem. Download Klite codec pack.
The Nameless
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-3930k Asrock x79 Champion GTX 470 Hydrocopper 32GB Samsung 30nm low voltage 
Hard DriveOptical DriveOSMonitor
256GB Samsung 830 + 22TB LG BD burner + 3 DVD burners W7 Professional 64 bit LG 37" 1080p LED TV 
KeyboardPowerCaseMouse
Eclipse III AX1200 NZXT Phantom (white) NZXT Avatar (v1) 
  hide details  
Reply
The Nameless
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7-3930k Asrock x79 Champion GTX 470 Hydrocopper 32GB Samsung 30nm low voltage 
Hard DriveOptical DriveOSMonitor
256GB Samsung 830 + 22TB LG BD burner + 3 DVD burners W7 Professional 64 bit LG 37" 1080p LED TV 
KeyboardPowerCaseMouse
Eclipse III AX1200 NZXT Phantom (white) NZXT Avatar (v1) 
  hide details  
Reply
post #5 of 22
Quote:
Originally Posted by Cha0s_Cha0 View Post

Is this something new or has this always happened? VLC uses 1% cpu usage while watching 720p and 2-4% while watching 1080p for me. If you have the latest VLC player and have GPU acceleration on, then it may be a codec problem. Download Klite codec pack.

Please pay attention to what section you're posting in. This is not Windows.

Again though bomfunk you should try out the proprietary drivers as I know with Nvidias you lose many HD features using the FOSS ones. The FOSS drivers to GPUs to me just don't make sense beyond testing out a distro, or light usage (which doesn't mean HD).
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #6 of 22
Thread Starter 
Quote:
Originally Posted by Rookie1337 View Post

Again though bomfunk you should try out the proprietary drivers as I know with Nvidias you lose many HD features using the FOSS ones. The FOSS drivers to GPUs to me just don't make sense beyond testing out a distro, or light usage (which doesn't mean HD).
AFAIK the 4-series GPUs aren't supported by the proprietary drivers any more, and I'm frankly not interested in fighting with old drivers and Xorg (I imagine that's what it would entail, anyway). Regardless, the free drivers have worked just fine and since even HD video plays just fine in Dragon player, I don't think it's a GPU issue.
post #7 of 22
Quote:
Originally Posted by bomfunk View Post

AFAIK the 4-series GPUs aren't supported by the proprietary drivers any more, and I'm frankly not interested in fighting with old drivers and Xorg (I imagine that's what it would entail, anyway). Regardless, the free drivers have worked just fine and since even HD video plays just fine in Dragon player, I don't think it's a GPU issue.

Oh damn I didn't know the 4000s were killed off from AMD's drivers. Thank god I got an Nvidia GPU or I'd be SOL as my mobo is ATI4250. Yeah...I guess you'd need to check the VLC build but I just checked mine and lo-and-behold it uses way more CPU than any of my other players (dragon and XBMC). So I guess it's just VLC's coding.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #8 of 22
Quote:
Originally Posted by Rookie1337 View Post

Quote:
Originally Posted by Cha0s_Cha0 View Post

Is this something new or has this always happened? VLC uses 1% cpu usage while watching 720p and 2-4% while watching 1080p for me. If you have the latest VLC player and have GPU acceleration on, then it may be a codec problem. Download Klite codec pack.

Please pay attention to what section you're posting in. This is not Windows.

Again though bomfunk you should try out the proprietary drivers as I know with Nvidias you lose many HD features using the FOSS ones. The FOSS drivers to GPUs to me just don't make sense beyond testing out a distro, or light usage (which doesn't mean HD).

not really correct. I can play flawless 1080p blueray rips on my tiny 4250 iGPU with the FOSS stuff no problem. no reason for the AMD stuff unless gaming.
post #9 of 22
I would say if it's just recently, then possibly a borked update. Have you updated lately ? tongue.gif
post #10 of 22
Thread Starter 
Quote:
Originally Posted by Rookie1337 View Post

Oh damn I didn't know the 4000s were killed off from AMD's drivers. Thank god I got an Nvidia GPU or I'd be SOL as my mobo is ATI4250. Yeah...I guess you'd need to check the VLC build but I just checked mine and lo-and-behold it uses way more CPU than any of my other players (dragon and XBMC). So I guess it's just VLC's coding.
Hm... what version do you have?

Quote:
Originally Posted by Shrak View Post

I would say if it's just recently, then possibly a borked update. Have you updated lately ? tongue.gif
I have, though I don't recall VLC being in the updates... and I can't actually remember how long this has been going for. It only started getting really annoying lately because summer heat and no AC combined with high CPU usage makes my rig sound like a jet engine... especially annoying during the spikes.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › VLC ridiculously high CPU usage