Jump to content
HWBOT Community Forums

[beta] HWBOT Prime - x86 / ARM / Windows / Linux / Mac bench


Recommended Posts

  • Replies 214
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...

Bug 1 is related to a Mediatek chipset, phone is Allview P5 Quad.

The CPU should be already added in database (according to this post: http://forum.hwbot.org/showthread.php?t=107849), but for some reason something is not identified properly.

 

As a result, I can't post my scores.

 

Attached are the screenshots.

Edited by Arise
Link to comment
Share on other sites

Link to comment
Share on other sites

Bug 1 is related to a Mediatek chipset, phone is Allview P5 Quad.

The CPU should be already added in database (according to this post: http://forum.hwbot.org/showthread.php?t=107849), but for some reason something is not identified properly.

 

As a result, I can't post my scores.

 

Attached are the screenshots.

 

Device added and matched.

 

 

Added to backlog.

If you could also take a screenshot of HWBOT Prime / CPU-Z it would be helpful.

Matched A0001 and One A0001.

Edited by GENiEBEN
Link to comment
Share on other sites

  • 4 weeks later...

Trying to run this on Android, but is a real pain to convince the app to work flawless, the jar is too much tied in with the sun api, I get references to awt and com.sun.xml.internal.* which is included in rt.jar.

Porting rt.jar to Android is kinda imposible, but maybe you can make it a little bit more friendly to Android vm maybe?

 

After a lot of patching and errors, I got it to spit out the result, which is not bad at all for an interpreted mode.

 

dalvikvm -Xbootclasspath:/system/framework/core.jar -Xverify:none -classpath /data/andrei/ae-jaxb.jar:/data/andrei/jaxname.jar:/data/andrei/java-stubs.jar:/data/andrei/jaxb.jar:/data/andrei/hwbotfix.jar:/data/andrei/commons.jar:/data/andrei/hwbotprime-0.8.3.jar org.hwbot.bench.BootStrap nogui

No native cpu speed library for linux yet... falling back to OS tools.
--------- HWBOT Prime 0.0 ----------

Processor detected:
ARMv7 Processor rev 1 (v7l) Qualcomm MSM8974PRO-AC
Estimating speed... 4x 2,880MHz @ 0.035 C
2882 MB memory
Running benchmark using 4 threads.
Starting benchmark...
Warm up phase:   ..................................................................................................... done!
Benchmark phase: ..................................................................................................... done!
All done! Current CPU temperature: 0.07 C
Score: 1766.36.
Hit enter to compare online, enter a filename to save to file, or type q to quit.
result
java.lang.VerifyError: org/hwbot/bench/service/DataServiceXml
       at org.hwbot.bench.service.BenchService.getDataFile(BenchService.java:272)
       at org.hwbot.bench.service.BenchService.saveToFile(BenchService.java:322)
       at org.hwbot.bench.ui.console.BenchConsole.notifyBenchmarkFinished(BenchConsole.java:53)
       at org.hwbot.bench.service.BenchService.run(BenchService.java:211)
       at java.lang.Thread.run(Thread.java:841)

 

After more patching...

 

Failed to save the file: /nogui.hwbot. Reason: javax.xml.bind.JAXBException
- with linked exception:
[java.lang.ClassNotFoundException: Didn't find class "com.sun.xml.internal.bind.v2.ContextFactory" on path: DexPathList[[zip file "/data/andrei/java-stubs.jar", zip file "/data/andrei/jaxb.jar", zip file "/data/andrei/hwbotfix.jar", zip file "/data/andrei/commons.jar", zip file "/data/andrei/hwbotprime-0.8.3.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]
Score: 1810.57 saved to file nogui.hwbot.

 

Can you please change and use the separate JAXB libraries https://jaxb.java.net/ ?

Edited by Arise
Link to comment
Share on other sites

HWBot prime is available on Google store and as a downloadable all. Why are you trying to run the desktop version?

 

Because I have a feeling that the desktop version will kick Android version's ass. :)

 

Ok, I will make some changes and create some pull requests on the code.

Link to comment
Share on other sites

Unfortunately, I just can't get this working with worthy results.

 

Last night I stripped out all references for the apache http functionality and also removed all references to awt, swing and jaxb , basically removed all classes in the sun "javax.*" domain, only to see the score.

 

However the results are disappointing... got no idea what I'm doing wrong or where is the problem. :(

I can get scores over 3200 points in the original Android application, while running directly in dalvik I get:

 

No native cpu speed library for linux yet... falling back to OS tools.
--------- HWBOT Prime 0.0 ----------

Processor detected:
ARMv7 Processor rev 1 (v7l) Qualcomm MSM8974PRO-AC
Estimating speed... 4x 2,880MHz @ 0.037 C
2882 MB memory
Running benchmark using 4 threads.
Starting benchmark...
Warm up phase:   ..................................................................................................... done!
Benchmark phase: ..................................................................................................... done!
All done! Current CPU temperature: 0.062 C
Force Print HWBOT Prime Score: 1615.2233 ----------

--------- HWBOT Score: 1615.2233 ----------

Failed to save the file: /nogui.hwbot. Reason: /nogui.hwbot: open failed: EROFS (Read-only file system)
Score: 1615.22 saved to file nogui.hwbot.
root@A0001:/ #

 

The dex optimizer seems to work fine... don't think the warnings spitted out has any effect, but I will try to fix those to be sure...

D/dalvikvm( 4784): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 4784): Added shared lib libjavacore.so 0x0
D/dalvikvm( 4784): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 4784): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 4784): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 4784): Calling exit(0)
D/dalvikvm( 4853): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 4853): Added shared lib libjavacore.so 0x0
D/dalvikvm( 4853): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 4853): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 4853): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 4853): DexOpt: --- BEGIN 'hwbot.jar' (bootstrap=0) ---
D/dalvikvm( 4854): DexOpt: 'Lorg/apache/commons/codec/Decoder;' has an earlier definition; blocking out
D/dalvikvm( 4854): DexOpt: 'Lorg/apache/commons/codec/BinaryDecoder;' has an earlier definition; blocking out
D/dalvikvm( 4854): DexOpt: 'Lorg/apache/commons/codec/Encoder;' has an earlier definition; blocking out
D/dalvikvm( 4854): DexOpt: 'Lorg/apache/commons/codec/BinaryEncoder;' has an earlier definition; blocking out
D/dalvikvm( 4854): DexOpt: 'Lorg/apache/commons/codec/DecoderException;' has an earlier definition; blocking out
D/dalvikvm( 4854): DexOpt: 'Lorg/apache/commons/codec/EncoderException;' has an earlier definition; blocking out
D/dalvikvm( 4854): DexOpt: 'Lorg/apache/commons/codec/binary/Hex;' has an earlier definition; blocking out
D/dalvikvm( 4854): DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/Decoder;': multiple definitions
D/dalvikvm( 4854): DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/BinaryDecoder;': multiple definitions
D/dalvikvm( 4854): DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/Encoder;': multiple definitions
D/dalvikvm( 4854): DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/BinaryEncoder;': multiple definitions
D/dalvikvm( 4854): DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/DecoderException;': multiple definitions
D/dalvikvm( 4854): DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/EncoderException;': multiple definitions
D/dalvikvm( 4854): DexOpt: not verifying/optimizing 'Lorg/apache/commons/codec/binary/Hex;': multiple definitions
I/dalvikvm( 4854): DexOpt: not resolving ambiguous class 'Lorg/apache/commons/codec/binary/Hex;'
D/dalvikvm( 4854): DexOpt: load 6ms, verify+opt 48ms, 409076 bytes
D/dalvikvm( 4853): DexOpt: --- END 'hwbot.jar' (success) ---
D/dalvikvm( 4853): DEX prep '/data/andrei/hwbot.jar': unzip in 108ms, rewrite 101ms
D/dalvikvm( 4853): Calling exit(0)

 

Attached is the build I'm using, if anyone wants to run/compare versus Android app.

 

Sample batch command to run this:

root@A0001:/ # dalvikvm -classpath /data/andrei/hwbot.jar org.hwbot.bench.BootStrap nogui

Link to comment
Share on other sites

why is the size of the save files so different? got files anywhere from 250kb to 3mb :eek:

I mean are you saving the last keylogs and everything (smallest files are from fresh install :P ) ?

 

any chance you can limit / lower the size of the files?

Link to comment
Share on other sites

why is the size of the save files so different? got files anywhere from 250kb to 3mb :eek:

I mean are you saving the last keylogs and everything (smallest files are from fresh install :P ) ?

 

any chance you can limit / lower the size of the files?

 

99% sure it's the screenshot. Try comparing a single colour background, to an image with lots going on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...