Errors in MediaPortal.log After Migrating MediaPortal to New HTPC (1 Viewer)

pirivan

Portal Pro
January 19, 2008
62
2
MediaPortal Version: 1.2
MediaPortal Skin: StreamedMP
Windows Version: 7x64 Ultimate SP1
CPU Type:Intel Core i3-2105 Sandy Bridge 3.1GHz LGA 1155 65W Dual-Core
HDD: Crucial RealSSD C300 CTFDDAC064MAG-1G1 2.5" 64GB SATA III MLC Internal Solid State Drive (SSD)
Memory: G.SKILL Ripjaws Series 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1066 Model F3-8500CL7D-8GBRL
Motherboard: Intel BOXDH67CFB3
Video Card: Intel HD 3000 integrated graphics
Video Card Driver:
Sound Card: Onboard Realtek
Sound Card AC3:
Sound Card Driver:
1. TV Card:
1. TV Card Type:
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case: Wesena ITX6
Cooling:
Power Supply: Pico ITX 250W PSU
Remote:
TV: Sony KDL-40W4100 40" 1080p
TV - HTPC Connection: HDMI

Hi All,

I have what is hopefully a simple issue. Basically I can't play ANYTHING back in MediaPortal right now and I have a lot of errors in my log files. Nothing will open and MP will tell me it can't open the file (AVC, XVID, AC3, DTS etc.). Everything appears to open/playback just fine in both GraphStudio and MediaPlayer Classic home cinema.

Here is what I believe the issue is though I am not sure how to fix it exactly. Basically I had an old HTPC setup with a MP installation that worked fine. I setup a new HTPC (that has the above specs), reinstalled MediaPortal, reinstalled my addins (streamed MP and a few others) and reinstalled the version of Stand Alone Filters I had been using previously.

Once everything was installed, I literally copied over ALL the MediaPortal directories from the old HTPC (which was also Windows 7x64 SP1 and the exact same version of MP and addons was installed). Program Files, Program Data, the files from the Users directory; everything that had to do with MediaPortal except registry entries of course. I let it merge and over-write everything from the old HTPC to the new HTPC directories. More or less this allowed me to completely re-use my old MediaPortal config and after some skin issues it more or less appears to be working fine. It's just that no files will open at all in MediaPortal and it has come to my attention that my logs are filled with errors that are concerning. Errors such as:

Code:
2012-01-09 01:26:13.835775 [Info.][MPMain(1)]: Exception   :Error in the application.
-2005532292 (D3DERR_OUTOFVIDEOMEMORY)

And:
Code:
2012-01-09 01:26:26.933524 [Info.][MPMain(1)]: Exception   :Error in the application.
-2147467259 (E_FAIL)
   at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
   at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
   at Microsoft.DirectX.Direct3D.Device.Present()
   at MediaPortalApp.Render(Single timePassed)
2012-01-09 01:26:26.937524 [Info.][(10)]: Exception   :Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

My logs are attached; there may be a few other issues in there. Any thoughts? I am sure it is some issue from copying all my config files over; hopefully it is simple to diagnose! If it matters at all, I have the page file for the system set to 512MB to save space on the drive; I am not sure if that is causing the 'attempted to read or write protected memory' error or not.

