Comments (4)
@charlie-ht thanks for reporting!
I'm afraid profiling is only available on supported Android devices, with currently the additional requirement of special preview GPU drivers available through the developer preview program (see https://gpuinspector.dev/). So AGI won't be able to profile on your laptop Intel GPU.
Now, I'm surprised that AGI even reports your Intel GPU as "Validation Passed", and that it offers the possibility to do a system profile. Did you get AGI to list your Intel GPU as a valid device for system profiling out of the box?
(That would be a bug, AGI is not supposed to report this GPU as a valid one for profiling).
from agi.
@charlie-ht Did you by any chance run a perfetto trace from the perfetto standalone sdk and then try this? AGI checks for a temp file (/tmp/perfetto-consumer) to see if a device supports system profiling. This file gets created when you run traced (either directly or by using the "tools/tmux" command from https://perfetto.dev/docs/quickstart/linux-tracing). If this is indeed the case, then traced is active only for the time you specified in the config while running the perfetto trace.
The gapis.log indicates that it cannot connect to traced, meaning traced is not alive.
In short, like @hevrard said, the main targets for system profiling are the supported Android devices. If you still want to test the desktop tracing, I'd suggest you start the traced and then try to take the trace with AGI.
from agi.
Thank you @hevrard & @silence-do-good, I did read about the supported Android devices, but thought I'd give it a try anyway on my laptop. I'd like an integrated profiling solution on Linux too, then I could modify some open-source driver to instrument it with trace calls to Perfetto. I think this is what happens in the Android GPU drivers inside libgpudataproducer.so
from my skiming of the codebase. Do you know of any work in this direction?
@silence-do-good You are absolutely correct! I verified that when I remove these stale files from previous experiments, AGI does not let me try and trace. Mystery solved. Let me know if you'd like any further information, but it sounds like you know what is the problem :-)
from agi.
Looks like there is nothing left to do here. To trace on desktop, it is (currently) the user's responsibility to run traced
and traced-probes
and ensure they are running properly before attempting to trace. These binaries are shipped as part of AGI, in the application's perfetto
folder.
from agi.
Related Issues (20)
- couldn't connect to my android
- Failed to validate the trace on Samsung Galaxy S22 Ultra
- Nothing phone (1) fails validation
- The application I want to capture is not in the list
- Does Frame profile only support Adreno Devie?
- AGI doesnt support OnePlus 2 Nord 5G HOT 1
- Any hope of supporting VR devices like the Quest? HOT 2
- No device connected that supports this trace type.
- 'NXArchInfo' is deprecated: first deprecated in macOS 13.0.
- AGI becomes too slow with large trace files (450MB for example)
- Arm Mali-G52
- Crash while opening trace of a Unity android application on samsung S10 (Vulkan) HOT 3
- Failed Validation on Galaxy S22 HOT 1
- No device can be found by AGI and GAPIS, but they are detected by adb
- FAiledTraceValidation Error on Galaxy S20+ device HOT 1
- my mobile is S20U,but Connection error occurred
- where can i find the ersDataProducer.cpp
- Failed to validate the trace of sample application with the Adreno validator HOT 1
- Mali GPU Performance Counter Monitoring
- AGI + VVL doesn't work on vulkan 1.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agi.