Resource icon

GearLock-Extension " intel_gpu_top " for Android-x86 1.0

Mol7ekma

New member
VC
2
Thank you bro need extention to chabge display resolution of game to 1080 in pheonix ...
Post automatically merged:

Thank you bro need extention to chabge display resolution of game to 1080 in pheonix ...
Resolution in game bro..
 

Xtr

Active member
MrMiy4mo submitted a new resource:

" intel_gpu_top " for Android-x86 - This is a CLI tool for looking GPU load of intel iGPU

Hi, this is a small tool to get GPU usage infromation through terminal.
I believe it should work with any intel iGPU.

To use it you need to go Gearlock>Extensions>intel_gpu_top
(Note: Running it under gearlock may increase gpu load, you should prefer tty terminal or adb over network.)

To make this extension, i took binary files from EndeavourOS (libraries and ELF executable)

Thanks to @Xtr for pointing me about required Library files :)

Here are few screenshots...

View the full version of this resource...
You mention that we should run it in a tty, but when you switch to tty GPU wont render, so GPU usage decrease, running it in the GUI should provide accurate results. I install adb on my phone with termux https://github.com/rendiix/termux-adb-fastboot and run htop /intel_gpu_top on phone to monitor.
 
Probably i can do nothing about it, but i have few questions;

So it works with any other way?
What kernel did you use?
And what are specs of your pc?
1 - I tried with termux didn't work .. Just got crush
2- I was using 4.19.7 then reinstalled 4.14.15 back ..but nothing
3- core i5-7200u 3.10Ghz boost and intel HD 620 and 8Gb ddr4 ram
Post automatically merged:

Then run it in VT with alt+f8, type g and enter.
Same .. as soon as I run it it exits the vt and tells me Alt+f7 to return UI
Post automatically merged:

From the screenshots I am supposing when I run it the gearlock app closes and a new windows should appeares with the details and options right?
1 - I tried with termux didn't work .. Just got crush
2- I was using 4.19.7 then reinstalled 4.14.15 back ..but nothing
3- core i5-7200u 3.10Ghz boost and intel HD 620 and 8Gb ddr4 ram
Post automatically merged:


Same .. as soon as I run it it exits the vt and tells me Alt+f7 to return UI
From the screenshots I am supposing when I run it the gearlock app closes and a new windows should appeares with the details and options right?
 
Last edited:

Xtr

Active member
@Drifter the drifed

I guess there are some limitations for this tool

It might works with newer kernel and mesa.
Since Mesa 21 there is gallium crocus driver, i dont know if intel_gpu_top works with that.
What kind of limitations? I would like to know. It even runs in sandy bridge era intel iGPUs (10 year old )
Yes it might work with a different kernel, what it does is read performance counters of the GPU, i965/ crocus / iris does not matter at all, only i915 kernel driver.
His iGPU doesnt use crocus, it uses iris by default in mesa 21 (same as your GPU)
 

MrMiy4mo

Active member
What kind of limitations? I would like to know. It even runs in sandy bridge era intel iGPUs (10 year old )
Yes it might work with a different kernel, what it does is read performance counters of the GPU, i965/ crocus / iris does not matter at all, only i915 kernel driver.
His iGPU doesnt use crocus, it uses iris by default in mesa 21 (same as your GPU)
I don't know, I don't have a device I can access 7/24 other than my laptop.
I dont know when it work and when it not, I meant to state that by saying "I guess" and "It might".
 
  • Like
Reactions: Xtr

Xtr

Active member
It worked after I installed 5.4.40 kernel
The libraries and intel_gpu_top binary were taken from a rolling release linux distro that uses latest kernel and it doesnt run against the system libs. Id suggest to recompile this with the native development kit for android (NDK) for androids bionic lib from here then it will work in older kernel https://github.com/mkuoppal/intel-gpu-tools/blob/master/tools/intel_gpu_top.c . More over you can easily convert this to native android app and make GPU usage show in overlay, using Java native interface. Or if you have no time I can do.
 

MrMiy4mo

Active member
The libraries and intel_gpu_top binary were taken from a rolling release linux distro that uses latest kernel and it doesnt run against the system libs. Id suggest to recompile this with the native development kit for android (NDK) for androids bionic lib from here then it will work in older kernel https://github.com/mkuoppal/intel-gpu-tools/blob/master/tools/intel_gpu_top.c . More over you can easily convert this to native android app and make GPU usage show in overlay, using Java native interface. Or if you have no time I can do.
I have time, but I don't have the knowledge to move forward on my own. I can experience through a noob friendly tutorial. You can do it aswell, i leave options to you.
 

TakuruKagami

Active member
I have time, but I don't have the knowledge to move forward on my own. I can experience through a noob friendly tutorial. You can do it aswell, i leave options to you.
I also still don't understand a lot of things so honestly I also want to ask for help with his knowledge.
 
I became using the old kernel version like 4.14.15 n 4.13.5 because when I use any browser watching YouTube to get 1080p I need to change the browser mode to Desktop mode but with newer kernel from 4.19.27 and higher browser crushes as soon as change the mode to desktop mode ..

What's the problem ? I think some lib was changed or deleted in the newer version or kernels
 

Get Connected

Discord Server

New Threads

Top