Active Topics

 


Reply
Thread Tools
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#11
Well, I tried reducing the pixel clock from 24mhz to 12mhz, hoping that would halve the refresh rate.

Unfortunately it just reboots as soon as Xorg loads.. not sure why yet.
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#12
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...
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#13
Originally Posted by RobbieThe1st View Post
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...
Hey Robbie,

Do you mean:

Code:
[hildon-desktop]
WSEGL_UseHWSync=1
If so, ya I've tried that but it doesn't seem to eliminate tearing for me. Or is there something else? Because if you're not seeing any tearing ... that is great news.

And, already been using BackupMenu for quite some time. I posted in your thread recently.. I wrote that online backup script that produces BackupMenu compatible backups without rebooting.
 
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#14
Oh. sorry. I sometimes miss things <_<.

As far as the tweak goes, that's odd - I don't experiance "tearing", though it's still jerky due to the low(er) framerate(30fps or less). Well, if you come up with any improvements, I'll definitely try them.
__________________
My projects: BackupMenu - OS Backup & restore | Video: Flashing your n900(LiveCD)
My devices: N770 + 8GB SD card soldered internally, N900 with 8GB SD card + Custom OC(125-950 typically).
OC freqs: 0:22,90 125:22,90 250:28,180 500:30,360 550:32,400 600:34,430 700:39,430 750:41,430 805:45,430 850:47,500 900:50,500 950:54,500 1000:58,500 1100:67,520 1150:71,520
 
Posts: 100 | Thanked: 18 times | Joined on Jan 2010 @ Bristol, UK
#15
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
 

The Following 3 Users Say Thank You to saud khan For This Useful Post:
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#16
Originally Posted by saud khan View Post
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
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.
 
Posts: 100 | Thanked: 18 times | Joined on Jan 2010 @ Bristol, UK
#17
Originally Posted by nightfire View Post
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.
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.
 
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#18
Originally Posted by saud khan View Post
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.
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.
 
Posts: 100 | Thanked: 18 times | Joined on Jan 2010 @ Bristol, UK
#19
Originally Posted by nightfire View Post
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.
i dont think this is the device limitation. when we install nitdroid then how come it runs smooth? its all software problem. I guess the problem is bcz its not using the driver properly. oh n funny enough, if you install meego 1.1 you will see you dont get any tearing (well atleast i didnt).

well right now im too tired to think of another reason. ill go to bed now and try to come up with new fresh ideas tomorrow.

tc!
 
Posts: 100 | Thanked: 18 times | Joined on Jan 2010 @ Bristol, UK
#20
oh n btw im sorry i was wrong about the 50 - 60hz thingy.. i just did some research and found out the fps we are talking about is not the same as the one i was thinking of :P
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:38.