rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 265 seconds]
ChriChri_ is now known as ChriChri
NeuroScr has quit [Quit: NeuroScr]
NeuroScr has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
RichardG867_ has quit [Ping timeout: 260 seconds]
RichardG867 has joined #linux-sunxi
iyzsong has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<sunshavi> anyone has tried 5.6.2 on opi+2e?
gaston1980 has quit [Quit: Konversation terminated!]
gaston1980 has joined #linux-sunxi
JuniorJPDJ has quit [Quit: authenticating]
gaston1980 has quit [Quit: Konversation terminated!]
JuniorJPDJ has joined #linux-sunxi
sbbg has joined #linux-sunxi
<sbbg> Is there a specific DRM_Prime parameter when configuring ffmpeg or kodi?
sunshavi has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
sbbg has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 260 seconds]
[7] has joined #linux-sunxi
sunshavi has joined #linux-sunxi
sbbg has joined #linux-sunxi
<sunshavi> I can confirm 5.6.2 is not working with archlinux. Probably it needs debugging
<sunshavi> BTW. on opiplus2e
<sbbg> my ffmpeg complain about "Device setup failed for decoder on input stream #0.0 : Bad Address." when asking for drm_prime. Why would that happen? I did not assign any address.
<gnarface> looks like a driver issue
<gnarface> no idea how to fix though, sorry
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
reinforce has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
sunshavi has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
lurchi__ has quit [Ping timeout: 240 seconds]
sunshavi has joined #linux-sunxi
<sbbg> thank you, anyway. Do you know which driver it would be?
<sbbg> It seems it fail at hw_device_get_by_type( type ) in ffmpeg first.
suprothunderbolt has joined #linux-sunxi
aloo_shu has quit [Quit: aloo_shu]
matthias_bgg has joined #linux-sunxi
<gnarface> hmmm, i don't know specifically, but i can infer from the error that it is something to do with your hardware video decoder features, so something related to the gpu and xorg drivers maybe?
<gnarface> i'm not sure what "drm_prime" is but it sounds related to direct rendering (more video card and xorg hardware-acceleration stuff)
<gnarface> i'm pretty sure someone in here knows better, but they aren't paying attention right now
<gnarface> you might have luck also asking in #ffmpeg (and weirdly #mplayer sometimes for some reason)
<[TheBug]> hmm if that is A20 even back in the day when I used the old implementation I remember it only really being compat with mpv or something like that and having to use a mpv interface like smplayer for gui playback -- I don'
<[TheBug]> I don't recall testing ffmpeg with it
<[TheBug]> but you of course said you are using newer kernel and drivers supposedly so that could have changed
<[TheBug]> but maybe try a different video player?
<[TheBug]> the old drivers created a vdpau driver or something you had to leverage for hardware accel playback, not sure if that is how it is done in newer kernel implementation
<gnarface> that all sounds logical to me. that reminds me that frequently ffmpeg needs out-of-tree patches to get some hardware working
martinayotte has quit [Ping timeout: 258 seconds]
<gnarface> i'd say it's also worth a try making sure you have any relevant ffmpeg patches, don't just assume your distro included them because they're popular
<gnarface> (nvidia and raspberry pi components being a prime example here)
airgapp has joined #linux-sunxi
dddddd has quit [Ping timeout: 256 seconds]
martinayotte has joined #linux-sunxi
<sbbg> Yeah, I try my best to keep everything patched. Because I take the patched source directory from LibreELEC build environment after the build is complete. I have no choice but to trace ffmpeg by myself now.
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #linux-sunxi
chewitt_ has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
suprothunderbolt has quit [Ping timeout: 240 seconds]
suprothunderbolt has joined #linux-sunxi
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
macc24 has joined #linux-sunxi
tdebrouw has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
ldevulder__ has quit [Ping timeout: 250 seconds]
chewitt_ has quit [Read error: Connection reset by peer]
chewitt has joined #linux-sunxi
tnovotny has joined #linux-sunxi
chewitt has quit [Ping timeout: 256 seconds]
chewitt has joined #linux-sunxi
ldevulder_ is now known as ldevulder
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #linux-sunxi
chewitt_ has quit [Ping timeout: 258 seconds]
suprothunderbolt has quit [Ping timeout: 256 seconds]
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
chewitt has joined #linux-sunxi
tnovotny has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 256 seconds]
_whitelogger has joined #linux-sunxi
<fALSO> bom dia
matthias_bgg has joined #linux-sunxi
chewitt has quit [Quit: Adios!]
lurchi_ is now known as lurchi__
florian has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
<JohnDoe_71Rus> almost works with hdmi switch. https://dropmefiles.com/OSMIZ LibreELEC-A20.arm-9.80-devel-20200405101739-656a0e2-cubieboard2 any tips?
AneoX has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
lurchi__ has quit [Ping timeout: 260 seconds]
macc24 has quit [Ping timeout: 265 seconds]
macc24 has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
NeuroScr has quit [Quit: NeuroScr]
dddddd has joined #linux-sunxi
tnovotny has joined #linux-sunxi
<martinayotte> sunshavi: I've my OPi+2E running Armbian 5.6.2 since Saturday, no issue for now ...
airgapp has quit [Quit: airgapp]
iyzsong has quit [Ping timeout: 265 seconds]
nashpa has quit [Quit: Going away]
nashpa has joined #linux-sunxi
JohnDoe8 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 256 seconds]
lurchi__ has joined #linux-sunxi
macc24 has quit [Ping timeout: 256 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej_ has joined #linux-sunxi
jernej_ is now known as jernej
macc24 has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 265 seconds]
matthias_bgg has joined #linux-sunxi
macc24 has quit [Ping timeout: 265 seconds]
macc24 has joined #linux-sunxi
cnxsoft1 has quit [Quit: cnxsoft1]
JohnDoe8 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
JohnDoe_71Rus has joined #linux-sunxi
TEKrantz has quit [Read error: Connection reset by peer]
lurchi__ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-sunxi
macc24 has quit [Quit: WeeChat 2.8]
TEKrantz has joined #linux-sunxi
DrFrankensteinUK has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DrFrankensteinUK has joined #linux-sunxi
Kasreyn has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 256 seconds]
matthias_bgg has quit [Ping timeout: 256 seconds]
TEKrantz has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
matthias_bgg has joined #linux-sunxi
<karlp> megi: if I've got little patches for u-boot: https://github.com/karlp/u-boot/tree/karl-duo2-2020.04 do they really need to be emailed to everyone that get_maintainer.pl lists?
<karlp> I can already see that the CHANGELOG referred to by the readme doesn't exist anymore
<megi> karlp: you can limit it to the maintainers if you like, just always send it to the mailing list too
<karlp> ok.
<megi> I can imagine that that header file was touched by quite a bunch of people ;)
<karlp> yeah, which is why it seemed a little excessive :)
<karlp> hoenstly, I'd be more inclinded to raise the default liimt from 8M in the core, but it's way less intrusive to make at least all sunxi have the bigger limt
<megi> yeah, I also have this limit raised in the header file, since I like to use itb
<karlp> itb is fit images?
<megi> yes
<karlp> right, getting a bit into that. I need to get figured out how to have my kernel+squashfs+jffs stuff on spi, and have been copying off openwrt, but they seem to be creating "legacy" stuff
<megi> I have some examples in this folder https://xff.cz/kernels/5.6/
<karlp> was wondering if it was going to be easier to just use fit from the bgeinning
<megi> it's pretty nice to just load the itb somewhere and then do bootm $somewhere
<karlp> yeah, I don't need any of the multiboard stuff
<karlp> but the idea of a small initramdisk for "recovery config" soudned nice too
<karlp> uboot on spi defaulting to squashfs on spi with sd for rw stuff, too, lots of options...
<megi> yeah
<karlp> currently I'm onlty as far as uboot on spi :)
<jernej> sunshavi: My OPi+2E works fine with 5.6.0, didn't test 5.6.2 though
<sunshavi> jernej: which distro?
<jernej> LibreELEC
<sunshavi> could You sharem your kernel config. for comparing it with the one with Archlinux?
<jernej> sure
<sunshavi> jernej: thanks. after comparing I am going to report back
florian has quit [Quit: Leaving]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 258 seconds]
Kasreyn has quit [Remote host closed the connection]
<[TheBug]> JohnDoe_71Rus: seems like it isn't able to renegotiate correctly with the monitor when you change the stream back through the switch -- if it can't communicate with the display in order to negotiate resolutions and such it will tend to do what you are seeing because it becomes confused -- you should be able to see something in dmesg about it trying to negotiate and what may be failing
<[TheBug]> there (or on UART seiral console if not in dmesg at boot time)
lurchi_ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
lurchi_ is now known as lurchi__
macc24 has joined #linux-sunxi
macc24 has quit [Read error: Connection reset by peer]
<sunshavi> jernej: those are the main differences among the two kernels https://termbin.com/bfuw
<JohnDoe_71Rus> [TheBug]: i can paste logs. can you see it?
<JohnDoe_71Rus> without switch work good. except hdmi-audio in last kernels
<[TheBug]> then the switch / monitor you have doesn't handle renegotiation right through the switch and likely the only solution is unplugging the screen and plugging it back so it forces a new negotiation -- just check the log it should be pretty obvious what the issue is if it is verbosly logging to console / dmesg
<[TheBug]> Nicer hdmi switches actually handle those processes for you, if you are using some non-assited just manual switch it may not like that very much as it could see it as the hdmi never changed so never initiate re-negotiation
sbbg has quit [Remote host closed the connection]
<JohnDoe_71Rus> hotplug hdmi connector? not sure cb2 has protection resistors
<JohnDoe_71Rus> i test with this switch netbook and iptv set box. and they work perfect
aloo_shu has joined #linux-sunxi
yann has quit [Ping timeout: 264 seconds]
<JohnDoe_71Rus> [TheBug]: https://dropmefiles.com/UXBuT logs. LE detect TV resolutions
macc24 has joined #linux-sunxi
lurchi__ is now known as lurchi_
yann has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 264 seconds]
<sunshavi> martinayotte: could You share me your kernel config?
<sunshavi> it is weird. Same kernel works on opi pc plus
vagrantc has joined #linux-sunxi
macc24 has quit [Ping timeout: 260 seconds]
<[TheBug]> JohnDoe_71Rus: do you have serial UART connection to the board? You should watch the console as it may give more details than what you are getting output to logs
<JohnDoe_71Rus> ok. i can take uart log, but late
<[TheBug]> thing is it puts out debug info
<[TheBug]> so like you should probably be able to
<[TheBug]> plug/unplug and see some debug on screen about its negotiation
<[TheBug]> I didn't really see that in your logs from a quick look
<[TheBug]> again t hough, I imagine it isn't able to negotiate correctly through that switch -- and just because one piece of hardware works or understand how to renegotiate doesn't mean another will or will have drivers designed that way -- so I wouldn't make assumptions based on "it worked on another device"
<JohnDoe_71Rus> " plug/unplug" can i on/off TV
<[TheBug]> I will give you example of an issue I know with H3 -- there are certain TVs when connected to the board if you turn off the monitor and back on it will fail to negotiate when turned back on, in some cases you may get weird colored screen output as well from this, like pink screen or similar. This can sometimes be handled by physical removal and replug, sometimes a reboot. It isn't per
<[TheBug]> se the board but a compatability between the board and the screen you are using and how it negotiates -- if anything causes that to fail you can end up in a state like you are seeing or even where the video just won't work at all.
<[TheBug]> in this case you are adding even another hurtle -- a hdmi switch device
<[TheBug]> and you have no idea if it follows either of the standards by the monitor or the device so you just add layers of complexity
macc24 has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
Net147 has quit [Ping timeout: 260 seconds]
Net147 has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
curlybracket has joined #linux-sunxi
Moe_Icenowy has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
jonasbits_ has joined #linux-sunxi
ric96_ has joined #linux-sunxi
ric96 has quit [Ping timeout: 246 seconds]
MoeIcenowy has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
jonasbits has quit [Quit: No Ping reply in 180 seconds.]
bshah has quit [Excess Flood]
Moe_Icenowy is now known as MoeIcenowy
ric96_ is now known as ric96
alexxy has quit [Quit: No Ping reply in 180 seconds.]
bshah has joined #linux-sunxi
megi has quit [Ping timeout: 246 seconds]
megi has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
alexxy has joined #linux-sunxi
<curlybracket> Anyone with a 4-lane DSI panel who would care to try it out?
<anarsoul> megi: ^^
<anarsoul> or MartijnBraam: ^^
<MartijnBraam> oh interesting
<megi> indeed
<megi> not working on PP
<megi> I get vblank wait timeouts https://megous.com/dl/tmp/3e80048b5fc5c4c7.png
<MartijnBraam> your pc built faster :(
<anarsoul> megi: IIRC because dotclock is out of range
<megi> bpp is 24?
DuClare has quit [Ping timeout: 265 seconds]
DuClare has joined #linux-sunxi
<megi> I think math may just overflow depending on crtc_clock?
<megi> not sure what crtc_clock value looks like
<megi> 175MHz is probably the max before overflow
dddddd has quit [Ping timeout: 256 seconds]
<megi> I think it should be possible to divide before multiplying without losing too much precision
<megi> because 1000 * crtc_clock will be large
<megi> and divider is 4-16
<megi> curlybracket: ^
<MartijnBraam> well, it's also broken for me
matthias_bgg has quit [Ping timeout: 265 seconds]
<megi> hmm, I guess it's something else, swapping the order of division and multiplication didn't help
<sunshavi> martinayotte: thanks
macc24 has quit [Quit: WeeChat 2.8]
<megi> interestingly it also breaks the WiFi :)
matthias_bgg has joined #linux-sunxi
<MartijnBraam> can't check wifi, my battery is too empty
<MartijnBraam> but I have the interface
<sunshavi> martinayotte: those configs are not activated on armbian https://termbin.com/32khn. BTW thermal is not activaded?
tdebrouw has quit [Quit: Leaving.]
macc24 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 272 seconds]
fl_0 has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 265 seconds]
aloo_shu has joined #linux-sunxi
warpme_ has joined #linux-sunxi
aloo_shu has quit [Read error: Connection reset by peer]
aloo_shu has joined #linux-sunxi
<martinayotte> sunshavi: possible ... if you wish to contribute to Armbian, feel free to join by sending a PR ...
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
matthias_bgg has quit [Ping timeout: 265 seconds]
aloo_shu has quit [Ping timeout: 240 seconds]
<sunshavi> time is the limit. :(
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 240 seconds]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Client Quit]
aloo_shu has joined #linux-sunxi
florian has joined #linux-sunxi
aloo_shu has quit [Ping timeout: 265 seconds]
matthias_bgg has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Client Quit]
macc24 has quit [Quit: WeeChat 2.8]
aloo_shu has joined #linux-sunxi
aloo_shu has quit [Client Quit]
macc24 has joined #linux-sunxi
aloo_shu has joined #linux-sunxi
mripard has quit [Ping timeout: 264 seconds]
aloo_shu has quit [Ping timeout: 265 seconds]
reinforce has joined #linux-sunxi
mripard has joined #linux-sunxi
<curlybracket> megi: Could it be that you have your panel configured for burst mode? It's likely the burst-mode code path needs a revisit, as I was unable to test it myself.
<megi> curlybracket: hmm, seems like it is not: https://megous.com/dl/tmp/b599d7bd32be4ab2.png
mauz555 has joined #linux-sunxi
tllim has joined #linux-sunxi
random_y1 has quit [Quit: random_y1]
<curlybracket> Damn. Well, it was worth a try. Thank you all. I based my assumptions on how this variable gets used in the bsp driver: https://github.com/BPI-SINOVOIP/BPI-M64-bsp-4.4/blob/master/linux-sunxi/drivers/video/fbdev/sunxi/disp2/disp/de/lowlevel_sun50iw1/disp_al.c#L322
florian has quit [Ping timeout: 265 seconds]
<megi> thanks for trying
random_yanek has joined #linux-sunxi
mripard has quit [Ping timeout: 258 seconds]
dddddd has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
macc24 is now known as maccraft
maccraft is now known as macc24
macc24 has quit [Read error: Connection reset by peer]
mripard has joined #linux-sunxi
ldevulder has quit [Ping timeout: 256 seconds]
mauz555 has quit []
mripard has quit [Ping timeout: 256 seconds]
ldevulder has joined #linux-sunxi
mripard has joined #linux-sunxi
florian has joined #linux-sunxi
NeuroScr has joined #linux-sunxi
florian has quit [Quit: Ex-Chat]
NeuroScr has quit [Quit: NeuroScr]
jstein has joined #linux-sunxi
random_yanek has quit [Ping timeout: 260 seconds]
aloo_two has joined #linux-sunxi
random_yanek has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
diego71 has quit [Ping timeout: 258 seconds]
ganbold__ has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 250 seconds]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 260 seconds]
diego71 has joined #linux-sunxi
tl_lim has quit [Ping timeout: 260 seconds]
tl_lim has joined #linux-sunxi
tl_lim has quit [Ping timeout: 260 seconds]
tl_lim has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 240 seconds]
vagrantc has quit [Quit: leaving]
Mangy_Dog has joined #linux-sunxi
tuxillo has quit [Remote host closed the connection]