Tuesday, 2026-10-13

Mister_Magistermal: got the display working!00:01
Mister_MagisterIT VIBRATED ON BOOT! we got haptics!00:11
*** n2klb_ is now known as n2klb01:49
T42<Herrie1982> You can simply point Claude at the legacy driver something that is from the same vendor a bit older or newer already in mainline and ask him to get It done. Worse case have Ghidra decompile closed source blobs to reverse engineer05:07
T42<Herrie1982> For 1 driver this should be feasible though audio isn't easy05:07
T42<Herrie1982> I mean I had the whole camera stack including the encoders, decoders etc done this way on apq8060 same for the crypto chip etc that wasn't even used by HP on this soc. Had HTC, Sony and Samsung roms for the same soc for cross checking at times05:15
Mister_Magistermal: i'm having trouble packaging the mainline. I updated dhv to latest version because it was pulling droid-hal and stuff but now dhv is still pulling droid-hal-kernel and like, i don't see package that'd build it12:53
Mister_Magisterkernel-adaptation stuff sure as heck does not build it https://github.com/sailfish-on-dontbeevil/kernel-adaptation-pine64/blob/master/kernel-adaptation-simplified/kernel-adaptation-simplified.inc12:54
Mister_Magisterso im dumbfounded at how pinephone is built at all12:54
Mister_Magisterthere's also no package that'd build kernel image with ramdisk12:54
Mister_Magisteri'm really confused12:54
Mister_Magisterhttps://github.com/sailfish-on-dontbeevil/kernel-adaptation-pinetab2/blob/main/kernel-adaptation-simplified/kernel-adaptation-simplified.inc this one has Provides:       droid-hal-kernel12:55
Mister_Magisteri love that there's not one repo for this12:55
T42<Mister_Magister> @adampigg fix it12:56
Mister_Magisterxdd12:56
T42<adampigg> mister_magister pine is stock linux, see also eg https://github.com/HelloVolla/kernel-adaptation-halium-algiz12:56
T42<adampigg> these ones use common submodule now12:56
Mister_Magister@adampigg that's a goldmine thanks!12:56
T42<adampigg> this one is using the halium ramdisk, but you could switch it out12:57
Mister_Magisterofc i will switch it to hybris one12:57
malMister_Magister: for dhv, did you use native_build define?13:04
Mister_Magisteryes13:04
Mister_Magisterthat still requires droid-hal-kernel13:04
Mister_Magisterolder one requires droid-hal too13:04
maldroid-hal-kernel might be just for naming, having that as Provides in kernel packaging should be enough13:04
Mister_Magisteryes i know13:04
Mister_Magisteradam provided what I need don't worry13:04
Mister_Magister@adampigg your kernel-adaptation-simplified won't work for me, prepare for nuclear PR13:07
T42<adampigg> if it by claude it gets instant rejection :D13:07
T42<adampigg> but yes, id like this to be more shared13:08
Mister_Magisteryou won't even know13:08
Mister_Magister@adampigg accept plz https://github.com/HelloVolla/kernel-adaptation-simplified/pull/113:16
T42<adampigg> thanks  ... looks sane...13:18
Mister_Magisteryes it does, fully claude generated but obvio i CR'd it and came to same conclusion13:19
T42<adampigg> could you also do a PR for adding all the variables to a readme.md ?13:19
Mister_Magisteri know what it's doing because i was doing it manually13:19
Mister_Magister@adampigg you mean add new varaibles to the readme?13:20
T42<adampigg> yes13:21
Mister_Magister@adampigg done13:22
Mister_Magister@adampigg about the kernel-adaptation-simplified.inc, in mersdk lz4, dtc and python3 packages don't exit. There's python3-base but that's about it. Did you test it?13:31
T42<adampigg> i have a dtc package on one of my ports13:32
T42<adampigg> and yes, that submodule is building kernels for me13:32
Mister_Magisterbut python3 pacakge doesn't exit either in sb2 target or in sfos in general13:33
Mister_Magistersame with dtc13:33
Mister_Magisterlz4 seems to exist on 5.113:33
Mister_MagisterSo i cannot use it13:33
Mister_Magisterso i'm pondering how do you build it if those packages don't exist in sfos13:34
T42<adampigg> get dtc from https://build.sailfishos.org/project/show/nemo:devel:hw:fxtec:halium-qx105013:34
T42<adampigg> i dont use dtc on the mtk kernels13:34
Mister_Magisterand lz4 and python3?13:34
Mister_Magisterok lz4 is on 5.1, then python3? there's python3-base if you want it13:35
T42<adampigg> ah, i remember13:36
T42<adampigg> kernel build happens on ubuntu vm on gh action13:36
T42<adampigg> https://github.com/HelloVolla/kernel-adaptation-halium-algiz/actions/runs/32591254169/job/9707534598713:36
Mister_Magisterso like… should I fix it?13:37
Mister_Magisteryou can move those dependencies to kernel-adaptation-<device>13:37
T42<adampigg> no, obs kinda sucks for kernel builds, and getting matching compiler versions13:37
T42<adampigg> maybe13:37
Mister_Magisterwell I'm not gonna build it on github actions, i have mb2 locally i want to build it using mb213:37
T42<adampigg> mainline kernel might work better on obs, like the pine ones do13:37
Mister_Magisteri am using it with mainline13:38
T42<adampigg> ok, work it out and sen PR/docs13:38
Mister_Magisterxd13:38
Mister_Magistermkay13:38
Mister_Magister@adampigg ok i worked it out, added if for fedora for python3 and else for python3-base, lz4 stays, dtc goes out the window it's device specific not needed for mainline13:42
Mister_MagisterI'll make PR once you merge current one13:43
Mister_Magistermal: so i wanted to update sfossdk (not to be confused with sfossdk) and it's asking me for credentials to Authentication required for 'https://releases-internal.jollamobile.com/releases/5.1.0.11/jolla-hw/adaptation-jolla-x86-emul/i486/'13:53
Mister_Magisterheck even 5.0.0.62 requires credentials for zypper ref13:58
Mister_Magisteri rm -rf'd and installed latest one now its 5.114:01
Mister_Magisteridk man14:01
Mister_Magister@adampigg https://github.com/HelloVolla/kernel-adaptation-simplified/pull/214:12
malthat probably would have been fixable with some ssu commands14:36
Mister_Magisteryeah i don't know such commands14:38
Mister_Magister@adampigg pleasure doing business with you xdd15:05
T42<adampigg> all working? (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>@ad...)15:05
Mister_Magisterseemingly yes15:06
Mister_Magisterhaven't actually tested it but i'm gonna be trying to build mic image15:06
Mister_Magistermic is running now15:09
Mister_MagisterI should have touch now too so like fully funcitonal device xdd15:09
Mister_MagisterI wish15:10
T42<adampigg> mister_magister: for now, user/group additions need to be in kickstart .. i will move that to the kernel-adaptation-simplified post install step though15:14
Mister_Magisteruser/group additions?15:15
T42<adampigg> eg https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/usr/share/kickstarts/Jolla-%40RELEASE%40-halium-mimir-devel-%40ARCH%40.ks#L12615:17
T42<adampigg> these are ususally created in DHD15:17
Mister_Magistero…oh that looks scary, i don't have that15:18
Mister_Magistershouldn't it be somewhere else tho15:19
Mister_Magisterhow the heck does sfos even build a kickstart file15:20
T42<adampigg> yeah, im moving the kernel package .. then more like standard sfos15:21
Mister_Magister@adampigg wait, the halium-mimir is not mainline right?15:28
T42<adampigg> correct, halium .. its in the name!15:29
Mister_Magisteryeah yeah15:29
T42<adampigg> its just similar to what you need with a custom kernel build15:29
Mister_Magister@adampigg https://github.com/sailfish-on-dontbeevil/droid-config-pinephone/blob/master/patterns/patterns-sailfish-device-adaptation-pinephone.inc requires mesa-dri-drivers but those are not in standard repo?15:29
T42<adampigg> https://build.sailfishos.org/project/show/nemo:devel:hw:native-common15:30
Mister_MagisterNATIVE-COMMON?!15:30
Mister_Magisterwhy nobody told me about it15:30
T42<adampigg> also https://github.com/sailfishos-native15:31
T42<adampigg> its definitely been discussed on here plenty :D15:31
Mister_Magisterno it hasn't15:32
Mister_Magistersomeone should write HADK for native, and that someone could be me15:32
T42<adampigg> i think only me and alfe nulle have done it15:47
Mister_Magisterwell you gonna get lot more mainline from me15:48
Mister_Magister3 ports at least maybe 415:48
Mister_Magisteri'll convert x2 entirely to mainline and maybe pipa, op6 i'll have mainline and downstream ports in parallel15:48
Mister_Magister"won't that be a mess?" yeah15:49
Mister_Magistermic is mic'ing finally15:49
T42<Mister_Magister> @edp_17 ping, would you mind adding this file to yer ports? https://github.com/VerdandiTeam/droid-config-pipa/blob/master/.portslistinfo16:06
T42<Mister_Magister> @b100dian that extends also to your nagara :)16:06
Mister_Magisterrinigus: tama please ^^16:07
Mister_Magisterthe list is nicely slowly being filled in16:08
Mister_Magisterits so fun seeing systemd on display16:13
maldid you do display using the simple panel driver or did you need a separate driver? is gpu working?16:15
Mister_MagisterI don't know16:15
Mister_Magisterclaude adapted the dtb of downstream display using script and used separate driver i think? if i understand correctly16:16
malnot sure if iommu has progressed yet16:16
Mister_Magistermce can control display brightness and turn it on/off16:18
Mister_Magisterdroid-late-start.service didn't start but like… duh16:19
Mister_Magistersystemd-sysctl.service and systemd-tmpfiles-setup.service failed16:19
Mister_Magisterprobably no biggie16:19
Mister_Magisterwait i touched it because mce dimmed the screen and was about to turn it off16:19
Mister_MagisterTOUCH WORKS16:19
mallooks like no iommu yet, the patchset is still wip https://lore.kernel.org/linux-arm-msm/20260809-msm8974-iommu-upstream-v1-0-87f5cd492560@oss.qualcomm.com/16:20
Mister_Magisterand why is that important?16:20
malneeded for gpu16:20
Mister_Magisteruhhhh16:21
Mister_Magisteri only seen iommu when redirecting gpu to VM16:21
Mister_Magisterfixed env variables and startup wizard started16:23
Mister_Magisterno touchy… probably wrong evdev16:23
Mister_Magisterhm i changed input device but still no touchy16:27
Mister_Magistercould it be because of permissions?16:28
Mister_Magistermal: uhh mesa-dri from native-common doesn't have freedreno driver?16:36
Mister_Magisterhow am i supposed to use my gpu then16:37
Mister_Magisterhttps://build.sailfishos.org/package/view_file/nemo:devel:hw:native-common/mesa/_service:tar_git:mesa.spec?expand=1 it should have freedreno16:38
Mister_Magisteryou enable freedreno only for aarch64, why?16:39
Mister_Magister@adampigg explain yourself16:39
Mister_Magisterah pardoname %{arm} includes armv716:41
Mister_MagisterITS COMMENTED OUT i'm blind, also why16:41
Mister_Magisterbut mal i assume freedreno is not gonna help me due to lack of iommu right?16:46
T42<adampigg> @mister_magister: is my native-common project working for you?  Mesa could do with an update to latest point release of current major version, but newer breaks lipstick17:17
Mister_Magister@adampigg no it aint, mesa lacks freedreno17:19
T42<adampigg> ah ok, try adding it :)17:20
Mister_Magisteri did https://build.sailfishos.org/package/show/home:mister:branches:nemo:devel:hw:native-common/mesa#17:21
Mister_MagisterLadies and gentlemen, I'm in!17:38
Mister_Magistergot the gui!17:39
Mister_Magisterand tough!17:39
Mister_Magisterthe gui via llvmpipe is unusable17:39
Mister_Magisterclaude has idea for gpu without iommu17:39
T42<TheVancedGamer> GPU without iommu already works albeit very broken17:40
T42<TheVancedGamer> One tlb fault and it crashes the entire kernel17:40
Mister_Magisteryeah, i was told about that17:40
Mister_Magisterbut like llvmpipe is unusable17:41
Mister_MagisterI can't scroll memes liek that17:41
T42<TheVancedGamer> ...apply the posted iommu patches?17:41
Mister_Magisterbut they're wip?17:41
Mister_Magisterand i'm on 6.1617:41
T42<TheVancedGamer> why not ask your clanker to move to 7.217:42
T42<TheVancedGamer> and wip will still work17:42
Mister_Magisterbecause https://github.com/msm8974-mainline/linux doesn't have 7.217:42
Mister_MagisterI just asked clanker if its possible to apply the WIP patches and it started just going at it17:44
Mister_MagisterI mean, cool17:44
Mister_Magisterstill need mesa to build but it's taking sweet time17:45
Mister_Magisterit do be scheduled17:45
Mister_Magisterserver is idle :/17:45
T42<adampigg> waiting for mister_magister's harddirve to be rm -rf'd17:47
Mister_Magister@adampigg won't happen17:47
Mister_Magister+ snapshots17:48
Mister_Magister+ claudine runs in docker because i hate it17:48
T42<TheVancedGamer> secretly hoping anthropic bans the account17:51
Mister_Magisterwhy xd17:51
Mister_Magisterwhy you guys being meanies17:51
Mister_Magisteri'm here all excited about mainline and y'all being mean >:(17:52
Mister_Magistermesa is building17:53
Mister_Magister@TheVancedGamer the wip won't work17:53
T42<adampigg> im currently overwhelmed with AI PRs to Amazfish, and had to write an AI policy!17:54
T42<adampigg> one guy submitted a massive 70 file PR changing the whole UI!17:54
Mister_Magistergood for ya i'm still waiting for my first PR17:55
Mister_Magister@TheVancedGamer https://lore.kernel.org/linux-arm-msm/DLBKL8SJL58R.2XQ76X6JILZ8E@fairphone.com/17:55
Mister_Magister801 does not work :(17:56
Mister_Magister@adampigg https://github.com/sailfishos-native/mesa/pull/217:57
T42<adampigg> done18:00
T42<Mister_Magister> @adampigg trigger obs?18:00
T42<adampigg> k18:00
T42<Mister_Magister> thank you18:00
T42<Mister_Magister> or just add me as maintainer of native-common lmao18:03
T42<adampigg> was about to aks what your obs username was18:03
T42<Mister_Magister> mister :)18:03
T42<adampigg> thgought so18:04
T42<Mister_Magister> they didn't like underscores18:04
T42<adampigg> we need a Mrs18:04
T42<Mister_Magister> @adampigg I lost all hope for Mrs18:04
T42<adampigg> :/18:05
T42<Mister_Magister> but hey, more sfos development for everyone!18:05
T42<adampigg> dont break stuff18:05
T42<edp_17> @Mister_Magister , I'll include that .portslistinfo when I touch my ports next time.18:06
T42<adampigg> @edp_17 dont do it, it will greatly wind him up 😄18:08
T42<Mister_Magister> @edp_17 but that's so looong :D18:09
*** kimmoli_ is now known as kimmoli18:17
T42<adampigg> @Mister_Magister user/group creation is now in the submodule18:20
T42<adampigg> just waiting for a build to finish to test18:21
T42<Mister_Magister> @adampigg https://github.com/VerdandiTeam/droid-config-victara/blob/master/kickstart/post/99_groups18:22
T42<adampigg> that fine until you need a new group like uhid18:24
Mister_Magisteri fixed kernel modules and now i got no wifi18:47
Mister_Magisteri mean usb18:48
T42<edp_17> @adampigg , don't worry, I was just joking. I don't like including third party stuff into my ports. :D19:02
T42<edp_17> @Mister_Magister, not so long, I just started to update my ports to 5.1. Sadly the hammerhed already done, but the rest can get this. A bit more info about why is it useful, what will it be used for, etc?19:04
Mister_Magisterwell if ya don't know https://portslist.verdanditeam.com/19:04
Mister_Magisteryou can skip any field you don't feel like filling in19:05
Mister_Magisterits a tiny file not a huge commitment19:06
T42<edp_17> Looks great. How does that site get the data?19:07
T42<Mister_Magister> scrapes obs19:08
Mister_Magisterliterally least amount of work from porters possible19:08
Mister_Magisteri just need file to know who you are and what doesn't work it's not that much :)19:08
Mister_Magisterusers then can clearly see the issues19:09
T42<edp_17> Sounds good and finally we'll have a page that is up to date. At least it will be eventually.19:09
Mister_Magisteryeap literally path of least resistance because, you made new port? you don't have to do anything it's already there19:10
Mister_Magisteryou updated? already there you don't have to do anything19:10
Mister_Magisterthe actual troube is getting porters to add one tiny text file19:11
Mister_Magisteralso it only scrapes nemo:testing because if it aint got testing it ain't got ota so it's probably not ready19:12
Mister_Magisterjust device and version are enough to say "this device has port and is up to date" so that's already huge win19:14
Mister_Magisterneeded to change from rndis to usb0 in connman/main.conf19:31
T42<adampigg> dont do that, connman supports conf.d19:32
Mister_Magisterwhat19:32
T42<adampigg> see any volla port19:32
Mister_Magisteri don't care i want my usb to be working, obviously it's not permanent19:32
Mister_Magistereven with that fix ssh doesn't work19:33
T42<adampigg> https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/etc/connman/main.conf.d/mtk.conf19:33
Mister_Magisterbrother, it's not permanetn19:34
T42<adampigg> us usb-moded configs there for usb0 to fix ssh19:34
Mister_Magisterwhat19:34
T42<adampigg> https://github.com/HelloVolla/droid-config-halium-mimir/blob/master/sparse/etc/usb-moded/99-usb-moded-config-mtk.ini19:37
Mister_Magisterthat just made usb not work altogether19:37
T42<adampigg> you might need setup-configfs etc, also in there, and make sure using correct usb driver type.  ncm is best19:38
Mister_Magisterbrother, all i want is ssh, usb was workign fine with usb-moded masked19:38
Mister_Magisterit doesn't detect usb connection properly so usb-moded is not gonna work19:50
T42<adampigg> Maybe just the dontbringdownatstartup?19:52
Mister_Magisterit's already there19:53
Mister_Magisterand ssh still doesn't work19:53
Mister_Magistercombining your config, my configfs, and claude's tracking charger, it did set up ncm device but now i get no route to host19:54
Mister_Magisterah the classic, it created usb119:55
Mister_Magistermaybe do bring it down on startup19:55
Mister_Magisterchanged to rndis and it works finally20:01
Mister_Magister@adampigg how do you ship wifi firmware20:07
Mister_Magisterwait, i just realised, haptics in sfos don't work, but i'll read up on ffmemless20:24
Mister_Magisteri'm close to wifi20:24
Mister_Magistergreat I reboot and no usb xd20:29
T42<TheVancedGamer> klaudia debug my usb20:31
Mister_Magistermy man20:32
Mister_Magisterclaudine <320:32
Mister_Magisterclaudine fix the guy's WIP IOMMU for 801 plz kthx20:32
Mister_Magisterngl if claude would fix it i'd email the guy xd20:32
T42<leandrofriedrich> klaudia nakóduj mi usbčko (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>gre...)20:33
Mister_Magisteri'm not czech20:33
Mister_Magisterbut yes20:33
T42<leandrofriedrich> me neither 🧌 (re @SailfishFreenodeIRCBridgeBot: <Mister_Magister>i'm...)20:33
T42<Mister_Magister> xddd20:33
Mister_MagisterGOT WIFI!21:07
Mister_Magisterbut broke usb21:07
Mister_Magisterdunno why enabling one rail that ONLY goes to wifi chip breaks usb21:07
T42<adampigg> mister_magister, something like this? https://build.sailfishos.org/package/show/nemo:devel:hw:pine:dontbeevil/realtek-bt-firmware21:21
Mister_Magisterso you just pushed files to githu repo?21:22
Mister_Magisteri guess it owrks vendor works same way21:22
Mister_Magisterusb fixed21:23
T42<adampigg> what was it21:23
Mister_Magisterextcon_path = /sys/class/extcon/extcon021:23
Mister_Magisterstill no clue why unrelated rail broke it21:24
Mister_Magisterbut i got wifi and usb21:24
Mister_Magisterif only i got gpu21:24
Mister_Magisterit would be literally usable in this state21:24
Mister_Magisteroh wait, haptics, lemme look into that21:25
Mister_Magisterwait mce doesn't control led how sad21:26
Mister_Magisterwait, did anyone do modem on mainline on sfos not on pinephone?21:42
T42<adampigg> Some i think, but it's difficult21:45
Mister_Magisterbt works too21:47
Mister_Magisterjust like that21:47
Mister_Magisterdidn't have to do anything21:47
Mister_Magister@adampigg got any links?21:47
Mister_Magisterthe ofono plugin would be useful21:47
T42<adampigg> https://wiki.nura.eco/wiki/MSM8916_Mainlining21:50
Mister_Magisterno that much i know brother thanks21:50
Mister_MagisterI'm asking on sailfishos21:50
Mister_Magisterbro I'm STILL waiting on new mesa21:53
Mister_Magistermal: ngfd says "Vibra upload effect: No space left on device", claude says sfos loads too many effects (limit is 16) do you know anything about it?22:07
malMister_Magister: you need to change the limit to 6422:15
Mister_Magisterhuh22:15
Mister_Magisterwill do thanks!22:16
Mister_Magistermal: that worked thanks!22:25
Mister_Magistermmm lost usb again22:26
Mister_Magisterwhat is this inav and why does it block entire obs22:37

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!