System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
necessarypinch has joined #linux-rockchip
warpme_ has quit [Ping timeout: 244 seconds]
warpme_ has joined #linux-rockchip
raster has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder has joined #linux-rockchip
warpme_ has quit [Ping timeout: 252 seconds]
warpme_ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 248 seconds]
<CounterPillow>
Where's the test file? If it's H.264 I can think of two scenarios where software decoding works out and hwdec doesn't at no fault to either detlev or mpp: 1. H.264 level 6, which has an incompatible change to motion vector lengths, or a 4:4:4 file encoded with an old x264 version and the SEI isn't acted on to enable a workaround for a bug that encoder had.
<CounterPillow>
(that , should be a ", 2." I lost my train of thought)
warpme_ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 265 seconds]
System_Error has quit [Remote host closed the connection]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme_ has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme_ has quit [Ping timeout: 268 seconds]
naoki has quit [Quit: naoki]
warpme_ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 260 seconds]
<ndufresne4>
CounterPillow: if you have broken files, mind sending them to me? On GST side we are missing profiles and level restrictions, which would allow discarding the HW decoder for 4:4:4 encoded files (it's not supported)
<diederik>
Is this an 'escalation' of "[ 2.864213] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after" which I had with previous kernel versions?
warpme_ has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.6.3]
warpme_ has quit [Ping timeout: 272 seconds]
<diederik>
Just a(nother) reboot and now I don't get a stack trace, but I do have the ehci_hcd warning again
warpme_ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 276 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
necessarypinch9 has joined #linux-rockchip
franoosh has quit [Read error: Connection reset by peer]
necessarypinch has quit [Ping timeout: 276 seconds]
necessarypinch9 is now known as necessarypinch
franoosh has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
franoosh has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
<sre0>
diederik: looks like a race condition between the USB PHY driver probe and the EHCI/OHCI controller driver probe
sre0 is now known as sre
<sre>
I guess what you are seeing is the USB PHY driver probing, registering its clock at some point. Then the USB controller driver probes and uses this clock. Then the PHY driver reaches an error in its probe routine and tries to unroll.
franoosh has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
dsimic has quit [Ping timeout: 268 seconds]
dsimic has joined #linux-rockchip
franoosh has joined #linux-rockchip
franoosh has quit [Remote host closed the connection]
raster has quit [Quit: Gettin' stinky!]
<diederik>
sre: ok. fwiw I see that warning on most/all my rockchip devices. Usually, but not always.
<sre>
First time I have seen it. My guess is, that the usb phy driver returns -EPROBE_DEFER somewhere after registering the output clock, as there is no other error printed.
<diederik>
I've been seeing it for a while now (several kernel releases). The stack trace was new though
<sre>
Usually this is solved by moving the resource registration at the end of the probe routine. But the PHY provider basically has the same issue, so this is a bit tricky :)
warpme has joined #linux-rockchip
<sre>
You could try moving the rockchip_usb2phy_clk480m_register() call before the devm_of_phy_provider_register() call in drivers/phy/rockchip/phy-rockchip-inno-usb2.c
warpme_ has joined #linux-rockchip
mripard has quit [Ping timeout: 276 seconds]
mripard has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<diederik>
Seems to have started with kernel 6.13 (on my Q64-A at least)
warpme_ has quit [Ping timeout: 252 seconds]
<sre>
diederik: If my educated guess is right, this is a race condition, so it might have been "introduced" by a kernel config or compiler change on your side resulting in slightly changed timings
<diederik>
I assumed it was a race condition as it doesn't happen always. It's not a compiler change as I've been on GCC for quite a while now. But it can indeed be a kernel config change which brought the issue to light
<diederik>
It's present on "6.13-arm64", but not on "6.13-rc2+unreleased-arm64-cknow" or "6.13+unreleased-arm64-cknow" and I'm not sure if I can still figure out what exactly changed between those versions
<sre>
Aaprt from the suggested code move, you could also have a look at the debug kernel messages from the PHY driver. It is using dev_err_probe(), which logs -EPROBE_DEFER messages via dev_dbg().
<diederik>
That's seems easier to try as I should be able to get that via dynamic debug
warpme_ has joined #linux-rockchip
<diederik>
Currently working on some other things, but I've taken notes. Thanks :)
warpme_ has quit [Ping timeout: 276 seconds]
vagrantc has joined #linux-rockchip
warpme_ has joined #linux-rockchip
hanetzer has quit [Ping timeout: 252 seconds]
warpme_ has quit [Ping timeout: 248 seconds]
warpme_ has joined #linux-rockchip
raster has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
System_Error has joined #linux-rockchip
warpme has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme_ has joined #linux-rockchip
stikonas has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 260 seconds]
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme_ has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme_ has joined #linux-rockchip
warpme_ has quit [Ping timeout: 260 seconds]
<CyReVolt>
Turns out that Rockchip's TRM part 2 for the RK3568 actually has lots of details on DRAM init and training, with most registers of the controller and the PHY listed and explained, just some missing (AFAICT).