![]() |
2011-03-06
, 13:04
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#12
|
![]() |
2011-03-06
, 20:06
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#13
|
Nightfire, have you tried the /etc/powervr.d/ trick? (There's more than one hildon-desktop.ini file) - I don't get -any- tearing on panning now.
Also, you just -might- want to look into BackupMenu so that you don't have to reflash if Xorg fails to boot and you have to reflash or something...
[hildon-desktop] WSEGL_UseHWSync=1
![]() |
2011-03-07
, 00:11
|
Posts: 842 |
Thanked: 1,197 times |
Joined on May 2010
|
#14
|
![]() |
2011-03-07
, 00:38
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#15
|
![]() |
2011-03-07
, 00:55
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#16
|
well let me know im wrong but if you try to tweak the LCD refresh rate down to 30hz, all we will see is the screen flickering. A human eye cannot see the different above 50hz. but for fast moving animations we usually use 60hz.
I totally disagree with the people who are trying to give you an impression that there is no point working on this problem. i think you have chosen the best problem to solve. it is one of the most annoying problem and it needs fixing.
BEST OF LUCK
![]() |
2011-03-07
, 01:36
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#17
|
Well, the thing is most animations on the phone don't even hit 30fps to begin with (just can't render fast enough)... so the LCD refreshes are just wasted anyway.
I would guess desktop panning is more like 15fps, and each of those frames get refreshed 4 times at various stages, leading to the tearing we see. If we drop the refresh rate to 30hz, we'll halve the number of visible artifacts.
![]() |
2011-03-07
, 01:42
|
Posts: 310 |
Thanked: 383 times |
Joined on Jan 2010
|
#18
|
hmm then isnt it possible to use some sort of a potential optimiser which would just scale the fps up to 30? I mean if you observe what is the minimum and max it goes to and then you can apply some gain just to scale it up to something between 25 - 30 (i dont even know if this is possible at the software end .. youre the pro :P ). but i guess thats where alising problem comes in right?
I believe (like you said earlier too) that the fps are just kept so low just to save power.
I know C too but im not so good at it. im just trying my best to help you out but putting in some ideas.
![]() |
2011-03-07
, 01:49
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#19
|
I'm not positive, but I think it's a memory bandwidth limitation for the mostpart. Between the video refresh (60hz 800x480x24bpp = ~69mb/sec) and the panning activity, I think the device is just saturated. Lowering the pixel clock should help alleviate some of that as well.
I did try increasing the FPS in hildon-pannable-area.c (to 60), but it didn't seem to make much of a noticeable difference, so I'm pretty sure it's just a device limitation.
![]() |
2011-03-07
, 01:51
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#20
|
Unfortunately it just reboots as soon as Xorg loads.. not sure why yet.