[Bug 39749] New: Battle Realms: black screen after starting a new game (only with nouveau?)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 6 03:27:20 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=39749

            Bug ID: 39749
           Summary: Battle Realms: black screen after starting a new game
                    (only with nouveau?)
           Product: Wine
           Version: 1.7.53
          Hardware: x86
               URL: http://www.fileplanet.com/82509/80000/fileinfo/Battle-
                    Realms-Demo
                OS: Linux
            Status: NEW
          Keywords: download, regression
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: wine-bugs at winehq.org
          Reporter: gyebro69 at gmail.com
                CC: stefan at codeweavers.com
   Regression SHA1: 973de3f59c7d47602fe68c8cecf8fc3dbc59bcff
      Distribution: ---

The game loads to the main menu, but when I start a new game (or the tutorial
in the demo version) I'm getting only a black screen although the game seems to
be running because I can hear audio from the game.
Alt-tabbing back and forth doesn't resolve the problem, but if I switch to
another workspace in XFCE and switch back to the game, then the screen is
displayed correctly.

Actually, I have this problem with some other games as well: Planescape:Torment
shows the same behaviour when I try to save the game, the screen is not
refreshing in the save game dialogue. 
Atlantis III also has a similar problem: after playing the intro video, the
screen remains frozen (until I switch workspaces back and forth).

According to my testing, the problem in those games was introduced by

commit 973de3f59c7d47602fe68c8cecf8fc3dbc59bcff
Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Thu Oct 15 22:41:12 2015 +0200

    wined3d: Pass a context to surface_load_location.

The commit can't be reverted, but the games work properly with the previous
commit.

I can't reproduce the problem with Nvidia binary driver 340.96.
Stefan, could you please check whether it is present with other gpus/drivers?

To reproduce the problem in Battle Realms demo:
1. Install and start the demo. You can skip the intros by pressing <Space>. In
the main menu select <New Game>, choose <Tutorials> and select one of the
available missions. When the map is loaded (sound begins to play) the screen
remains black here.

Wine 1.8-rc3
Fedora 23
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NV92
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0-devel
OpenGL core profile shading language version string: 3.30
X Server 1.18
XFCE 4.12 (also present in Gnome 3 and Openbox window managers)

BattleRealmsDemo.zip
sha1: fd5f8e5bc30df10abc0b9d4890f8dd3c8953ba90

Terminal output:
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x33f258,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33ba98,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33ba98,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid
{aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:win:EnumDisplayDevicesW ((null),0,0x33f598,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to
16
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to
16
fixme:ddraw:ddraw_surface7_Flip Ignoring flags 0x1.
fixme:ddraw:ddraw7_FlipToGDISurface iface 0x12aeb0 stub!

-- 
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.


More information about the wine-bugs mailing list