Turl 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
perr has joined #linux-sunxi
paulk-collins has quit [Ping timeout: 260 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 260 seconds]
aokfire has joined #linux-sunxi
<aokfire> Looking at this guide, I'd like to compile the libraries for HW decoding on a chromebook
<aokfire> I'm wondering if it's still necessary to reserve memory
<aokfire> I also don't have "sun4i_cedar_dev" as a module set. modprobe fails
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
bbrezillon has quit [Remote host closed the connection]
vickycq- has quit [Ping timeout: 240 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
paulk-collins has joined #linux-sunxi
chomwitt has joined #linux-sunxi
doppo has quit [Remote host closed the connection]
doppo has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
pg12 has quit [Ping timeout: 260 seconds]
pg12 has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
Utnapishtim has joined #linux-sunxi
Utnapishtim has quit [Client Quit]
aokfire has quit [Remote host closed the connection]
fALSO has quit [Ping timeout: 240 seconds]
Andy-D_ has quit [Ping timeout: 258 seconds]
Gerwin_J has joined #linux-sunxi
victhor has quit [Ping timeout: 245 seconds]
fALSO has joined #linux-sunxi
lennyraposo has joined #linux-sunxi
fALSO has quit [Ping timeout: 240 seconds]
fALSO has joined #linux-sunxi
chomwitt has quit [Ping timeout: 240 seconds]
fALSO has quit [Ping timeout: 240 seconds]
techping has joined #linux-sunxi
lkcl has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 260 seconds]
fALSO has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
phil42 has quit [Ping timeout: 258 seconds]
fALSO has quit [Ping timeout: 260 seconds]
<KotCzarny> oh, btw. yesterday's decoding was so smooth because of working xv accel, no vdpau/cedar was used
fALSO has joined #linux-sunxi
<MoeIcenowy> mripard: now I still think we need a xf86-video-sun4i driver for sun4i-drm, for using the hardware more efficiently
<MoeIcenowy> e.g. Xv
<MoeIcenowy> xf86-video-modesetting can only use OpenGL to implement Xv
<MoeIcenowy> but xf86-video-sun4i will be able to implement Xv via YUV layers
IgorPec has joined #linux-sunxi
<KotCzarny> otoh, dpms doesnt work well on legacy too, it turns monitor/hdmi off, but doesnt manage to turn it back on ;)
JohnDoe_71Rus has joined #linux-sunxi
<Net147> USB wifi on sunxi 3.4.104 kernel tends to cause kernel panic when system is running for an extended length of time in my experience...
<KotCzarny> Failed to open VDPAU backend /usr/local/lib/libcedrus.so.1: undefined symbol: ump_phys_address_get
<KotCzarny> hrm
<KotCzarny> im using ump from https://github.com/linux-sunxi/libump.git
<KotCzarny> did something change in either ump or cedrus?
cnxsoft has quit [Ping timeout: 260 seconds]
<plaes> which kernel version?
<KotCzarny> armbian's
<KotCzarny> 3.4.113+
<KotCzarny> self compiled, but it looks like i have to use some special libump repo
<plaes> ah.. no idea :(
<KotCzarny> mosterta's or rellla's
<KotCzarny> which is weird, because at this time checking out libump and libcedrus from 'official' repos are incompatible
fALSO has quit [Ping timeout: 268 seconds]
fALSO has joined #linux-sunxi
<wens> MoeIcenowy: what does Xv need? shouldn't it be possible to implement it in xf86-video-modesetting?
<KotCzarny> xv requires yup planes i think
<KotCzarny> *yuv
<wens> well, you should be able to ask drm/kms if it has any yuv planes
<wens> if yes, then you could declare support for Xv, no?
<rellla> KotCzarny: you have to explicitely compile libcedrus with USE_UMP to get ump support, so in case you compile it without, it should be compatible to standard ump. otherwise you can use mine.
<rellla> you only need it, if you want to use to same memory with all three. ve, mali, disp btw
<KotCzarny> rellla, i did, and it found other symbols, but this one it was missing
<KotCzarny> i've checked now both libump and libcedrus from your repo and it compiled/ran ok
<KotCzarny> you might want to update links on your talk page
<rellla> so what is the issue with the original ones? they should work, too?!
<KotCzarny> as i get access denied when using cmdlines you have there
<KotCzarny> rellla, nope, if you check 'official' libump its missing that symbol
<rellla> yeah. need to use the https links instead
f0xx has joined #linux-sunxi
<KotCzarny> ie. https://github.com/linux-sunxi/libump.git is missing ump_phys_address_get
<rellla> but only if USE_UMP is set as a libcedrus flag?
<KotCzarny> no, grepped the sources
fALSO has quit [Ping timeout: 240 seconds]
<rellla> linux-sunxi/libcedrus/commit/c1fb5e8fd1e91ac8e6eaef21e936f686186908ff
<rellla> without USE_UMP it should not be needed anyway? or so i miss sth
<rellla> *do
<KotCzarny> yeah, apparently i missed it when i recompiled it now
<KotCzarny> with USE_UMP your repo is also missing that symbol
<KotCzarny> so, should i use USE_UMP or not?
fALSO has joined #linux-sunxi
<rellla> ah. now i see. i fixed that in the ump branch...
<KotCzarny> uhum
<rellla> should go to upsream...
<rellla> if you like to use mostertas kodi libvdpau or my interop branches, you need it.
<rellla> if you don't want to interop with opengl/es you don't
<KotCzarny> right now i'm just trying to find working combination or cedrus
<KotCzarny> by interop you mean 'if application uses 3d at the same time as cedrus' ?
cnxsoft has joined #linux-sunxi
<KotCzarny> now the only piece i'm missing is /dev/cedrus*
<KotCzarny> btw. you should really check/cleanup https://linux-sunxi.org/User:Rellla/Armbian
<rellla> hey, it's private notes ;)
<KotCzarny> :)
<rellla> it was not plannef to be taken for reference by others :p
<pmpp> ho vdr my first love in DVB :p
<rellla> interop means interchanging gl textures and vdpau surfaces. letting both render on each other.
<KotCzarny> do you have idea why i'm missing cedar dev? i have CONFIG_VIDEO_SUNXI_CEDAR=y
<rellla> nvidia does this in hardwae, we have to emulate it un software
<rellla> dmesg?
<rellla> dmesg | grep cedar
<KotCzarny> [ 1.235928] cedar: failed to allocate memory buffer
<KotCzarny> ahm.
<KotCzarny> ok, gotta fix it
<KotCzarny> though i have sunxi_ve_mem_reserve=64
<KotCzarny> hrm
<rellla> cma enabled?
<KotCzarny> [ 0.000000] cma: CMA: reserved 16 MiB at 4ec00000
<KotCzarny> i shall increase cma probably
<rellla> if you don't have ion or ump, cedar takes 80MB from cma. hardcoded iirc.
<rellla> check the kernels cedar code.
<rellla> ve_mem_reserve us obsolete iirc
lkcl has quit [Ping timeout: 260 seconds]
bbrezillon has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
freemangordon has quit [Read error: Connection reset by peer]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
f0xx has quit [Ping timeout: 246 seconds]
jernej has joined #linux-sunxi
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
IgorPec has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: .]
<KotCzarny> now this is new. hung at <6>Waiting for root device /dev/mmcblk0p2...
<KotCzarny> and cma failed to reserve 300M
<KotCzarny> hum
<rellla> take 128
<KotCzarny> is there kernel cmdline param for cma?
<rellla> afaik no
<KotCzarny> drat.
<KotCzarny> i forgot to make a backup of the kernel
<rellla> how do you build your kernel?
<KotCzarny> on the device
<KotCzarny> at least i have mainline one available, so i can boot and recompile
<rellla> and base distro is armbian?
<KotCzarny> yes
IgorPec has quit [Ping timeout: 246 seconds]
<rellla> i remember i had issues with a kernel from scratch on armbia dist
<rellla> initrd and such things...
<KotCzarny> nah, i dont use initrd
<KotCzarny> since it's a tailored kernel (and not the distro's one) i dont need such thing
<rellla> so i now use armbian build tools on another machine and use the debs.
<KotCzarny> hard to install debs in case something goes wrong ;)
<KotCzarny> There is also a cma= kernel command line option. It lets one specify the size of the area at boot time without the need to recompile the kernel. This option specifies the size in bytes and accepts the usual suffixes.
<KotCzarny> oh
<KotCzarny> i find it beautiful that allwinner got unbrickableness right
<Char0n> at least one thing
<KotCzarny> but essential one
<Char0n> true. FEL is awesome.
<KotCzarny> char0n: and using sdcard as highest priority
<KotCzarny> ok, 128M got reserved
<Char0n> it do? good to know
<KotCzarny> vendors can probably reconfigure it, but so far i havent' heard of the exception
<KotCzarny> umkay, /dev/cedar_dev is there, yay
<KotCzarny> aaaand takeoff, we have visual!
<KotCzarny> even osd works
<Char0n> gratz
<KotCzarny> thank you sunxi devs!
BenG83 has quit [Quit: Leaving]
<KotCzarny> is cedar configurable in any way ? some smoothing or postprocessing?
<KotCzarny> and the best part? decoding video with only 15% cpu usage at 528mhz
<Char0n> On which device / chipset?
<KotCzarny> a20 (bpi m1)
<Char0n> mh, have A23 here. the 'little brother' of A20. but got it never to work with linux.
<Char0n> maybe i should try again
<KotCzarny> legacy kernel required unfortunatelly, but at least cedrus is working nicely
<KotCzarny> and a20 has a big bonus of G2D acceleration
<KotCzarny> some videos crash in audio decoder, hrm
<KotCzarny> but even software decoding videos (but using xv/g2d accel) works perfectly
<KotCzarny> and a23 wiki page could use some updates: u-boot-sunxi has basic support for A23, which includes UART console (including R_UART) and MMC. Disclaimer: no one has actually booted a kernel with this yet.
<KotCzarny> ;)
<KotCzarny> g2d is part of which block? or something independent? because it's a big win to make decend desktop experience possible
<rellla> yes. independent.
<rellla> newer socs use pixman in libvdpau-sunxi to blit the rgba osd.
<rellla> cpu based, but works well, too.
<KotCzarny> its not only osd, fbturbo gets big boost thanks to it
<KotCzarny> i might say a20 is the best soc to use as an allwinner's desktop core
<KotCzarny> it's a night and day difference, firefox is actually usable now (even with compilation running in bg)
<KotCzarny> i wonder if fbturbo could use cedrus accel functions on h3+
chomwitt has joined #linux-sunxi
<jernej> rellla: libvdpau-sunxi could use overlay planes for OSD on H3, right?
<rellla> yes.
_whitelogger has joined #linux-sunxi
<KotCzarny> hrm, picture is much more darker with cedrus than with sw decode on mplayer
<KotCzarny> and washed out colors
<KotCzarny> yes, it's there (at least de_fe.c part, so i assume rest is there too
<KotCzarny> but i might check vdpau bits
<KotCzarny> yup, no CSC_FULL_RANGE etc
<KotCzarny> so while kernel part is there, libvdpau-sunxi is missing
<rellla> you that according vdpau patch.
<KotCzarny> maybe i should grab that lib from your repo too
<rellla> from my master branch.
<rellla> you can try that branch anyway
<KotCzarny> how come they aren't in sunxi's one?
<KotCzarny> nice segfault, but at least it said something about csc matrix
chomwitt has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
chomwitt has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
terra854 has joined #linux-sunxi
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
<KotCzarny> cant get bt because gdb blocked mplayer and whole x froze (ending gdb/mplayer unfroze it)
<rellla> yeah. just take the csc patch :)
<rellla> wait..
<rellla> try this branch - without the last one.
<KotCzarny> so, i shall clone upstream_next and unpatch the last patch?
<rellla> i'm reworking on this last in my private git and have to do some last tests.
<KotCzarny> i can help you with tests if you like
<rellla> yes, uncheck the last.
<KotCzarny> how do i uncheck the commit with git?
<KotCzarny> (total git newbie here)
<rellla> git reset --hard HEAD^1
<KotCzarny> thx
<KotCzarny> no way i would guess that one ;)
<rellla> you need a new dependency though. libcsptr. check the readme.
<KotCzarny> i already got it since i was trying your repo
jstein has joined #linux-sunxi
reinforce has joined #linux-sunxi
lkcl has joined #linux-sunxi
Keziolio has quit [Ping timeout: 246 seconds]
Keziolio has joined #linux-sunxi
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
mzki has quit [Quit: leaving]
mzki has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 240 seconds]
<MoeIcenowy> wens, mripard: should I merge A10, A20 and R40 pinctrl drivers into a single one?
<MoeIcenowy> and if yes how should I name it? pinctrl-sun4i-a10 or pinctrl-sunxi-a10-a20-r40?
techping has quit [Remote host closed the connection]
ni291187 has joined #linux-sunxi
ni291187 has left #linux-sunxi [#linux-sunxi]
<MoeIcenowy> mripard: can current pinctrl driver sharing framework deal with different function name on the same pin's same function id?
<MoeIcenowy> here on A10 there's only one i2s that is just called i2s
<MoeIcenowy> on A20 there's two and it's renamed "i2s0"
|Jeroen| has joined #linux-sunxi
|Jeroen| has quit [Remote host closed the connection]
freemangordon has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
Ntemis has joined #linux-sunxi
victhor has joined #linux-sunxi
jernej has quit [Ping timeout: 258 seconds]
<wens> MoeIcenowy: use the variant feature for each one, i.e., i2s on A10, i2s0 on A20 (and presumably, R40)
<MoeIcenowy> yes ;-)
<MoeIcenowy> A20 into A10 part done
<MoeIcenowy> now do R40 into A10
<MoeIcenowy> wens: P.S. are you sure that A83T PHYCTL is at the A10 position?
<MoeIcenowy> the BSP source code shows that it's at A33 position
<MoeIcenowy> here SUN8IW[56789] is all dealed with one #if line
<MoeIcenowy> P.S. the A20 pinctrl driver's comment have several bugs
<MoeIcenowy> I fixed them according to the user manual
lkcl has joined #linux-sunxi
<wens> i think i've traced the code twice, and that symbol simply doesn't get used in the code path for A83T
<MoeIcenowy> ah-oh
<MoeIcenowy> and something strange: SPDIF is undocumented but available on A10, documented on A20, and its document disappeared again on R40
<KotCzarny> that's not unusual, that's almost expected of allwinner ;)
<wens> undocumented how?
<wens> it is definitely documented on R40
<MoeIcenowy> oh sorry...
<MoeIcenowy> only DO there
<MoeIcenowy> DI is cut down
<wens> looks that way
<wens> bye bye SPDIF receiver
<wens> not that anyone was using it
<MoeIcenowy> just forgot that it's called OWA
<MoeIcenowy> and IR TX is also gone away
<wens> something else no one uses :p
<MoeIcenowy> and... PWM6 to PWM7... crazy
<KotCzarny> wens: ir tx could be useful
<MoeIcenowy> You can control 8 engines now with R40! ;-)
<KotCzarny> ie. having sbc controlling tv
<MoeIcenowy> modern way is CEC ;-)
<KotCzarny> sure, but more features is always nice to have
<KotCzarny> especially when CEC doesnt work or something ;)
<MoeIcenowy> you pay for it ;-)
<KotCzarny> how much is ir tx? ;)
<MoeIcenowy> I dont know
<MoeIcenowy> maybe only some cents
chomwitt has quit [Remote host closed the connection]
soltys has quit [Read error: Connection reset by peer]
<MoeIcenowy> some function named "ms" in pinctrl driver also disappeared
<MoeIcenowy> however I don't even know what it is
cnxsoft has quit [Quit: cnxsoft]
dan0_0 has quit [Remote host closed the connection]
Andy-D_ has joined #linux-sunxi
jernej has joined #linux-sunxi
chlorine has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
<MoeIcenowy> strange... can's apb clock exists in R40 BSP source code
<MoeIcenowy> but doesn't exist in R40 manual
<dgp> Disabling a core should reduce power consumption right? I thought that was what the BSP kernel does to reduce heat but I don't see any different in current on mainline.
<KotCzarny> reducing voltage (and max cpu freq possible) reduces heat
<dgp> Every time I see a comment from tkaiser about the BSP kernel he says it "kills cores" so I thought that was it turning them off
<KotCzarny> sure
Ntemis has quit [Read error: Connection reset by peer]
<KotCzarny> killing core MIGHT help, by reducing available cpu power
<KotCzarny> but if your load on one core (with three available) is enough to overheat..
<KotCzarny> then killing idle core wouldnt show you much of a difference
<dgp> not so worried about heat. Wondering why it consumes 1w when idle with all the cores enabled and exactly 1w when idle with all but one core disabled
<KotCzarny> measure again under load
<dgp> maybe I don't have the resolution to measure the tiny difference :/
<KotCzarny> yeah
<wens> MoeIcenowy: A10 supposedly had memory stick controller
<MoeIcenowy> oh another function with no use
pg12 has quit [Ping timeout: 260 seconds]
perr has quit [Remote host closed the connection]
pg12 has joined #linux-sunxi
leviathan_ has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
habs has quit [Remote host closed the connection]
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
goofie has quit [Remote host closed the connection]
goofie has joined #linux-sunxi
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
goofie has quit [Read error: Connection reset by peer]
goofie has joined #linux-sunxi
goofie has quit [Remote host closed the connection]
goofie has joined #linux-sunxi
fkluknav has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
IgorPec has joined #linux-sunxi
Ntemis has joined #linux-sunxi
lkcl has quit [Ping timeout: 260 seconds]
lennyraposo has quit [Quit: Leaving.]
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
gzamboni has quit [Quit: Ex-Chat]
chlorine has quit [Ping timeout: 260 seconds]
gzamboni has joined #linux-sunxi
<MoeIcenowy> oh r40 musb is a problem...
bonbons has joined #linux-sunxi
scream has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
BenG83 has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
book`_ has quit [Quit: Leaving]
fkluknav has quit [Ping timeout: 260 seconds]
book` has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
lurchi_ has quit [Ping timeout: 240 seconds]
netlynx has quit [Quit: Ex-Chat]
JohnDoe_71Rus has quit [Ping timeout: 255 seconds]
lynxis has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-sunxi
lynxis has joined #linux-sunxi
lkcl has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7099-gca80ee628, build type: debug, sources date: 20160102, built on: 2017-03-12 14:49:35 UTC git-7099-gca80ee628 http://www.kvirc.net/]
fALSO has quit [Remote host closed the connection]
yann-kaelig has quit [Quit: Leaving]
f0xx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
mzki has quit [Ping timeout: 260 seconds]
mzki has joined #linux-sunxi
f0xx has quit [Ping timeout: 252 seconds]
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 260 seconds]
Gerwin_J_ is now known as Gerwin_J
Mr__Anderson has quit [Remote host closed the connection]
kloczek has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
kloczek has quit [Remote host closed the connection]
jernej has quit [Ping timeout: 260 seconds]
Ntemis has quit [Remote host closed the connection]
scream has quit [Remote host closed the connection]
dave0x6d has joined #linux-sunxi
phipli has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
phipli has quit [Ping timeout: 268 seconds]
bonbons has quit [Quit: Leaving]
lemonzest has quit [Quit: Leaving]
cptG has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
cptG_ has quit [Ping timeout: 240 seconds]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 252 seconds]
<victhor> is it ok to leave a battery charging with axp223 on mainline, or is that... "not recommended", especially given that my battery does not have a thermistor
perr has joined #linux-sunxi
perr has joined #linux-sunxi
perr has quit [Changing host]
reinforce has quit [Quit: Leaving.]
rah_ is now known as rah
lurchi_ is now known as lurchi__
Putti has quit [Ping timeout: 248 seconds]
Putti has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 252 seconds]