If there is a better way to completely migrate configuration between PC's like that, let me know and I can attempt the migration again; I just fully installed and then copied everything over because that made sense to me. Someone else suggested that I reinstall but I wanted to check with someone before I went ahead and started over in case there was a way to fix this install or a better way to migrate
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi pirivan

    Just a guess here but are you using RDP? I think at least some of those errors might be due to that...

    The actual error when you try to play the file is:
    VideoPlayer: Unable to play with reason - Not enough storage is available to complete this operation.

    Don't know what that means...
    I would also delete the cache sub folder in the ProgramData\Team MediaPortal\ folder.

    mm
     

    pirivan

    Portal Pro
    January 19, 2008
    62
    2
    Hi pirivan

    Just a guess here but are you using RDP? I think at least some of those errors might be due to that...

    The actual error when you try to play the file is:
    VideoPlayer: Unable to play with reason - Not enough storage is available to complete this operation.

    Don't know what that means...
    I would also delete the cache sub folder in the ProgramData\Team MediaPortal\ folder.

    mm

    Hi mm1352000,

    I am currently using RDP to post this and to access the HTPC (and I used RDP to access the HTPC and to run the log gathering utility for the logs that I attached) but I have not launched MP in an RDP session. Also, when I was having the issues launching files last night I was working on it connecting directly to the HTPC. I can gather more logs tonight when I get home via the Watchdog and reproduce the issue if necessary not via an RDP session. I assume you can't even launch MediaPortal via RDP, is that correct?

    Also, I have cleared out the MediaPortal cache folder (there is just a streamedMP skin cache folder in there) numerous times after I migrated as the skin was having a few issues (it appeared to be working properly last night when I left it).

    That storage space warning is interesting; I didn't see that. Not sure what that means either. Maybe it is because I shrunk my pagefile to 512MB? Thank you for the fast reply and analysis!
     

    pirivan

    Portal Pro
    January 19, 2008
    62
    2
    I posted the following in the StreamedMP forum as I believe that or a plugin is related to my issue but I thought I would at least update my post here with what I posted there in case anyone saw this post later (or any case anyone here had any ideas). So, here is what I posted on the StreamedMP forum with attachments.

    I recently migrated my MediaPortal installation to a new PC. I did this by using a program called Paragon OS to SSD. Basically, I cloned my previous HD for my OLD HTPC to an SSD and then installed the SSD in my new case with my new components etc (see specs above). All of my actual media does not live on the OS drive but on another separate server (along with my 'Database' and 'Thumbs' directories that also live on a share on the server). After the OS clone to the SSD and migration of the SSD to the new hardware I then pulled off all the old unnecessary drivers and reinstalled the new ones for the new hardware. Everything appears to be working great on the system but MediaPortal has a couple of different issues that I believe may specifically relate to Streamed MP. I have almost driven myself nuts trying to get it to work and I am truly running out of ideas. I apologize if this isn't the appropriate area for these two issues but I thought at least one of them (possibly both) is related to StreamedMP or its associated plugins. I thank anyone in advance for reading what will be a lengthy post and providing any assistance/a solution; this has taken me countless hours to diagnose over the last week.

    So, the first issue is that when I attempt to launch MediaPortal Configuration -> Expert Mode -> Select 'Plugins' it hangs for longer than it should and then displays the error:
    "An error occurred while loading the plugin file StreamedMPEditor.dll. It's broken or incompatible with the current MediaPortal version and won't be loaded."

    While it MediaPortal Configuration is hanging before it displays the error in task manager I noticed that Configuration.exe goes up to 1,665,704MB or so of RAM used precisely before it displays the above error.

    I can launch the BasicHome Editor via the start menu without any issues and edit/make changes etc MOST of the time. Sometimes it crashes when I attempt to launch it launch but works on re-launch. I have noticed that even when it launches properly, it is using 1.6GB of RAM or so (not sure if this is normal or not). I do not have the 'OnlineVideos' plugin installed.

    As there does not appear to be a specific MediaPortal Watchdog log gatherer for 'MediaPortal Configuration' crashes I have attached an export of all currently present logs for this. This log file is called: ConfigUtilCrash_MediaPortalLogs_12_01_12__23_49.zip

    The next primary issue I have is that no video files in TV Series or Moving Pictures will launch. Each time you attempt to playback a file it gives the following error that it could not load the codec/open the file for whatever file it was (avc and dts or divx and ac3 etc. etc. it has applied to every file I tried, nothing will launch so it is not a specific codec issue). I used the watchdog function for 'Report a Bug to a Plugin Developer or Skin Designer' and attached the log file for this error named: VideoFileFailsMediaPortalLogs_12_01_12__23_53.zip

    Any file I attempt does play-back in MediaPlayer Classic Home Cinema without any issues so the PC appears to not have playback issues outside of MediaPortal. Any video file also plays back fine in Graph Studio.

    Trying to playback ANY video files from TVSeries or Moving Pictures while booted into the Blue3Wide skin also gives the same codec related error as when using StreamedMP which points away from the skin itself. However, if I try to load MP debug mode without loading any plugins/skin etc. (option 1) I am able to playback some video files without any issues so I assume this is somehow plugin related. I have attached the log of running MP debug mode (Option 1, 'Report a Bug to Team MediaPortal) and being able to playback files; the file is called: VideoFilePlaysNoExtensionsMediaPortalLogs_13_01_12__00_14.zip

    I would really like to not have to wipe everything out completely; I am dearly attached to my Moving Pictures and TV Series databases and how I have those plugins configured (I would not be thrilled to have to rebuild those two plugins configurations). It really feels like a simple StreamedMP + plugin issue that is causing the configuration utility crash and the file playback issue so hopefully it can be resolved without too much pain. I really love StreamedMP and associated plugins; thanks for all your hard work devs!

    Here is what I can recall I have done over the past few days to attempt to resolve the issues, none of which have worked (StreamedMP has been uninstalled/reinstalled after attempting each of these fixes):
    1. Installed DX9 and attempted to install DX10 (can't reinstall that on Windows 7 apparently)
    2. Installed the latest and two previous to versions of Intel drivers
    3. Deleted and reinstalled fonts listed here: https://forum.team-mediaportal.com/...l-will-not-start-streamedmp-88891/index2.html
    4. Uninstalled and reinstalled StreamedMP a number of times (including repair installs). I have not yet selected the options at the end of the StreamedMP uninstall to remove configuration settings for StreamedMP/basichome
    5. Reset DPI settings from 'medium' back to 'smaller' in Windows display settings
    6. Cleared the skin cache numerous times
    7. Ran windows performance analysis numerous times to ensure Aero was enabled and supported
    8. Looked over the logs that are in most of the attachments and attempted to google most of the errors I see in the various log files (ie "VideoPlayer: Unable to play with reason - Not enough storage is available to complete this operation." is just one of the various errors, there are other system out of memory errors etc. in the logs) which is how I ended up trying most of the above solutions which have not yet worked

    Thanks again in advance for reading this far and for any potential assistance and I apologize if I have posted in the wrong area. Please let me know if you need any further information and I would be happy to provide it.

    --Slight Edit/Update--

    I did a full uninstall and reinstall of StreamedMP, including clearing the basichome settings etc. I then re-setup my basic home menu in the menu editor. Unfortunately I still get the StreamedMPEditor.dll error messages in MediaPortal configuration. However, after the full uninstall/reinstall I was able to launch some videos inside of mediaportal without errors. Then in the same MediaPortal session the video/codec errors returned and then went away. I closed and re-opened MediaPortal and it is back to not launching any video files of any kind displaying the codec error. This likely has something to do with the errors in error.log like: E_OUTOFMEMORY, [ERROR][MPMain(1)]: source :Microsoft.DirectX.Direct3DX, VideoPlayer: Unable to play with reason - Not enough storage is available to complete this operation. I have attached a full log after this session in a file called: PostStreamedMPReinstallMediaPortalLogs_13_01_12__11_46.zip
     

    pirivan

    Portal Pro
    January 19, 2008
    62
    2
    In case anyone wonders later, long story short I resolved this by a combination of deleting/removing my MovingPictures database and clearing out my MovingPictures thumbs/coverart/fanart etc directories. I am in the progress of redownloading fanart/details now with IMDB+ and resetting watched flags (argh) but at least it is working now.

    I also migrated my database and thumbs folders locally back to the HTPC (they used to be on the server) but I am positive that that was not related to my above issues.
     

    Users who are viewing this thread

    Top Bottom