INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: High CPU Load Using Linux Mint 18.1  (Read 3782 times)

Zhillsguy

  • Galactic Citizen
  • ****
  • Posts: 325
High CPU Load Using Linux Mint 18.1
« on: March 31, 2017, 06:29:51 pm »

I installed the latest JRiver (22.0.93) on a fresh install of 32 bit LM18.1..... been quite a few years since using Linux.

This is on an old Dell Core2Duo Laptop, 2 gig ram, JRiver Benchmark of 1250. Install went smooth following instructions, and I did a full update of all apps but no help.

I configured MC for no auto import, just imported a few folders on an external USB drive to test. When MC is open but not playing, ~2% CPU usage. When playing any audio files, MP3 or FLAC, even with playback paused, top shows Xorg and MC through the roof at ~77% and ~51%, whether minimized or not, standard view. Overall load average runs 1.4 to 1.5.

I can dual boot into Win 7 Enterprise x86, playing even much larger 6 channel flacs only takes <2% CPU. Can this be a missing video driver or something else I need to install?

EDIT: I just installed the latest 32 bit Ubuntu Studio, same results.

Thanks.
Logged
Ryzen 5 W11 x64 MC 29 HTPC/Server and HP G2 Mini Elitedesk W11 MC 29 (music only zone), various Android Phones and Tablets for control of both, powering two lanai surround systems, 5.1 and 4.1 respectively.

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5242
  • "Linux Merit Badge" Recipient
Re: High CPU Load Using Linux Mint 18.1
« Reply #1 on: April 01, 2017, 06:41:15 am »

Disable the spectrum analyzer in the playing now bar; for some reason it uses a huge amount of CPU on Linux.
Logged

Zhillsguy

  • Galactic Citizen
  • ****
  • Posts: 325
Re: High CPU Load Using Linux Mint 18.1
« Reply #2 on: April 01, 2017, 10:27:31 am »

THANK YOU! it's more where it should be now..... ~9%/~6%. Maybe the Spectrum Analyzer should be disabled by default?

This is more or less just an experiment, my Scarlett 2i2 DAC drives me nuts in Windows, works flawlessly in Linux even on this anemic machine. Very revealing.

Maybe when USB Audio 2.0 is fully implemented sometime after Win 10 Creators update gets released it will get better.... only time will tell.
Logged
Ryzen 5 W11 x64 MC 29 HTPC/Server and HP G2 Mini Elitedesk W11 MC 29 (music only zone), various Android Phones and Tablets for control of both, powering two lanai surround systems, 5.1 and 4.1 respectively.

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7906
  • Long cold Winter...
Re: High CPU Load Using Linux Mint 18.1
« Reply #3 on: April 01, 2017, 10:48:08 am »

Maybe the Spectrum Analyzer should be disabled by default?

I agree with this and was going to suggest this very thing, at least on Linux until if/when it can be improved.

Maybe when USB Audio 2.0 is fully implemented sometime after Win 10 Creators update gets released it will get better.... only time will tell.

Windows 10 Creators Update has native USB Audio 2.0 support finally, I've verified it myself. Not sure if it's "complete" or not (playback is support, recording probably won't be until Redstone 3 or later - but playback is the most important, IMO), but it works fine without needing to install drivers to get sample rates beyond 96 kHz.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Zhillsguy

  • Galactic Citizen
  • ****
  • Posts: 325
Re: High CPU Load Using Linux Mint 18.1
« Reply #4 on: April 01, 2017, 10:56:30 am »

Windows 10 Creators Update has native USB Audio 2.0 support finally, I've verified it myself. Not sure if it's "complete" or not, but it works fine without needing to install drivers to get sample rates beyond 96 kHz.

A little OT... I installed the very latest updates including prerequisite to Creators Update on my Win 10 machine (Enterprise) - my 2i2 and Behringer UMC202HD are recognized as USB Audio 2.0, but both indicate "Additional Setup is Required", and can't get audio out of either one.

I may end up with a Master License for Ver. 23 (have one for Ver. 20) when it comes out.... opens up many more options than Win alone.
Logged
Ryzen 5 W11 x64 MC 29 HTPC/Server and HP G2 Mini Elitedesk W11 MC 29 (music only zone), various Android Phones and Tablets for control of both, powering two lanai surround systems, 5.1 and 4.1 respectively.

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: High CPU Load Using Linux Mint 18.1
« Reply #5 on: April 01, 2017, 04:45:30 pm »

Disable the spectrum analyzer in the playing now bar; for some reason it uses a huge amount of CPU on Linux.
It is disabled on arm
Really only an issue with very slow machines.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5242
  • "Linux Merit Badge" Recipient
Re: High CPU Load Using Linux Mint 18.1
« Reply #6 on: April 01, 2017, 06:05:37 pm »

It is disabled on arm
Really only an issue with very slow machines.

It can also be a serious issue on laptops or anywhere that power usage matters.  I can see anywhere from 20% to 40% CPU utilization (of one core) with it enabled on a U SKU Haswell i5, which doesn't affect playback, but eats up battery like nobody's business. It also seems to create some issues with video playback on mid-tier machines.  It's easy enough to disable it, but it might be worth turning it off by default Linux-wide as it can create a sub-optimal user experience on other than modern desktop CPUs.

I feel like for every person who comes here to troubleshoot a mystery 20%-30% CPU usage, another person will notice the usage and just assume the program is "bloated" and pass it by.  Which is a shame because (generally) MC is the most resource efficient database-driven media player I've ever seen. 

Just my 2 cents  ;D
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13946
Re: High CPU Load Using Linux Mint 18.1
« Reply #7 on: April 10, 2017, 11:39:54 am »

It can also be a serious issue on laptops or anywhere that power usage matters.  I can see anywhere from 20% to 40% CPU utilization (of one core) with it enabled on a U SKU Haswell i5, which doesn't affect playback, but eats up battery like nobody's business. It also seems to create some issues with video playback on mid-tier machines.  It's easy enough to disable it, but it might be worth turning it off by default Linux-wide as it can create a sub-optimal user experience on other than modern desktop CPUs.

I feel like for every person who comes here to troubleshoot a mystery 20%-30% CPU usage, another person will notice the usage and just assume the program is "bloated" and pass it by.  Which is a shame because (generally) MC is the most resource efficient database-driven media player I've ever seen. 

Just my 2 cents  ;D
Makes sense and easy enough to do.
Logged
Pages: [1]   Go Up