maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

sailor 2019-11-27 00:12

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Awesome achievement, it's really great to see this thread alive.
If I'm not mistaken, that video recording/playback never worked on this device so far (although video itself works). Finding a solution would really complete the work so far.

claustn 2019-11-27 08:23

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by sailor (Post 1562672)
Awesome achievement, it's really great to see this thread alive.
If I'm not mistaken, that video recording/playback never worked on this device so far (although video itself works). Finding a solution would really complete the work so far.

Video recording works/worked on 2.0.4.13 and 2.0.5.something, although you need some tricks and is not reliable.

edp17 2019-11-27 09:48

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by claustn (Post 1562678)
Video recording works/worked on 2.0.4.13 and 2.0.5.something, although you need some tricks and is not reliable.

I agree. Video recording/playback works fine on these versions 2.0.4.13, 3.0.3.9 and 3.2.0.12.
The video playback works on my image too but only in Kodi.
In the built on video player, it doesn't work.

Probably if I solve one of them (recording or playback) it will solve the other too.

edp17 2019-11-27 09:58

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
In my image (wip0.16) the camera works only for making pictures.
If I switch to video mode, the back camera show the image but freezes when I hit the red button. For video recording the back camera shows only a black screen and the red button doesn't function.

So far when the camera is launched from console, these are the error messages I saw:
1. Switch to front camera (video recording):
Code:

[D] unknown:0 - using Wayland-EGL

(jolla-camera:30851: GSTreamer-CRITICAL **:
Registering meta implementation 'NemoGstBufferOrientationMeta' Without init function
[W] unknown:43 - file:///usr/lib/qt5/qml/Salfish/Silica/PulleyAnimationHint.qml:43:25: Unable to assign [undefined] to QQuickItem*
[W] unknown:0 - CameraBin error: "failed to negotiate caps"

and

2. Back camera, hit the red button to record a video:
Code:

(jolla-camera:30851: GSTreamer-CRITICAL **:
Registering meta implementation 'NemoGstBufferOrientationMeta' Without init function
[W] unknown:43 - file:///usr/lib/qt5/qml/Salfish/Silica/PulleyAnimationHint.qml:43:25: Unable to assign [undefined] to QQuickItem*
shared memfd open() failed: Function not implemented
shared memfd open() failed: Function not implemented
[W] unknown:0 - CameraBin error: "GSTreamer encountered a general supporting library error"

Terminated

Tried to google, but didn't find any obvious answer.
Tried to copy over the camera config files from the working 3.2.0.12 version, but didn't help.

I am still working on it. :)

claustn 2019-11-27 12:32

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Did you try to use another application for taking pictures/ video recording? I use Camera+. Of course, I doubt it will make any difference

edp17 2019-11-27 13:23

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by claustn (Post 1562695)
Did you try to use another application for taking pictures/ video recording? I use Camera+. Of course, I doubt it will make any difference

Yes I did. The same result. Something is missing or needs to be updated (like for the date & time issue) but I don't know what. :)

edp17 2019-11-27 15:31

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
In wip0.16 I spotted a serious problem.
Today it happened multiple times. Somebody called me and we didn't hear each other.
It works when I make a call, but it isn't always when I get a call.

Plus during the call I switched to the loudspeaker, and from this point the phone was randomly automatically switching between the ear piece and the loudspeaker. Hmm.
It seems need to go back to the drawing board.

Edit: In this minute my phone just started to play the ringtone. The screen was blank and there was no incoming call. I couldn't stop the phone playing the ringtone because seemingly there was no reason why it started.
I restarted the network but didn't help. I needed to restart the phone to get rid of it. Strange. Oh my, I thought I had only the video recording to fix. :)

edp17 2019-11-28 08:17

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1562671)
What is the problem with video playback?

Sorry, I missed to respond on this one.
The problem is when I try to play an mp4 video with the native media player, the video playing doesn't start. However the same video can be played without any issues with Kodi.

edp17 2019-11-28 11:55

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
@mautz
I have been thinking about the recently discovered audio problems related to the phone calls.
In my previous builds this problem was not there and I remember that I adopted your
/etc/pulse/arm_msm8974_hammerhead.pa file from your config.

Could you let me know what is this file and why it was necessary for your config, please?

Thank you.

edp17 2019-11-28 12:38

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I think the video recording/playing and the sound during the incoming calls issues are somehow connected.
I have identified a common error message 'shared memfd open() failed: Function not implemented'. Maybe this is a red herring again, but I have a feeling that if I find a solution to this error, that will fix both problems.


All times are GMT. The time now is 12:05.

vBulletin® Version 3.8.8