home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
Tearing is still there without exclusive mode checked
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="zeflash" data-source="post: 178161" data-attributes="member: 13641"><p><strong>TV-Server Version</strong>: </p><p><strong>MediaPortal Version</strong>: 2.3.0 RC2</p><p><strong>MediaPortal Skin</strong>: Revision 1.1.6</p><p><strong>Windows Version</strong>: XP SP2</p><p><strong>CPU Type</strong>: </p><p><strong>HDD</strong>: </p><p><strong>Memory</strong>: </p><p><strong>Motherboard</strong>: </p><p><strong>Motherboard Chipset</strong>: </p><p><strong>Motherboard Bios</strong>: </p><p><strong>Video Card</strong>: 8800 GTS 320MB, or 7800GT</p><p><strong>Video Card Driver</strong>: 163.44</p><p><strong>Sound Card</strong>: </p><p><strong>Sound Card AC3</strong>: </p><p><strong>Sound Card Driver</strong>: </p><p><strong>1. TV Card</strong>: </p><p><strong>1. TV Card Type</strong>: </p><p><strong>1. TV Card Driver</strong>: </p><p><strong>2. TV Card</strong>: </p><p><strong>2. TV Card Type</strong>: </p><p><strong>2. TV Card Driver</strong>: </p><p><strong>3. TV Card</strong>: </p><p><strong>3. TV Card Type</strong>: </p><p><strong>3. TV Card Driver</strong>: </p><p><strong>4. TV Card</strong>: </p><p><strong>4. TV Card Type</strong>: </p><p><strong>4. TV Card Driver</strong>: </p><p><strong>MPEG2 Video Codec</strong>: </p><p><strong>MPEG2 Audio Codec</strong>: </p><p><strong>Satelite/CableTV Provider</strong>: </p><p><strong>HTPC Case</strong>: </p><p><strong>Cooling</strong>: </p><p><strong>Power Supply</strong>: </p><p><strong>Remote</strong>: </p><p><strong>TV</strong>: </p><p><strong>TV - HTPC Connection</strong>: </p><p></p><p>Just installed a clean XP system with the latest drivers. I'm still getting tearing even though I saw it was supposed to be fixed in RC1.</p><p></p><p>No, I don't want to use the exclusive mode, given in that case I can't use reclock anymore, and I want to use reclock to prevent the jitter occuring when playing a 23.976fps source on a 50hz TV - or call powerstrip to change the refresh rate to 60hz for 29.97 or 30fps sources.</p><p></p><p>I've been trying out media player classic with the same file, with VMR9 renderless output, using texture surfaces in 3D. At first I also got tearing, until I checked "Lock back-buffer before presenting (may fix broken vertical syncronization". Then tearing was gone, even when unckecking this setting. Weird.</p><p>Easiest way to see tearing taking place is to use reclock as the audio renderer, and hit ctrl-shift-alt-F10 to show the tearing test line, (ctrl-shift-alt-F9 to hide it). Should show as an continuous line. If not, tearing is happening.</p><p></p><p>This issue has been there for so long, I doubt it's ever going to be fixed. Could someone explain what could be this "back buffer locking" so that I can try to do the same on the MP sources? see if it fixes something in my case or not.</p><p>I'm willing to spend some time figuring this out, given it prevents me using MP on my system.</p><p>Thanks</p><p></p><p></p><p></p><p>Edit:</p><p>Huh. That was fast.</p><p>I checked the source. In d3dapp.cs, BuildPresentParamsFromSettings function:</p><p>[code]</p><p> if (windowed)</p><p> {</p><p> presentParams.MultiSample = graphicsSettings.WindowedMultisampleType;</p><p> presentParams.MultiSampleQuality = graphicsSettings.WindowedMultisampleQuality;</p><p> presentParams.AutoDepthStencilFormat = graphicsSettings.WindowedDepthStencilBufferFormat;</p><p> presentParams.BackBufferWidth = ourRenderTarget.ClientRectangle.Right - ourRenderTarget.ClientRectangle.Left;</p><p> presentParams.BackBufferHeight = ourRenderTarget.ClientRectangle.Bottom - ourRenderTarget.ClientRectangle.Top;</p><p> presentParams.BackBufferFormat = graphicsSettings.BackBufferFormat;</p><p> presentParams.PresentationInterval = PresentInterval.Immediate;</p><p> presentParams.FullScreenRefreshRateInHz = 0;</p><p> presentParams.SwapEffect = SwapEffect.Discard;</p><p> presentParams.PresentFlag = PresentFlag.Video; //PresentFlag.LockableBackBuffer;</p><p> presentParams.DeviceWindow = ourRenderTarget;</p><p> presentParams.Windowed = true;</p><p> //presentParams.PresentationInterval = PresentInterval.Immediate;</p><p> }</p><p> else</p><p> {</p><p> presentParams.MultiSample = graphicsSettings.FullscreenMultisampleType;</p><p> presentParams.MultiSampleQuality = graphicsSettings.FullscreenMultisampleQuality;</p><p> presentParams.AutoDepthStencilFormat = graphicsSettings.FullscreenDepthStencilBufferFormat;</p><p></p><p> presentParams.BackBufferWidth = graphicsSettings.DisplayMode.Width;</p><p> presentParams.BackBufferHeight = graphicsSettings.DisplayMode.Height;</p><p> presentParams.BackBufferFormat = graphicsSettings.DeviceCombo.BackBufferFormat;</p><p> presentParams.PresentationInterval = PresentInterval.Default;</p><p> presentParams.FullScreenRefreshRateInHz = graphicsSettings.DisplayMode.RefreshRate;</p><p> presentParams.SwapEffect = SwapEffect.Discard;</p><p> presentParams.PresentFlag = PresentFlag.Video; //|PresentFlag.LockableBackBuffer;</p><p> presentParams.DeviceWindow = this;</p><p> presentParams.Windowed = false;</p><p> }[/code]</p><p></p><p>even though I'm starting MP fullscreen, windowed is true. Therefore, the presentation used is <strong>PresentInterval.Immediate</strong>, which causes tearing as it's not waiting the vsync to present the backbuffers. </p><p><strong>PresentInterval.Default</strong> should be used instead, to preserve vsync at all time.</p><p></p><p>Should I post that somewhere else? I can't see any reason to have an immediate presentation of the backbuffer instead of the proper vsync one, even in the MP user interface. I rebuilt MP with default instead of immediate, and tearing was gone.</p></blockquote><p></p>
[QUOTE="zeflash, post: 178161, member: 13641"] [b]TV-Server Version[/b]: [b]MediaPortal Version[/b]: 2.3.0 RC2 [b]MediaPortal Skin[/b]: Revision 1.1.6 [b]Windows Version[/b]: XP SP2 [b]CPU Type[/b]: [b]HDD[/b]: [b]Memory[/b]: [b]Motherboard[/b]: [b]Motherboard Chipset[/b]: [b]Motherboard Bios[/b]: [b]Video Card[/b]: 8800 GTS 320MB, or 7800GT [b]Video Card Driver[/b]: 163.44 [b]Sound Card[/b]: [b]Sound Card AC3[/b]: [b]Sound Card Driver[/b]: [b]1. TV Card[/b]: [b]1. TV Card Type[/b]: [b]1. TV Card Driver[/b]: [b]2. TV Card[/b]: [b]2. TV Card Type[/b]: [b]2. TV Card Driver[/b]: [b]3. TV Card[/b]: [b]3. TV Card Type[/b]: [b]3. TV Card Driver[/b]: [b]4. TV Card[/b]: [b]4. TV Card Type[/b]: [b]4. TV Card Driver[/b]: [b]MPEG2 Video Codec[/b]: [b]MPEG2 Audio Codec[/b]: [b]Satelite/CableTV Provider[/b]: [b]HTPC Case[/b]: [b]Cooling[/b]: [b]Power Supply[/b]: [b]Remote[/b]: [b]TV[/b]: [b]TV - HTPC Connection[/b]: Just installed a clean XP system with the latest drivers. I'm still getting tearing even though I saw it was supposed to be fixed in RC1. No, I don't want to use the exclusive mode, given in that case I can't use reclock anymore, and I want to use reclock to prevent the jitter occuring when playing a 23.976fps source on a 50hz TV - or call powerstrip to change the refresh rate to 60hz for 29.97 or 30fps sources. I've been trying out media player classic with the same file, with VMR9 renderless output, using texture surfaces in 3D. At first I also got tearing, until I checked "Lock back-buffer before presenting (may fix broken vertical syncronization". Then tearing was gone, even when unckecking this setting. Weird. Easiest way to see tearing taking place is to use reclock as the audio renderer, and hit ctrl-shift-alt-F10 to show the tearing test line, (ctrl-shift-alt-F9 to hide it). Should show as an continuous line. If not, tearing is happening. This issue has been there for so long, I doubt it's ever going to be fixed. Could someone explain what could be this "back buffer locking" so that I can try to do the same on the MP sources? see if it fixes something in my case or not. I'm willing to spend some time figuring this out, given it prevents me using MP on my system. Thanks Edit: Huh. That was fast. I checked the source. In d3dapp.cs, BuildPresentParamsFromSettings function: [code] if (windowed) { presentParams.MultiSample = graphicsSettings.WindowedMultisampleType; presentParams.MultiSampleQuality = graphicsSettings.WindowedMultisampleQuality; presentParams.AutoDepthStencilFormat = graphicsSettings.WindowedDepthStencilBufferFormat; presentParams.BackBufferWidth = ourRenderTarget.ClientRectangle.Right - ourRenderTarget.ClientRectangle.Left; presentParams.BackBufferHeight = ourRenderTarget.ClientRectangle.Bottom - ourRenderTarget.ClientRectangle.Top; presentParams.BackBufferFormat = graphicsSettings.BackBufferFormat; presentParams.PresentationInterval = PresentInterval.Immediate; presentParams.FullScreenRefreshRateInHz = 0; presentParams.SwapEffect = SwapEffect.Discard; presentParams.PresentFlag = PresentFlag.Video; //PresentFlag.LockableBackBuffer; presentParams.DeviceWindow = ourRenderTarget; presentParams.Windowed = true; //presentParams.PresentationInterval = PresentInterval.Immediate; } else { presentParams.MultiSample = graphicsSettings.FullscreenMultisampleType; presentParams.MultiSampleQuality = graphicsSettings.FullscreenMultisampleQuality; presentParams.AutoDepthStencilFormat = graphicsSettings.FullscreenDepthStencilBufferFormat; presentParams.BackBufferWidth = graphicsSettings.DisplayMode.Width; presentParams.BackBufferHeight = graphicsSettings.DisplayMode.Height; presentParams.BackBufferFormat = graphicsSettings.DeviceCombo.BackBufferFormat; presentParams.PresentationInterval = PresentInterval.Default; presentParams.FullScreenRefreshRateInHz = graphicsSettings.DisplayMode.RefreshRate; presentParams.SwapEffect = SwapEffect.Discard; presentParams.PresentFlag = PresentFlag.Video; //|PresentFlag.LockableBackBuffer; presentParams.DeviceWindow = this; presentParams.Windowed = false; }[/code] even though I'm starting MP fullscreen, windowed is true. Therefore, the presentation used is [b]PresentInterval.Immediate[/b], which causes tearing as it's not waiting the vsync to present the backbuffers. [b]PresentInterval.Default[/b] should be used instead, to preserve vsync at all time. Should I post that somewhere else? I can't see any reason to have an immediate presentation of the backbuffer instead of the proper vsync one, even in the MP user interface. I rebuilt MP with default instead of immediate, and tearing was gone. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
Tearing is still there without exclusive mode checked
Contact us
RSS
Top
Bottom