MP Slow to Launch... Fonts are to blame (1 Viewer)

kaldonis

New Member
December 25, 2006
3
0
MediaPortal Version: 0.2.2.0
MediaPortal Skin: blueTwo
Windows Version: xp sp2
CPU Type: athlon 2500+ mobile
HDD: 120gb maxtor
Memory: 2x512 OCZ
Motherboard: soltek 75frn2-l
Motherboard Chipset: nforce2
Motherboard Bios:
Video Card: nvidia 5900XT
Video Card Driver: latest from nvdia website
Sound Card: onboard
Sound Card AC3:
Sound Card Driver:
1. TV Card: pvr150
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:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: mce
TV:
TV - HTPC Connection:

I realized recently that my MP is taking a lot longer to launch and is taking the same amount of time to resume from standby (upwards of 30 seconds). A peek at the logs leads me to believe that the loading of fonts is somehow to blame. This is what my log looks like starting from when I push the button to resume from standby until the time my mediaportal screen actually shows up.

Code:
2006-12-25 16:21:52.718750 [Debug][MPMain]: d3dapp: RecoverDevice called
2006-12-25 16:21:52.718750 [Debug][MPMain]: d3dapp: DeviceNotResetException
2006-12-25 16:21:52.718750 [Debug][MPMain]: d3dapp: Windowed while need reset
2006-12-25 16:21:52.718750 [Warn.][MPMain]: d3dapp: Resetting DX9 device
2006-12-25 16:21:53.281250 [Info.][MPMain]: Main: Resetting DX9 device
2006-12-25 16:21:53.281250 [Info.][MPMain]:   fonts.Dispose()
2006-12-25 16:21:53.281250 [Info.][MPMain]:   Load fonts from E:\Program Files\Team MediaPortal\MediaPortal\skin\BlueTwo\fonts.xml
2006-12-25 16:21:53.281250 [Info.][MPMain]:   fonts.InitializeDeviceObjects()
2006-12-25 16:21:53.281250 [Info.][MPMain]:   Loaded font:debug height:12 texture:256x256 chars:[32-255] miplevels:1
2006-12-25 16:21:53.296875 [Info.][MPMain]:   Loaded font:font10 height:9 texture:1024x512 chars:[32-1537] miplevels:1
2006-12-25 16:22:01.250000 [Info.][MPMain]:   Loaded font:font11 height:10 texture:1024x512 chars:[32-1537] miplevels:1
2006-12-25 16:22:02.125000 [Info.][MPMain]:   Loaded font:font12 height:11 texture:1024x512 chars:[32-1537] miplevels:1
2006-12-25 16:22:03.812500 [Info.][MPMain]:   Loaded font:font13 height:12 texture:1024x512 chars:[32-1537] miplevels:1
2006-12-25 16:22:03.906250 [Info.][MPMain]:   Loaded font:font14 height:13 texture:1024x512 chars:[32-1537] miplevels:1
2006-12-25 16:22:03.906250 [Info.][MPMain]:   Loaded font:font15 height:14 texture:1024x1024 chars:[32-1537] miplevels:1
2006-12-25 16:22:04.328125 [Info.][MPMain]:   Loaded font:font16 height:15 texture:1024x1024 chars:[32-1537] miplevels:1
2006-12-25 16:22:04.328125 [Info.][MPMain]:   Loaded font:font17 height:16 texture:1024x1024 chars:[32-1537] miplevels:1
2006-12-25 16:22:10.500000 [Info.][MPMain]:   Loaded font:font18 height:17 texture:1024x1024 chars:[32-1537] miplevels:1
2006-12-25 16:22:10.515625 [Info.][MPMain]:   Loaded font:dingbats height:23 texture:2048x1024 chars:[32-1537] miplevels:1
2006-12-25 16:22:10.515625 [Info.][MPMain]:   Loaded font:font32 height:30 texture:256x256 chars:[48-59] miplevels:1
2006-12-25 16:22:10.515625 [Info.][MPMain]:   Loaded font:font48 height:46 texture:256x256 chars:[48-59] miplevels:1
2006-12-25 16:22:10.515625 [Info.][MPMain]:   Loaded font:font60 height:57 texture:512x256 chars:[48-59] miplevels:1
2006-12-25 16:22:11.234375 [Info.][MPMain]:   Loaded font:fontSVT height:12 texture:1024x512 chars:[32-1537] miplevels:1
2006-12-25 16:22:11.234375 [Info.][MPMain]:   load E:\Program Files\Team MediaPortal\MediaPortal\ScreenCalibration720x556.xml
2006-12-25 16:22:11.375000 [Debug][MPMain]: d3dapp: RecoverDevice called
2006-12-25 16:22:11.468750 [Info.][MPMain]: window:MediaPortal.GUI.Home.GUIHome deinit
2006-12-25 16:22:11.468750 [Info.][MPMain]: texturemanager:CleanupThumbs()
2006-12-25 16:22:11.468750 [Debug][MPMain]: PowerScheduler.SetShutDown: Next ShutDown in 3 minutes -> 4:25:11 PM
2006-12-25 16:22:11.468750 [Info.][MPMain]: Recorder: Disabling DX9 exclusive mode
2006-12-25 16:22:11.468750 [Info.][MPMain]: Main: DX exclusive mode: False
2006-12-25 16:22:11.484375 [Info.][MPMain]: window:MediaPortal.GUI.Home.GUIHome init
2006-12-25 16:22:11.484375 [Info.][MPMain]:   fonts.SetDevice()
2006-12-25 16:22:11.484375 [Info.][MPMain]: Main: Resetting DX9 device done
2006-12-25 16:22:11.484375 [Debug][MPMain]: d3dapp: EnvironmentResized()
2006-12-25 16:22:12.265625 [Info.][MPMain]: window:MediaPortal.GUI.Home.GUIHome deinit
2006-12-25 16:22:20.750000 [Info.][MPMain]: texturemanager:CleanupThumbs()
2006-12-25 16:22:20.750000 [Debug][MPMain]: PowerScheduler.SetShutDown: Next ShutDown in 3 minutes -> 4:25:20 PM

You'll notice that the largest gaps of time are during the loading of fonts. Windows itself resumes almost immediately and I am able to do things in other windows while MP continues to load.

Any ideas? I have a feeling this should be an easy fix... Meanwhile I'll try different skins and report back if I come up with a solution.
 

kaldonis

New Member
December 25, 2006
3
0
Ok... so maybe fonts weren't to blame. I did a couple of different things at once and I'm not really sure which one of them solved the problem... I changed my standby mode from S1 to S3 and also swapped in a slightly newer video card I had laying around (6600GT). So all is good now.
 

Users who are viewing this thread

Top Bottom