Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,777 Members 41,160 Now Online
XDA Developers Android and Mobile Development Forum

[27 MAY][ROM][X Series] Virtuous Eclipse v.1.0.0 [Sense 4.0 Android 4.0.3]

Tip us?
 
Solar_
Old
(Last edited by Solar_; 28th February 2012 at 11:33 AM.)
#811  
Solar_'s Avatar
Senior Member
Thanks Meter 173
Posts: 455
Join Date: Aug 2011
Yeay, I think found the problem for all the graphical glitches (like when scrolling in the App drawer, the screen 'tears') or when pulling the notification bar up and down very fast (it'll 'tear').

The vSync is off.

This is just a basic description of vSync:
Say your screen refreshes at 60Hz - vSync on will attempt to display 30fps to avoid tearing. 30 goes into 60 twice evenly... get it?
vSync off will display as many fps as possible. So rather than holding back and displaying 30fps it will allow 35fps. This will cause tearing because 35 does not go into 60 evenly.


So we have to enable vSync to avoid this..


Edit: The LG Optimus One kernel developer did it like this:
Code:
drivers/video/msm/mddi_hitachi_hvga.c

pinfo->lcd.vsync_enable = TRUE;
pinfo->lcd.hw_vsync_mode = TRUE;
Samsung Galaxy S4 i9505 Black Mist
Stock, unrooted I9505XXUEMJ7 (4.3) ROM & Kernel
Signature updated on: November 5th
The Following 2 Users Say Thank You to Solar_ For This Useful Post: [ Click to Expand ]
 
inzaghi75
Old
#812  
inzaghi75's Avatar
Senior Member
Thanks Meter 1,677
Posts: 2,734
Join Date: Oct 2009
Quote:
Originally Posted by Solar_ View Post
Yeay, I think found the problem for all the graphical glitches (like when scrolling in the App drawer, the screen 'tears') or when pulling the notification bar up and down very fast (it'll 'tear').

The vSync is off.

This is just a basic description of vSync:
Say your screen refreshes at 60Hz - vSync on will attempt to display 30fps to avoid tearing. 30 goes into 60 twice evenly... get it?
vSync off will display as many fps as possible. So rather than holding back and displaying 30fps it will allow 35fps. This will cause tearing because 35 does not go into 60 evenly.


So we have to enable vSync to avoid this..


Edit: The LG Optimus One kernel developer did it like this:
Code:
drivers/video/msm/mddi_hitachi_hvga.c

pinfo->lcd.vsync_enable = TRUE;
pinfo->lcd.hw_vsync_mode = TRUE;
How we can put it? in build.prop?
 
Solar_
Old
#813  
Solar_'s Avatar
Senior Member
Thanks Meter 173
Posts: 455
Join Date: Aug 2011
Quote:
Originally Posted by inzaghi75 View Post
How we can put it? in build.prop?
Nope, it's in the kernel.
But I am no kernel developer so I need someone to do this.
Samsung Galaxy S4 i9505 Black Mist
Stock, unrooted I9505XXUEMJ7 (4.3) ROM & Kernel
Signature updated on: November 5th
The Following User Says Thank You to Solar_ For This Useful Post: [ Click to Expand ]
 
umd
Old
(Last edited by umd; 28th February 2012 at 11:45 AM.)
#814  
Senior Member
Thanks Meter 65
Posts: 780
Join Date: Jul 2010
I had that screen problem on all Trips roms. I tried with different kernels but didnt solve it as I remember.
 
djgboy
Old
#815  
djgboy's Avatar
Senior Member
Thanks Meter 43
Posts: 629
Join Date: Mar 2009
Location: Hollywood
with me when I use the mms messages widget you cannot type to reply you have to go back to the app

Sent from my HTC Sensation using XDA App
Current Device: T-Mobile US HTC Sensation 4G with Beats Audio
Android Rom: OrDroid ™ Rom Series
Android Version: 4.0.4
HTC Sense Version: 4.0
Bootloader: 4EXT Recovery Touch
Kernel: 1.512 GHz OC/UV 3.0.16-g5e58c5e v1.01
*** LOCKED *** S-OFF HBOOT-1.27.0000
 
vegetaleb
Old
#816  
vegetaleb's Avatar
Senior Member
Thanks Meter 833
Posts: 5,637
Join Date: Feb 2010
Location: Beirut
I think a One S RUU will solve many problems for this rom
The Following 2 Users Say Thank You to vegetaleb For This Useful Post: [ Click to Expand ]
 
inzaghi75
Old
#817  
inzaghi75's Avatar
Senior Member
Thanks Meter 1,677
Posts: 2,734
Join Date: Oct 2009
Whats up with Twitter. Doesn´t sync. Is this a HTC issue because I can not set the time of syncing.
 
Dunc001
Old
#818  
Dunc001's Avatar
Recognized Developer
Thanks Meter 1,334
Posts: 2,610
Join Date: Apr 2010
Location: Hiding out south of the border...
Quote:
Originally Posted by Solar_ View Post
Nope, it's in the kernel.
But I am no kernel developer so I need someone to do this.
Yep, but no source code from HTC yet for the 3.0 kernel so until then you'll just have to put up with it...
HTC One
ViperOne 6.2.1+ Beta Sense 6.0 with Kangaroo Kernel

HTC One Mini
Completely stock and staying that way...

Google Nexus 7 Gen 2
MIUI 5-09

First HTC HD2
Tytung 4.4.2 DataOnExt

Second HTC HD2
MIUI JB DataOnExt
 
Solar_
Old
#819  
Solar_'s Avatar
Senior Member
Thanks Meter 173
Posts: 455
Join Date: Aug 2011
Quote:
Originally Posted by Dunc001 View Post
Yep, but no source code from HTC yet for the 3.0 kernel so until then you'll just have to put up with it...
So we can't do it with hex edits?
Samsung Galaxy S4 i9505 Black Mist
Stock, unrooted I9505XXUEMJ7 (4.3) ROM & Kernel
Signature updated on: November 5th
 
Dunc001
Old
#820  
Dunc001's Avatar
Recognized Developer
Thanks Meter 1,334
Posts: 2,610
Join Date: Apr 2010
Location: Hiding out south of the border...
Quote:
Originally Posted by Solar_ View Post
So we can't do it with hex edits?
Sure, if someone has the time to compile a kernel from available source without and with those edits, diff the file and then hex edit the file in the 3.0 kernel accordingly...
HTC One
ViperOne 6.2.1+ Beta Sense 6.0 with Kangaroo Kernel

HTC One Mini
Completely stock and staying that way...

Google Nexus 7 Gen 2
MIUI 5-09

First HTC HD2
Tytung 4.4.2 DataOnExt

Second HTC HD2
MIUI JB DataOnExt

Tags
exclusive, sense 4.0, virtuous eclipse, your best choise
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes