PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-17-2010, 08:35 AM
Adrenalinus's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2 (Rhod 100)
Carrier: Optimus PT
 
Join Date: Dec 2010
Posts: 2
Reputation: 0
Adrenalinus is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by [ACL] View Post
One last thing. Can yall test gallery3d ? this doesnt work on the Raph and is the main reason why this commit is taking so long.

It works on rhod nand but i need to make sure haret works ok as well.
Working on mine without any problem.
Reply With Quote
  #2 (permalink)  
Old 12-16-2010, 04:05 PM
tiad8's Avatar
Halfway to VIP Status
Offline
Pocket PC: windows 7
Carrier: SPRINT HTC TOUCH PRO 2
 
Join Date: Jul 2010
Posts: 125
Reputation: 9275
tiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the communitytiad8 is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by steveholtam View Post
I had the flickering during the entire boot animation. I am using all of your latest files, except I am using the 11/26 gles file and I'm back to the 12/2 build.prop.

Just ran Neocore, 19.7 and flickering the entire time.

I'm going to try the 11/29 gles and see what happens.
yes. 11.29 3d and grolloc 11.29. works really good. i already test it with the 11.26 i got some flickering.

to be honest i use 11.26 if im playing games and a few other stuff. but 11.29 3d and gralloc 11.30 very stable. thanks
__________________
FROYO X SPRINT TOUCH PRO 2 (RHOD400)
Reply With Quote
This post has been thanked 1 times.
  #3 (permalink)  
Old 12-16-2010, 02:09 PM
tacotoy's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Sensation 4G
Carrier: Sprint
Location: Denver
 
Join Date: Mar 2009
Posts: 160
Reputation: 95
tacotoy is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

18.1 on neocore
angry birds full has little if any tearing now

running 11.29/30 gralloc and lib
oc to 700
__________________
testing phones and impact drops in the field since '00
Reply With Quote
  #4 (permalink)  
Old 12-16-2010, 02:29 PM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Here is whats I've got:
- Fps2D:
+ 1. avg: 28 stdev:6.83, highest peek is: 50 in >1 second , so its great to see.
+ 2. avg: 30 stdev: 4.30
+ 3. avg: 30 stdev: 4.45
- Quadrant:
+ 1. score at 450
+ 2. score at 634 after kill all running tasks and sleep for few seconds to allow my sdcard some rest and make it cooler (I has experienced with performance when heavily IO load on sdcard is not good as NAND for example: time right after boot or downloading/installing application from market, syncing something...)

So, with 11.29 3D driver there is no more flickering/tearing issue! very stable now

Again, I'm still running with OC @ 768Mhz with 64Mb of swap using /sdcard/swapfile, mounted by froyo.user.conf script.

Thanks!
__________________
Reply With Quote
  #5 (permalink)  
Old 12-16-2010, 03:26 PM
Adrenalinus's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2 (Rhod 100)
Carrier: Optimus PT
 
Join Date: Dec 2010
Posts: 2
Reputation: 0
Adrenalinus is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Hey. First of all, as a first time poster, greetings to all and a big thanks to all the TP2 dev team for the effort you put on this project, specially to ACL.

These are mine results:

- Fps2D
1. avg 30 sted 4,69
2. avg 30 sted 4,40
3. avg 30 sted 4,51
4. avg 30 sted 4,11

- Neocore
1. 20,4 FPS
2. 18,5 FPS
3. 18.8 FPS

- Quadrant
1. 566
2. 611
3. 586

Running on Rhod100 with OC @700Mhz and using 11/29 3D driver.
Reply With Quote
  #6 (permalink)  
Old 12-16-2010, 03:41 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Threadstarter
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Awesome.. i want to make sure all the Rhod variants are covered. I will commit this since it looks like it works for almost everyone now.

One thing some people noticed is the spike to 50fps. This is what we are working on now. I just got my hands on the novtec documentation 2 days ago so we are still trying to see how we can benefit from this.

The good news is our topaz brethren are also helping out in the quest for 50fps so lets hope one of us stumble on it. For those of you who havent heard of the theory. We cant update the screen until the vsync happens. It happens only 60times per second, so if we miss it by just a few ms, then we have to wait for the next one killing our fps by half pretty much.

I can share the documentation with anyone who can compile and are willing to make a few changes on their own. This limit was discovered by toastcfh when the 30fps cap was changed on the evo.

https://github.com/toastcfh/Superson...705a7e7fb497b5

The link above is the commit that managed to break 30fps on the evo. I already tried and it does not work for us, but maybe im missing something. Sometimes it takes a few eyes to figure this out.

