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>
http://bugs.winehq.org/show_bug.cgi?id=24022
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2010-08-15 23:58:26 --- Does installing msxml with winetricks help?
http://bugs.winehq.org/show_bug.cgi?id=24022
--- Comment #2 from Claudio Freire freireclaudio@yahoo.com.ar 2010-08-19 22:02:07 --- It did!
I had to install msxml4, and it seems to be working now.
(still, it means built-in msxml needs some love)
http://bugs.winehq.org/show_bug.cgi?id=24022
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|msxml3 |msxml4
http://bugs.winehq.org/show_bug.cgi?id=24022
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2010-08-29 14:53:01 CDT --- Attach +msxml log please, and file itself too if possible.
http://bugs.winehq.org/show_bug.cgi?id=24022
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2011-02-18 17:37:11 CST --- I downloaded this tool from Nvidia site, now I need steps to reproduce that. Running with '-v 2' shows:
--- Must specify shader type with 2 option. Error with '2' argument ---
What options should I use?
http://bugs.winehq.org/show_bug.cgi?id=24022
--- Comment #5 from Claudio Freire freireclaudio@yahoo.com.ar 2011-02-21 09:26:41 CST --- (In reply to comment #4)
I downloaded this tool from Nvidia site, now I need steps to reproduce that. Running with '-v 2' shows:
Must specify shader type with 2 option. Error with '2' argument
What options should I use?
The "-v 2" option means "verbose output", or at least that it meant in the last version of the tool I tried - nVidia has been changing the command line of the tool almost capriciously, not even keeping the documentation in sync.
In any case, running the tool without any arguments should output the help message if it ran OK, and the error I posted on the initial comment if it didn't.
When I get a chance, I'll post the command line I normally use with the tool (which works fine after installing msxml4 with winetricks btw).
http://bugs.winehq.org/show_bug.cgi?id=24022
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |ftp://download.nvidia.com/d | |eveloper/Tools/NVShaderPerf | |/
http://bugs.winehq.org/show_bug.cgi?id=24022
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2012-06-17 15:00:58 CDT --- I sent a patch that fixes it http://www.winehq.org/pipermail/wine-patches/2012-June/115218.html
http://bugs.winehq.org/show_bug.cgi?id=24022
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7cbd9dcdc31e7d2febcb562f96a | |e2aa6d8960bf7 Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2012-06-18 22:12:58 CDT --- Fixed with 7cbd9dcdc31e7d2febcb562f96ae2aa6d8960bf7.
http://bugs.winehq.org/show_bug.cgi?id=24022
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-06-22 13:31:30 CDT --- Closing bugs fixed in 1.5.7.