sonyxperiadev / bug_tracker

Empty repository that is used as a bugtracker for Open Devices project
52 stars 13 forks source link

[loire] No 20MP option available #307

Closed Gray47Maxx closed 5 years ago

Gray47Maxx commented 5 years ago

Platform: loire Device: suzu Kernel version: 4.9.146 Android version: 9.0 Binaries version: v5a

Description Since v5a we've lost the ability to capture more than 17 megapixels (5504x3104).

Symptoms The maximum resolution for capturing is limited by 17MP, whereas v4 blobs allowed us to capture 20.

How to reproduce Get any camera app you like and try to set the maximum resolution.

belov555 commented 5 years ago

screenshot_ _20190121-094147 I confirm

jerpelea commented 5 years ago

This is not a bug! 17Mp is the HW limit for full API 2 capability

Gray47Maxx commented 5 years ago

@jerpelea, then how was it working on k4.4? It has full API 2 support and capability to take photos in 20mp mode...

Or that's because of a workaround we are using?

jerpelea commented 5 years ago

Android 8.1 has the same capability as v4

Gray47Maxx commented 5 years ago

@jerpelea oh you were right... But maybe there is a way to bypass it? Some dirty hacks for example...

@gerg5c42g542g2c54g52c the real magician never tells anyone his secret ;)

jerpelea commented 5 years ago

The HW limitation is there and you will not be able to have the minimum requirements for API 2 unless you fake the capability.

jerpelea commented 5 years ago

the fps is enabled in the sensor and must be configured in the media profiles for both 720 and 1080

jerpelea commented 5 years ago

did you update media_profiles?

jerpelea commented 5 years ago

on loire I am not sure that this mode will work. The same sensor is found on other platforms.

Gray47Maxx commented 5 years ago

Apparently something happened and now loire can in 20MP again.