http://bugs.winehq.org/show_bug.cgi?id=20599
Summary: City of Heroes fails to detect Nvidia driver version Product: Wine Version: 1.1.32 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: mark.wagner17@gte.net
Run City of Heroes on a system with an Nvidia graphics card. The console output will contain the following:
Driver is old because NVIDIA version < 5216 CPU: 2394 Mhz / Memory: 2047 MBs / Video Card: Unknown / Video Driver DLL: UnknownVendor / Driver Version: UnknownVendor / Available Memory: 2047 MBs / OS Version: 5.1.2600 / Video Memory: Unknown
On the login screen, the game will complain about the Nvidia graphics drivers being too old. This occurs with both the 180.60 and 190.42 drivers.
http://bugs.winehq.org/show_bug.cgi?id=20599
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-07 10:47:37 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity Wine does not report real driver version to the app.
http://bugs.winehq.org/show_bug.cgi?id=20599
--- Comment #2 from Mark Wagner mark.wagner17@gte.net 2009-11-07 18:19:49 --- More information:
City of Heroes determines the video driver version by inspecting the driver .dll (for the current Nvidia drivers, this would be nv4_disp.dll in the Windows\System32 directory). It finds this file by inspecting the registry key HKLM\HARDWARE\DEVICEMAP\VIDEO for a string value named \Device\Video0. It then uses that value (on my system, "\Registry\Machine\System\CurrentControlSet\Control\Video{09848A9D-1AF4-42ED-9713-D4EFC8707D6E}\0000") as the path to a REG_MULTISZ value named "InstalledDisplayDrivers" that specifies the driver file without extension.
Providing a nv4_disp.dll file and the related registry entries eliminates the "driver version" warnings.
http://bugs.winehq.org/show_bug.cgi?id=20599
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-07 18:32:37 --- This is unfixable. Applications should use functions from DX/OpenGL to query information they need.
http://bugs.winehq.org/show_bug.cgi?id=20599
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-11-07 18:32:45 --- Closing.