lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
<DC-IRC> [Discord] <amazingfate> rockchip-multimedia-config should have done the path of libv4l2.so
<DC-IRC> [Discord] <spooky8086> Ah, i had to do it manually a long time ago before i discovered your great ppa. Thanks for letting me know!
<DC-IRC> [Discord] <amazingfate> @gospod13337 running chromium by command `LIBV4L_RKMPP_LOG_LEVEL=7 chromium-browser --enable-logging=stderr --v=1 > log.txt 2>&1`, then you can get rkmpp debug log from `log.txt`
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC> [Discord] <gospod13337> https://filebin.net/5l7qc7kjo996devb
<DC-IRC> [Discord] <gospod13337> Dont know if I can try this now, because maybe it will break alot of stuff. 80 newly installed packages
<DC-IRC> [Discord] <gospod13337> I will make another identical OPi5 now and try it there
<DC-IRC> [Discord] <gospod13337> It is updating libreoffice now
<DC-IRC> [Discord] <gospod13337> I need powerpoint to please present the bug to the judges
<DC-IRC> [Discord] <gospod13337> We will forge this bug out of fire
<DC-IRC> [Discord] <gospod13337> So everything is identical to this post, only these commands were executed on a freshly flashed armbian:
<DC-IRC> [Discord] <gospod13337> Also your 80 new packages....
<DC-IRC> [Discord] <gospod13337> Still dropping:
<DC-IRC> [Discord] <gospod13337> Still dropping frames:
<DC-IRC> [Discord] <gospod13337> Solved
<DC-IRC> [Discord] <gospod13337> ```
<DC-IRC> [Discord] <gospod13337> # Chromium uses fixed paths for libv4l2.so
<DC-IRC> [Discord] <gospod13337> sudo ln -rsf /usr/lib/*/libv4l2.so /usr/lib/
<DC-IRC> [Discord] <gospod13337> [ -e /usr/lib/aarch64-linux-gnu/ ] && cd / && sudo ln -Tsf lib /usr/lib64
<DC-IRC> [Discord] <gospod13337> ```
<DC-IRC> [Discord] <gospod13337> These last 2 lines solved it @amazingfate @spooky8086 . I dont know what they do, I just copy&paste. The effect is immediate to the eye (smoother!!)
<DC-IRC> [Discord] <gospod13337> I will reflash armbian now and try only those from the forum post and these 2 lines (meaning, without those 80 new packages).
<DC-IRC> [Discord] <gospod13337> It is still dropping a few here and there, but the smoothing (vpu accelerated) effect is more then obvious, and also the evidence is in that photo for `chrome://media-internals` (no more fallback video decoder)
<DC-IRC> [Discord] <gospod13337> I will reflash armbian now and try only those commands from the forum post and these 2 lines (meaning, without those 80 new packages).
<DC-IRC> [Discord] <gospod13337> Haleluja
<DC-IRC> [Discord] <amazingfate> Before you try that, check `md5sum /usr/lib64/libv4l2.so /usr/lib/aarch64-linux-gnu/libv4l2.so.0.0.0`
<DC-IRC> [Discord] <gospod13337> https://paste.centos.org/view/ceec2a9d
<DC-IRC> [Discord] <gospod13337> I decided its best to reflash that nonworking OPi5, and leave this one untouched
<DC-IRC> [Discord] <amazingfate> You can try upgrading system after adding ppa, then install packages.
<DC-IRC> [Discord] <gospod13337> I dont understand what you mean exactly... Just write the syntax and I will copy&paste... I have everything prepared here so its np to reflash in 2min and start from scratch
<DC-IRC> [Discord] <amazingfate> Does vpu work?
<DC-IRC> [Discord] <gospod13337> I dont know to which message you replied to, but judging from this photo, its not falling back to software decoder
<DC-IRC> [Discord] <amazingfate> From the log rkmpp is running
<DC-IRC> [Discord] <gospod13337> You want me to do that rkmpp log from this working OPi5?
<DC-IRC> [Discord] <amazingfate> Working log is useless for me.
<DC-IRC> [Discord] <gospod13337> Ah
<DC-IRC> [Discord] <amazingfate> I can produce it myself
<DC-IRC> [Discord] <gospod13337> You want that nonworking log?
<DC-IRC> [Discord] <gospod13337> Its here
<DC-IRC> [Discord] <gospod13337> https://filebin.net/5l7qc7kjo996devb
<DC-IRC> [Discord] <gospod13337> I did not touch that system (its where we left off yesterday)
<DC-IRC> [Discord] <gospod13337> So the log is exactly from the point onwards you wanted it
<DC-IRC> [Discord] <amazingfate> rkmpp is working in that log, and no further infomation
<DC-IRC> [Discord] <amazingfate> Can't see why it fallback to software
<DC-IRC> [Discord] <gospod13337> I dont know... The youtube was not accelerated (i did not change anything else)
<DC-IRC> [Discord] <gospod13337> I will reproduce that system again in 10min. Its updating thunderbird now
<DC-IRC> [Discord] <gospod13337> I just want to document a working setup and put it somewhere (forum)
<DC-IRC> [Discord] <gospod13337> I just want to document a working setup first and put it somewhere (forum)
<DC-IRC> [Discord] <gospod13337> @amazingfate what I observed now is that before executing those 2 lines now.... That costa rica 4k60 video is in playback and video settings for it are on auto (atm 720p60) and there is no fallback video decoder in `chrome://media-internals`
<DC-IRC> [Discord] <gospod13337> I will force it to 4K60 now
<DC-IRC> [Discord] <gospod13337> Still no fallback... Did you change anything on your repo (fix it)?
<DC-IRC> [Discord] <gospod13337> If you did not just fixed it, pushed it to your repo and I updated this setup with your new fix, it does not make any sense, as to why it is not falling back to software decoder (meaning I cant reproduce a non working system with simple 5 lines of commands)
<DC-IRC> [Discord] <gospod13337> Its not smooth, but its not falling back to software decoder either in `chrome://media-internals`
<DC-IRC> [Discord] <gospod13337> @amazingfate please tell me if you have pushed an update to your repo
<DC-IRC> [Discord] <gospod13337> I checked it and you didnt. Im clueless now as to why it is now not falling back.... Only executed these 5 lines on a freshly flashed Armbian:
<DC-IRC> [Discord] <gospod13337> ```
<DC-IRC> [Discord] <gospod13337> sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa
<DC-IRC> [Discord] <gospod13337> sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
<DC-IRC> [Discord] <gospod13337> sudo apt update
<DC-IRC> [Discord] <gospod13337> sudo apt dist-upgrade
<DC-IRC> [Discord] <gospod13337> sudo apt install mali-g610-firmware rockchip-multimedia-config
<DC-IRC> [Discord] <gospod13337> ```
<DC-IRC> [Discord] <gospod13337> Its not smooth... Its dropping like crazy... But its not falling back either....
<DC-IRC> [Discord] <gospod13337> Im exactly here, where I was 50mins ago, and it was falling back then
<DC-IRC> [Discord] <monkablyat> Pinging the same person within a few minutes is not really cool, he will answer when he has time, so please be patient
<DC-IRC> [Discord] <gospod13337> I need a pause 😄
<DC-IRC> [Discord] <amazingfate> No, I haven't updated thoese two ppa for a long time.
yang has quit [Ping timeout: 245 seconds]
yang has joined #armbian-rockchip
<DC-IRC> [Discord] <shivansps> oh you are here, ive been checking the panfork version included in the joshua ubuntu, he said it is your ppa. glxinfo reports opengl 3.3, now panfrost is 3.1 not 3.3
<DC-IRC> [Discord] <shivansps> i know about the env variable to make it report 3.3, but i trought that was just some string override
<DC-IRC> [Discord] <shivansps> the panfork version included in the joshua ubuntu actually supports geoshaders that do not work on panfrost and that is very suprising to me
<DC-IRC> [Discord] <shivansps> I said this because i need to compile my own version to workaround this bug https://gitlab.freedesktop.org/mesa/mesa/-/issues/10122
<DC-IRC> [Discord] <shivansps> and when i do it backs to report 3.1 and no geo shader
<DC-IRC> [Discord] <shivansps> or maybe im wrong and the env variable is not just a string override
<DC-IRC> [Discord] <shivansps> or maybe im wrong and the env variable is not just a string override and actually enables more features
<DC-IRC> [Discord] <amazingfate> I did a hack to enable OpenGL 3.3 by default.
<DC-IRC> [Discord] <amazingfate> Same as adding that env.
<DC-IRC> [Discord] <monkablyat> Not so sure about overwriting the default settings with a hack, you are basically using a experimental GL profile and can also expect some issues ,better to use the env if needed in my opinion
<DC-IRC> [Discord] <monkablyat> In any case, overwriting the default settings with a hack on a very experimental GPU driver doesn't seem particularly logical to me
<DC-IRC> [Discord] <amazingfate> GL 3.3 is necessary for many apps to run. If that's unstable, issues should get fixed at driver side. I can't image packaging applications starting with env PAN_MESA_DEBUG, common apps shouldn't run into these workarounds.
<DC-IRC> [Discord] <monkablyat> Get your point why however don't really expect things to be improved on the driver side in the near future
<DC-IRC> [Discord] <amazingfate> Send issues to end users and then they will complain upstream.
<DC-IRC> [Discord] <tenkawa42> Actually from what I read starting applications with various PAN_MESA_DEBUG settings exported in the env is very common btw
<DC-IRC> [Discord] <monkablyat> As with many, there are different approaches - you can use hacks or improve the driver so that hacks are not necessary
<DC-IRC> [Discord] <tenkawa42> I'm reading a list of numerous packages/panfrost/mali GL fixes where exporting variations of that have been required
<DC-IRC> [Discord] <tenkawa42> @monkablyat unless you can fix the core kernel driver "and" its userland the second "improve the driver" will never completely be feasible sadly.
<DC-IRC> [Discord] <monkablyat> Well rockchip could give us at least Vulkan blobs's on Linux so less hacks would be needed for gaming
<DC-IRC> [Discord] <tenkawa42> Never going to happen... thats IP
<DC-IRC> [Discord] <monkablyat> Well rockchip could give us at least Vulkan blob's on Linux so less hacks would be needed for gaming
<DC-IRC> [Discord] <tenkawa42> That would be them giving away the compay at that point
<DC-IRC> [Discord] <tenkawa42> That would be them giving away the company at that point
<DC-IRC> [Discord] <amazingfate> Panthor is designed for vulkan support. Someday we can run Nintendo switch games on rk3588.
<DC-IRC> [Discord] <monkablyat> Already playing some on rk3588 with Android 13 latest blob's + Skyline or yuzu
<DC-IRC> [Discord] <amazingfate> Yuzu is focusing on qcom chips. Arm mali gpu is limited to the close source driver.
<DC-IRC> [Discord] <tenkawa42> interesting... what devices is qcom chips in?
<DC-IRC> [Discord] <tenkawa42> Didn't know they were still even a player
<DC-IRC> [Discord] <monkablyat> Adreno GPU's
<DC-IRC> [Discord] <tenkawa42> Ahh
<DC-IRC> [Discord] <tenkawa42> I remember them back in my dev days.. they were one of our competitors
<DC-IRC> [Discord] <monkablyat> Got on in my oneplus phone and it's pretty nice
<DC-IRC> [Discord] <monkablyat> Got one in my oneplus phone and it's pretty nice
<DC-IRC> [Discord] <tenkawa42> I was at AT&T/Lucent at the time
<DC-IRC> [Discord] <tenkawa42> (back in the 90's)
<DC-IRC> [Discord] <tenkawa42> I remember the whole CDMA/TDMA... etc cell phone stuff in thid country
<DC-IRC> [Discord] <tenkawa42> I remember the whole CDMA/TDMA... etc cell phone stuff in this country
<DC-IRC> [Discord] <tenkawa42> (of course you guys I think were already GSM and other tech by then)
<DC-IRC> [Discord] <monkablyat> For me, this modern phone is like my laptop. I usually forget it at home
<DC-IRC> [Discord] <tenkawa42> I haven't had a landline in 20+ years
<DC-IRC> [Discord] <tenkawa42> Today's mission.... fix 2 RK3588's that went goofy
<DC-IRC> [Discord] <spooky8086> i used to do hardware repair on Toshiba landline phones in high school, i think that company is now out of business
<DC-IRC> [Discord] <tenkawa42> Yeah most of the companies I worked for then are out of business or bought out....
<DC-IRC> [Discord] <tenkawa42> but that was a "long" time ago
<DC-IRC> [Discord] <nicod_sbc> My MekoMini is completely messed now. It is crashing constantly. Chromium doesn't save logins, I'll have to re-install with old image and not make sure not to update. It used to be perfect for months.
<DC-IRC> [Discord] <spooky8086> have dmesg logs?
<DC-IRC> [Discord] <tenkawa42> @nicod_sbc have you tried creating a new login?
<DC-IRC> [Discord] <tenkawa42> I have had .config and .cache itself get scrambled and mess with my whole x user experience
<DC-IRC> [Discord] <nicod_sbc> This is my log now, but when it crashes my keyboard and mouse stop working. Video's keep playing, so I guess it's usb...
<DC-IRC> [Discord] <tenkawa42> oh you can't even get it to x?
<DC-IRC> [Discord] <nicod_sbc> I have to re-login to every account on chromium since a few months on all RK3588 devices.
<DC-IRC> [Discord] <nicod_sbc> The fix from amazingfate works until you reboot....
<DC-IRC> [Discord] <spooky8086> I dont think this would cause a crash, but ive seen this before
<DC-IRC> [Discord] <spooky8086> ```
<DC-IRC> [Discord] <spooky8086> [ 27.786087] rockchip-i2s-tdm fddf8000.i2s: ASoC: error at snd_soc_dai_hw_params on fddf8000.i2s: -22
<DC-IRC> [Discord] <spooky8086> ```
<DC-IRC> [Discord] <tenkawa42> yeah thats just a missing driver
<DC-IRC> [Discord] <nicod_sbc> I think it's always been there. Not 100% sure.
<DC-IRC> [Discord] <nicod_sbc> Darned, was thinking of trying JRiek Ubuntu on my Meko mini. But doesn't seem you have them.
<DC-IRC> [Discord] <tenkawa42> this is a full 3588 not 3588s right?
<DC-IRC> [Discord] <nicod_sbc> I think it's RK3588S.
<DC-IRC> [Discord] <tenkawa42> ah ok
<DC-IRC> [Discord] <tenkawa42> darn
<DC-IRC> [Discord] <nicod_sbc> No NVMe
<DC-IRC> [Discord] <spooky8086> The device tree exists since we use the same kernel, i just dont know which u-boot would be compatible
<DC-IRC> [Discord] <tenkawa42> if it was full I'd tell you to try the mainline kernel
<DC-IRC> [Discord] <tenkawa42> It runs very nice now
<DC-IRC> [Discord] <nicod_sbc> But they were not clear about that, they mentioned RK3588 non S. But that wouldn't make much sense.
<DC-IRC> [Discord] <tenkawa42> not sure if the whole dtb has been converted
<DC-IRC> [Discord] <tenkawa42> (for that device)
<DC-IRC> [Discord] <nicod_sbc> Don't think so. I should contact them to ask for progress.
<DC-IRC> [Discord] <tenkawa42> Let me look at the list
<DC-IRC> [Discord] <tenkawa42> I have it here
<DC-IRC> [Discord] <nicod_sbc> Got their A58 tablet like RK3588 with no Linux that's worthy.
<DC-IRC> [Discord] <tenkawa42> yeah nothing matching meko in the 3588 mainline 6.7 tree yet..
<DC-IRC> [Discord] <tenkawa42> runs great on the radxa though
<DC-IRC> [Discord] <nicod_sbc> I'll send them a mail to ask if they are working towards mainline.
<DC-IRC> [Discord] <tenkawa42> I need to get my 2 units back working today if I can
<DC-IRC> [Discord] <tenkawa42> I'm worried one of them is done for
<DC-IRC> [Discord] <tenkawa42> I don't see any led light on it
<DC-IRC> [Discord] <nicod_sbc> I had that happend with my VIM3, it did nothing but was able to revive it with maskrom mode.
<DC-IRC> [Discord] <amazingfate> I updated to mainline v6.7-rc6 with panthor patches from legacy 5.10 kernel on my rock5b today, and my emmc and nvme disk lost their data. EXT4 filesystem is corrupted. fsck can't fix it.
<DC-IRC> [Discord] <nicod_sbc> Don't try to fix it and go back to your old image. I had that happen too with my NAS drive trying it on other devices.
<DC-IRC> [Discord] <nicod_sbc> Going back to my old image fixed it.
<DC-IRC> [Discord] <amazingfate> I was doing mesa complation, then my nvme home disk became readonly, after reboot it can't get mounted.
<DC-IRC> [Discord] <tenkawa42> Yeah I think thats what I'm going to try.. problem is the microsd slot is broke
<DC-IRC> [Discord] <nicod_sbc> If it has eMMC then no problem.
<DC-IRC> [Discord] <tenkawa42> Yeah... good point
<DC-IRC> [Discord] <nicod_sbc> Then it might be different af. Mine never did read on other devices and noted I had to format. I was so scared since I didn't backup in a long time...
<DC-IRC> [Discord] <efectn> It might be because of mainline hs400 is broken
<DC-IRC> [Discord] <amazingfate> Yeah, going to find that patch. But my nvme disk is a steamdeck 2230 m.2 emmc to pcie disk, I don't know if that is related.
<DC-IRC> [Discord] <efectn> Oh are there emmc m2 modules 🤔
<DC-IRC> [Discord] <efectn> I've not seen one before 😄
<DC-IRC> [Discord] <nicod_sbc> It crashed again, I can still ssh into it, so here's probably the important part.
<DC-IRC> [Discord] <nicod_sbc> [ 5742.020494] usb 6-1.3: USB disconnect, device number 3
<DC-IRC> [Discord] <tenkawa42> How much power you driving that with?
<DC-IRC> [Discord] <nicod_sbc> 24w 12v. More than enough.
<DC-IRC> [Discord] <tenkawa42> no. I'm wondering if 12v might be "too" much...
<DC-IRC> [Discord] <tenkawa42> I assume its a static supply?
<DC-IRC> [Discord] <tenkawa42> (not PD or a charger)
<DC-IRC> [Discord] <tenkawa42> If its PD/charger all bets are off about stability
<DC-IRC> [Discord] <tenkawa42> I've already been able to crash the BCM2712 with a very powerful PD supply
<DC-IRC> [Discord] <nicod_sbc> It's barrel jack 12v. I don't expect that to be the problem.
<DC-IRC> [Discord] <tenkawa42> Yeah it shouldn't...
Ark74 has quit [Ping timeout: 264 seconds]
Ark74 has joined #armbian-rockchip