i had a lot of wine so i cant think any more.. thanks fellas (those of you who tested)
__________________
Reply With Quote
This post has been thanked 1 times.
  #7 (permalink)  
Old 12-16-2010, 03:51 PM
InvincibleLiving's Avatar
Post Master General
Offline
Pocket PC: White Evo: Myn's TPT RLS5, Stock Kernel
Carrier: The "NOW" Network
Location: Leesburg, VA
 
Join Date: Jun 2007
Posts: 6,464
Reputation: 4222
InvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by tiger2wander View Post
Here is whats I've got:
- Fps2D:
+ 1. avg: 28 stdev:6.83, highest peek is: 50 in >1 second , so its great to see.
+ 2. avg: 30 stdev: 4.30
+ 3. avg: 30 stdev: 4.45
- Quadrant:
+ 1. score at 450
+ 2. score at 634 after kill all running tasks and sleep for few seconds to allow my sdcard some rest and make it cooler (I has experienced with performance when heavily IO load on sdcard is not good as NAND for example: time right after boot or downloading/installing application from market, syncing something...)

So, with 11.29 3D driver there is no more flickering/tearing issue! very stable now

Again, I'm still running with OC @ 768Mhz with 64Mb of swap using /sdcard/swapfile, mounted by froyo.user.conf script.

Thanks!
Hey Tiger, I want to know more about the swapfile you referenced, can you share? TIA
__________________
Creator of iLife ROM Series

Best... Member... Ever...
Reply With Quote
  #8 (permalink)  
Old 12-17-2010, 12:27 AM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Post Re: Test with framebuffer

Quote:
Originally Posted by InvincibleLiving View Post
Hey Tiger, I want to know more about the swapfile you referenced, can you share? TIA
Yeah, I've got it by create a swapfile at /sdcard/swapfile by `dd` command on the my Linux box:
Code:
dd if=/dev/zero of=$HOME/swapfile bs=1M count=64
and then make Swap FS with that file
Code:
mkswap -f $HOME/swapfile
Then modified froyo.user.conf to look like this:
Code:
# custom shell commands, these commands run last
custom_shells{
  chmod 777 /etc/dbus.conf

  echo "Remove dirty files"
  rm /sdcard/FSCK*.REC
  rm /sdcard/fsck*.rec

  echo "Copy hosts to remove ad"
  cp -fv /sdcard/tools/etc/hosts /data/etc/hosts
  cp -fv /sdcard/tools/etc/hosts /system/etc/hosts
  
  echo "Mounting external mods."
  mount --bind /sdcard/mods/libGLES_qcom.so.11.29.10 /system/lib/egl/libGLES_qcom.so
  mount --bind /sdcard/mods/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
  mount --bind /sdcard/mods/build.prop /system/build.prop
  
  echo "Mounting swapfile on /sdcard/swapfile"
  swapon /sdcard/swapfile
}
I was move all the test drivers to /sdcard/mods to get more clean look at root of my sdcard, also I have done with some tricks to remove some dirty files generated while fsck is run, mapped hosts file to remove ad from application...

Also, I was modified block "swap_file" to look like this:
Code:
#create swap file for compcache or linux swap
swap_file{
  swap_file_en=1  # set to 1 to create swap file
        # set to 0 to del the swap file
  linux_swap_file_size=64 # swap file size in MB
  linux_swap_file=/sdcard/swapfile  # pointing to the swap file location ( must be /system/sd/)
}
But seen its look not make any sense and kernel not go to use swap, just ignore it.

