Giter Site home page Giter Site logo

Comments (21)

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024
  1. Recording fps or net needs to be run as administrator.
  2. precord will take the value of the gpu with the highest usage, which is consistent with the task manager of windows, e.g. process A uses 10% of GPU0, 20% of GPU1, and the final value is 20%
  3. All cpus and gpus
  4. All cpus and gpus

from precord.

LRF520 avatar LRF520 commented on July 3, 2024
  1. Recording fps or net needs to be run as administrator.
  2. precord will take the value of the gpu with the highest usage, which is consistent with the task manager of windows, e.g. process A uses 10% of GPU0, 20% of GPU1, and the final value is 20%
  3. All cpus and gpus
  4. All cpus and gpus
  1. I had recorded fps or net as administrator,but also many error messages appear in the CMD window,i think the precord of windows is not very stable and may need to be optimized.
  2. I think it is necessary to list the usage data of each GPU separately, because each GPU has its own value. Complex scenarios need to refer to the usage of each GPU. Moreover, each GPU has its own independent memory data, which is a unique feature of GPU and is obviously different from CPU. It is also important to add the monitoring function of GPU memory data, because GPU can also have fatal problems of memory overflow.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

I had recorded fps or net as administrator,but also many error messages appear in the CMD window,i think the precord of windows is not very stable and may need to be optimized.

Please provide your operating system version and operating procedure, I will try to reproduce the problem.

I think it is necessary to list the usage data of each GPU separately, because each GPU has its own value. Complex scenarios need to refer to the usage of each GPU. Moreover, each GPU has its own independent memory data, which is a unique feature of GPU and is obviously different from CPU. It is also important to add the monitoring function of GPU memory data, because GPU can also have fatal problems of memory overflow.

I understand what you mean, but this is not the goal of precord, you need more professional analysis tools.

from precord.

LRF520 avatar LRF520 commented on July 3, 2024

I had recorded fps or net as administrator,but also many error messages appear in the CMD window,i think the precord of windows is not very stable and may need to be optimized.

Please provide your operating system version and operating procedure, I will try to reproduce the problem.

I think it is necessary to list the usage data of each GPU separately, because each GPU has its own value. Complex scenarios need to refer to the usage of each GPU. Moreover, each GPU has its own independent memory data, which is a unique feature of GPU and is obviously different from CPU. It is also important to add the monitoring function of GPU memory data, because GPU can also have fatal problems of memory overflow.

I understand what you mean, but this is not the goal of precord, you need more professional analysis tools.

This problem often occurs when I execute Python commands in the CMD window and run the commands for a long time. However, I have tried two win10 systems, and this error will occur, so I think it may not have much to do with the win10 version.
This error does not appear on MacOS.

20220907_140512

20220907_140550

image

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

The problem is caused by upstream dependencies.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

Please try version v0.5.12-etw-fix~

from precord.

LRF520 avatar LRF520 commented on July 3, 2024

Please try version v0.5.12-etw-fix~

Still have to work hard~~~

image

image

thread 'main' panicked at 'No such process(288)', src\types.rs:16:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'main' panicked at 'No such process(18784)', src\types.rs:16:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'main' panicked at 'No such process(15572)', src\types.rs:16:14
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread '' panicked at 'called Option::unwrap() on a None value', C:\Users\runneradmin.cargo\registry\src\github.com-1ecc6299db9ec823\ferrisetw-0.1.1\src\schema.rs:110:54

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

How did you run precord, from the command line or python?

from precord.

LRF520 avatar LRF520 commented on July 3, 2024

How did you run precord, from the command line or python?

Run python file on cmd window for a long time:

20220907_140512

20220907_140550

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

I will try to run this script next week, I don't have windows at the moment, thanks for your feedback~ 👍

from precord.

LRF520 avatar LRF520 commented on July 3, 2024

I will try to run this script next week, I don't have windows at the moment, thanks for your feedback~ 👍

It is easier to use "--name - Name of processes" to reproduce this problem. I think it is caused by the appearance or disappearance of the temporary process PID in the process name.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

Please try version v0.6.0, I executed your script for 20 minutes without exception.

from precord.

LRF520 avatar LRF520 commented on July 3, 2024

Please try version v0.6.0, I executed your script for 20 minutes without exception.

I have used version 0.6.0~~~

This is what I did:

Run the python script in the CMD window, monitor a browser name repeatedly, and then I keep opening many browser pages, and then I keep closing all browser pages. I do it for so many times,this error will occur !

image

image

image

image

import os

while True:
print(os.popen(r"C:\Users\EDZ\Desktop\Precord\precord.exe --name 360chrome.exe -c fps -n 1").read())

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

When you end a recording, you need to sleep for a while and let the operating system recycle the counter.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

Maybe we can solve this by creating a new random counter each time, but I'm not sure if that's the right thing to do.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

Here is my script:

import os

print(os.popen(r".\precord.exe --name chrome -c fps --time 20m").read())

from precord.

LRF520 avatar LRF520 commented on July 3, 2024

Here is my script:

import os

print(os.popen(r".\precord.exe --name chrome -c fps --time 20m").read())

According to long-term observation, in fact, I think this error will not affect real data collection. It may only be caused by precord's exception handling mechanism, but ordinary people can't understand this error prompt.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

According to long-term observation, in fact, I think this error will not affect real data collection. It may only be caused by precord's exception handling mechanism, but ordinary people can't understand this error prompt.

We can't handle this exception, it's caused by n4r1b/ferrisetw#26.

from precord.

LRF520 avatar LRF520 commented on July 3, 2024

According to long-term observation, in fact, I think this error will not affect real data collection. It may only be caused by precord's exception handling mechanism, but ordinary people can't understand this error prompt.

We can't handle this exception, it's caused by n4r1b/ferrisetw#26.

By this time, I can no longer evaluate the impact of this error. I think if it does not affect the continuous collection of data, we do not need to pay too much attention to it for the time being.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

This issue should be fixed by 2b85f3d.

from precord.

xiaopengli89 avatar xiaopengli89 commented on July 3, 2024

Fixed by v0.7.4.

from precord.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.