[Bug 52361] New: Spaceforce: Only a few columns of pixels are drawn when video plays
https://bugs.winehq.org/show_bug.cgi?id=52361 Bug ID: 52361 Summary: Spaceforce: Only a few columns of pixels are drawn when video plays Product: Wine Version: 7.0-rc4 Hardware: x86-64 URL: https://www.fileplanet.com/archive/p-45836/Spaceforce- Rogue-Universe-Demo OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winegstreamer Assignee: wine-bugs(a)winehq.org Reporter: jeremielapuree(a)yahoo.fr Distribution: Ubuntu Created attachment 71547 --> https://bugs.winehq.org/attachment.cgi?id=71547 console output with msvideo and avifile channels enabled At first sight, it looks the video are completely black. It is not the case. One can see at the very left of the screen one (?) column of pixels drawn when video plays. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52361 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|winegstreamer |msvfw32 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52361 --- Comment #1 from joaopa <jeremielapuree(a)yahoo.fr> --- Bug still occurs with wine-8.11 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52361 --- Comment #2 from joaopa <jeremielapuree(a)yahoo.fr> --- Bug still occurs with wine-10.18 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52361 --- Comment #3 from joaopa <jeremielapuree(a)yahoo.fr> --- there is that in console output: 0134:fixme:msvideo:DrawDibStop (00000001), stub 0134:fixme:msvideo:DrawDibStart (00000001, 40), stub 0134:fixme:quartz:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb85-524f-11ce-9f53-0020af0ba770}. 0134:fixme:quartz:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb86-524f-11ce-9f53-0020af0ba770}. 0138:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts. 0134:fixme:msvideo:DrawDibStop (00000001), stub 0134:fixme:avifile:AVIFileExit (): stub! 0134:fixme:msvideo:DrawDibStop (00000001), stub 0134:fixme:msvideo:DrawDibStart (00000001, 40), stub 0134:err:quartz:BaseMemAllocator_Decommit Waiting: 1 016c:err:quartz:send_buffer Failed to get a sample, hr 0x80040211. 0134:err:quartz:BaseMemAllocator_Decommit Waiting: 1 0180:err:quartz:send_buffer Failed to get a sample, hr 0x80040211. (wine:20670): GStreamer-Audio-CRITICAL **: 10:18:45.875: gst_audio_info_from_caps: assertion 'gst_caps_is_fixed (caps)' failed 0134:fixme:msvideo:DrawDibStop (00000001), stub 0134:fixme:msvideo:DrawDibStart (00000001, 40), stub 0134:err:quartz:BaseMemAllocator_Decommit Waiting: 1 0190:err:quartz:send_buffer Failed to get a sample, hr 0x80040211. 0134:err:quartz:BaseMemAllocator_Decommit Waiting: 1 01a0:err:quartz:send_buffer Failed to get a sample, hr 0x80040211. (wine:20670): GStreamer-Audio-CRITICAL **: 10:19:38.228: gst_audio_info_from_caps: assertion 'gst_caps_is_fixed (caps)' failed -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52361 --- Comment #4 from joaopa <jeremielapuree@yahoo.fr> --- Unable to test with wine-11.18 since there is a regression.. Now game crashes at start. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52361 --- Comment #5 from Ken Sharp <imwellcushtymelike@gmail.com> --- URL is 404. Are you running the regression test? Is it the faudio issue? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52361 Béla Gyebrószki <gyebro69@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com --- Comment #6 from Béla Gyebrószki <gyebro69@gmail.com> --- Created attachment 82198 --> http://bugs.winehq.org/attachment.cgi?id=82198 DrawDibDraw source file and tests I updated the link in the url field to a working download of the demo. Setup.exe (809 MB) md5: ca2877ad84303f515bf1fb76e9e599be Still present in wine-11.18-218-g4e819f054dd. I investigated this bug further on current Wine-git and Windows 11 with the help of AI. The Cinepak decoder appears to work correctly. ICM_DECOMPRESS_BEGIN and ICM_DECOMPRESS return ICERR_OK. The game then calls DrawDibDraw() with: xDst=0, yDst=0, dxDst=-640, dyDst=480 xSrc=0, ySrc=0, dxSrc=640, dySrc=480 Wine passes the negative destination width directly to StretchBlt(), causing almost the entire image to be drawn outside the visible area. Two diagnostic changes confirm this: - Changing dxDst from -640 to 640 makes all videos display correctly - Keeping dxDst=-640 but changing xDst to 640 displays the complete video mirrored. I also ran a standalone 2x2 bitmap test on Wine and Windows 11: - Windows DrawDibDraw() draws the complete unmirrored image at xDst for destination widths -1, -2, and -3. - Windows StretchBlt() draws negative widths towards the left and mirrors/clips the image. - Wine DrawDibDraw() behaves exactly like StretchBlt() in every case. Therefore Wine needs to handle negative destination widths inside DrawDibDraw() before calling StretchBlt(). The -3 test also shows that Windows does not simply use abs(dxDst). I am attaching the standalone test source and the complete Wine and Windows 11 outputs. To compile the test file I used: i686-w64-mingw32-gcc -O2 -Wall -Wextra -o spaceforce-drawdib-probe-v2.exe spaceforce-drawdib-probe.c -lvfw32 -lgdi32 -luser32 mingw-w64-gcc v16.2.0 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52361 Béla Gyebrószki <gyebro69@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL|https://www.fileplanet.com/ |https://www.moddb.com/games |archive/p-45836/Spaceforce- |/spaceforce-rogue-universe/ |Rogue-Universe-Demo |downloads/space-force-2-dem | |o -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=52361 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla