INTERACT FORUM

Please login or register.

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

Author Topic: MC 10.0.132: High CPU Usage During Playback Bug  (Read 3714 times)

newruler

  • Regular Member
  • Recent member
  • *
  • Posts: 12
  • nothing more to say...
MC 10.0.132: High CPU Usage During Playback Bug
« on: May 07, 2004, 09:30:18 pm »

Just upgraded from version 129.  The very first song that I played was one that played just fine, it's a 160kbps, Media Center took up 98% of the CPU to play... The song never skipped, but at that usage I can do nothing else but listen....  The progress bar did skip though.  All other songs I've tried since do the same thing... between 90-98% CPU Usage.....

Reverted back to version 129 and usage with it is between 10-20%.

Media Center Registered 10.0.132 -- C:\Program Files\J River\Media Center\

Microsoft Windows XP 5.1 Service Pack 1 (Build 2600)
AMD Athlon 1299 MHz MMX / Memory: Total - 261 MB, Free - 34 MB

Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.82 (xpsp1.020828-1920) / Shlwapi.dll: 6.00.2800.1400 / Shell32.dll: 6.00.2800.1348 (xpsp2.040109-1800) / wnaspi32.dll: 4.71 (0002) , ASPI for Win32         DLL, Copyright © 1989-2002 Adaptec, Inc. / Aspi32.sys: 4.71 (0002)

Ripping /   Drive D: SAMSUNG CDRW/DVD SM-352B  Mode:Normal  Type:Auto  Speed:Max
  Drive G:   Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: No /  Play sound after ripping: No  

Burning /  Drive D: SAMSUNG  CDRW/DVD SM-352B   Addr: 2:0:0  Speed:48  MaxSpeed:48  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: No
  Use playback settings: No /  Normalization: None
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re:Media Center 10.0.132 Available
« Reply #1 on: May 07, 2004, 10:45:08 pm »

Just upgraded from version 129.  The very first song that I played was one that played just fine, it's a 160kbps, Media Center took up 98% of the CPU to play... The song never skipped, but at that usage I can do nothing else but listen....  The progress bar did skip though.  All other songs I've tried since do the same thing... between 90-98% CPU Usage.....

Just installed and played some mp3 and ape, no high usage here. Running 10-15%
What type files were you playing?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42325
  • Shoes gone again!
Re:Media Center 10.0.132 Available
« Reply #2 on: May 08, 2004, 12:55:03 am »

Just upgraded from version 129.  The very first song that I played was one that played just fine, it's a 160kbps, Media Center took up 98% of the CPU to play... The song never skipped, but at that usage I can do nothing else but listen....  The progress bar did skip though.  All other songs I've tried since do the same thing... between 90-98% CPU Usage.....

Reverted back to version 129 and usage with it is between 10-20%.

It's possible that some of the performance tuning doesn't work as expected during normal audio playback (vs converting, burning, analyzing, etc.) under some special circumstance.

However, I just tried on an AMD 1.2 playing APE files over the network, and with MC minimized, CPU usage was around %1-2.  With my 3 Ghz P4, CPU usage stays at 0% when playing.

Is there anything special about your configuration? (DSP, file location, output settings, etc.)  Also, does anyone else see this?

