http://bugs.winehq.org/show_bug.cgi?id=35847
Bug ID: 35847 Summary: wined3d does not recognize cards newer than GTX 770 Product: Wine Version: 1.7.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: rmlipman@gmail.com
Created attachment 47861 --> http://bugs.winehq.org/attachment.cgi?id=47861 patch for 780 ti
I have a partial patch that adds for GTX 780 Ti
To make this more complete, support for GTX 780, Titan, and Titan Black should also be added. Bug 32694 also references GTX 690 so there may be even more that aren't accounted for.
Information can be found at select_card_nvidia_mesa (NV## codenames)- http://nouveau.freedesktop.org/wiki/CodeNames/
This is the search I used to get the device ID for my card (wined3d_private.h)- http://www.techpowerup.com/vgabios/index.php?architecture=NVIDIA&manufac...
http://bugs.winehq.org/show_bug.cgi?id=35847
rmlipman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Please see http://wiki.winehq.org/SubmittingPatches and send your patch.
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- Has the patch been submitted?
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- A similar but not equal patch was commited: http://source.winehq.org/git/wine.git/?a=commit;h=5ef54904f24c7dfc4a0bfd1795...
This bug is about the 780TI.
http://bugs.winehq.org/show_bug.cgi?id=35847
DL dredgingthelake@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dredgingthelake@gmail.com
--- Comment #4 from DL dredgingthelake@gmail.com --- Created attachment 48207 --> http://bugs.winehq.org/attachment.cgi?id=48207 Adds support for newer cards but has VRAM issues
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #5 from DL dredgingthelake@gmail.com --- Okay, I've written a patch for the 690, 780M, 780TI, and Titan. However, there seems to be VRAM related problem. The 780M has a memory size of 4096MB whereas my card (780) has a memory size of 3072 MB.
So I force enable the 780M using it's pci ID with VideoPCIDeviceID registry entry to test the patch. As a consequence, I get out of memory errors. Fair enough, perhaps its trying to use more memory then my actual hardware has.
Here's the thing, if I force enable the PCI id for the Titan there are no memory errors, despite the Titan having 6144 MB. If I then edit my patch to give the Titan entry a VRAM size of 4096, the same problem occurs. Alternatively, if I edit the 780M entry to use 6144, it starts working again.
My theory is that Wine is ignoring VRAM sizes greater than a certain size, and that is the explanation for not getting out of memory errors with 6144 MB of ram.
Anyway, I've attached the patch to see if I'm not completely off base or if I' ve made an obvious error.
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #6 from DL dredgingthelake@gmail.com --- I ran some more tests. Setting VRAM to 4095 or 4098 = no problems. But setting to 4096 or 4097 results in out of memory errors.
Also, setting to 4096 using the registry key instead of within the code doesn't result in the error, but 4097 does. So there's some specific amount of vram that causes problems.
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- The patch introducing 780 Ti was commited: http://source.winehq.org/git/wine.git/commitdiff/84c63435b4370af16908b0c6a89...
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #8 from rmlipman@gmail.com --- This patch does not add the new cards to select_card_nvidia_mesa
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #9 from rmlipman@gmail.com --- (previous comment was in reference to DL's patch)
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to rmlipman from comment #8)
This patch does not add the new cards to select_card_nvidia_mesa
The patch can be rebased and sent to wine-patches following http://wiki.winehq.org/SubmittingPatches
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #11 from rmlipman@gmail.com --- (In reply to Bruno Jesus from comment #10)
(In reply to rmlipman from comment #8)
This patch does not add the new cards to select_card_nvidia_mesa
The patch can be rebased and sent to wine-patches following http://wiki.winehq.org/SubmittingPatches
That comment was in reference to DL's patch which from what I can tell was not yet submitted. I somehow managed to delete the reply chain before posting the comment (see comment #9).
The submitted patch includes select_card_nvidia_mesa like I expected.
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #12 from Bruno Jesus 00cpxxx@gmail.com --- I understand what you're saying, I was just giving general advice.
http://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #13 from DL dredgingthelake@gmail.com ---
This patch does not add the new cards to select_card_nvidia_mesa
Well it doesn't matter now but for the record I did originally add it in but must of attached an older version.
Could anyone weigh in on the memory issues with >=4096 ram specified. Is this an address space issue? I do feel in general that there are memory/crashing related issues that are starting to be exposed with higher end cards, that don't occur on Windows.
http://bugs.winehq.org/show_bug.cgi?id=35847
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |matteo.mystral@gmail.com
--- Comment #14 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to DL from comment #13)
Could anyone weigh in on the memory issues with >=4096 ram specified. Is this an address space issue? I do feel in general that there are memory/crashing related issues that are starting to be exposed with higher end cards, that don't occur on Windows.
In general it might well be that libGL uses more addressing space with larger VRAM sizes, or something like that. If you get GL_OUT_OF_MEMORY errors that's probably the case.
About the >= 4GB issue, that's simply because we are using a 32-bit unsigned value to store the memory size in wined3d (see e.g. TextureRam in struct wined3d_adapter).
http://bugs.winehq.org/show_bug.cgi?id=35847
hanska2@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanska2@luukku.com
--- Comment #15 from hanska2@luukku.com --- How about the 690 GTX care to make patch for it?
https://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #16 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=35847
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=35847
sl1pkn07 sl1pkn07@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sl1pkn07@gmail.com
--- Comment #17 from sl1pkn07 sl1pkn07@gmail.com --- related:
https://bugs.winehq.org/show_bug.cgi?id=39759
https://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #18 from super_man@post.com --- Shouldnt this be closed?
from wine source
1708 /* Direct 3D 11 */ 1709 {"GTX 970M", CARD_NVIDIA_GEFORCE_GTX970M}, /* GeForce 900 - highend mobile*/ 1710 {"GTX 970", CARD_NVIDIA_GEFORCE_GTX970}, /* GeForce 900 - highend */ 1711 {"GTX 780 Ti", CARD_NVIDIA_GEFORCE_GTX780TI}, /* Geforce 700 - highend */ 1712 {"GTX 780", CARD_NVIDIA_GEFORCE_GTX780}, /* Geforce 700 - highend */ 1713 {"GTX 770M", CARD_NVIDIA_GEFORCE_GTX770M}, /* Geforce 700 - midend high mobile */ 1714 {"GTX 770", CARD_NVIDIA_GEFORCE_GTX770}, /* Geforce 700 - highend */
https://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #19 from sl1pkn07 sl1pkn07@gmail.com --- Missing titan/titan black (and 770 with 4Gb of vram). Also missing 980Ti and Titan X
https://bugs.winehq.org/show_bug.cgi?id=35847
Kim Malmo berencamlost@msn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |berencamlost@msn.com
https://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #20 from super_man@post.com --- (In reply to sl1pkn07 from comment #19)
Missing titan/titan black (and 770 with 4Gb of vram). Also missing 980Ti and Titan X
Some of these have been added.
https://bugs.winehq.org/show_bug.cgi?id=35847
--- Comment #21 from super_man@post.com --- (In reply to sl1pkn07 from comment #19)
Missing titan/titan black (and 770 with 4Gb of vram). Also missing 980Ti and Titan X
1290 {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX770, "NVIDIA GeForce GTX 770", DRIVER_NVIDIA_GEFORCE8, 2048}, 1291 {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX780, "NVIDIA GeForce GTX 780", DRIVER_NVIDIA_GEFORCE8, 3072}, 1292 {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTX780TI, "NVIDIA GeForce GTX 780 Ti", DRIVER_NVIDIA_GEFORCE8, 3072}, 1293 {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTXTITAN, "NVIDIA GeForce GTX TITAN", DRIVER_NVIDIA_GEFORCE8, 6144}, 1294 {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTXTITANB, "NVIDIA GeForce GTX TITAN Black", DRIVER_NVIDIA_GEFORCE8, 6144}, 1295 {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTXTITANX, "NVIDIA GeForce GTX TITAN X", DRIVER_NVIDIA_GEFORCE8, 12288}, 1296 {HW_VENDOR_NVIDIA, CARD_NVIDIA_GEFORCE_GTXTITANZ, "NVIDIA GeForce GTX TITAN Z", DRIVER_NVIDIA_GEFORCE8, 12288},
https://bugs.winehq.org/show_bug.cgi?id=35847
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |84c63435b4370af16908b0c6a89 | |c6b5fa56fe170 Status|UNCONFIRMED |RESOLVED
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com --- The subject of this bug could be extended forever as new cards are developed all the time. So in order to not keep a meta bug open I'm resolving this as fixed now.
https://bugs.winehq.org/show_bug.cgi?id=35847
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.13.