SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #201  
Old 01-04-2011, 05:34 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
I suspect you are using Malore - I don't know if the Banner support there uses the cached images (I didn't do that plugin - in fact I don't think my plugin has any banner's in use) - so you might have an issue to talk with Fuzzy...(or maybe Diamond uses Banners also.....)

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #202  
Old 01-04-2011, 05:39 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
I'm using TVE, not Malore, but I saw the same slowdown mentioned when using Diamond, with or without banners enabled. The fact that it was in two separate plugins had me looking at BMT as the possible cause.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #203  
Old 01-04-2011, 06:10 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Skirge01 View Post
I'm using TVE, not Malore, but I saw the same slowdown mentioned when using Diamond, with or without banners enabled. The fact that it was in two separate plugins had me looking at BMT as the possible cause.
I can assure you that BMT is not the cause, since it does nothing once fanart is downloaded, and it does not contribute anything to the UI.

It may be that the plugins are scaling the fanart the first time it is accessed, which will cause a slowdown the first time you go to the page... but it should only be the first time, and if plugins are scaling. If the plugins are not scaling, then it could be that the video memory on the extender is being maxed out, resulting in images being loaded and then unloaded to make memory.

Also, if you are loading fanart from a network share, then there could be some extra latency there as well.

Based on the error message that you provided, it would appear that the plugin is attempting to load a pre-cached image, but it is failing. That error may be normal, in that the plugin, when 'null' is returned will create the image, or it may be an error, and that the plugin requires that you pre-create the fanart cache. Every plugin is different, so it's hard to tell which it is. I only bailio's plugin, and I've never seen any noticable slowdowns using fanart, but my fanart is local as well.
Reply With Quote
  #204  
Old 01-04-2011, 07:42 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
My Malore banners don't do any caching (unless Phoenix handles the caching behind the scenes in the API). I simply use the phoenix_api_GetFanartBanner(Object mediaObject) : String. I don't have an extender, so I've never concerned myself with performance/scaling/caching.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #205  
Old 01-04-2011, 08:52 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
For me, this is on a full PC client, not an extender. 4GB of memory under 64-bit Windows 7, with a JVM Heap of 264/373/1024 at present. GbE connection is maxing out at a whopping 0.98% utilization and overall memory usage is at 2.15GB. CPU barely hits 50% usage. Maybe tmiranda or razrsharpe might be the right ones for me to ask about this. But, that still wouldn't explain why both Diamond and TVE exhibit the exact same behavior.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #206  
Old 01-05-2011, 12:44 PM
SyrA SyrA is offline
Sage User
 
Join Date: Jan 2008
Posts: 33
Log info

I got the logs from Activating sagetv debut. Then look in the sagetv directory. I expiriense the same problem with both Phoenix fanart And Diamond theme. This appeard after upgrading to w7. Had good function in xp. Everything Else work soo good in w7, evr, audio, codecs, aso. Soo i wont be turning back to xp again. I suspect network issues with My setup in w7. Have tried everything on Google for those issues, but havent found a solution yet.
Reply With Quote
  #207  
Old 01-15-2011, 09:24 PM
bastafidli bastafidli is offline
Sage Expert
 
Join Date: Dec 2007
Location: Charlottesville, VA
Posts: 728
I am seeing the following exception in my logs after installing this plugin

Sat 1/15 21:18:57.624 [SageTV@16c9867] Calling start on plugin: Phoenix Core Services
Sat 1/15 21:18:57.699 [SageTV@16c9867] Done starting core plugins.
Sat 1/15 21:18:57.699 [PSNATMGR@155e402] Starting UPnP NAT Manager...
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] java.lang.NullPointerException
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.plugin.a.if(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.d.v$2.void(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.ay.a(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.e.a(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.SageTV.api(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:16)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.SageAPI.call(SageAPI.java:164)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.api.PluginAPI.GetAllAvailablePlugins(PluginAPI.java:51)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.phoenix.plugin.PhoenixPlugin.onPluginsLoaded(PhoenixPlugin.java:159)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at java.lang.reflect.Method.invoke(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.plugin.AbstractPlugin$1.run(AbstractPlugin.java:254)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at java.util.TimerThread.mainLoop(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at java.util.TimerThread.run(Unknown Source)
Sat 1/15 21:18:58.282 [FileDownload@bb473b] Read -1 bytes from the URL stream; download has completed
S

Any idea what might be causing it?
__________________

TV: Samsung UN46D8000
Server: Intel Core i3 540, 4G RAM, Matrox G450, 70GB EXT3 encrypted software RAID1 system drive, 1TB XFS tv recording drive, 2TB EXT3 encrypted data drive mirror across 2 machines, 2TB EXT3 encrypted media drive mirror across 2 machines, CentOS 6 64 bit, Experimenting with DNLA servers
1Gb wired network
Disconnected after G day[HD 100 Media Extender, Placeshifter 7.x, SageTV 7.x, HDHomeRun]
Reply With Quote
  #208  
Old 01-16-2011, 08:52 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bastafidli View Post
I am seeing the following exception in my logs after installing this plugin

Sat 1/15 21:18:57.624 [SageTV@16c9867] Calling start on plugin: Phoenix Core Services
Sat 1/15 21:18:57.699 [SageTV@16c9867] Done starting core plugins.
Sat 1/15 21:18:57.699 [PSNATMGR@155e402] Starting UPnP NAT Manager...
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] java.lang.NullPointerException
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.plugin.a.if(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.d.v$2.void(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.ay.a(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.e.a(Unknown Source)
Sat 1/15 21:18:57.703 [Timer-1@ed2cab] at sage.SageTV.api(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:16)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.SageAPI.call(SageAPI.java:164)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.api.PluginAPI.GetAllAvailablePlugins(PluginAPI.java:51)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.phoenix.plugin.PhoenixPlugin.onPluginsLoaded(PhoenixPlugin.java:159)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at java.lang.reflect.Method.invoke(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at sagex.plugin.AbstractPlugin$1.run(AbstractPlugin.java:254)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at java.util.TimerThread.mainLoop(Unknown Source)
Sat 1/15 21:18:57.704 [Timer-1@ed2cab] at java.util.TimerThread.run(Unknown Source)
Sat 1/15 21:18:58.282 [FileDownload@bb473b] Read -1 bytes from the URL stream; download has completed
S

Any idea what might be causing it?
The only thing that I can tell you is that this is happening from the GetAllPlugins call and that SageTV is throwing a Null Pointer Exception (for some reason). When all plugins are loaded, sagetv fires an event to let plugins know that everything is loaded. A plugin, such as phoenix core will hook into that even to do some post processing work.

I can put a try/catch around the block and just suppress the error, since there is no way for me to tell why it is dying. I'm not quite sure what the effects of the error may be as well.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
STV Import: Phoenix Fanart for the Default STV tmiranda SageTV Customizations 83 04-25-2010 04:39 AM
Phoenix Fanart for the Default STV notification thread tmiranda Customization Announcements 5 02-20-2010 04:40 AM
Slow UI with MC and ITV plugin with Fanart joejoeyjojo SageMC Custom Interface 9 10-21-2009 07:29 PM
question about fanart, phoenix and imdb info kkapp SageMC Custom Interface 2 04-07-2009 07:28 AM


All times are GMT -6. The time now is 07:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.