Going Fullscreen - throwing JIT exception (1 Viewer)

ideasdigger

Portal Member
December 4, 2005
23
2
Boston
Home Country
United States of America United States of America
Area: Media Portal Program
MediaPortal Version: 0.2.0.0 RC1 (2005-09-01)
MediaPortal Skin: BlueTwo
Windows Version: Windows XP (SP2)
.NET CLR Version: 2.0.50727
DirectX Version: 4.09.00.0904 (9.0c)
Audio Codec: MPEG/AC3/DTS/LPCM Audio Decoder
Video Codec: Mpeg2Dec Filter
CPU Type: Intel Pentium III Mobile - 1200MHz
Memory: 511 MB
Motherboard: Latitude C610 (Dell Computer Corporation)
TV Card Model: -
TV Card Type: -
TV Card Driver: -
Video Card Model: Mobility Radeon (16 MB)
Video Card Driver: -
Video Card Resolution: 1400x1050
Video Render Type: Overlay
Audio Card Model: Intel(r) 82801CA/CAM AC'97 Audio Controller
Audio Card Driver: -
Synopsis::

When the MediaPortal going Fullscreen mode it's throwing a JIT exception.
If the screen resolution is higher than 1024x780 - attempt to go Fullscreen cases an exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Error in the application.
-2005532292 (D3DERR_OUTOFVIDEOMEMORY)
at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
at Microsoft.DirectX.Direct3D.Device.OnParentResized(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.Form.OnResize(EventArgs e)
at MediaPortal.D3DApp.OnResize(EventArgs e)
at MediaPortal.D3DApp.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MediaPortalApp.WndProc(Message& msg)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
MediaPortal
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///c:/windows/assembly/gac/microsoft.directx.direct3d/1.0.2902.0__31bf3856ad364e35/microsoft.directx.direct3d.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Core
Assembly Version: 1.0.2070.35192
Win32 Version: 1.0.2070.35192
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.serviceprocess/1.0.5000.0__b03f5f7f11d50a3a/system.serviceprocess.dll
----------------------------------------
Microsoft.DirectX.DirectDraw
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///c:/windows/assembly/gac/microsoft.directx.directdraw/1.0.2902.0__31bf3856ad364e35/microsoft.directx.directdraw.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///c:/windows/assembly/gac/microsoft.directx/1.0.2902.0__31bf3856ad364e35/microsoft.directx.dll
----------------------------------------
TVCapture
Assembly Version: 1.0.2070.35193
Win32 Version: 1.0.2070.35193
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.DLL
----------------------------------------
RemotePlugins
Assembly Version: 1.0.2070.35194
Win32 Version: 1.0.2070.35194
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///c:/windows/assembly/gac/microsoft.directx.directinput/1.0.2902.0__31bf3856ad364e35/microsoft.directx.directinput.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.runtime.serialization.formatters.soap/1.0.5000.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2906.0
Win32 Version: 9.07.239.0000
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3DX.DLL
----------------------------------------
Dialogs
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
----------------------------------------
Databases
Assembly Version: 1.0.2070.35193
Win32 Version: 1.0.2070.35193
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
DotMSN
Assembly Version: 1.2.1561.20904
Win32 Version: 1.2.1561.20904
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/DotMSN.DLL
----------------------------------------
WindowPlugins
Assembly Version: 1.0.2070.35197
Win32 Version: 1.0.2070.35197
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.DLL
----------------------------------------
AxInterop.WMPLib
Assembly Version: 9.0.0.3095
Win32 Version: 9.0.0.3095
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/AxInterop.WMPLib.DLL
----------------------------------------
mbm5
Assembly Version: 1.0.1778.42739
Win32 Version: 1.0.1778.42739
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/mbm5.DLL
----------------------------------------
ProcessPlugins
Assembly Version: 1.0.2070.35195
Win32 Version: 1.0.2070.35195
CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
 

richber

Portal Member
December 11, 2005
14
0
Area: Media Portal Program
MediaPortal Version: 0.2.0.0 RC2 (2005-12-16)
MediaPortal Skin: X-Mas 2005
Windows Version: Windows XP (SP2)
.NET CLR Version: 2.0.50727
DirectX Version: 4.09.00.0904 (9.0c)
Audio Codec: MPEG/AC3/DTS/LPCM Audio Decoder
Video Codec: InterVideo Video Decoder
CPU Type: AMD Athlon 64 3200+
Memory: 1 GB
Motherboard: nForce3
TV Card Model: Club3D ZAP1000
TV Card Type: Hardware
TV Card Driver: Latest
Video Card Model: Gigabyte Radeon 9600 Pro (256 MB)
Video Card Driver: Latest (5-13_xp-2k_dd_ccc_wdm_enu_29124)
Video Card Resolution: 1024x768
Video Render Type: VMR9
Audio Card Model: Creative Audigy Audio Processor (WDM)
Audio Card Driver: Latest
Synopsis:: -

I have the same problem. When I want to change from a windowsview to a full screen or viceversa, I get also the message: "Unhandled exception has occured etc.". Only the problem of ideasdigger seems to be a memoryproblem, while I have a problem related to a invalid call, as far I can understand. Here-under the message I got.

************** Exception Text **************
Error in the application.
-2005530516 (D3DERR_INVALIDCALL)
at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
at Microsoft.DirectX.Direct3D.Device.OnParentResized(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.Form.OnResize(EventArgs e)
at MediaPortal.D3DApp.OnResize(EventArgs e)
at MediaPortal.D3DApp.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at MediaPortalApp.WndProc(Message& msg)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MediaPortal
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/MediaPortal.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Core
Assembly Version: 1.0.2176.40647
Win32 Version: 1.0.2176.40647
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
TVCapture
Assembly Version: 1.0.2177.20386
Win32 Version: 1.0.2177.20386
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/TVCapture.DLL
----------------------------------------
RemotePlugins
Assembly Version: 1.0.2177.20390
Win32 Version: 1.0.2177.20390
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/RemotePlugins.DLL
----------------------------------------
NetHelper
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/NetHelper.DLL
----------------------------------------
Microsoft.DirectX.DirectInput
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Runtime.Serialization.Formatters.Soap
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
----------------------------------------
Dialogs
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/Dialogs.DLL
----------------------------------------
WindowPlugins
Assembly Version: 1.0.2177.20401
Win32 Version: 1.0.2177.20401
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/WindowPlugins.DLL
----------------------------------------
Databases
Assembly Version: 1.0.2176.40667
Win32 Version: 1.0.2176.40667
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL
----------------------------------------
XihSolutions.DotMSN
Assembly Version: 2.0.1.15051
Win32 Version: 2.0.1.15051
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/XihSolutions.DotMSN.DLL
----------------------------------------
mbm5
Assembly Version: 1.0.1778.42739
Win32 Version: 1.0.1778.42739
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/mbm5.DLL
----------------------------------------
AxInterop.MOZILLACONTROLLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/AxInterop.MOZILLACONTROLLib.DLL
----------------------------------------
AxInterop.WMPLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/AxInterop.WMPLib.DLL
----------------------------------------
Microsoft.DirectX.Direct3DX
Assembly Version: 1.0.2906.0
Win32 Version: 9.07.239.0000
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/Microsoft.DirectX.Direct3DX.DLL
----------------------------------------
ProcessPlugins
Assembly Version: 1.0.2177.20399
Win32 Version: 1.0.2177.20399
CodeBase: file:///E:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/process/ProcessPlugins.dll
----------------------------------------
System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
 

scoop

Retired Team Member
  • Premium Supporter
  • November 14, 2004
    614
    7
    Hi,

    ideasdigger: 16MB video memory isn't enough for MP. If at all possible, try enabling more (shared) memory for your video card.

    richber: Don't switch from windowed mode to fullscreen (and vice versa) while video is playing. Stop any active tv/dvd/video playback, then switch between either Windowed or fullscreen mode, and there should be no exception anymore.

    Kind regards,
    Michel
     

    richber

    Portal Member
    December 11, 2005
    14
    0
    scoop said:
    Hi,
    richber: Don't switch from windowed mode to fullscreen (and vice versa) while video is playing. Stop any active tv/dvd/video playback, then switch between either Windowed or fullscreen mode, and there should be no exception anymore.

    Kind regards,
    Michel

    Thanks for your anwser. This did indeed the trick. But a few days
    before I could also switch with the TV playing?!
     

    GlobalFusion

    Portal Member
    December 11, 2005
    24
    0
    richber said:
    scoop said:
    Hi,
    richber: Don't switch from windowed mode to fullscreen (and vice versa) while video is playing. Stop any active tv/dvd/video playback, then switch between either Windowed or fullscreen mode, and there should be no exception anymore.

    Kind regards,
    Michel

    Thanks for your anwser. This did indeed the trick. But a few days
    before I could also switch with the TV playing?!

    Ditto.


    and my Error log shows this (about 80 times):
    Code:
    1/4/2006 1:04:19 AM Planescene(1026,576,1026,576,96256512,True,5):Unhandled exception in Error in the application. Microsoft.DirectX.Direct3D    at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortal.Player.PlaneScene.InternalPresentSurface(Int32 width, Int32 height, Int32 arWidth, Int32 arHeight, Boolean InRepaint)
     

    Users who are viewing this thread

    Top Bottom