(p.s. please benchmark CPU usage with MC minimized so GUI drawing doesn't interfere)
Logged
Matt Ashland, JRiver Media Center

paulr

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 527
  • nothing more to say...
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #3 on: May 08, 2004, 01:25:15 am »

3 to 5% playing APE files here (AMD XP 2800+).  Last time I checked (probably around 10.0.128) it was running 5 to 7%.
Logged

escaflo

  • Galactic Citizen
  • ****
  • Posts: 409
  • And the answer is.... 42!
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #4 on: May 08, 2004, 02:49:26 am »

Also 3-5% play APE files when minimized.

U try checking your Device Manager and see whether your hdd is running at UDMA 5 or PIO mode?

That might be the problem.
Logged
Don't Panic!

antolod

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • nothing more to say...
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #5 on: May 08, 2004, 03:34:13 pm »

I am having this problem also.  Upgraded to 10.0.132 and can not play any files.  They play but skip and CPU usage is at 100%.  I recieved the following error message:

"Internal play buffer error: playing buffer accumulated too much spent data.
Please report this error to JRiver as soon as possible so that it can be fixed."

Nearly the entire time the song was playing, it said buffering... below the song title in the player window.  I tried this with some short songs and some long classical pieces, same results.  Also tried rebooting just for the heck of it and no improvement.

Quote
U try checking your Device Manager and see whether your hdd is running at UDMA 5 or PIO mode?

Not sure what this means and how to find out.  Running XP and drive properties does not show this or I'm looking in the wrong place.

Going to revert to 10.0.122 since it is the newest back step I have and was working okay.  

BTW, Love this program, keep up the good work.

Kevin

Media Center Registered 10.0.132 -- C:\Program Files\J River\Media Center\

Microsoft Windows XP 5.1 Service Pack 1 (Build 2600)
Intel Pentium 4 1995 MHz MMX / Memory: Total - 785 MB, Free - 439 MB

Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.82 (xpsp1.020828-1920) / Shlwapi.dll: 6.00.2800.1400 / Shell32.dll: 6.00.2800.1233 (xpsp2.030604-1804) / wnaspi32.dll: 4.71 (0001) , ASPI for Win32 (95/NT) DLL, Copyright © 1989-2002 Adaptec, Inc. / Aspi32.sys: 4.71 (0001)

Ripping /   Drive D:   Mode:Normal  Type:Auto  Speed:Max
  Drive E: SONY    CD-RW  CRX168B    Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No  

Burning /  Drive E: SONY     CD-RW  CRX168B     Addr: 1:1:0  Speed:16  MaxSpeed:16  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: No
  Use playback settings: No /  Normalization: None
Logged
Kevin
- - - - - - - - - - - - - - - - - - - - - - - - - - -
iPod 30gig
WinXP/ P4 2gig
Media Center 11.0.changes daily - 8040 files so far...

antolod

  • Regular Member
  • Recent member
  • *
  • Posts: 37
  • nothing more to say...
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #6 on: May 08, 2004, 04:11:33 pm »

So, I started going backwards, and 10.0.131 exhibits exactly the same behavior. (did not see the memory buffer error)   Skipped 130 and have installed 10.0.129 and it works fine.  CPU usage hovering around 10% with MC minimimzed and I can actually do something else while music is playing.

Kevin

Media Center Registered 10.0.129 -- C:\Program Files\J River\Media Center\

Microsoft Windows XP 5.1 Service Pack 1 (Build 2600)
Intel Pentium 4 1994 MHz MMX / Memory: Total - 785 MB, Free - 432 MB

Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.82 (xpsp1.020828-1920) / Shlwapi.dll: 6.00.2800.1400 / Shell32.dll: 6.00.2800.1233 (xpsp2.030604-1804) / wnaspi32.dll: 4.71 (0001) , ASPI for Win32 (95/NT) DLL, Copyright © 1989-2002 Adaptec, Inc. / Aspi32.sys: 4.71 (0001)

Ripping /   Drive D:   Mode:Normal  Type:Auto  Speed:Max
  Drive E: SONY    CD-RW  CRX168B    Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No  

Burning /  Drive E: SONY     CD-RW  CRX168B     Addr: 1:1:0  Speed:16  MaxSpeed:16  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: No
  Use playback settings: No /  Normalization: None
Logged
Kevin
- - - - - - - - - - - - - - - - - - - - - - - - - - -
iPod 30gig
WinXP/ P4 2gig
Media Center 11.0.changes daily - 8040 files so far...

pank2002

  • Citizen of the Universe
  • *****
  • Posts: 623
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #7 on: May 08, 2004, 05:52:15 pm »

I have anywhere between 13% and 22% playing mp3s. I peaked during  track change to 44%.

Media Center Registered 10.0.132 -- C:\Programmer\J River\Media Center\

Microsoft Windows 2000 5.0 Service Pack 4 (Build 2195)
Intel Pentium III 1118 MHz MMX / Memory: Total - 261 MB, Free - 18 MB

Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.81 / Shlwapi.dll: 6.00.2800.1400 / Shell32.dll: 5.00.3700.6705 / wnaspi32.dll: N/A
Ripping /   Drive G: LITE-ON LTR-48125W        Mode:ModeSecure  Type:Auto  Speed:Max
  Drive H:   Mode:ModeSecure  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No  

Burning /  Drive G: LITE-ON  LTR-48125W         Addr: 1:0:0  Speed:48  MaxSpeed:48  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: No
  Use playback settings: No /  Normalization: None
Logged
Music is life... the rest is details.
Here is a security related website: secubi.dk

edbro

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 734
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #8 on: May 08, 2004, 06:26:15 pm »

Mine is at 22% right now playing a 192kbs mp3. I don't know what normal is but it certainly not the 0% Matt is reporting.

Disregard the CPU stat below. MC always reports it wrong for some reason.

Media Center Registered 10.0.132 -- C:\Program Files\J River Media Center\

Microsoft Windows XP  Workstation 5.1 Service Pack 1 (Build 2600)
AMD Athlon 526 MHz MMX / Memory: Total - 457 MB, Free - 196 MB
(really an Athlon Mobile 2500+)
Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.82 (xpsp1.020828-1920) / Shlwapi.dll: 6.00.2800.1400 / Shell32.dll: 6.00.2800.1242 (xpsp2.030702-2125) / wnaspi32.dll: N/A
Ripping /   Drive E: TOSHIBA DVD-ROM SD-R2212  Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No  

Burning /  Drive E: TOSHIBA  DVD-ROM SD-R2212   Addr: 1:0:0  Speed:1  MaxSpeed:16  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: No
  Use playback settings: No /  Normalization: None
Logged

edbro

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 734
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #9 on: May 08, 2004, 07:27:25 pm »

I played around with different filetypes. CPU usage was only 5-7% with an ape files, 8-9% with wma, 5-7% with ogg, and 15-22% with mp3. That surprises me as I was always told that Ogg was more cpu intensive than mp3.
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #10 on: May 09, 2004, 01:42:27 am »

Playing an APE compressed normal, no visualizations showing (I'm in the library tree).



3296        + Media Core   14.84%       13.05% Long Term Use

[System Pane]

CPU Clock MHz       2,678       % Idle Pri Threads  
% CPU               16.41%      % Idle               83.59%
CPUs Number         1           Queue for CPU        6
Processes           41          Threads              426
Thread Sw/s         1,530       HW Ints/s            1,219
  Total Ph KB       1,048,048   Free Ph KB           732,176
  File Cache KB     32,176      File cache peak KB   107,580
Free Virt KB        1,469,192   Committed KB         264,932
Paged Pool KB       47,560      NonPaged Pool KB     9,600
Max Swap KB         786,432     Swap in Use KB       64,240
  Page Faults/s     46                              
  Page Ins KB/s     64          Page Outs KB/s       0
File Read KB/s      75          File Write KB/s      4
File Reads/s        38          File Writes/s        30
 Client Read KB/s   0           Client Write KB/s    0
Srv Transmit KB/s   0           Srv Receive KB/s     0

[Current Process Pane]

CMD               = "C:\Program Files\J River\Media Center\Media Jukebox.exe"
Curr Dir          = C:\Program Files\J River\Media Center\Data\
Path              = C:\Program Files\J River\Media Center\Media Jukebox.exe
User Name         = IS7 \ G
PID/Parent PID    = 3296 / 1412
Started by        = C:\WINDOWS\Explorer.EXE
Virtual KB        Curr = 131,100 Peak = 149,036
Working Set KB    Curr = 12,796 Peak = 35,452
Page File KB      Curr = 32,316 Peak = 37,104
System Pool KB    Paged = 72 Nonpaged = 15
Private KB        = 32,316
Handles Count     = 411
Faults Count      = 435,253
Objects           = USER = 144   GDI = 490
Windows           = 83
Reads             = 58,200   Read KB = 1,048,183
Writes            = 18,833   Write KB = 468,244
Other IOs         = 2,229,939   Other KB = 36,160

Lot of info, eh?
Logged

lalittle

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3964
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #11 on: May 09, 2004, 03:53:18 am »

I'm seeing this problem as well, and it seems to be related to using the "Direct Sound" output setting in MC as opposed to using "Wave."  When I use the "Direct Sound" setting and play a 160kbps mp3, I get between about 98% and 100% CPU usage (it takes several seconds just to stop it from playing.)

I tried both a SBLive and an Audigy, with the latest drivers.

Larry
Logged

GHammer

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1930
  • Stereotypes are a real timesaver!
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #12 on: May 09, 2004, 10:02:28 am »

I'm seeing this problem as well, and it seems to be related to using the "Direct Sound" output setting in MC as opposed to using "Wave."  When I use the "Direct Sound" setting and play a 160kbps mp3, I get between about 98% and 100% CPU usage (it takes several seconds just to stop it from playing.)

I tried both a SBLive and an Audigy, with the latest drivers.

Larry

Hmmm, I'm using DirectSound output and the DirectX Plugin to run Izotope Ozone 3.

The only difference I see is that I use the KX drivers for my Audigy, not the Creative drivers. Ever try them?
Logged

newruler

  • Regular Member
  • Recent member
  • *
  • Posts: 12
  • nothing more to say...
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #13 on: May 09, 2004, 03:09:51 pm »

Update:  I Reinstalled version 332 and switched my sound output mode from Direct Sound over to Wave Out and no more problems with the CPU usage.  With Wave Out it is between 8-15% usage on the same songs that were killing the CPU with Direct Sound.... so something to do with Direct Sound....



Just upgraded from version 129.  The very first song that I played was one that played just fine, it's a 160kbps, Media Center took up 98% of the CPU to play... The song never skipped, but at that usage I can do nothing else but listen....  The progress bar did skip though.  All other songs I've tried since do the same thing... between 90-98% CPU Usage.....

Reverted back to version 129 and usage with it is between 10-20%.

Media Center Registered 10.0.132 -- C:\Program Files\J River\Media Center\

Microsoft Windows XP 5.1 Service Pack 1 (Build 2600)
AMD Athlon 1299 MHz MMX / Memory: Total - 261 MB, Free - 34 MB

Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.82 (xpsp1.020828-1920) / Shlwapi.dll: 6.00.2800.1400 / Shell32.dll: 6.00.2800.1348 (xpsp2.040109-1800) / wnaspi32.dll: 4.71 (0002) , ASPI for Win32         DLL, Copyright © 1989-2002 Adaptec, Inc. / Aspi32.sys: 4.71 (0002)

Ripping /   Drive D: SAMSUNG CDRW/DVD SM-352B  Mode:Normal  Type:Auto  Speed:Max
  Drive G:   Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: No /  Play sound after ripping: No  

Burning /  Drive D: SAMSUNG  CDRW/DVD SM-352B   A
ddr: 2:0:0  Speed:48  MaxSpeed:48  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Write CD-Text: No
  Use playback settings: No /  Normalization: None

Logged

lalittle

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3964
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #14 on: May 09, 2004, 03:58:41 pm »

I reverted to 129 and the problem went away.  I then fully uninstalled MC and reinstalled 132, and the problem came back.  It seems to be an issue with 132 and direct sound.

I haven't tried the KX drivers, but since this issue just popped up with one of the recent MC releases, I don't want to mess around with drivers when the evidence points to MC as the culprit.

Larry
Logged

lalittle

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3964
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #15 on: May 10, 2004, 05:20:32 am »

Just to follow up on this, I tested this on another system and it did not have this issue.  The system that had the problem was a P3 850 with an SBLive, and also an Audigy (I switched the SBLive to an Audigy and it did the same thing.)  The system that does NOT have the problem is a P4 2.5Gig with an Audigy2.

Larry
Logged

pat1066

  • Regular Member
  • World Citizen
  • ***
  • Posts: 133
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #16 on: May 10, 2004, 11:21:37 am »

I seem to have the same problem - usage jumps from about 4% on MC idle to about 96% on playing a WMA or MP3 - making my old CPU pretty well unusable. (V.1320) I will try going back to an older one.
Logged
Pat.

pat1066

  • Regular Member
  • World Citizen
  • ***
  • Posts: 133
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #17 on: May 10, 2004, 11:23:02 am »

sorry - details:

Media Center Registered 10.0.132 -- C:\Program Files\J River\Media Center\

Microsoft Windows XP 5.1 Service Pack 1 (Build 2600)
Intel Pentium III 547 MHz MMX / Memory: Total - 392 MB, Free - 164 MB

Internet Explorer: 6.0.2800.1106 / ComCtl32.dll: 5.82 (xpsp1.020828-1920) / Shlwapi.dll: 6.00.2800.1400 / Shell32.dll: 6.00.2800.1233 (xpsp2.030604-1804) / wnaspi32.dll: 4.57 (1013) , ASPI for Win32 (95/NT) DLL, Copyright © 1989-1998 Adaptec, Inc. / Aspi32.sys: 4.57 (1013)

Ripping /   Drive V:   Mode:Normal  Type:Auto  Speed:Max
  Drive W:   Mode:Normal  Type:Auto  Speed:Max
  Digital playback: Yes /  Use YADB: No /  Get cover art: No /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: Yes  Soundfile:   C:\WINXP\Media\Copy of cheer.wav

Burning /  Drive W: HP       CD-Writer+ 8100    Addr: 1:1:0  Speed:4  MaxSpeed:4  BurnProof:No
  Test mode: No /  Eject after writing: Yes /  Direct decoding: No /  Write CD-Text: Yes
  Use playback settings: No /  Normalization: None
Logged
Pat.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42325
  • Shoes gone again!
Re:MC 10.0.132: High CPU Usage During Playback Bug
« Reply #18 on: May 10, 2004, 11:23:11 am »

This will be fixed next build.

Sorry for the hassles.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up