Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PresentMon Initialization Error - PresentMon service stop on launching #327

Open
alfonslm opened this issue Jul 17, 2024 · 10 comments
Open

Comments

@alfonslm
Copy link

The PresentMon service stop whenever the application is started and I have tried to repair the installation with the .msi file.

I will assume that there is something with my system after I reinstalled it that causes some sort of issue.
DxDiag.txt

@markgalvan-intel
Copy link
Collaborator

Hello! I'm sorry to hear that the service is having issues. If you have some time would you be able to grab some logs from the service to help us debug the issue. Here is a link for instructions on enable logs in both PresentMonService and Intel PresentMon.

#223 (comment)

Thank you for you time!

@alfonslm
Copy link
Author

alfonslm commented Jul 18, 2024

Okay, either I have done something wrong or I got an unexpected result
image

image

Untitled.video.1.mp4

@alfonslm
Copy link
Author

alfonslm commented Jul 18, 2024

cef-debug.log

[0716/144059.676:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144059.925:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144100.062:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144135.107:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144135.264:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144135.405:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144158.442:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144158.645:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144158.777:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144301.618:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144301.796:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0716/144301.933:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0717/104431.231:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0717/104431.550:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0717/104431.701:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0717/105539.310:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0717/105539.441:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0717/105539.580:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/074319.825:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/074320.179:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/074729.576:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/074729.748:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/074729.905:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/075632.034:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/075632.268:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/075632.405:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/075654.765:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/075655.027:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0718/075655.177:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization

log.txt

[@Error] <renderer(18136):kernel(23216)> {2024-07-16 10:57:53.9299703 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(18136):kernel(23216)> {2024-07-16 10:57:53.9319246 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)

log-renderer-18136.txt

[@Error] <main-client(40772):28068> {2024-07-16 10:57:54.0575304 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(40772):28068> {2024-07-16 10:57:54.1783361 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(41636):kernel(41108)> {2024-07-16 14:41:00.4279387 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(41636):kernel(41108)> {2024-07-16 14:41:00.4291132 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [22]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(41636):cef-proc(41640)> {2024-07-16 14:41:00.4301402 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(41224):41280> {2024-07-16 14:41:00.5021751 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [22]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(41224):41280> {2024-07-16 14:41:00.5827980 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(41320):kernel(8216)> {2024-07-16 14:41:36.3879685 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(41320):kernel(8216)> {2024-07-16 14:41:36.3902403 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(41320):cef-proc(41352)> {2024-07-16 14:41:36.3919645 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(30568):15912> {2024-07-16 14:41:36.4753535 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(30568):15912> {2024-07-16 14:41:36.5421008 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(4932):kernel(41664)> {2024-07-16 14:41:59.7273885 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(4932):kernel(41664)> {2024-07-16 14:41:59.7297780 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(4932):cef-proc(33872)> {2024-07-16 14:41:59.7314536 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(33356):41676> {2024-07-16 14:41:59.7974711 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(33356):41676> {2024-07-16 14:41:59.8451908 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(37056):kernel(25652)> {2024-07-16 14:43:02.8857609 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(37056):kernel(25652)> {2024-07-16 14:43:02.8880483 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(37056):cef-proc(41964)> {2024-07-16 14:43:02.8898349 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(40728):36792> {2024-07-16 14:43:02.9747556 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(40728):36792> {2024-07-16 14:43:03.0345325 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(7988):kernel(5892)> {2024-07-17 10:44:32.7294165 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(7988):kernel(5892)> {2024-07-17 10:44:32.7318360 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(7988):cef-proc(8712)> {2024-07-17 10:44:32.7331094 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(9320):17232> {2024-07-17 10:44:32.8100869 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(9320):17232> {2024-07-17 10:44:32.8691060 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(10044):kernel(12240)> {2024-07-17 10:55:40.6866070 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(10044):kernel(12240)> {2024-07-17 10:55:40.6885731 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(10044):cef-proc(1972)> {2024-07-17 10:55:40.6901448 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(21668):2024> {2024-07-17 10:55:40.7826592 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(21668):2024> {2024-07-17 10:55:40.8424831 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(36380):kernel(11604)> {2024-07-18 07:43:20.5266932 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(36380):kernel(11604)> {2024-07-18 07:43:20.5281813 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [22]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(36380):cef-proc(4136)> {2024-07-18 07:43:20.5298214 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(33912):35808> {2024-07-18 07:43:20.6278526 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [22]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(33912):35808> {2024-07-18 07:43:20.7391272 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(19528):kernel(16816)> {2024-07-18 07:47:30.8835128 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(19528):kernel(16816)> {2024-07-18 07:47:30.8861442 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(19528):cef-proc(15900)> {2024-07-18 07:47:30.8876554 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(26400):36204> {2024-07-18 07:47:30.9576193 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(26400):36204> {2024-07-18 07:47:31.0193098 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(24548):kernel(16408)> {2024-07-18 07:56:33.3959568 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(24548):kernel(16408)> {2024-07-18 07:56:33.3977303 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(24548):cef-proc(33144)> {2024-07-18 07:56:33.3998647 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(36428):34168> {2024-07-18 07:56:33.4979546 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(36428):34168> {2024-07-18 07:56:33.5682298 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)
[@Error] <renderer(31292):kernel(34692)> {2024-07-18 07:56:56.1729866 CEST}
  Failed to init presentmon api
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(166)
[@Error] <renderer(31292):kernel(34692)> {2024-07-18 07:56:56.1755505 CEST}
  [class pmapi::ApiErrorException] error opening session | Unknown error code [25]
  >> at p2c::kern::Kernel::ThreadProcedure_ 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\Core\source\kernel\Kernel.cpp(221)
[@Error] <renderer(31292):cef-proc(35284)> {2024-07-18 07:56:56.1787881 CEST}
  Failed to resolve async invocation (not registered).
  >> at p2c::client::util::AsyncEndpointManager::ResolveInvocation 
     C:\Files\Repos\drivers.gpu.tools.presentmon\IntelPresentMon\AppCef\source\util\AsyncEndpointManager.cpp(110)
[@Error] <main-client(33604):27152> {2024-07-18 07:56:56.2723352 CEST}
  exception in App Created() hook: Async API endpoint [launchKernel] failed with exception [class pmapi::ApiErrorException]: error opening session | Unknown error code [25]
  >> at  
     https://app/js/app.js(1)
[@Error] <main-client(33604):27152> {2024-07-18 07:56:56.3577328 CEST}
  received presentmon init failed signal
  >> at  
     https://app/js/app.js(1)

@markgalvan-intel
Copy link
Collaborator

No, the reason why Intel PresentMon is displaying that message is because the service is crashing. It looks like logs were generated for Intel PresentMon so that's good. Can you also grab log generated by the service? From the video I can see it was enabled in the service properties and it should reside in c:\temp\PM2. Please let us know if the log is not present for the service.

@alfonslm
Copy link
Author

alfonslm commented Jul 18, 2024

Well, the folder in the background is the c: so the log didn't get generated there. That was the reason for the video since I felt like it's kinda hard to demonstrate with a screenshot. Sorry for the 480p but had to fit it within 10mb so..

@markgalvan-intel
Copy link
Collaborator

Ah. I see what's going on. The folder has to be present in order for the log to be generated. If you create the folder "c:\temp\PM2", then start the service as you did in the video, when the crash occurs the log should be generated.

@alfonslm
Copy link
Author

Should I report a bug where the log file don't get generated without any user readable error 🙃

(I'm currently away so will have to do that in about 4 to 16h)

@markgalvan-intel
Copy link
Collaborator

Interesting. We have never seen that before. When you have a chance please share the file. Curious what was generated.

@alfonslm
Copy link
Author

That seems to have been a lot of work for not that much help

pm-srv-info-20240719-215422.48720.log

Log file created at: 2024/07/19 21:54:22
Running on machine: DESKTOP-R53PRK4
Running duration (h:mm:ss): 0:00:00
Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg
I20240719 21:54:22.328909 43728 PMMainThread.cpp:284] Creating comms with NSM name: Global\pm2_bip_shm

cef-debug.log
log.txt
log-renderer-18136.txt
log-renderer-14640.txt

@markgalvan-intel
Copy link
Collaborator

Sorry for all of the trouble. This is actually very useful in our debug efforts as it let's us know where to start the investigation. We very much appreciate your time and effort and will hopefully have a fix soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants