Bug 32 - Cut-scene videos no longer visible in Settlers 4 (worked in 0.5.2)
Summary: Cut-scene videos no longer visible in Settlers 4 (worked in 0.5.2)
Status: RESOLVED FIXED
Alias: None
Product: DXGL
Classification: Unclassified
Component: ddraw (show other bugs)
Version: SVN
Hardware: PC Windows 8.1 (64-bit)
: Normal normal
Target Milestone: ---
Assignee: William Feely
URL: DXGL
Depends on:
Blocks:
 
Reported: 2014-07-16 00:25 EDT by Paul Blew
Modified: 2014-07-29 16:11 EDT (History)
0 users

See Also:


Attachments
Debug log for playing SIV cut-scene video (5.07 KB, application/x-zip-compressed)
2014-07-28 00:24 EDT, Paul Blew
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Blew 2014-07-16 00:25:34 EDT
One thing that seems to have been introduced since the resolution of bug 27 is that the cut-scene videos no longer appear during game start-up.  I can hear the sound, but the screen is blank.  This worked in version 0.5.2.
Comment 1 Paul Blew 2014-07-17 01:26:10 EDT
Same symptoms as bug 6
Comment 2 Paul Blew 2014-07-25 05:48:14 EDT
I don't know if it is related, but when running the DXGL Test App the tests on the '2D Graphics' tab in windowed mode all display a blank window.  Again these worked in 0.5.2
Comment 3 William Feely 2014-07-27 18:19:27 EDT
(In reply to Paul Blew from comment #2)
> I don't know if it is related, but when running the DXGL Test App the tests
> on the '2D Graphics' tab in windowed mode all display a blank window.  Again
> these worked in 0.5.2

I have added some code to assist with tracing this issue.  Please update your SVN download, then recompile with the "Debug Trace" configuration.  Copy the resulting ddraw.dll file from the "Debug Trace" output folder to the folder of the offending application, then run it until the problem occurs.
Press CTRL+Break to stop the logging (you should hear a beep) then exit the program.
You will have a file named "dxgl.log" saved in the folder; if not try running the offending program as Administrator.  Compress that log file into a ZIP file then upload it as an attachment to this bug.
Thanks for your assistance.
Comment 4 William Feely 2014-07-27 18:22:06 EDT
(In reply to William Feely from comment #3)
> (In reply to Paul Blew from comment #2)
> > I don't know if it is related, but when running the DXGL Test App the tests
> > on the '2D Graphics' tab in windowed mode all display a blank window.  Again
> > these worked in 0.5.2
> 
> I have added some code to assist with tracing this issue.  Please update
> your SVN download, then recompile with the "Debug Trace" configuration. 
> Copy the resulting ddraw.dll file from the "Debug Trace" output folder to
> the folder of the offending application, then run it until the problem
> occurs.
> Press CTRL+Break to stop the logging (you should hear a beep) then exit the
> program.
> You will have a file named "dxgl.log" saved in the folder; if not try
> running the offending program as Administrator.  Compress that log file into
> a ZIP file then upload it as an attachment to this bug.
> Thanks for your assistance.

I can confirm windowed mode is not working, so just send me a trace log of the Settlers 4 cutscene.  Thanks.
Comment 5 Paul Blew 2014-07-28 00:24:03 EDT
Created attachment 8 [details]
Debug log for playing SIV cut-scene video

Added zipped log as requested
Comment 6 William Feely 2014-07-29 16:02:37 EDT
(In reply to Paul Blew from comment #5)
> Created attachment 8 [details]
> Debug log for playing SIV cut-scene video
> 
> Added zipped log as requested

Thanks for the trace log.  I examined the log and found no API or shader compiler errors.  It is not specific to your AMD graphics card as the problem is occurring on my NVIDIA card to.  When stepping in gDebugger I can find that the video IS being rendered but somehow not ending up on the front buffer.  I will take a look at that before releasing 0.5.3 because it almost seems to be related to the window mode issue.
Comment 7 William Feely 2014-07-29 16:11:09 EDT
All fixed.  Also fixed the windowed mode regression.  Turned out to be a little oops in the clipper handling logic.