2024-12-23.log

minuteor if you use sway, put a modeline for output DSI-1 in there that sets a slightly different clock, like 145 mhz00:01
minutech: you can try adding to sway config: output DSI-1 modeline 145 1200 1248 1280 1340 1920 1923 1928 1934 +hsync +vsync00:03
- gustav28 (QUIT: Quit: Quit) (~gustav@c-78-82-53-236.bbcust.telenor.se)00:04
minutech: and blindly start sway and tell me if the display comes on00:04
minute(for me it works, display goes off and on again on config reload)00:05
chdisplay stays off00:08
minutesniff00:12
minutedo you get new dmesg output during sway start?00:12
ch[Mo Dez 23 00:08:31 2024] panel-mnt-pocket-reform fde30000.dsi.0: [display] init in prepare...00:13
ch[Mo Dez 23 00:08:32 2024] dw-mipi-dsi2 fde30000.dsi: [drm:dw_mipi_dsi2_encoder_atomic_enable [rockchipdrm]] final DSI-Link bandwidth: 972000 x 4 Kbps00:13
chi think these appeared on sway start00:13
minuteyes makes sense00:13
minutewe can try soft reset:00:17
minuteecho 1 > /sys/devices/platform/fde30000.dsi/fde30000.dsi.0/mnt_pocket_reform_panel_dcs_read00:17
minuteand then restart sway00:17
minute(with that modeline in there so the display mode changes)00:17
chok, so i rebooted, and then i'll try the soft reset, and then start sway?00:19
minuteyes00:19
chi think on the echo 1 i got this in dmesg:00:20
ch[Mo Dez 23 00:20:12 2024] panel-mnt-pocket-reform fde30000.dsi.0: [mnt pocket reform display] DCS command 1 read result: 0x000:20
minutethat's normal ok00:21
chand then the two messages from above while starting sway00:21
chstill no display though00:21
minutesigh00:21
minutethanks for trying though!00:22
minutei really need to sleep unfortunately00:22
chsure, no worries00:22
minutebut can think about this more tomorrow afternoon or so00:22
chi'll bring the pocket to hamburg ;)00:22
minuteoh nice00:22
chif you have any ideas before hamburg, i can try them too00:23
minutemaybe i should pack some display v2s...00:23
joschshould any of the login managers like gdm, lightdm or sddm work with the reform? I tried installing gnome (flashback) and kde-plasma using debian-installer which also installs the respective login managers as part of the desktop task but during boot, nothing shows up...00:56
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.13.219)01:00
+ Ar|stote|is (~linx@149.210.13.219)01:00
- mtm (QUIT: Ping timeout: 248 seconds) (~textual@47.202.75.129)01:02
+ mtm (~textual@47.202.75.129)01:05
- paperManu (QUIT: Quit: WeeChat 4.1.1) (~paperManu@107.159.243.8)01:27
- aloo_shu (QUIT: Ping timeout: 252 seconds) (~aloo_shu@90.166.98.198)01:29
+ aloo_shu (~aloo_shu@90.166.98.198)01:33
- aloo_shu (QUIT: Ping timeout: 260 seconds) (~aloo_shu@90.166.98.198)01:43
+ aloo_shu (~aloo_shu@90.166.98.198)01:51
- Ar|stote|is (QUIT: Ping timeout: 252 seconds) (~linx@149.210.13.219)01:52
+ Ar|stote|is (~linx@149.210.12.195)01:56
- mjw (QUIT: Ping timeout: 245 seconds) (~mjw@gnu.wildebeest.org)02:12
- cobra (QUIT: Ping timeout: 276 seconds) (~cobra@user/Cobra)02:36
+ cobra (~cobra@user/Cobra)02:49
- Gooberpatrol66 (QUIT: Excess Flood) (~Gooberpat@user/gooberpatrol66)05:11
- bpye (QUIT: Quit: Ping timeout (120 seconds)) (~bpye@user/bpye)05:11
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)05:11
+ bpye (~bpye@user/bpye)05:11
- cow321 (QUIT: Ping timeout: 248 seconds) (~deflated8@user/meow/deflated8837)05:15
+ cow321 (~deflated8@user/meow/deflated8837)05:16
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu)06:39
+ hairu (m-uotkmd@user/hairu)06:41
+ chomwitt (~chomwitt@2a02:587:7a14:db00:1ac0:4dff:fedb:a3f1)07:03
- chomwitt (QUIT: Ping timeout: 248 seconds) (~chomwitt@2a02:587:7a14:db00:1ac0:4dff:fedb:a3f1)07:11
chjosch: why shouldnt they work? 08:29
chmaybe they're all broken right now in unstable :O08:30
+ robin_ (~robin@user/terpri)08:47
- robin (QUIT: Ping timeout: 248 seconds) (~robin@user/terpri)08:50
+ robin__ (~robin@user/terpri)09:00
+ chomwitt (~chomwitt@2a02:587:7a14:db00:1ac0:4dff:fedb:a3f1)09:03
- robin_ (QUIT: Ping timeout: 272 seconds) (~robin@user/terpri)09:03
- chomwitt (QUIT: Ping timeout: 264 seconds) (~chomwitt@2a02:587:7a14:db00:1ac0:4dff:fedb:a3f1)09:10
minutejosch: i assume you've removed greetd first?09:30
joschminute: thanks to BoostisBetter I have a imx8mq Reform again and am able to get back to work with debian-installer on that platform. Right now I'm trying to fix the initial boot after debian-installer installed Gnome (Flashback) or KDE Plasma. So no greetd and no additional problems on your TODO list. :D10:00
joschch: maybe the problem is elsewhere, I have to get my UART adapter out again :D10:01
minutejosch: ah, i think those login managers maybe use X?10:11
joschthat is my suspicion as well10:11
minuteand that's why they won't work on etnaviv10:11
joschthough docs of gdm for example says that wayland is supposedly the default10:11
joschbut maybe debian sets different defaults10:11
minuteon debian too?10:11
minutealso does that mean gdm itself is a wayland compositor?10:12
joschi don't know :)10:12
minutemany questions :D10:12
joschi'm investigating :)10:12
joschover in #debian-arm i also just got the suggestion to try and configure gdm or sddm to explicitly use wayland10:13
chgdm / sddm should both do wayland yes11:08
+ mjw (~mjw@gnu.wildebeest.org)12:59
- mtm (QUIT: Ping timeout: 244 seconds) (~textual@47.202.75.129)13:02
+ gustav28 (~gustav@c-78-82-52-175.bbcust.telenor.se)13:02
+ mtm (~textual@47.202.75.129)13:06
chthis (possibly old) news from #linux-rockchip:  https://www.cnx-software.com/2024/12/21/rockchip-rk3588-mainline-linux-support-current-status-and-future-work-for-2025/#rockchip-does-not-consider-rk3588-to-be-an-open-source-soc-anymore13:39
chseems sad13:40
- glu (QUIT: Ping timeout: 260 seconds) (~glu@user/glu)13:45
+ glu (~glu@user/glu)13:45
gsoraugh, not ideal13:53
bluerisereally sad14:02
blueriseSigh, time to go back to Allwinner?14:02
- NanoCodeBug (QUIT: Remote host closed the connection) (~NanoCodeB@c-67-170-15-47.hsd1.wa.comcast.net)14:02
+ NanoCodeBug (~NanoCodeB@c-67-170-15-47.hsd1.wa.comcast.net)14:03
+ paperManu (~paperManu@107.159.243.8)14:13
[tj]nxp might make another soc in about 5 years14:18
- aloo_shu (QUIT: Ping timeout: 252 seconds) (~aloo_shu@90.166.98.198)14:18
+ aloo_shu (~aloo_shu@90.166.98.198)14:27
minutech bluerise: i wouldn't believe this just like that without any proper sources14:33
chyeah, people in #l-rockchip claim its old news anyway, but it would be good if there was an official statement15:11
[tj]one day I will find someone who can explain this vendor driver world, because I just can't figure it out15:15
chi think thats just the state of it, "hard/impossible to figure out" :D15:18
[tj]it the scheme of things paying the open source people to write drivers for you is incredibly inexpensive15:34
[tj]it isn't really something that could be crowd funded at a scale to make real progress, but in the terms of spinning a silicon revision its a side note15:35
grimmwarehey team, I'm trying to run a linux vm using qemu on my pocket, and uboot seems to always shit the bed when I use qemu-xhci (or use ehci with a usb-kbd). Does that ring any bells for anyone?15:41
grimmwareI've built uboot from upstream, this might be the wrong thing to do?15:43
grimmwareihavenoideawhatimdoing.jpg15:43
- paperManu (QUIT: Quit: WeeChat 4.1.1) (~paperManu@107.159.243.8)15:52
chwhy is uboot involved?15:56
chnot sure what you are trying to do, but if you want to run, say, debian in a vm, i'd boot qemu with edk2 and not uboot15:56
grimmwarech: uboot was involved because I have no idea what I'm doing :P16:02
chright :)16:02
grimmwarethanks for the hint though :)16:04
grimmwareokay now we're cooking with gas!16:11
grimmwarech: thanks <316:11
- mjw (QUIT: Ping timeout: 276 seconds) (~mjw@gnu.wildebeest.org)16:30
chgrimmware: did you get kvm working?16:37
chah16:38
ch-enable-kvm -cpu host -machine gic-version=host16:38
chhttps://paste.debian.net/hidden/618dfe5c/ this actually works16:39
grimmwarech: yeah, got an arm64 kali vm running :)17:07
+ mjw (~mjw@89.205.136.254)17:12
chnice17:33
grimmwareyeah pretty pleased that's working17:36
joschgrimmware: this is what i use to boot system images in a qemu vm on my a311d reform: https://source.mnt.re/reform/reform-system-image/-/blob/main/emulate.sh17:38
chah accel=kvm:tcg tries kvm first and then falls back to tcg?17:45
+ yankcrime (~nick@gw.tetromino.io)17:46
chedk2/ovmf/... is easier to deal with if you just want to boot an .iso17:46
+ paperManu_ (~paperManu@107.159.243.8)17:52
- mjw (QUIT: Ping timeout: 246 seconds) (~mjw@89.205.136.254)17:55
+ mjw (~mjw@89.205.136.254)18:01
- mjw (QUIT: Ping timeout: 265 seconds) (~mjw@89.205.136.254)18:18
chnewsletter \o/18:20
+ chomwitt (~chomwitt@2a02:587:7a14:db00:1ac0:4dff:fedb:a3f1)18:48
- chomwitt (QUIT: Ping timeout: 265 seconds) (~chomwitt@2a02:587:7a14:db00:1ac0:4dff:fedb:a3f1)18:54
svpis this where i can suggest a feature request for the website? i'm currently stuck with 4 phantom items in my cart after taking out some items i left there a while ago, a "empty cart" button would be nice18:57
joschch: yes, same with -cpu max which gracefully falls back if -cpu host doesn't work18:59
joschch: i was taught by mjt and helmut :)19:00
josch*tought19:00
joschoh no wait it *is* taught19:00
joschuuuh MNT December 2024 Newsletter \o/19:01
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)19:03
minutejosch: quite a big newsletter eh :D19:11
joschit's huge!! o019:11
minutesvp: yes we know about this bug but have no idea yet how to fix it ;__; the shop is a ruby on rails nightmare (solidus)19:12
minuteidk how the phantom items get there19:12
svpi think i had a 3.0 keeb at some point19:12
minutebut i'm finally done with campaign video + we're also done with the main content for the campaign so i can claw my way back to normalcy19:12
- paperManu_ (QUIT: Ping timeout: 265 seconds) (~paperManu@107.159.243.8)19:13
+ mjw (~mjw@212.78.174.2)19:15
+ paperManu (~paperManu@107.159.243.8)19:41
+ murph__ (~murph@pool-108-35-93-154.nwrknj.fios.verizon.net)19:52
- NanoCodeBug (QUIT: Remote host closed the connection) (~NanoCodeB@c-67-170-15-47.hsd1.wa.comcast.net)19:58
- murph_nj (QUIT: Remote host closed the connection) (~murph@pool-108-35-93-154.nwrknj.fios.verizon.net)19:58
- Ar|stote|is (QUIT: Ping timeout: 265 seconds) (~linx@149.210.12.195)19:58
+ Ar|stote|is (~linx@149.210.12.195)19:59
+ NanoCodeBug (~NanoCodeB@c-67-170-15-47.hsd1.wa.comcast.net)19:59
minuteit was mentioned here before but console font-size setting has regressed in our system images recently.20:21
minute(on pocket)20:21
- mjw (QUIT: Ping timeout: 244 seconds) (~mjw@212.78.174.2)21:17
+ mjw (~mjw@212.78.174.2)21:40
joschis the regression of font size maybe due to21:43
joschhttps://source.mnt.re/reform/reform-system-image/-/commit/b4dff490c593a459f6f740b0bf6383fb2937d06821:43
joschcombined with:21:43
joschhttps://source.mnt.re/reform/reform-imx8mp-uboot/-/commit/fab5f15427c43f5000bc8f428dd6d2ce2260bac721:44
joschand for the first to work you need u-boot on your pocket with the latter commit?21:45
minutejosch: i saw this on a test a311d pocket reform with the freshest newest system image21:47
minuteaha21:48
minutethis is not tagged https://source.mnt.re/reform/reform-a311d-uboot/-/commit/c4e9342d0afd1fbe64dd105b1f0ec820c4b7a01321:48
minuteprobably that's the issue?21:48
joschdepends what the desired end-goal is i say21:49
joschminute: because you also said that users are not supposed to upgrade their u-boot on the pocket21:49
minutejosch: yeah but we can do that at the MNT factory :"321:49
joschand that change in reform-system-image sounds like it requires a u-boot upgrade to have the desired effect?21:49
minuteyes21:49
minuteand that requires the new 2024-12-23 tag that i just made i think21:49
joschaha cool!21:50
minutein reform-system-image's a311d section21:50
joschhm.... i don't see it yet21:51
joschi'm looking at the "activity" lists for reform-system-image and reform-imx8mp-uboot repos in the gitlab21:51
minutea311d22:02
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@212.78.174.2)22:10
+ mjw (~mjw@212.78.174.2)22:14
- gustav28 (QUIT: Quit: Quit) (~gustav@c-78-82-52-175.bbcust.telenor.se)22:15
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)22:24
joschah sorry, i misunderstood -- indeed imx8mp-uboot has the fbcon=font:TER16x32 already in the latest tag, only a311d-uboot was missing22:38
minuteyes :322:46
joschnice, started reform-tools 1.65 with the u-boot version bump: https://source.mnt.re/reform/reform-tools/-/merge_requests/10822:47
minutecool, thanks!22:48
joschokay, so imx8mq classic reform with motherboard 2.0 here. OLED shows 2.2 V per cell, off and 0A charging for a few seconds only to then get into the "waking up lpc" screen and then showing the battery info again.23:03
joschi tried both the original AC adapter as well as a USB-C PD->barrel jack adapter which shows 0W power draw23:03
joschmotherboard 2.0 is on the latest firmware23:03
joschthe two red leds on the motherboard are lit up when i plug in power23:04
joschi think nocko had the same issue recently23:06
minutejosch: hmm which mb rev did you build for?23:16
minutei think it detects undervoltage and goes to sleep23:17
minutebecause 2.2V is undervolted23:17
minuteyou could try disabling the undervolt case in the state machine23:18
joschi didn't build it, i downloaded it using the script in the repo23:18
joschreform2-lpc-fw/download-fw.sh that is23:18
josch./download-fw.sh 20_R323:19
minutemaybe it's a combination of undervolt state and soft start23:19
joschthese seem to be the protected battery boards -- should the undervolt state happen at all?23:20
joschalso, the soft start method should only be done for motherboard 2.5, no? because motherboard 2.0 does not draw more than ~65 W (i was able to confirm that while it was still working) and the soft-start approach is only relevant for motherboard 2.5 which can draw much more, no?23:22
joschi'll build and flash lpc fw 2023-11-24 which is before the soft-start23:27
minutejosch: undervolt state is indeed not necessary anymore with protected boards...23:27
joschthe soft-start code also does not seem to be guarded to only apply to mb25, no?23:27
minutejosch: true, i didn't consider that about soft-start. one could hide the functionality behind a ifdef23:27
minutejosch: correct. we should fix that23:28
joschit is so satisfying to finally see bugs myself again23:28
minutehaha niice23:28
joschbecame quite frustrating with all the pocket users having issues and all i can do is twiddle my thumbs XD23:28
joschthank you for the pointers, i now have some things on my todo list to try out and eventually patch :)23:29
minutenice23:29
chminute: josch: withou having looked at the links, the problem i saw was that at boot the font size is correct (gets inherited from uboot), but later it gets reset to unreadable23:31
joschhramrach: you worked on the pocket reform font size issue last i think?23:32
ch(i'm guessing console-setup is applying the old default of tiny again, but havent had time to investigate)23:33
- aloo_shu (QUIT: Ping timeout: 244 seconds) (~aloo_shu@90.166.98.198)23:33
+ jacobk (~quassel@47-186-65-73.dlls.tx.frontiernet.net)23:34
joschbingo, it's charging again with firmware version 2023-11-2423:39
minutejosch: aha, nice!23:40
minuteso perhaps nocko could try that too23:40
joschnocko: you said that your problems started after you upgraded the firmware. I observed the same and problem got solved by downgrading to 2023-11-24.23:40
nocko@josch ty!23:42
joschminute: but how did this undervolt situation happen? i never had this issue with motherboard 2.5 i think.23:42
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-65-73.dlls.tx.frontiernet.net)23:43
+ jacobk_ (~quassel@2600:1700:5410:dae0:d05d:5d80:8091:98e8)23:43
+ aloo_shu (~aloo_shu@90.166.98.198)23:44
nockoSeems like a few people may have run into this: https://community.mnt.re/t/new-batteries-not-charging/2695/523:50
* robin__ -> robin23:55

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