Jami on Pinephone [ IM and VOIP ]
#3
So I managed to get the back camera working in Jami settings preview and it also works in video call, thanks to 
https://forum.pine64.org/showthread.php?tid=9267

Since Jami enforces (issue on git to be fired) 1280x720 and by default back camera is used, following does the trick (ensure jami is not running):
Code:
media-ctl -d /dev/media1 --set-v4l2 '"ov5640 4-004c":0[fmt:UYVY8_2X8/1280x720]'

Afterwards as soon as Jami is started the back camera works, there are some problems though:
1) the CPU utilization on video call with working camera is very high (it's not the case when PP camera is not working but you see the other side so I guess it's not HW accelerated).
2) The thing you need to identify manually is
Code:
"ov5640 4-004c"
which you can get from
Code:
media-ctl -d /dev/media1 -p

=====================================================================================
I have tried to get it working with front camera, for that I did switch cameras via media-ctl
from:
Code:
        <- "ov5640 4-004c":0 [ENABLED]
        <- "gc2145 4-003c":0 []
to
Code:
        <- "ov5640 4-004c":0 []
        <- "gc2145 4-003c":0 [ENABLED]

by running
Code:
media-ctl -d /dev/media1 -l '"ov5640 4-004c":0->"sun6i-csi":0[0]'
media-ctl -d /dev/media1 -l '"gc2145 4-003c":0->"sun6i-csi":0[1]'


since gc2145 is the front camera. Unfortunately I cannot really find what the specs/supported resolutions for it are. I couldn't make it working in Jami, I guess that in Arch Linux ARM for PP even the drivers for it are missing, since I noticed this:
Code:
[ 1300.385100] sun6i-csi 1cb0000.csi: Direct firmware load for gc2145-init.bin failed with error -2
[ 1300.385110] gc2145 4-003c: Failed to read firmware gc2145-init.bin, continuing anyway..

but at least something Tongue
  Reply


Messages In This Thread
Jami on Pinephone [ IM and VOIP ] - by p1trson - 02-05-2021, 02:39 PM
RE: Jami on Pinephone [ IM and VOIP ] - by p1trson - 02-13-2021, 02:41 PM
RE: Jami on Pinephone [ IM and VOIP ] - by AndyM - 08-04-2021, 03:52 AM
RE: Jami on Pinephone [ IM and VOIP ] - by Fish - 06-08-2022, 11:48 AM
RE: Jami on Pinephone [ IM and VOIP ] - by Fish - 06-08-2022, 01:53 PM
RE: Jami on Pinephone [ IM and VOIP ] - by AndyM - 06-08-2022, 11:56 AM
RE: Jami on Pinephone [ IM and VOIP ] - by AndyM - 06-09-2022, 01:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Signal on PinePhone in mid-2023? dante404 47 13,582 6 hours ago
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 25,356 04-23-2024, 10:29 AM
Last Post: donchurch
  PinePhone app development WhiteHexagon 15 4,089 04-23-2024, 05:19 AM
Last Post: Jonnyc
  VoIP with SIP Mangled 8 8,625 04-07-2024, 10:19 AM
Last Post: lm2
Wink PINEPHONE not booting Touchwood 2 498 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,462 12-20-2023, 07:20 AM
Last Post: nickolas
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 24,734 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 2,090 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 102,800 11-17-2023, 08:37 AM
Last Post: Uturn
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 1,019 11-04-2023, 07:23 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)