This is block I was modified to make kernel using more swap when more applications running to give more ram for focusing activity:
Code:
#virtual memory 
sys_vm{        
  sys_vm_en=1 # enable(1) or disable(0) virtual memory configurations
  swappiness=20 # default 60
  page_cluster=0  # default 3, (0 since CM3.9.6+)
  laptop_mode=5 # default 0
  dirty_expire_centisecs=3000 # default 3000
  dirty_writeback_centisecs=1500  # default 500
  dirty_background_ratio=3  # default 5
  dirty_ratio=5 # default 10
  vfs_cache_pressure=200  # default 100 (tendency of the kernel to reclaim cache memory)
  overcommit_memory=1 # default 0 (0=Heuristic 1=Always overcommit 2=Don't overcommit)
  overcommit_ratio=80 # default 50 (% of Physical+Virtual memory to allow allocation)
}
That is what's I've done. I have attach my froyo.user.conf and swapfile as you need to make it. (Good for M$'s user which not have dd tool already :P )
Attached Files
File Type: zip froyo.user.conf.zip (1.2 KB, 2 views) Click for barcode!
File Type: zip swapfile.zip (63.8 KB, 2 views) Click for barcode!
Reply With Quote
This post has been thanked 1 times.
  #9 (permalink)  
Old 12-17-2010, 12:41 PM
zeurx's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Vogue & HTC Touch Pro
Carrier: Former Midwest Wireless forced to Alltel and soon to be Verizon
 
Join Date: Mar 2007
Posts: 415
Reputation: 280
zeurx is becoming a PPCGeeks regularzeurx is becoming a PPCGeeks regularzeurx is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Quote:
Originally Posted by tiger2wander View Post
Code:
# custom shell commands, these commands run last
custom_shells{
  chmod 777 /etc/dbus.conf

  echo "Remove dirty files"
  rm /sdcard/FSCK*.REC
  rm /sdcard/fsck*.rec

  echo "Copy hosts to remove ad"
  cp -fv /sdcard/tools/etc/hosts /data/etc/hosts
  cp -fv /sdcard/tools/etc/hosts /system/etc/hosts
  
  echo "Mounting external mods."
  mount --bind /sdcard/mods/libGLES_qcom.so.11.29.10 /system/lib/egl/libGLES_qcom.so
  mount --bind /sdcard/mods/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
  mount --bind /sdcard/mods/build.prop /system/build.prop
  
  echo "Mounting swapfile on /sdcard/swapfile"
  swapon /sdcard/swapfile
}

A better method to make it work for everyone would be...
Code:
# custom shell commands, these commands run last
custom_shells{
  chmod 777 /etc/dbus.conf

# Setup vars --------------------
FSCK_CLEAN=`/bin/grep -o "fsck_cleanup=.*" /proc/cmdline | /bin/sed -e "s/.*fsck_cleanup=//g" -e "s/ .*//g"`
3D_TEST=`/bin/grep -o "3d_test=.*" /proc/cmdline | /bin/sed -e "s/.*3d_test=//g" -e "s/ .*//g"`
SWAP_ENABLE=`/bin/grep -o "swap_enable=.*" /proc/cmdline | /bin/sed -e "s/.*swap_enable=//g" -e "s/ .*//g"`
CARD_PATH=`/bin/grep -o "rel_path=.*" /proc/cmdline | /bin/sed -e "s/.*rel_path=//g" -e "s/ .*//g"`
if [ "$CARD_PATH" = "" ];then
        CARD_PATH="andboot"
fi;
if [ -d /sdcard/$CARD_PATH ] ; then
        card=/sdcard/$CARD_PATH
else
        card=/sdcard
fi
# -------------------------------

  if [ "$FSCK_CLEAN" == "1" ]; then
    echo "Remove dirty files"
    rm /sdcard/FSCK*.REC
    rm /sdcard/fsck*.rec
  fi

  if [ -f /sdcard/$card/extras/hosts ]; then
    echo "Copy hosts to remove ad"
    cp -fv $card/extras/hosts /data/etc/hosts
    cp -fv $card/extras/hosts /system/etc/hosts
  fi
  
  if [ "$3D_TEST" == "1" ] && [ -f $card/extras/3d/libGLES_qcom.so ] && [ -f $card/extras/3d/gralloc.msm7k.so ] && [ -f $card/extras/3d/build.prop ]; then
    echo "Mounting external mods."
    mount --bind $card/extras/3d/libGLES_qcom.so /system/lib/egl/libGLES_qcom.so
    mount --bind $card/extras/3d/gralloc.msm7k.so /system/lib/hw/gralloc.msm7k.so
    mount --bind $card/extras/3d/build.prop /system/build.prop
  fi

  if [ "$SWAP_ENABLE" == "1" ] && [ -f $card/swap ]; then
    echo "Mounting swapfile on $card/swap"
    swapon $card/swap
  fi
Then place your extra file in /sdcard/andboot/extras and extras/3d. Enable the options using "fsck_cleanup=1 3d_test=1 swap_enable=1" in your startup.txt and if the files exists the options will be enabled, if not then no worry it will just default to normal behavior. I hope this doesn't step on anyones toes and that adding these to the startup.txt isn't that bad of a thing.
__________________

Reply With Quote
  #10 (permalink)  
Old 12-16-2010, 04:15 PM
steveholtam's Avatar
Regular 'Geeker
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: Aug 2008
Posts: 261
Reputation: 145
steveholtam is keeping up the good worksteveholtam is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Test with framebuffer

Yep, switched to the 11/29 gles and no more flickering. Also got my highest neocore score, 20.6 with no sound. This is about as fast as a stock Eros I think.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:53 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com