We have moved to a new Sailfish OS Forum. Please start new discussions there.
18

[Xperia X] Main camera max resolution is 16 MP not 23 MP

asked 2017-10-13 11:09:29 +0300

evo3de gravatar image

updated 2017-10-13 11:43:59 +0300

jiit gravatar image

Original camera resolution of the sony xperia x is 23 MP, Sailfish camera app say it´s 16 MP. Will this increased in future releases or is this a restriction of loosing the DRM - Keys by opening the bootloader? If i have a backup of the DRM Key´s, coult this be added to increase the resolution?

edit retag flag offensive close delete

Comments

4

I don't know about future plans or workarounds. Anyway, it's not a bug, it's the intended behavior.

ossi1967 ( 2017-10-13 11:22:07 +0300 )edit

I don't care resolution, of course need a minimum resolution for good quality pictures but not always necessary the maximum. I made lots of nice pictures with Xperia X on android, I remember used 12 or 13mpx...

Anyone has experience which android camera app can make decent pictures with using Sailfish X? (because the original camera app doesn't work properly, there are focusing + colour issues, etc...)

liqquid ( 2017-10-17 02:03:50 +0300 )edit

I noticed the compression parameters for the stock cam app jpeg to be 85. I personally would raise this value to 90 - storage is not a problem with sdcards but I would think that reduces artifacts creation due to too much compression.

Kaiserpinguin ( 2017-12-24 13:34:45 +0300 )edit

5 Answers

Sort by » oldest newest most voted
10

answered 2017-10-13 22:16:19 +0300

poddl gravatar image

@Giacomo Di Giacomo I don't thin so..

Try using the camera app "MiracuCam", then you see the possible resolutions from the Systems. In my opinion MiracuCam's images are much more sharp.

Need to make an answer, because comments have no images. Here the settings page from MiracuCam:

image description

edit flag offensive delete publish link more
5

answered 2018-06-08 21:25:57 +0300

mia gravatar image

You can fix the SFOS camera limitation in developer mode by editing /etc/dconf/db/vendor.d/jolla-camera-hw.txt so that the image resolution for the primary camera is 5984x3392 (should be 3 values to replace) and running dconf update. Now, the 20 MP resolution should be available in the Settings app and work as expected.

Another hint, while I’m at it (also works on Jolla 1): Edit the [image-noise-reduction] section in /etc/gst-droid/gstdroidcamsrcquirks.conf and change on=denoise-on to on=denoise-off and then run killall -9 mm-qcamera-daemon (forces a restart of the camera daemon) to drastically improve image quality. It will be a little more grainy but also far less smeared, and you will lose a lot less chroma detail. Looks much more like with the Android camera. There doesn’t seem to be a way to eliminate all post processing, like sharpening, sadly (which would eliminate the nasty edge artifacts that are also present in Android camera snapshots), but I assume that is just a hardware quirk.

I really wish the denoiser setting were exposed to the user :/

edit flag offensive delete publish link more

Comments

mh...after the jolla-camera-hw.txt change and update, the camera settings still shows 16:9 (16Mpix)

wosrediinanatour ( 2018-06-08 23:41:11 +0300 )edit

Make sure you’ve got all the values. Might have to kill the camera daemon after that, too. Not sure. It works for me anyway, but the forced JPEG compression really ruins it. Jolla really dropped the ball on the camera app :/

mia ( 2018-06-09 07:41:45 +0300 )edit

The 20 MP fix doesn't work for me either. Replaced three occurrences of '5312x2988' by '5984x3392', ran dconf update, rebooted; Settings app still offers a maximum of 16 MP.

Olsen ( 2018-06-09 16:13:50 +0300 )edit

I don't have the /etc/gst-droid/gstdroidcamsrcquirks.conf file. Is this expected or it's available only in the paid Sailfish OS version?

lolek ( 2018-06-10 14:12:12 +0300 )edit
3

answered 2017-10-13 11:22:30 +0300

Giacomo Di Giacomo gravatar image

You cannot use the DRM keys in Sailfish OS and the resolution is a limitation in AOSP AFAIK. Early builds of SFOS for the Xperia X were limited to 8 megapixels. I don't know for sure if images are scaled down in size (which would be good) or simply cropped (which would be very bad).

edit flag offensive delete publish link more
2

answered 2017-10-14 07:56:37 +0300

XFish gravatar image

updated 2017-10-14 08:13:19 +0300

Using FDroid basic Android Cam I see: 5980 x 3390 = 20.3 Mpx 16:9 format

and pictures are pretty sharp. Problem is the Android app cant access root so cant easily save to SDCard, because Alien Dalvik and Sfos dont allow Android to save on SDCard currently, it can read it but not write even with proper permissions set.

edit flag offensive delete publish link more

Comments

There is a sailfish app "Cargo Dock" which adds this feature to easily drop pictures on your sd-card. That also would help to solve glitches like internal storage running low.

Give it a shot, good workaround in combination with Open Camera or whatever Anroid based one.

Kaiserpinguin ( 2018-01-18 00:52:19 +0300 )edit
0

answered 2017-10-14 11:04:15 +0300

bocephus gravatar image

updated 2017-10-14 11:05:48 +0300

Having lived with Jolla's crappy camera hardware for almost four years at this point, I'm happy with Sony's 16 MP and don't miss what I've never had. But the camera resolution limitation in AOSP was recently removed - which is why Jolla could go beyond the original maximum allowance of 8 Mp in the public Sailfish X release. I hope for and expect further resolution improvements down the line.

You can trash those DRM keys; they will be of absolutely no use to you unless you plan on going back to Android - and why would you be stupid enough to do that?

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
10 followers

Stats

Asked: 2017-10-13 11:09:29 +0300

Seen: 2,462 times

Last updated: Jun 08 '18