http://bugs.winehq.org/show_bug.cgi?id=36031
Bug ID: 36031 Summary: 9700M incorrectly detected as 9400 Product: Wine Version: 1.7.16 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: funkydude87@hotmail.co.uk
Running the Battle.net client and attempting to launch WoW. Using the nouveau drivers under 64bit Ubuntu 14.04 and getting a warning message:
OS: Windows XP x64 service pack 2 Card: Nvidia Geforce 9400 GT
It is a warning that my system is below the minimum recommendations. When launching the game, certain graphical features are disabled that are otherwise enabled under Windows.
This is a laptop with a Geforce 9700M GT, it thinks I'm running a 9400 desktop card. It also thinks I'm running XP SP2, not sure if that's correct or should be SP3.
lspci result of my card in linux: 01:00.0 VGA compatible controller: NVIDIA Corporation G96M [GeForce 9700M GT] (rev a1)
http://bugs.winehq.org/show_bug.cgi?id=36031
funkydude funkydude87@hotmail.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |funkydude87@hotmail.co.uk
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #1 from funkydude funkydude87@hotmail.co.uk --- Created attachment 48183 --> http://bugs.winehq.org/attachment.cgi?id=48183 lspci
lspci
https://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #2 from Henri Verbeet hverbeet@gmail.com --- That's essentially the same GPU, though probably clocked differently, etc. (See also http://nouveau.freedesktop.org/wiki/CodeNames/) Just to verify though, glxinfo does report that as "NV96", right?
I doubt the slight difference in the reported card is causing this issue though, it's more likely that the GL driver doesn't implement some feature that we need to implement some D3D feature, and WoW warns because of that. I.e., I think it's more likely that this is about the reported D3D device caps than about the name.
Common issues there are missing support for floating point textures or S3TC texture compression, although I can't say if that's the case in this specific instance. Does the application create any kind of log file with more detailed information about what it thinks is missing? If not, perhaps the first 1000 or so lines of a WINEDEBUG="+tid,+d3d" log could be helpful.
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #3 from funkydude funkydude87@hotmail.co.uk --- Some features say "unsupported for graphics related reasons", others say "requires a GPU with shader model 3 support".
I'll look into a winelog and check glxinfo.
Can't it be fixed to correctly recognize the card though?
https://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #4 from Henri Verbeet hverbeet@gmail.com --- (In reply to funkydude from comment #3)
Can't it be fixed to correctly recognize the card though?
Not easily. That's mostly because Nouveau doesn't distinguish between those cards, and we depend on it to get our information. Perhaps that GLX_MESA_query_renderer can help in the future by matching on PCI ID, but it will probably be a while before we support that, and even then it's not clear we really want to go there.
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #5 from funkydude funkydude87@hotmail.co.uk --- So this isn't just a matter of a modification like this ticket? http://bugs.winehq.org/show_bug.cgi?id=35486
Browsing directx.c I don't see any mention of an nvidia 9700, as if it's missing.
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #6 from funkydude funkydude87@hotmail.co.uk --- I'm also confused how this could be an issue with nouveau providing you the wrong info but I can see it identified correctly in Linux itself using nouveau... but I am a total noob at these things. :)
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #7 from funkydude funkydude87@hotmail.co.uk --- How I wish I could edit comments... :P
It doesn't appear that the id "064a" (I think that's the ID from lspci) is listed in wined3d_private.h
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #8 from funkydude funkydude87@hotmail.co.uk --- Can it be added?
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #9 from funkydude funkydude87@hotmail.co.uk --- Bump.
http://bugs.winehq.org/show_bug.cgi?id=36031
funkydude funkydude87@hotmail.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.7.16 |1.7.19
--- Comment #10 from funkydude funkydude87@hotmail.co.uk --- Still an issue. Am I wrong assuming it can just be added to the list of IDs like other card have been?
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #11 from funkydude funkydude87@hotmail.co.uk --- Bump.
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #12 from Henri Verbeet hverbeet@gmail.com --- (In reply to funkydude from comment #10)
Still an issue. Am I wrong assuming it can just be added to the list of IDs like other card have been?
I'm afraid so. I'm not sure what else to reply, beyond repeating comment 4.
But card detecting aside, I think that the issue you're really trying to solve is some features being disabled in the game, and it's likely to be an unrelated issue. Perhaps a WINEDEBUG="+seh,+tid,+d3d" log will contain some helpful information.
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #13 from funkydude funkydude87@hotmail.co.uk --- Where does one place that variable to enable that enhanced logging?
http://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #14 from Henri Verbeet hverbeet@gmail.com --- At the start of the command line. So e.g.:
WINEDEBUG="+seh,+tid,+d3d" wine Wow.exe >> trace.log 2>&1
The resulting log file may be large, so you'll probably want to compress it with e.g. xz before attaching it here.
https://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #15 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=36031
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #16 from super_man@post.com --- (In reply to Henri Verbeet from comment #4)
(In reply to funkydude from comment #3)
Can't it be fixed to correctly recognize the card though?
Not easily. That's mostly because Nouveau doesn't distinguish between those cards, and we depend on it to get our information. Perhaps that GLX_MESA_query_renderer can help in the future by matching on PCI ID, but it will probably be a while before we support that, and even then it's not clear we really want to go there.
There should be better support now. Its just that OP isnt too responsive.
https://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #17 from funkydude funkydude87@hotmail.co.uk --- Active? I reported this 2 years ago. If it has finally been resolved, that's great. I don't have access to this laptop any more, so you're free to close it if you wish.
https://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #18 from super_man@post.com --- Patch towards this bug was committed.
https://bugs.winehq.org/show_bug.cgi?id=36031
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|9700M incorrectly detected |GeForce 9700M incorrectly |as 9400 |detected as 9400
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to super_man from comment #18)
Patch towards this bug was committed.
After reading all bug I'm not sure http://source.winehq.org/git/wine.git/?a=commit;h=5f4c496480d2b07711e37185de... really fixes this or not. But I will let someone else decide. Since OP didn't answer comment 14 and no longer has the required hardware it could also be abandoned.
https://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #20 from Henri Verbeet hverbeet@gmail.com --- (In reply to Bruno Jesus from comment #19)
After reading all bug I'm not sure http://source.winehq.org/git/wine.git/?a=commit; h=5f4c496480d2b07711e37185de616b4d8304e4e5 really fixes this or not. But I will let someone else decide. Since OP didn't answer comment 14 and no longer has the required hardware it could also be abandoned.
It does, sort of. If you have a version of Mesa with GLX_MESA_query_renderer, and a GeForce 9700M with 10de:064a as PCI ID, it will match that entry in gpu_description_table[]. It won't help if you have a GeForce 9700M with a different PCI device ID. (Provided those exist.)
https://bugs.winehq.org/show_bug.cgi?id=36031
--- Comment #21 from funkydude funkydude87@hotmail.co.uk --- (In reply to Bruno Jesus from comment #19)
Since OP didn't answer comment 14 and no longer has the required hardware it could also be abandoned.
There was nothing to answer. It took 2 years for my original request to be serviced. I pointed out the problem in comment 7, then was told I was wrong, then 2 years later apparently I was right? :-)
The original warning WoW was printing was a hardcoded warning for detecting cards below the minimum spec. It was detecting the card as 9400, hence I requested that be resolved. It is highly unlikely any form of feature detection was actually taking place for displaying that warning.
The point is moot now. Even if the card is correctly detected now, I doubt that it will pass WoW's latest minimum specs heh.
https://bugs.winehq.org/show_bug.cgi?id=36031
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5f4c496480d2b07711e37185de6 | |16b4d8304e4e5 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #22 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to funkydude from comment #21)
(In reply to Bruno Jesus from comment #19)
Since OP didn't answer comment 14 and no longer has the required hardware it could also be abandoned.
There was nothing to answer.
Henri asked for a log in comment 12, you didn't know how to do in comment 13, he explained in comment 14, you did not reply to that, this is what I'm talking about. But this is just an unfruitful discussion, better resolve as fixed as other bugs related to detecting cards.
https://bugs.winehq.org/show_bug.cgi?id=36031
Kim Malmo berencamlost@msn.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |berencamlost@msn.com
--- Comment #23 from Kim Malmo berencamlost@msn.com --- (In reply to Bruno Jesus from comment #19)
(In reply to super_man from comment #18)
Patch towards this bug was committed.
After reading all bug I'm not sure http://source.winehq.org/git/wine.git/?a=commit; h=5f4c496480d2b07711e37185de616b4d8304e4e5 really fixes this or not. But I will let someone else decide. Since OP didn't answer comment 14 and no longer has the required hardware it could also be abandoned.
For what it's worth, with both Mesa 11.1.2 and Nvidia 340.93 drivers (tried separately) the 9700M is now correctly detected with this commit.
It won't solve the underlying issue with the reported missing features. What comes to mind is that WoW has both a DX and a GL renderer, or at least it used to have. There could be feature differences between these.
While I could try WoW through Wine, I have no way of comparing it with Windows. I can do some testing however.
https://bugs.winehq.org/show_bug.cgi?id=36031
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=36031
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.9.
https://bugs.winehq.org/show_bug.cgi?id=36031
funkydude funkydude87@hotmail.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|funkydude87@hotmail.co.uk |
https://bugs.winehq.org/show_bug.cgi?id=36031
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #25 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.3.