https://bugs.winehq.org/show_bug.cgi?id=48381
Bug ID: 48381 Summary: Regression: Video clips shows black on Beasts & Bumpkins Product: Wine Version: 5.0-rc3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: vyproyects@gmail.com CC: z.figura12@gmail.com Distribution: ---
On Beasts & Bumpkins game, a video clip is played to present every new mission. This video y shown black, but audio sounds correctly. Note that initial trailer video clips work properly but if you start a new single campaign the following video that presents the first mission does not work, showing black.
This is a Win95 game. Therefore I have to use wine 32bit and apply windows 95 configuration.
I use my original copy but as this game is abandonware, you can download it from https://www.myabandonware.com/game/beasts-bumpkins-bh1
I have made a Regression Testing, and this is the result:
70d842b106d3ccbb0a786a41474903bddc4ea879 is the first bad commit commit 70d842b106d3ccbb0a786a41474903bddc4ea879 Author: Zebediah Figura z.figura12@gmail.com Date: Wed Apr 10 22:30:32 2019 -0500
winex11: Resize the screen when changing CRTC modes.
Based on a patch by Gabriel Corona.
According to the RandR spec for RRSetCrtcConfig:
"The entire area of the CRTC must fit within the screen size, else a Match error results. As an example, rotating the screen so that a single CRTC fills the entire screen before and after may necessitate disabling the CRTC, resizing the screen, then re-enabling the CRTC at the new configuration to avoid an invalid intermediate configuration."
This patch involves resizing the screen also when shrinking a CRTC, not just when expanding it past the current screen size. This is partially because we have no way to reliably determine the current display width (DisplayWidth() is never updated past opening the connection, and RandR exposes no way to retrieve the screen dimensions), and partially because it's probably what the user wants anyway (e.g. it's what the `xrandr` configuration app does when the screen size is not expliticly specified).
This patch fixes TestBot failures on the Debian machines for ddraw, d3d8, and d3d9 device tests.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=33290 Signed-off-by: Zebediah Figura z.figura12@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
:040000 040000 d92f238e7027e98c0a0de5bb3b9d347d4e9cdf59 64a7029fc3158c55fd9d1c2822c7cfa18984d054 M dlls
https://bugs.winehq.org/show_bug.cgi?id=48381
vyproyects@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |vyproyects@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=48381
vyproyects@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |70d842b106d3ccbb0a786a41474 | |903bddc4ea879 Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=48381
vyproyects@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- What video card and driver are you using?
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #2 from vyproyects@gmail.com --- I don't know how to exactly get that info. But googling I found out this command:
lspci -v | less
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller]) Subsystem: Lenovo HD Graphics 5500 Flags: bus master, fast devsel, latency 0, IRQ 50 Memory at d0000000 (64-bit, non-prefetchable) [size=16M] Memory at c0000000 (64-bit, prefetchable) [size=256M] I/O ports at 5000 [size=64] [virtual] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: i915 Kernel modules: i915 04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] (rev 83) Subsystem: Lenovo Radeon R5 M330 Flags: bus master, fast devsel, latency 0, IRQ 54 Memory at b0000000 (64-bit, prefetchable) [size=256M] Memory at d1000000 (64-bit, non-prefetchable) [size=256K] I/O ports at 3000 [size=256] Expansion ROM at d1040000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: radeon Kernel modules: radeon, amdgpu
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Can you please attach terminal output when running with WINEDEBUG=+xrandr,+x11settings,+x11drv,+event,+win,+ddraw,+system,+timestamp?
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #4 from vyproyects@gmail.com --- On that certain commit or with 5.0-rc3
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- Either way works, as long as it's a "bad" version.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #6 from vyproyects@gmail.com --- Ok, this is the output:
rviguera@lenovo-G50-80:~/.wine/drive_c/Beasts and Bumpkins$ WINEDEBUG=+xrandr+x11settings+x11drv+event+win+ddraw+system+timestamp rviguera@lenovo-G50-80:~/.wine/drive_c/Beasts and Bumpkins$ ~/wine-git/wine beasts.exe 0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0009:fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1. 002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 0009:fixme:ddraw:ddraw7_WaitForVerticalBlank iface 00A30CB8, flags 0x1, event 00000000 stub! 002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. ^[002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without a palette. 002f:fixme:d3d_shader:glsl_blitter_upload_palette P8 texture loaded without
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #7 from vyproyects@gmail.com --- Created attachment 66151 --> https://bugs.winehq.org/attachment.cgi?id=66151 B&B Black video output
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #8 from vyproyects@gmail.com --- Sorry I accidentally clicked on send and wrote a comment halfway:
I've attached my output, but I guess it wont be of help as the last three lines were printed after the video and the rest before.
No output were printed during video.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- Thanks, but that's not quite right. You need to use commas between the channels, otherwise it won't work, and you also need to put the environment variable on the same line, e.g. "WINEDEBUG=+channel1,+channel2,+channel3 wine app.exe".
https://bugs.winehq.org/show_bug.cgi?id=48381
vyproyects@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #66151|0 |1 is obsolete| |
--- Comment #10 from vyproyects@gmail.com --- Created attachment 66154 --> https://bugs.winehq.org/attachment.cgi?id=66154 b&b black video output with WINEDEBUG
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #11 from vyproyects@gmail.com --- Hi, I've just attached a new output again.
Note that this time trying to not lengthen too much the output I've did Alt+Tab after black video was shown and just for some tenths of a second video played correctly while switching.
Also note that this test involves playing up to 3 videos. The problematic one is the last one, although I couldn't get whole output. So these one are likely to be missing.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #12 from Zebediah Figura z.figura12@gmail.com --- To be perfectly honest, I have no idea what's going wrong. I can't even reproduce a difference on either of two machines (one using nouveau, the other amdgpu) between the offending patch and reverting it. When pressing "start game" I see a short clip of mist and the word "Lokyadore", followed by a clip of scrolling text over a still image, and then clicking through that brings me to an interactive game screen, and this is the case regardless of whether or not 70d842b10 is reverted. The only difference is that with 70d842b10 in effect, resolution changes take an extra couple of seconds to happen, but this unfortunately expected and there's not really anything we can do about it.
I can't figure out why the commit would even cause regressions (besides by somehow triggering the window to lose focus?) unless it's the display driver's fault, and I can't find anything in the log that elucidates the matter.
In comment 11 you say there are 3 videos; which one is the third one? I'm not sure I'm actually getting 3 in any case.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #13 from vyproyects@gmail.com --- I apologize, I should have misspoken when talking of 3 videos.
I meant of the two introductory videos before main menu (the first one showing the company name, and the second one with the trailer), then main menu appears and the third video shows when clicking on start game.
That is the problematic, the one with mist you told about.
Also, I cannot say what exact driver I am using. If you know of any command I can execute to get that info I would appreciate. But I have search for nouveau in google and I've found it is used for nvidia GPUs but my pc has an integrated intel GPU. I think the driver should be i915, as shown in comment 2.
Also as I told I use my own copy of the game. It might be slightly differences between each other or I could have made a bad regression testing and this could point to a wrong commit giving you bad hints. Just in case I'll check on another computer too. I'll double and triple check on my part.
Anyway thank you very much for your time and effort.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #14 from Zebediah Figura z.figura12@gmail.com --- (In reply to vyproyects from comment #13)
I apologize, I should have misspoken when talking of 3 videos.
I meant of the two introductory videos before main menu (the first one showing the company name, and the second one with the trailer), then main menu appears and the third video shows when clicking on start game.
That is the problematic, the one with mist you told about.
Okay, thanks for the clarification. I certainly haven't been able to get that video to fail showing in any configuration.
Is it possible that changing resolutions takes so long with your screen that it just seems as though the video is skipped? Or is it that you hang on a black screen forever?
Also, I cannot say what exact driver I am using. If you know of any command I can execute to get that info I would appreciate. But I have search for nouveau in google and I've found it is used for nvidia GPUs but my pc has an integrated intel GPU. I think the driver should be i915, as shown in comment 2.
Your lspci output implies it's either i915 or radeon (apparently you have 2 GPUs in your computer?). I'm actually not sure if different Mesa drivers can cause a difference; I know that certainly the proprietary Nvidia driver has a different X11 stack but that's not in play here.
Also as I told I use my own copy of the game. It might be slightly differences between each other or I could have made a bad regression testing and this could point to a wrong commit giving you bad hints. Just in case I'll check on another computer too. I'll double and triple check on my part.
It's possible, yeah. If you have another computer that you test on, that'd certainly be much appreciated.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #15 from vyproyects@gmail.com --- Hi
I have done some more checks although I haven't finished all of them due to lack of time. I'm writing them now to give you some early feedback, but I'll keep checking though.
I double checked the commit and regression testing was right. The regression SHA1 is still 70d842b106d3ccbb0a786a41474903bddc4ea879.
I also checked on another computer with an Intel HD Graphics card that also runs i915 driver. As you say everything works as expected even with my own copy of the game not only with the provided one.
Besides I couldn't reproduce this other bug https://bugs.winehq.org/show_bug.cgi?id=48385 either, which was found on the same computer. Therefore we can confirm both bugs are related.
My suspicion is that some dependencies might be bad configured or even be missing on my computer. As a result I tried to completely remove wine and reinstall it, but this didn't solved the problem.
On one hand I think I didn't uninstalled it correctly as the system had never asked me to uninstall all dependencies, but just wine package. So I'll keep trying.
On the other hand as an answer of your question I have two GPUs: intel is an integrated graphics card and amd radeon is a dedicated graphics card.
Therefore intel's should be disabled as long as amd radeon is the main main graphic card in use. That's the way Windows works and all other Linux distros I've worked before.
Today I have checked again lspci -v | less command and I have realized that Display controller section says Kernel driver in use: radeon and Kernel modules: radeon, amdgpu. What I interpret of this is there are 2 available drivers installed on my computer: radeon and amdgpu; but driver in use is radeon.
I've also checked with Synaptics and as I suspected all three drivers are installed: i915, radeon and amdgpu, as well as some other drivers like ati I do not use. Ubuntu might install all of them during installation.
My next check is to try unistalling radeon driver and try to use dedicated graphic card with amdgpu driver or intel's otherwise.
I'll also check what happens if I change resolution as you ask.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #16 from vyproyects@gmail.com --- Oh, I forgot to comment, the other computer I tried runs Linux Mint 18 distro. It is not exactly the same distro.
I'm in the process of upgrading to Linux Mint 19 as Mint 18 is based on Ubuntu 16.04 and Mint 19 is based on Ubuntu 18.04. That is the best I can do to make them be the most similar to each other.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #17 from Zebediah Figura z.figura12@gmail.com --- There have been a large number of changes to the X11 driver over the past several months. Can you please retest this bug?
https://bugs.winehq.org/show_bug.cgi?id=48381
vyproyects@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.0-rc3 |6.0-rc3
--- Comment #18 from vyproyects@gmail.com --- Hi.
I've rechecked on wine 6.0 rc3 and still the same: video shows blank but audio works.
I've also double checked that I am using intel graphics instead of amd radeon as I thought.
I don't know what more to do to help. Please let me know if you think of something else. Just in case, I remember you this is a Win95 game and I am using a 64bit distro, so I have to run winearch with win32 and install wine 32bit dependencies as this is an ubuntu distro. But as you already tested I guess you already know it.
P.S. I've updated the bug to latest version
https://bugs.winehq.org/show_bug.cgi?id=48381
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|6.0-rc3 |5.0-rc3
--- Comment #19 from Jeff Zaroyko jeffz@jeffz.name ---
P.S. I've updated the bug to latest version
That is the original reported version field. https://wiki.winehq.org/Bugs
https://bugs.winehq.org/show_bug.cgi?id=48381
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #20 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-6.23?
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #21 from vyproyects@gmail.com --- Hi.
I've rechecked on wine 7.0 rc3 and still the same: video shows blank but audio works.
I think I am able to debug the code and maybe I can find something this way, but I need some assistance. I would like to setup wine in an IntelliJ IDE but I have no idea on how to configure it and I cannot find anything on the wiki
Is there anything in the wiki to show step by step how to setup wine with an IDE? I mean, I know I can make changes to the code and then use make and make install but what I want is to use de debug options of the IDE, put a breakpoint and check the variable values to know what's going on.
Can you please give me some advice?
https://bugs.winehq.org/show_bug.cgi?id=48381
Stefan Dösinger stefan@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan@codeweavers.com
--- Comment #22 from Stefan Dösinger stefan@codeweavers.com --- I haven't used IDEs myself too much, and never used IntelliJ, so I can't give much advice. Generally speaking they are of comparably little use with Wine because usually you don't have debug symbols - so you'll jump in and out of a binary/asm blob.
Often the situation is similar on the other side unless you install debug symbols for your X11 libraries or compile them from source.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #23 from joaopa jeremielapuree@yahoo.fr --- I know nobody cares. But this bug is fixed in wine-9.0-RC3
https://bugs.winehq.org/show_bug.cgi?id=48381
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #24 from Esme Povirk madewokherd@gmail.com --- Reported fixed.
https://bugs.winehq.org/show_bug.cgi?id=48381
--- Comment #25 from Zeb Figura z.figura12@gmail.com --- (In reply to joaopa from comment #23)
I know nobody cares. But this bug is fixed in wine-9.0-RC3
Were you able to reproduce the bug before? I believe it was very platform-specific.
https://bugs.winehq.org/show_bug.cgi?id=48381
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED |---
--- Comment #26 from Zeb Figura z.figura12@gmail.com --- (In reply to Zeb Figura from comment #25)
(In reply to joaopa from comment #23)
I know nobody cares. But this bug is fixed in wine-9.0-RC3
Were you able to reproduce the bug before? I believe it was very platform-specific.
Unresolving until this is confirmed.
https://bugs.winehq.org/show_bug.cgi?id=48381
vyproyects@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|UNCONFIRMED |RESOLVED
--- Comment #27 from vyproyects@gmail.com --- Hi
I'm happy to say that this bug is finally fixed. As Zeb told some messages ago, the problem seem to be at the video card driver (Intel). Finally I had the time to upgrade my distro to the latest version and the bug was automatically fixed. Same Wine version, same pc, same distro, same copy of the game. Simply different distro version and the latest version of my video card driver.
I already upgraded my distro in the past but this time was different. Thanks for your time and effort anyway.