[Bug 23839] Neverwinter Nights 2 can't detect video adapter properly, claiming: "Your video card has less than 128 MB of video memory"

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 4 15:57:58 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=23839

--- Comment #26 from Anastasius Focht <focht at gmx.net> 2013-10-04 15:57:58 CDT ---
Hello Austin,

yes it's better, it gets rid of video memory error but the game still complains
about missing hardware acceleration support and exits.

Message box text with patch: "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."

You need to fill more holes to reach these "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.

Regards

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