http://bugs.winehq.org/show_bug.cgi?id=24022
Summary: NVShaderPerf fails to find plugins/performance modules (and therefore to start) Product: Wine Version: 1.3.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: freireclaudio@yahoo.com.ar
NVShaderPerf is an NVidia tool that runs on the console, and that is sadly available only on Windows.
I've successfully used nvdxt (another, similar tool by nVidia) with wine 1.3.0, and it runs perfectly fine.
But NVShaderPerf seems to require XML parsing in a way wine does not support (or at least that seems to be the case according to console output).
Installation goes without a hitch, and after defining a comfy alias on my .bashrc, I get the following attempting to even show the help:
username@host:~> nvshaderperf -v 2 fixme:msxml:internal_putProperty (0x145778)->(L"http://xml.org/sax/properties/lexical-handler"): semi-stub fixme:msxml:saxxmlreader_QueryInterface interface {a60511c4-ccf5-479e-98a3-dc8dc545b7d0} not implemented fixme:msxml:saxxmlreader_QueryInterface interface {e15c1baf-afb3-4d60-8c36-19a8c45defed} not implemented No performance DLLs found, please reinstall No performance plugins found, please reinstall NVShaderPerf
I checked the plugins.xml, and it's utf-16 encoded with a BOM mark. If it's indeed an xml issue (something I can't confirm with the limited info I have at hand), it must be an encoding thing (either being utf-16 or having a BOM), because the xml's contents are rather simple:
<?xml version="1.0" encoding="UTF-16"?> <plugins> <!-- Performance analysis plugins --> <plugin progid="nvsys.NVPerf3X.1"/> <plugin progid="nvsys.NVVertPerf3X.1"/> <plugin progid="nvsys.NVPerf4X.1"/> <plugin progid="nvsys.NVVertPerf4X.1"/>
</plugins>