[Bug 22103] Starcraft II: crashes after "loading" screen

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Apr 15 18:03:17 CDT 2010


--- Comment #13 from Norbert <globtroter at gmail.com>  2010-04-15 18:03:16 ---
(In reply to comment #12)
> Yes.  Your log has the key lines
> trace:d3d_caps:IWineD3DImpl_FillGLCaps GL_RENDERER: "Quadro NVS 140M/PCI/SSE2".
> trace:d3d_caps:IWineD3DImpl_FillGLCaps GL_VENDOR: "NVIDIA Corporation".
> trace:d3d_caps:IWineD3DImpl_FillGLCaps GL_VERSION: "3.0.0 NVIDIA 185.18.36".
> ...
> trace:d3d:InitAdapters Emulating 64MB of texture ram
> The card detection in select_card_nvidia_binary() (see
> http://www.winehq.org/pipermail/wine-cvs/2010-March/064826.html )
> probably needs to be extended to handle your card.  You might even be
> able to write that patch yourself, give it a try.

I'll give it a try. Could you point me to some sources which tells how can I
send patches to wine developers? Or should I post it here?

I also need some help with wine sources - in dlls/wined3d/wined3d_private.h I
added my card "CARD_NVIDIA_QUADRO_NVS140M" to wined3d_pci_device enum. But I
don't know which number should I choose to represent this constant - there's no
comment explaining how to pick one. Same thing with entry in
static const struct driver_version_information driver_version_table[] structure
(directx.c). If this values are somehow easily obtainable (e.g. from wikipedia)
I could try to add support for more cards.

I also don't know how much memory should I assing to my card in directx.c. It
has 128MB built-in memory but with shared memory it actually has 512MB. Which
number should I pick - the lower one? This is part of my code in directx.c:

        /* Quadro NVS 140M */
        if (strstr(gl_renderer, "Quadro NVS 140M"))
            *vidmem = 128; /* 128-256MB dedicated memory, 512MB with shared */
            return CARD_NVIDIA_QUADRO_NVS140M;

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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