Guest Manos Aristeidopoulos Posted September 27, 2011 Report Posted September 27, 2011 I was reading in xda forums that editing the debug.sf.hw=1 in the build.prop gives Hardware acceleration? In gsf is debug.sf.hw=1debug i changed to debug.sf.hw=1 but no deference. So how's that gives hardware acceleration?
Guest targetbsp Posted September 27, 2011 Report Posted September 27, 2011 I was reading in xda forums that editing the debug.sf.hw=1 in the build.prop gives Hardware acceleration? In gsf is debug.sf.hw=1debug i changed to debug.sf.hw=1 but no deference. So how's that gives hardware acceleration? What are you expecting to happen? I only know of one game that benefits from that in froyo and in both the gingerbread roms said game is fine so i assume it's on in them already.
Guest Manos Aristeidopoulos Posted September 27, 2011 Report Posted September 27, 2011 Hardware Acceleration installed to /system partitionThis option enables hardware acceleration, which increases the peformance and UI smoothness of the device. Paul said that for the R12. I suppose that only effects 2.2? Maybe i am wrong, maybe there are other way to do that (H.A). targetbsp can you just not been smart-ass? If you get nervous when see noob questions just don't answer them. I am just trying to learn.
Guest targetbsp Posted September 27, 2011 Report Posted September 27, 2011 Sorry that wasn't my intent. When you said it made no difference I was genuinely wondering what you were testing to determine it made no difference. Because as i say, the only thing I've ever seen it effect is the game Leave Devil Alone in froyo. Without that line the game is REALLY slow. With it, it is fast. In gingerbread the game is fast so i assume the feature is just on in gingerbread without the build.prop line.
Guest Manos Aristeidopoulos Posted September 27, 2011 Report Posted September 27, 2011 (edited) thanks for the info The line by default is: debug.sf.hw=0 - it should be debug.sf.hw=1 This option controls the way the OS renders the UI! (hw=0) Uses the CPU to render the UI and (hw=1) Uses the GPU to render the UI! The original 1.6 builds for the Streak have this option to (1) and by some crazy reason the 2.1 builds (including Modaco's r2) have this to (0)! This is why you think that the Build is slow! Change the line in build.prop (located in /system/ ) with "Root Explorer" (requires root) and restart! Now the UI will be smooth as silk! Edited September 27, 2011 by Manos Aristeidopoulos
Guest deksman2 Posted September 27, 2011 Report Posted September 27, 2011 Actually... I think the line: debug.sf.hw=1 enables HW acceleration for games and apps that use the GPU. This doesn't do anything for the 2d UI unfortunately... at least, I never noticed any difference (and I was using ROMS that had problems with scrolling through the UI which had the upper line set to 0 - changing the value to 1 didn't do anything). I think there's another option or line that can be added to build.prop video.acceleration.hw=1 some people reported that this managed to increase the responsiveness of their UI scrolling, pinching, zooming, etc. I noticed this line in some of the later roms build.prop files, but stuttering still occurs in various aspects (and to such a degree/frequency which indicates that the GPU is NOT doing the rendering). The only ROM I might attribute to using the GPU for rendering the 2D UI, pinch, zoom, scrolling and browser (plus in all apps) would be Modacor r12 ROM. But even that could be nothing more than a highly optimized ROM for CPU... still, it was too fluid for a CPU, so I cannot be sure either way. I think it's definitely possible to use the gpu for UI rendering, but I also think that people don't optimize this properly either. That, or they aren't activating the HW acceleration for the UI at all but for another aspect of android.
Guest tkelly0727 Posted September 27, 2011 Report Posted September 27, 2011 what are to instructions to enabling hardware acceleration
Guest Posted September 27, 2011 Report Posted September 27, 2011 This setting doesn't do anything on Gingerbread. The GPU is already used adequately. There is no support for accelerated 2D (Skia) rendering on Android 2.x, only compositing is accelerated. However, that is enough to provide fluid scrolling and the like.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now