Soooo one of the rear cameras and the front camera now work (for some definition of work) on the OnePlus 6?!!
fwiw this was taken in low light
Thanks to the mysterious DrGit who showed up with the patches. Seriously awesome!
@cas what's with the debayering (?) artifact pattern oops
my moto e5 doesn't have that problem xD
@valpackett good question heh i have nooo idea,,, this is the "get data" phase, next up is "make it look at all usable" >,<
OnePlus 6 camera support MR opened
edit2: fixed the MR!
edit: forgot to enable the drivers so this doesn't actually work yet
mrtest it yourself once CI finishes and reply with your own totally epic and cool OnePlus 6 selfies :3
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6148
@cas Wait... so we have UEFI, volte, and cameras????? What happened to all the articles saying pmOS could never have those?????? (I might have to get back to daily driving.)
@cas They might not be perfect, but they work. That is what matters in these early stages.
@matthewcroughan @ollieparanoid @newbyte nah we just look epic 😎 (camera is pretty bork lmao)
@fell might just work, maybe some regulators missing, give it a go
@weirdtreething @cas Looks like I'm back to daily driving pmOS then! I don't care about the quality. As long as it's good enough to read QR codes I'm in!
@weirdtreething @cas I've never posted a picture of myself on this account, but this is important.
Looks like my front sensor has 3 dead pixels. Acceptable.
@cas It works on 6T!!!! Well, 2 of 3 work, one of the Back Cameras did not show anything when selected in Snapshot. For some reason, the front camera is very zoomed in and I couldn't get my whole face in frame. The rear camera is very blurry (guessing due to the lack of focus coil driver) but got the colors of my keyboard a lot better.
Also, on reopening Snapshot, the front camera is now just black and purple with no in between...
@cas This looks like some crazy filter you'd find in a music video now...
@cas Things are much better for the front camera in QCam
@cas According to QCam, it is the imx519 sensor that does not work. The imx371 and imx376 do work.
@cas The main camera seems to be stuck in macro mode, but look! Colour!
@cas It's even doing video! I don't know why it has been compressed this badly. The compression artifacts certainly weren't there in the view finder.
@cas @ollieparanoid @newbyte That looks like those band photo straight from the 90s. 👍
@pavel @weirdtreething @fell @cas You have pixels and not just an AI making it all up?!
@fell @cas Yeah, this needs further tweaking in Snapshot, currently using the openh264 encoder element with default settings. I.e. we'd need either a setting with, possibly with low,mid,high quality presets - or some auto-detection.
Even better would be to make the venus v4l2 encoder more robust so we can re-enable it by default (with much higher quality settings).
See also https://gitlab.gnome.org/GNOME/snapshot/-/merge_requests/228 for some WIP work.
@fell @weirdtreething @cas
Hello, how do you proceed to install it on your OP6 ? I have a OP6 with PmOS2412, what should I do to get this working ? Thanks
@MonetPhil You switch to the edge channel using I think 'postmarketos-release-upgrade edge', and then you use 'mrtest add 6148' to get the modified kernel.
@pavel @weirdtreething @fell @cas I think it was Samsung who just fabricated the entire moon :D
@pavel @weirdtreething @fell @cas But yeah, just throw a DALL-E interface into megapixels, I'm sure people will love that /s
@cas Nice work! But my OP6 doesn't find any cameras. I am on Edge/systemd by the way, don't know if that matters.
Snapshot worked for me as well (and with better results than qcam), although not consistently. Depending on the light situation I get a black image or purple tint (with the front camera). The fix suggested in https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/79523 by @rmader does not really solve the purple tint issue consistently.
@rolandlo @tomasoqvist @rmader@mastodon.social hmmm interesting i wonder why it works for you and not me
@pavel @weirdtreething @fell @cas My desire to commit evil has significantly lessened after I evolved a brain.
I'm not using systemd currently though, if that matters.
@rolandlo @cas @tomasoqvist FTR. the only difference that systemd should make here is that it restarts Pipewire if it crashes.
@pavel @usia the front camera and secondary rear cam work. imx371 and imx376k respectively
the front cam is SRGGB10 probs same for the back but didnt check. you can find the sensor drivers here.
would be cool to switch to the ccs driver which i think should support these
https://gitlab.com/sdm845-mainline/linux/-/commits/sdm845/6.13-release?ref_type=heads
@cas @valpackett Thats going to be the PDAF pixels. The PPP had the same issue, you should be able to fix it with something similar to this but you will need the datasheet for the camera sensor to see what values you need to change https://patchew.org/linux/20240602201345.328737-1-git@luigi311.com/20240602201345.328737-20-git@luigi311.com/
@cas I am so excited 🤩 For me only the front camera works after reboot for a few seconds until it crashes and rear camera does not work at all but thats an awesome progress 😍
Should I open a bug report or comment under the MR with details or is it too early for that?
#PostmarketOS #OnePlus6 #LinuxMobile
@vixalientoots @DrRac27 hmm i see, can you do
`dmesg -n 8`
on a fresh boot, then run "dmesg -w" and note what gets printed when you try to use the camera? annotated logs (so writing about what exactly you did when in the log file) would be super useful
@cas I now have a nice debug file with a call trace. How should I send it to you? Matrix maybe?
@cas
This made me swap from pmOS v24.12 to edge on my daily driver. Amazingly great, I shout praises from the mountain🌄