Project

General

Profile

Actions

Feature #1789

closed

Feature #1539: Graphics acceleration

Lower screen resolution to speed up graphics

Added by Wolfgang Wiedmeyer over 7 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Graphics
Target version:
Start date:
04/09/2017
Due date:
% Done:

0%

Estimated time:
Resolution:
Device:
Grant:
Type of work:

Description

Some Replicant-supported devices have a pretty high screen resolution which makes the devices slow with the software renderer. The display drivers usually don't allow to set a lower screen resolution.

Making the display drivers work with a lower screen resolution would lead to a smaller framebuffer which in turn would greatly improve graphics speed.

A possible approach could be to reduce the resolution in one or both dimensions by half and using the pixel values for one pixel in the framebuffer for two or four screen pixels. This way a simple scaling mechanism could be implemented.

Actions #1

Updated by Wolfgang Wiedmeyer over 7 years ago

  • Parent task set to #1539
Actions #2

Updated by Wolfgang Wiedmeyer over 7 years ago

  • Target version set to Replicant 6.0
Actions #3

Updated by Jeremy Rand over 7 years ago

This is probably obvious to those in the know, but for the benefit of dumb people like me who just had to try it, the simpler method of "adb shell wm size 360x640; adb shell wm density 160" doesn't improve performance; it actually drops the framerate from 6 fps to 3 fps on the home screen on the Galaxy S3 with llvmpipe.

Actions #4

Updated by Andrés D about 5 years ago

  • Status changed from New to Closed

This issue has not seen any progress for more than two years. Jeremy didn't get any performance improvement but a regression. Using libagl for surfaceflinger and llvmpipe for the rest of the processes makes Replicant 6 usable while having the more complete OpenGLES implementation of llvmpipe.

Actions

Also available in: Atom PDF