http://bugs.winehq.org/show_bug.cgi?id=34686
Bug #: 34686 Summary: Neverwinter Nights 2 fails on startup, claiming: "Unable to detect a video card with hardware 3D acceleration." Product: Wine Version: 1.7.3 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net CC: wine-bugs@winehq.org Classification: Unclassified
Hello folks,
continuation of bug 23839
Message box text now: "Unable to detect a video card with hardware 3D acceleration. Neverwinter Nights 2 requires a video card that supports then please make sure that it's enabled."
There are still some property "holes" to be filled until reaching "bxxAccelerationEnabled" properties.
Add the following ones respecting required datatypes (bool/long/integer).
Hint: you need new helper for long -> VT_I4
--- snip --- "szDisplayModeLocalized" "szDisplayModeEnglish"
"szMonitorName" "szMonitorMaxRes"
"szDriverAttributes" "szDriverLanguageEnglish" "szDriverLanguageLocalized" "szDriverDateEnglish" "szDriverDateLocalized"
"lDriverSize" "szMiniVdd" "szMiniVddDateLocalized" "szMiniVddDateEnglish" "lMiniVddSize" "szVdd"
"bCanRenderWindow" "bDriverBeta" "bDriverDebug" "bDriverSigned" "bDriverSignedValid"
"szDriverSignDate"
"dwDDIVersion" "szDDIVersionEnglish" "szDDIVersionLocalized"
"iAdapter"
"dwWHQLLevel"
"bNoHardware" "bDDAccelerationEnabled" "b3DAccelerationExists" "b3DAccelerationEnabled" --- snip ---
bNoHardware = false bDDAccelerationEnabled = true b3DAccelerationExists = true b3DAccelerationEnabled = true
This allows Neverwinter Nights 2 to start with Wine builtin dxdiagn and probably helps various other games that currently require the native version ;-)
You can find countless dumps of those properties in various Internet forums if you need better default values...
Example: http://forums.civfanatics.com/archive/index.php/t-489255.html
--- snip --- szDeviceName = \.\DISPLAY1 szDescription = NVIDIA GeForce GTX 660 szKeyDeviceID = Enum\PCI\VEN_10DE&DEV_11C0&SUBSYS_26603842&REV_A1 szKeyDeviceKey = \Registry\Machine\System\CurrentControlSet\Control \Video{8DCBA04D-953B-4323-B093-1BA7542C8C57}\0000 szManufacturer = NVIDIA szChipType = GeForce GTX 660 szDACType = Integrated RAMDAC szRevision = Failed to get parameter szDisplayMemoryLocalized = 4034 MB szDisplayMemoryEnglish = 4034 MB szDisplayModeLocalized = 1920 x 1080 (32 bit) (60Hz) szDisplayModeEnglish = 1920 x 1080 (32 bit) (60Hz) szOverlayEnglish = Supported szDXVAHDEnglish = Supported dwWidth = 1920 dwHeight = 1080 dwBpp = 32 dwRefreshRate = 60 szMonitorName = Generic PnP Monitor szMonitorMaxRes = Failed to get parameter szDriverName = nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,n vwgf2um,nvwgf2um szDriverAssemblyVersion = 9.18.13.1407 szDriverVersion = 9.18.0013.1407 szDriverAttributes = Final Retail szDriverLanguageEnglish = English szDriverLanguageLocalized = English szDriverDateEnglish = 2/9/2013 21:25:27 szDriverDateLocalized = 2/9/2013 9:25:27 PM lDriverSize = 17987192 szMiniVdd = n/a szMiniVddDateLocalized = n/a szMiniVddDateEnglish = n/a lMiniVddSize = 0 szVdd = n/a szDriverModelEnglish = WDDM 1.2 szDriverModelLocalized = WDDM 1.2 szDriverNodeStrongName = oem12.inf:0f066de34ffc3860:Section063:9.18.13.1407 :pci\ven_10de&dev_11c0 szRankOfInstalledDriver = 00E02001 bCanRenderWindow = true bDriverBeta = false bDriverDebug = false bDriverSigned = false bDriverSignedValid = false szDeviceIdentifier = {D7B71E3E-5280-11CF-8D5E-6D061CC2C435} szDriverSignDate = Failed to get parameter dwDDIVersion = 11 szDDIVersionEnglish = 11 szDDIVersionLocalized = 11 iAdapter = 0 szVendorId = 0x10DE szDeviceId = 0x11C0 szSubSysId = 0x26603842 szRevisionId = 0x00A1 dwWHQLLevel = 0 bNoHardware = false bDDAccelerationEnabled = true b3DAccelerationExists = true b3DAccelerationEnabled = true bAGPEnabled = true bAGPExists = true bAGPExistenceValid = true szDXVAModes = ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C szDDStatusLocalized = Enabled szDDStatusEnglish = Enabled szD3DStatusLocalized = Enabled szD3DStatusEnglish = Enabled szAGPStatusLocalized = Enabled szAGPStatusEnglish = Enabled szNotesLocalized = No problems found.
szNotesEnglish = No problems found.
szRegHelpText = Failed to get parameter szTestResultDDLocalized = Not run szTestResultDDEnglish = Not run szTestResultD3D7Localized = Not run szTestResultD3D7English = Not run szTestResultD3D8Localized = Not run szTestResultD3D8English = Not run szTestResultD3D9Localized = Not run szTestResultD3D9English = Not run --- snip ---
It seems "n/a" and "Failed to get parameter" might be candidates for default values.
$ wine --version wine-1.7.3-313-gf46137f
Regards
http://bugs.winehq.org/show_bug.cgi?id=34686
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34686
Xavier Vachon xvachon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xvachon@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34686
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Neverwinter Nights 2 fails |Neverwinter Nights 2 |on startup, claiming: |(GOG.com) fails on startup, |"Unable to detect a video |claiming: "Unable to detect |card with hardware 3D |a video card with hardware |acceleration." |3D acceleration."
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
although bug 11114 is fixed now, the property "holes" are still present.
--- snip --- $ WINEDEBUG=+tid,+dxdiag,+msgbox wine ./NWN2Launcher.exe ... 0039:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer (0x1e6e08, L"DxDiag_DisplayDevices", 0x33e9b8) 0039:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer Trying to get container L"DxDiag_DisplayDevices" 0039:trace:dxdiag:DXDiag_CreateDXDiagContainer ({7d0f462f-4064-4862-bc7f-933e5058c10f}, 0x33e9b8) 0039:trace:dxdiag:IDxDiagProviderImpl_AddRef (0x1d4348)->(ref before=2) 0039:trace:dxdiag:IDxDiagContainerImpl_AddRef (0x1ef4d0)->(ref before=0) 0039:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer Succeeded in getting the container instance 0039:trace:dxdiag:IDxDiagContainerImpl_GetNumberOfChildContainers (0x1ef4d0) 0039:trace:dxdiag:IDxDiagContainerImpl_EnumChildContainerNames (0x1ef4d0, 0, 0x33e9d0, 256) 0039:trace:dxdiag:IDxDiagContainerImpl_EnumChildContainerNames Found container name L"0", copying string 0039:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer (0x1ef4d0, L"0", 0x33e9b4) 0039:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer Trying to get container L"0" 0039:trace:dxdiag:DXDiag_CreateDXDiagContainer ({7d0f462f-4064-4862-bc7f-933e5058c10f}, 0x33e9b4) 0039:trace:dxdiag:IDxDiagProviderImpl_AddRef (0x1d4348)->(ref before=3) 0039:trace:dxdiag:IDxDiagContainerImpl_AddRef (0x1f75b8)->(ref before=0) 0039:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer Succeeded in getting the container instance 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szDeviceName", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szDescription", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szKeyDeviceID", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szKeyDeviceKey", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szManufacturer", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szChipType", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szDACType", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szRevision", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szDisplayMemoryLocalized", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szDisplayMemoryEnglish", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_GetProp (0x1f75b8, L"szDisplayModeLocalized", 0x33e980) 0039:trace:dxdiag:IDxDiagContainerImpl_Release (0x1f75b8)->(ref before=1) 0039:trace:dxdiag:IDxDiagProviderImpl_Release (0x1d4348)->(ref before=4) 0039:trace:dxdiag:IDxDiagContainerImpl_Release (0x1ef4d0)->(ref before=1) 0039:trace:dxdiag:IDxDiagProviderImpl_Release (0x1d4348)->(ref before=3) 0039:trace:dxdiag:IDxDiagContainerImpl_GetChildContainer (0x1e6e08, L"DxDiag_DirectSound.DxDiag_SoundDevices", 0x33e9b4) ... 0039:trace:msgbox:MSGBOX_OnInit L"Unable to detect a video card with hardware 3D acceleration.\nNeverwinter Nights 2 requires a video card that supports\nthen please make sure that it's enabled." --- snip ---
$ wine --version wine-1.7.15-67-g99c151a
Regards
http://bugs.winehq.org/show_bug.cgi?id=34686
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=34686
farmboy0+winehq@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |farmboy0+winehq@googlemail. | |com
https://bugs.winehq.org/show_bug.cgi?id=34686
nando.sm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nando.sm@gmail.com
--- Comment #2 from nando.sm@gmail.com --- This bug also affects Galactic Civilization 2.
https://bugs.winehq.org/show_bug.cgi?id=34686
paulo i30817@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |i30817@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=34686
--- Comment #3 from paulo i30817@gmail.com --- This problem is still occurring in wine 1.7.32, one year after being identified. I'm not complaining... but i guess i am.
https://bugs.winehq.org/show_bug.cgi?id=34686
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=34686
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 50798 --> https://bugs.winehq.org/attachment.cgi?id=50798 +dxdiag,+tid,+msgbox (Elemental: Fallen Enchantress)
Elemental: Fallen Enchantress is another game from Stardock that needs native dxdiagn.dll to start otherwise the game is popping up warning messages about incorrect screen resolution, color depth and the lack of Directx acceleration.
wine-1.7.36-155-g5cd0457
https://bugs.winehq.org/show_bug.cgi?id=34686
b.barwich@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b.barwich@hotmail.com
--- Comment #5 from b.barwich@hotmail.com --- Created attachment 50973 --> https://bugs.winehq.org/attachment.cgi?id=50973 WINEDEBUG=+tid,+dxdiag,+msgbox,+devenum wine ./nwn2main.exe
nwn2main.exe with debug trace of dxdiag and devenum
https://bugs.winehq.org/show_bug.cgi?id=34686
--- Comment #6 from b.barwich@hotmail.com --- $ rpm -qi wine Name : wine Version : 1.7.21
the issue still persists although native dxdiagn.dll and devnum.dll are present.
https://bugs.winehq.org/show_bug.cgi?id=34686
--- Comment #7 from b.barwich@hotmail.com --- I changed the Configuration of wine for dxdiag and devenum to "native only" and copied a downloaded dxdiag.dll and devenum.dll into the Game Folder. Now it works.
But I actually like the WINEDEBUG Parameter because it helps folks to contribute to the development with live data.
https://bugs.winehq.org/show_bug.cgi?id=34686
mrdeathjr28@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28@yahoo.es
--- Comment #8 from mrdeathjr28@yahoo.es --- In my case works
https://www.youtube.com/watch?v=il8EDEp7qAA
but is needed use __GL_ExtensionStringVersion=17700
https://bugs.winehq.org/show_bug.cgi?id=34686
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/dxdiagn-Displa | |y_Information
https://bugs.winehq.org/show_bug.cgi?id=34686
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=34686
Mathew Hodson mathew.hodson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mathew.hodson@gmail.com
--- Comment #9 from Mathew Hodson mathew.hodson@gmail.com --- Patch fro staging was committed.
https://source.winehq.org/git/wine.git/commit/3eee8b5594f7063e3c657ad79ec8ea...
https://bugs.winehq.org/show_bug.cgi?id=34686
Mathew Hodson mathew.hodson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|mathew.hodson@gmail.com |
https://bugs.winehq.org/show_bug.cgi?id=34686
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3eee8b5594f7063e3c657ad79ec | |8ea58386edf6a Resolution|--- |FIXED Status|STAGED |RESOLVED
--- Comment #10 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- https://source.winehq.org/git/wine.git/?a=commit;h=3eee8b5594f7063e3c657ad79...
https://bugs.winehq.org/show_bug.cgi?id=34686
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.10.