marvin24 has quit [Ping timeout: 272 seconds]
marvin24_ has joined #tegra
marvin24_ has quit [Ping timeout: 272 seconds]
marvin24 has joined #tegra
bylaws has joined #tegra
bylaws has quit [Client Quit]
bylaws has joined #tegra
bylaws has quit [Ping timeout: 246 seconds]
<indy> hi all, tegra2 still no 3d hw support?
<indy> digetx, kwizart ^^
<indy> tagr, ^^ :)
<indy> kusma, ^^
<kwizart> indy: no, maybe linux 5.15-rc will have some bits needed to start one as I understand
<kwizart> digetx: actually here is the exact revert I've made (git revert needed to be resolved) https://paste.centos.org/view/72c3f7aa
lahvuun has quit [Quit: ZNC 1.8.2 - https://znc.in]
lahvuun has joined #tegra
lahvuun has quit [Ping timeout: 265 seconds]
<digetx> m4t: you could try to bisect the drivers/usb
<digetx> indy: we're slowly working on it
<digetx> kwizart: please run today's most recent grate kernel, check usb-net, unplug usb cable for 15+ seconds and show me kernel log with the new "tegra-phy c5008000.usb-phy: debug: ..." messages
<digetx> *unplug and plug back usb
<indy> digetx, does it require some builtin config options or are those changes compilable using out-of-tree approach?
<digetx> what "it"?
<indy> that 'what is slowly worked on' :)
<kwizart> compilation of current grate in progress
lahvuun has joined #tegra
<digetx> kwizart: thanks
<digetx> indy: could you please rephrase the question
<m4t> digetx: i'd need to bisect upstream next though yeah?
<digetx> doesn't matter, either upstream next or grate kernel
<m4t> how can i bisect grate if it's always rebased and push -f?
<digetx> it's based on upstream next
<m4t> yeah, i just couldn't do it with the patches on top
<digetx> the offending commit should be in upstream
<m4t> so you say ;)
<m4t> i'm sure it is
<indy> digetx, if work for tegra2 3d support, which you slowly work on, is compilable out-of-tree as modules or are there changes which needs to compile whole kernel
<digetx> you could use upstream kernel
<digetx> upstream kernel driver has performance and stability issues, certain kernel configurations may not work at all, but in general it works as a proof-of-concept driver from 2013, now we need a real driver if we want to be serious about 3d support
<digetx> majority of work related to 3d still needs to be done in userspace
<kusma> indy: Not officially at least, no. We have all the bits and pieces, but lack time to put it all together into a properly working mesa-driver.
<kusma> In particular, making the shader-compiler backend is the current blocker.
<digetx> we mostly could develop kernel and userspace separately, syncing them together periodically
<digetx> indy: if you you want to try to work on 3d driver, then upstream kernel should be good enough as-is for the starter
<m4t> i saw a similar issue with sunxi/orange pi zero h5 a couple years ago with usb audio
<m4t> disabling frequency scaling fixed it. but it did not become *completely* unresponsive at the time, but very high cpu load
<digetx> it's likely to be a software deadlock problem in yours case
<digetx> DavidHeidelberg: I enabled USB OTG support for nexus 7 2012 and it required smb driver changes; I see that 2013 already had OTG dr_mode in device-tree, but was it working?
lahvuun has quit [Quit: ZNC 1.8.2 - https://znc.in]
lahvuun has joined #tegra
marvin24_ has joined #tegra
marvin24 has quit [Ping timeout: 272 seconds]
<kwizart> digetx: finally, caught by various issues: here is the dmesg output with usb-net unplugged and replugged seems like there is an interesting message... https://paste.centos.org/view/9f683d96
<kwizart> digetx: also I've experienced a strage issue on a previous kernel, but not sure which grate+patches reverted or not was that run https://paste.centos.org/view/95cdbe85
<digetx> kwizart: I see that you disconnected USB "USB disconnect, device number 5", but then nothing happened
<digetx> I don't see how the reverted code change may affect anything
<kwizart> digetx: in the first paste: disconnected, then asix 2-1.3:1.0 eth0: Failed to write reg index 0x0000: -19
<kwizart> I've disconnected it, then reconnected, then disconnected it again
<digetx> that error should be okay since USB has gone already
<digetx> I see only one disconnect
<kwizart> well sounds like something was pending until the asix driver was told to be removed
<kwizart> there are two disconnects in the first paste
<kwizart> [ 54.921266] usb 2-1.3: USB disconnect, device number 4
<kwizart> 1107.080479] usb 2-1.3: USB disconnect, device number 5
<digetx> ah, right
<digetx> so usb itself works
<kwizart> nope, or not fully enough asix 2-1.3:1.0 eth0: Link is Down
<digetx> usb controller works, but apparently the asix driver not
<digetx> have you double checked that the reverted code indeed helps?
<kwizart> digetx: I can double check, the second paste might indicate what's happen then as I think I've experienced the isr "irq nobody cared" with the revert
<kwizart> maybe it broke something else that made the device to work as a side effect
<digetx> ah
<digetx> yes, the interrupt needs to be corrected
<digetx> it's enabled at a wrong time
<digetx> kwizart: pushed update with the fixed interrupt, please give it a try
<leanderglanda[m]> <kusma "indy: Not officially at least, n"> When 3d hardware acceleration is relevant to us Surface RT people, someone may invest some time. But I can't promise anything.
<kusma> leanderglanda: That's great to hear.
gouchi has joined #tegra
torez has joined #tegra
<kwizart> digetx: indeed reverting my previous commit doesn't help anymore, might have something else, trying random boot
gouchi has quit [Remote host closed the connection]
gouchi has joined #tegra
<digetx> kwizart: have you tried to revert drivers/net/usb/asix* commits?
<digetx> they are the main culprit
lahvuun has quit [Quit: ZNC 1.8.2 - https://znc.in]
lahvuun has joined #tegra
lahvuun has quit [Quit: ZNC 1.8.2 - https://znc.in]
lahvuun has joined #tegra
lahvuun has quit [Read error: Connection reset by peer]
lahvuun has joined #tegra
marvin24_ has quit [Ping timeout: 250 seconds]
marvin24 has joined #tegra
marvin24 has quit [Ping timeout: 272 seconds]
marvin24_ has joined #tegra
marvin24 has joined #tegra
marvin24_ has quit [Ping timeout: 272 seconds]
gouchi has quit [Remote host closed the connection]
<DavidHeidelberg> 2013 - I assume not digetx
<digetx> looking at downstream smb345 driver, it should work using a DT change similar to 2012 + assuming that qcom usb controller driver indeed supports otg
torez has quit [Quit: torez]