We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I am trying to run the lwi_me.py script in the console with the 'python3 lwi_me.py --lwi-api=vulkan' line inside the helpers directory(python 3.10 installed) and also, as it seems I can capture in the streamline alone and without running the script that exits with an error code.
What do I get when I run the python script in the console ->
Searching for devices:found - my device - check
Select a device: Auto-selected - my device - check
Searching for debuggable packages: 1 debuggable package found - my app - check
Select a debuggable package: Auto-selected - my app - check
Searching for a Mali GPU: Mali-G52 GPU found - my device's GPU - check
Configuring LWI--lwi-vk-layer-lib-path not specified, assuming C:\Program Files\Arm\Arm Mobile Studio 2022.0\performance_advisor\lwi\helpers\..\target\android\arm\64-bit\libVkLayerLWI.so
Enabling Vulkan debug layer........
and then, I get these errors:
Traceback (most recent call last): File "C:\Program Files\Arm\Arm Mobile Studio 2022.0\performance_advisor\lwi\helpers\lwi_me.py", line 696, in <module> sys.exit(main()) File "C:\Program Files\Arm\Arm Mobile Studio 2022.0\performance_advisor\lwi\helpers\lwi_me.py", line 641, in main enable_vulkan_debug_layer(device, args, vkLayerLibPath) File "C:\Program Files\Arm\Arm Mobile Studio 2022.0\performance_advisor\lwi\helpers\lwi_me.py", line 227, in enable_vulkan_debug_layer device.adb("shell", "settings", "put", "global", "enable_gpu_debug_layers", "1") File "C:\Program Files\Arm\Arm Mobile Studio 2022.0\performance_advisor\lwi\helpers\gator_me.py", line 265, in adb rep = sp.run(commands, check=True, shell=shell, stdout=sp.PIPE, File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args,subprocess.CalledProcessError: Command '['adb', '-s', '0580d7220405', 'shell', 'settings', 'put', 'global', 'enable_gpu_debug_layers', '1']' returned non-zero exit status 255.
Any ideas / known issue / happened to anyone else before?
I would love to know. Thanks in advance.