[Bug 41930] New: Civilization III Complete shows black terrain ( Wine compiled with OSMesa support)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 4 03:36:02 CST 2016


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

            Bug ID: 41930
           Summary: Civilization III Complete shows black terrain (Wine
                    compiled with OSMesa support)
           Product: Wine
           Version: 1.7.38
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: P2
         Component: gdi32
          Assignee: wine-bugs at winehq.org
          Reporter: gyebro69 at gmail.com
                CC: michael at fds-team.de
   Regression SHA1: e618ab65ed5b623785c58ea5ece6e39895d43063
      Distribution: ---

Created attachment 56311
  --> https://bugs.winehq.org/attachment.cgi?id=56311
screenshot

This is one of the few games that I know of which makes some use of OpenGl in
bitmaps. When Wine was compiled with OSMesa support, tiles containing terrain
turn black as soon as I launch a game.
Reproduced with Nvidia binary drivers 375.20 and nouveau/mesa.
I tried Civilization III Complete (both the Steam and the GOG.com versions have
this bug).

Terminal output:
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to
16
err:ole:CoGetClassObject class {5959df60-2911-11d1-b049-0020af30269a} not
registered
err:ole:CoGetClassObject no class object {5959df60-2911-11d1-b049-0020af30269a}
could be created for context 0x1

Reverting the following patch on top of git fixes the problem:

commit e618ab65ed5b623785c58ea5ece6e39895d43063
Author: Michael Müller <michael at fds-team.de>
Date:   Tue Feb 3 11:07:38 2015 +0100

    gdi32: Fix arguments for OSMesaMakeCurrent when using 16 bit formats.

Please let me know if you need debug logs.

wine-1.9.24-105-g1d3b944
Fedora 24 x86_64
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 730/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 375.20

Installed packages:
mesa-libOSMesa.i686    13.1.0-0.12.git95ddb37.fc24                              
mesa-libOSMesa.x86_64  13.1.0-0.12.git95ddb37.fc24                              
mesa-libOSMesa-devel.i686   13.1.0-0.12.git95ddb37.fc24                         
mesa-libOSMesa-devel.x86_64  13.1.0-0.12.git95ddb37.fc24

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