Comments (14)
Can any one guide how to run the tests on android devices?
from vulkan_test_applications.
Are you trying to test GAPID? or just run individual sample applications?
from vulkan_test_applications.
I want to run each sample applications on device and check how the tests are performed. I want to develop tests for Vulkan API on ARM GPU and get it validated if all API's are working fine on it. If the above concept is working fine then we would like to look into this tool to enhance the GPU related test on Mediatek Platforms.
from vulkan_test_applications.
My purpose is to use this tool to leverage if GPU has some errors with this set of VULKAN API or not.
from vulkan_test_applications.
Or Atleast tell how to run individual applications
from vulkan_test_applications.
So once you have built, you can run
python ./tools/apk_runner apks/<name>.apk
from vulkan_test_applications.
cmake -GNinja D:\vulkan_test_applications -DBUILD_APKS=ON -DANDROID_SDK=C:\Users\mtk33092\AppData\Local\Android\Sdk
ninja
APK folders created --> Only Android studio project structure is created. Cannot find any .apk files. Is there something wrong with my build?
from vulkan_test_applications.
If the call to ninja succeded, then there should be a "apk" directory created that contains the apks.
Did ninja fail?
from vulkan_test_applications.
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'dummyapk'.
Could not resolve all artifacts for configuration ':classpath'.
Could not resolve com.android.tools.build:gradle:3.5.0.
Required by:
project :
> Could not resolve com.android.tools.build:gradle:3.5.0.
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
> Could not resolve com.android.tools.build:gradle:3.5.0.
> Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
> Could not resolve com.android.tools.build:gradle:3.5.0.
> Could not get resource 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
> Connect to localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
from vulkan_test_applications.
Tried deleting .gradle file. But still same error.
from vulkan_test_applications.
gradle files were corrupted. Now building apk's. I will update once done
from vulkan_test_applications.
HI,
None of apk's can be installed as it needs signed apk. What need to be modified so that we can get signed apk?
from vulkan_test_applications.
I can sign the apk using jarsinger. But when i run below command test do not run
D:\vulkan_test_applications\gapid_tests>D:\vulkan_test_applications\tools\gapit_test_framework.py --test-dir D:\vulkan_test_applications\gapid_tests\command_buffer_tests\BufferImageCopy_test --include BufferImageCopy_test.py
Searching BufferImageCopy_test.py for tests
Warning: Could not parse D:\vulkan_test_applications\gapid_tests\command_buffer_tests\BufferImageCopy_test\BufferImageCopy_test.py for testsLOL.
Running tests in C:\Users\mtk33092\AppData\Local\Temp\GAPID-2a5vxlvp
Total Tests Run: 0
Total Tests Passed: 0
mod = import(os.path.splitext(filename)[0]) --> Not able to load module
from vulkan_test_applications.
The applications should get signed by grade automatically with your debug key. As for running the tests. Unless you are trying to test gapid itself (https://github.com/google/gapid) that script won't help you. You have to install and run the apks manually.
from vulkan_test_applications.
Related Issues (12)
- Split out all of our delete nullptr tests into a single test HOT 1
- The parameter list to VulkanApplication is completely unwieldy. HOT 1
- Support for VkPhysicalDeviceProtectedMemoryFeatures should be properly queried before being used
- Transform Feedback HOT 2
- Cmake usage of `COPY_ONLY` not valid for `configure_file` i.e. `COPYONLY` is HOT 1
- Some sample applications do not exit cleanly
- you should try making some opensource projects with sycl as well HOT 1
- Could not resolve vkGetInstanceProcAddr on Linux HOT 1
- Gapid captures of `dispatch_indirect` replay non-deterministically
- `passthrough` sample destroys bound vertex buffers prematurely
- `async_compute` sample submit command buffer to a queue which didn't create the command buffer 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 vulkan_test_applications.