MediaPortal Forums HTPC/MediaCenter
Old 2008-12-16, 05:07   #1 (permalink)
Portal Member
 
Join Date: Oct 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default IRSS 1.4.2 RC1 cpu hogging problem in Vista

I'm running version 1.4.2 RC1 along with the fix to get it to not hang on standby/resume. Unfortunately, it periodically ends up in some infinite loop (I presume) and hogs 100% of the CPU.

Is this a known problem? If not, what steps can I take to help debug it?

I'm only using it to blast commands (using the irblast app). I am running the input service and the translator (for suspend events). The ONLY device plugin enabled is Microsoft MCE for the MCE remote transceiver.

Update:
Well, it looks like it may be hogging the CPU b/c it is stuck in an infinite loop throwing some exception. While troubleshooting the associated system slowness I noticed a LOT of writes to the transceiver log file (c:\programdata\ir server suite\logs\MicrosoftMCETransceiverDriverVista.log) to the tune of nearly 70 MB/min. This happens every time I reboot, and sometimes when I resume from suspend (I think). My log was nearly a gig when I got to it.

I managed to extract the top of it... as you can see, it appears to get stuck in a loop trying to execute the read and IO control functions on lines 566 and 1027.

Code:
2008-12-15 23:45:38.414576 - Start()
2008-12-15 23:45:38.414576 - Device Guid: 7951772d-cd50-49b7-b103-2baac494fc57
2008-12-15 23:45:38.414576 - Device Path: \\?\root#system#0001#{7951772d-cd50-49b7-b103-2baac494fc57}\port2
2008-12-15 23:45:38.414576 - OpenDevice()
2008-12-15 23:45:38.539376 - InitializeDevice()
2008-12-15 23:45:38.554976 - Device Capabilities:
2008-12-15 23:45:38.554976 - NumTxPorts:     3
2008-12-15 23:45:38.554976 - NumRxPorts:     2
2008-12-15 23:45:38.554976 - LearnPortMask:  2
2008-12-15 23:45:38.554976 - ReceivePort:    0
2008-12-15 23:45:38.554976 - LearnPort:      1
2008-12-15 23:45:38.554976 - DetailsFlags:   8
2008-12-15 23:45:38.570576 - TxPortMask:     7
2008-12-15 23:45:38.570576 - StartReadThread(Receiving)
Received timing:    +150, -100000, 
Received timing:    +50, -100000, 
Received timing:    +150, -100000, 
Received timing:    +150, -100000, 
Received timing:    +350, -100000, 
Received timing:    +50, -100000, 
2008-12-15 23:46:23.471976 - System.ComponentModel.Win32Exception: The I/O operation has been aborted because of either a thread exit or an application request
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027
2008-12-15 23:46:23.472976 - System.ComponentModel.Win32Exception: The device does not recognize the command
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027
2008-12-15 23:46:23.472976 - System.ComponentModel.Win32Exception: The device does not recognize the command
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027
2008-12-15 23:46:23.473976 - System.ComponentModel.Win32Exception: The device does not recognize the command
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027
2008-12-15 23:46:23.473976 - System.ComponentModel.Win32Exception: The device does not recognize the command
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027
2008-12-15 23:46:23.474976 - System.ComponentModel.Win32Exception: The device does not recognize the command
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027
2008-12-15 23:46:23.474976 - System.ComponentModel.Win32Exception: The device does not recognize the command
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027
2008-12-15 23:46:23.476976 - System.ComponentModel.Win32Exception: The device does not recognize the command
   at InputService.Plugin.DriverVista.IoControl(IoCtrl ioControlCode, IntPtr inBuffer, Int32 inBufferSize, IntPtr outBuffer, Int32 outBufferSize, Int32& bytesReturned) in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 566
   at InputService.Plugin.DriverVista.ReadThread() in D:\temp\prj\mp\mediaportal\IR Server Suite\IR Server Plugins\Microsoft MCE Transceiver\DriverVista.cs:line 1027

... etc

Last edited by tadr; 2008-12-18 at 01:56..
tadr is offline   Reply With Quote
Old 2008-12-17, 07:25   #2 (permalink)
Portal Member
 
Join Date: Oct 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Well - I MAY have a workaround here. This was occurring on EVERY reboot. I suspected it may have been caused by initialization of the input service before other essential services, so i set the input service to "automatic (delayed start)". This way, the input service is only started after ALL of the other automatic services have been loaded.

I rebooted and it seemed to work. I'm keeping my fingers crossed that this solves it for now- although this should still be categorized as a "bug" I think.


EDIT:
Didn't work. I just noticed the system acting sluggish, loaded up the task manager, and sure enough - input_service.exe @ 100% cpu usage.

Any thoughts on this??

Last edited by tadr; 2008-12-18 at 01:52..
tadr is offline   Reply With Quote
Old 2009-01-21, 05:42   #3 (permalink)
Portal Member
 
Join Date: Oct 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default

any thoughts on this from anyone?
still having this problem.
tadr is offline   Reply With Quote
Old 2009-01-21, 10:11   #4 (permalink)
Portal Member
 
Join Date: Jul 2008
Posts: 67
Thanks: 5
Thanked 1 Time in 1 Post

Country:

My System

Default

I think I use IRSS exactly as you, just for blasting to my Receiver.
Although I didn't see any slowdown, the blasting doesn't work after the computer wakes from sleep.
I have to look at my logs when I get home, maybe they are looking similar to yours.

Maybe it is also worth a try to add a dependency for the input service, so it will only start after TV Server has started.
Here is an Microsoft kb enty on how this is done:
How to delay loading of specific services

Edit: Just took a look at the logs, seems that my problem is different from yours, as I get a different error.

Last edited by Malingo; 2009-01-21 at 10:19..
Malingo is offline   Reply With Quote
Reply

Bookmarks

Tags
cpu, hogging, irss, vista

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IRSS Still Freezing on Resume cafe.racer IR Server Suite (IRSS) 35 2009-01-30 04:54
CPU upgrade vista nova-t 500 MP b0rked look Installation, configuration support 5 2008-03-18 16:20
PowerDVD 7.3 Ultra Drop outs and Blocking by active cpu power management under Vista hugo13 Codecs, External Players 1 2007-11-12 12:27
TV-Service still hogging memory.. mpb pre 1.0 RC1 4 2007-07-07 19:16
MP not initailizing and hogging memory sdheda General Support 4 2007-03-19 18:44


All times are GMT +1. The time now is 15:36.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden