http://bugs.winehq.org/show_bug.cgi?id=18403
Summary: NtPowerInformation Unimplemented Product: Wine Version: 1.1.21 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dyvazar@numericable.fr
hi,
i've installed last 1.1.21 wine version on ubuntu intrepid 32; got this error:
oem@Mubuntu:~$ wine regedit fixme:powrprof:DllMain (0x7e5d0000, 1, (nil)) not fully implemented fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16
http://bugs.winehq.org/show_bug.cgi?id=18403
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #1 from Anastasius Focht focht@gmx.net 2009-05-09 07:58:27 --- Hello,
you have .NET 2.0 Framework in your WINEPREFIX, right? Although that message generally harmless (FIXME's are not errors), it is sometimes really annoying (especially when debugging).
When an application installs assemblies into GAC, .NET's native image generator worker service is triggered to compile them to native executables. That usually leads to a flood of:
--- snip --- ... fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16 fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 16 ... --- snip ---
sometimes a long time after the initial install process exited (or on wineboot/restart due to queued work items from previous run)
The ngen service periodically queries all kinds of machine power classes along with other informational requests. Actually I'm not sure about the real purpose of querying all that info, it might be used to determine if the machine is in "idle" state. If the service determined the machine is in "idle" state it might carry out some deferred work to prevent "disturbance" at times when the user is active. On the other side it could be to detect situations when not to run any (cpu intensive) ngen jobs to enhance the run time when low on battery.
I've seen some semi-stub for that power information class a while ago on wine-patches.
MSDN:
http://msdn.microsoft.com/en-us/library/aa372675.aspx (CallNtPowerInformation)
http://msdn.microsoft.com/en-us/library/aa373208.aspx (SetThreadExecutionState)
The fasted way would be just to silence this noisy FIXME with a static variable along with "SystemExecutionState" class separated from other unimpl. classes (prevent hiding of other unimpl. class FIXME's).
Regards
http://bugs.winehq.org/show_bug.cgi?id=18403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #2 from Austin English austinenglish@gmail.com 2009-05-09 17:43:25 --- Fixme's are not bugs.
http://bugs.winehq.org/show_bug.cgi?id=18403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com 2009-05-09 17:44:33 --- Closing.
http://bugs.winehq.org/show_bug.cgi?id=18403
--- Comment #4 from Anastasius Focht focht@gmx.net 2009-05-10 04:02:31 --- Hello,
as said: harmless yes - but this FIXME is just annoying - like CoGetContextToken which was silenced. Especially true if you exclusively work on console, start typing and regularly get a flood with that kind of FIXME because the service is still busy in background.
Regards
http://bugs.winehq.org/show_bug.cgi?id=18403
--- Comment #5 from Austin English austinenglish@gmail.com 2009-05-10 17:35:07 --- (In reply to comment #4)
Hello,
as said: harmless yes - but this FIXME is just annoying - like CoGetContextToken which was silenced. Especially true if you exclusively work on console, start typing and regularly get a flood with that kind of FIXME because the service is still busy in background.
Regards
There's bug 15435 for noisy fixme's.
http://bugs.winehq.org/show_bug.cgi?id=18403
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #6 from Dan Kegel dank@kegel.com 2009-07-23 08:33:54 --- Doe http://www.winehq.org/pipermail/wine-cvs/2009-July/057868.html help?