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
kivutar has quit [Ping timeout: 265 seconds]
kivutar has joined #linux-sunxi
mosterta has joined #linux-sunxi
vishnup has quit [Remote host closed the connection]
pmattern has joined #linux-sunxi
pmattern has quit [Client Quit]
vagrantc has quit [Quit: leaving]
Deskwizard has joined #linux-sunxi
mosterta has quit [Ping timeout: 264 seconds]
soderstrom has quit [Ping timeout: 272 seconds]
viccuad has quit [Ping timeout: 276 seconds]
alexspb21 has joined #linux-sunxi
ninolein has quit [Ping timeout: 250 seconds]
ninolein has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
afaerber has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
ganbold has quit [Ping timeout: 256 seconds]
Andy-D_ has joined #linux-sunxi
kaspter has joined #linux-sunxi
Andy-D has quit [Ping timeout: 272 seconds]
Netlynx has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 265 seconds]
p1u3sch1 has joined #linux-sunxi
alexspb21 has quit [Ping timeout: 245 seconds]
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
Andy-D__ has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 245 seconds]
ganbold has quit [Ping timeout: 256 seconds]
ganbold has joined #linux-sunxi
Ueno_Otoko has joined #linux-sunxi
kaspter has quit [Ping timeout: 264 seconds]
<MoeIcenowy_> [vo/vdpau] Error when calling vdp_presentation_queue_target_create_x11: A catch-all error, used when no other error code applies.
<MoeIcenowy_> What the hell?
alexspb21 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Seppoz has quit [Remote host closed the connection]
IgorPec has joined #linux-sunxi
gzamboni has quit [Ping timeout: 264 seconds]
gzamboni has joined #linux-sunxi
vickycq has quit [Ping timeout: 265 seconds]
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 255 seconds]
vickycq has joined #linux-sunxi
domidumont has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
domidumont has quit [Read error: Connection reset by peer]
domidumont has joined #linux-sunxi
kaspter has joined #linux-sunxi
SadSmile has joined #linux-sunxi
kaspter has quit [Read error: Connection reset by peer]
<rellla> Moelcenowy_: system, libvdpau version?
orly_owl has joined #linux-sunxi
<rellla> Ve_version 0x0000 smells obvious....
<rellla> *dubious
<MoeIcenowy_> rellla 1.1.1
<MoeIcenowy_> libvdpai
<MoeIcenowy_> libvdpau
<MoeIcenowy_> and cedar driver is a33's lichee version
<rellla> A33 is not supported.
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
alexspb21 is now known as FinalBidding
Seppoz has joined #linux-sunxi
formruga has joined #linux-sunxi
<MoeIcenowy_> rellla Why is there such an error?
<MoeIcenowy_> rellla: As it can run on H3, I think it should also be able to run on A33
<rellla> I don't know about the ioctls, regs and memory of A33. Maybe jemk knows...
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
<rellla> But without some tweaks i'm sure it won't work
<MoeIcenowy_> jemk has an a33?
<MoeIcenowy_> how to tweak
leviathancn has joined #linux-sunxi
hipboi_ has quit [Quit: This computer has gone to sleep]
FinalBidding has quit [Quit: Leaving]
<MoeIcenowy_> rellla: Let me try the official media-codec source
SadSmile has quit [Quit: Leaving]
Ueno_Otoko has quit [Ping timeout: 260 seconds]
<MoeIcenowy_> In addition, does anyone compiled and run the source released by aw?
<MoeIcenowy_> (media-codec
mosterta has joined #linux-sunxi
MY123 has joined #linux-sunxi
<MoeIcenowy_> OK I built it
<MoeIcenowy_> So poor
<MoeIcenowy_> Libraries have been installed in:
<MoeIcenowy_> /usr/lib/full-package-name
<MoeIcenowy_> Ahahhahahahahahahahhahahahahhahaha
<Deskwizard> lmao
viccuad has joined #linux-sunxi
<Deskwizard> Happy new year.
<Deskwizard> :P
Ueno_Otoko has joined #linux-sunxi
<MoeIcenowy_> hmm. Happy new year
<MoeIcenowy_> May more A64 devices appear in the next year
<Deskwizard> I can't even handle 2... lol
<Deskwizard> but yes, may allwinner be with you :P
kaspter has joined #linux-sunxi
soderstrom has joined #linux-sunxi
<MoeIcenowy_> rellla: ping
viccuad has quit [Ping timeout: 264 seconds]
paulk-collins has joined #linux-sunxi
formruga has quit [Quit: Konversation terminated!]
viccuad has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Netlynx has quit [Remote host closed the connection]
pmattern has joined #linux-sunxi
soderstrom has quit [Ping timeout: 240 seconds]
<jemk> MoeIcenowy_: I don't have an a33, but it should be possible to support it
<MoeIcenowy_> jemk: I can test it
<jemk> MoeIcenowy_: but you have to be able to at least get the ve version, if that doesn't work something is wrong
<MoeIcenowy_> Does the kernel-side driver matter?
<MoeIcenowy_> I'm using the lichee official SDK kernel
<jemk> yes, but if they didn't mess it up completely it should work
<MoeIcenowy_> It seems the kernel source of A33 is like H3's
<MoeIcenowy_> (In addition, it's said that H3's kernel is 3.10, is it right? I don't think so
<jemk> h3 is 3.4 too
mawe242 has joined #linux-sunxi
<MoeIcenowy_> VE Version: 0x16670040
<MoeIcenowy_> @jemk
<jemk> thats good, then why vdpau prints 0x0000...
Deskwizard has quit [Quit: Growing old is mandatory, growing up is optional ! ^.^]
<MoeIcenowy_> This is version 1667 of cedarv, right? @jemk
<jemk> thats the hardware version
Deskwizard has joined #linux-sunxi
<jemk> which vdpau version do you use, latest master?
<MoeIcenowy_> 1.1.1
<jemk> thats libvdpau, i need libvdpau-sunxi version
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
<MoeIcenowy_> b9bc8b966df9e9da3ca62727935dfb87b69ad3e7
<MoeIcenowy_> @jemk
<MoeIcenowy_> No
<MoeIcenowy_> It seems that when I'm running vdpauinfo
<MoeIcenowy_> the version is ok
reinforce has joined #linux-sunxi
<MoeIcenowy_> However, running mpv makes the version wrong
<MoeIcenowy_> It seems A33 also uses disp2, and is cedar version on H3 1667?
<jemk> a33 should still use disp(1), but since aw doesn't implement SUNXI_DISP_VERSION we can't detect that which explains the error you get with mpv
<jemk> but it still doesn't explain the 0x0000 version
<MoeIcenowy_> no I didn't find sunxi_disp_ioctl.h in a33 kernel
<MoeIcenowy_> but I got sunxi_display2.h
<jemk> but the datasheet says its the old disp
<jemk> the kernel might have both drivers
<MoeIcenowy_> Oh I didn't read the sheet
<MoeIcenowy_> In addition
<MoeIcenowy_> can I break at the line of VE version print to get out the reason?
<MoeIcenowy_> OK I got it
<MoeIcenowy_> It seems that only fd, ion_fd, regs, first_memchunk->phys is initialized
<MoeIcenowy_> and in this code
<MoeIcenowy_> info structure is $2 = {reserved_mem = 0, reserved_mem_size = 0, registers = 4055949312}
<jemk> thats ok, it means there is no reserved mem and ion has to be used
<MoeIcenowy_> further run of vdpauinfo also returns 0000
<MoeIcenowy_> mysterious
<jemk> wtf
<MoeIcenowy_> now the original version program also returns 0000
<MoeIcenowy_> Maybe the kernel sucks
<MoeIcenowy_> is 0x01c0e000 phy address accessible by reading /dev/mem?
<MoeIcenowy_> let me reboot
<jemk> the clocks have to be enabled, and i think thats the problem
<MoeIcenowy_> ?
<MoeIcenowy_> clocks?
<MoeIcenowy_> It may be closed?
<jemk> reboot and then only run the version program i gave you, no vdpau
<MoeIcenowy_> terrible
<jemk> before running vdpau again this line has to be fixed https://github.com/linux-sunxi/libvdpau-sunxi/blob/master/ve.c#L135
<MoeIcenowy_> I run vdpauinfo fisrt
<MoeIcenowy_> reboot again
<jemk> something like if (ve.version >= 0x1667)
<MoeIcenowy_> In addition, when using Android kernel, sdbd is a good guy
<MoeIcenowy_> after rebooting
<MoeIcenowy_> 0x16670040
<MoeIcenowy_> I've modified it
<jemk> if someone could get the ve version of an a23 it would be good
<GeneralStupid> maybe it would be nice if therewas an android mage which already supports ost hardware...
<jemk> then vdpau should read the correct version too now
<MoeIcenowy_> jemk: nice
<MoeIcenowy_> I repeated running vdpauinfo
<MoeIcenowy_> ok and ok again
<GeneralStupid> i tried to compile that but i didnt managed to install the boot image on my device :/
<MoeIcenowy_> (after my first run
<MoeIcenowy_> (version became 0 after first run in previous reboot
<MoeIcenowy_> version right now, but still
<MoeIcenowy_> [vo/vdpau] Error when calling vdp_presentation_queue_target_create_x11: A catch-all error, used when no other error code applies.
<MoeIcenowy_> when running mpv
<MoeIcenowy_> @jemk
<MoeIcenowy_> and core dumped
<jemk> thats because we cant detect the correct disp version
<jemk> then it should work, but wont work on a20 and h3 anymore
<MoeIcenowy_> why
<jemk> because aw kernel doesn't provide any way to detect the disp version
<MoeIcenowy_> Should we bind ve 1667 to a23/33?
<MoeIcenowy_> (It seems everything is same in 23 and 33 except the cpu
<jemk> a23 likely has another version
<jemk> someone with a23 should run the version program
<MoeIcenowy_> I'm sad to say
<MoeIcenowy_> I didn't get it work
<MoeIcenowy_> only a blank screen in mpv title
<MoeIcenowy_> not blank
<MoeIcenowy_> but nothing displayed
<MoeIcenowy_> the wallpaper shown
<jemk> i never tried the lichee disp, only linux-sunxi. maybe there are some differences with disp
<MoeIcenowy_> OK, let's check the ioctl table
<MoeIcenowy_> In addition, the source code is at https://github.com/Icenowy/linux-kernel-lichee-a33
<jelle> a33 is h3?
<MoeIcenowy_> ?
<MoeIcenowy_> a33 is of course a33
<jelle> oh nevermind then
<MoeIcenowy_> but Allwinner sources are never clean
<MoeIcenowy_> It seems to be the header of disp
<MoeIcenowy_> Terrible
<MoeIcenowy_> Quite different!!!
<jemk> the colorkey ioctls are not implemented...
<MoeIcenowy_> DISP_CMD_SET_BKCOLOR = 0x3f, in libvdpau-sunxi
<MoeIcenowy_> @jemk maybe there's no this function, A33 is a low-end chip
<MoeIcenowy_> DISP_CMD_SET_BKCOLOR = 0x03, in lichee
<MoeIcenowy_> No matter it sucks
<jemk> its completely different, no layer request for example
<jemk> i guess i can't help there, i won't put more time in strange lichee kernels
<MoeIcenowy_> It seems that is because a33 is strange
<MoeIcenowy_> I may change the kernel
<jemk> na, thats because allwinner doesn't care about software compatibility
<MoeIcenowy_> Terrible allwinner
<jemk> you can try to make it work yourself, if you find some example how to use that disp version
<jemk> but i doubt it will be easy
<MoeIcenowy_> Oh my tablet now cannot boot into Android
<MoeIcenowy_> interesting
<MoeIcenowy_> (I wrote my kernel to the android recovery partition in nand
<MoeIcenowy_> (and / is in sdcard
<MoeIcenowy_> now I wrongly broke the Android partition
avph has quit [Ping timeout: 255 seconds]
_whitelogger has joined #linux-sunxi
_whitelogger_ has joined #linux-sunxi
<MoeIcenowy_> drv_display.h is more close to sunxi_display2.h
<MoeIcenowy_> not sunxi_disp_ioctl.h
<MoeIcenowy_> and the ioctl numbers are comptabile with disp2
<rellla> anyway. this whole allwinner display stuff seems to be a mess...
<MoeIcenowy_> I can't agree more
<MoeIcenowy_> In addition, I read little of sunxi media-codec soure
<MoeIcenowy_> source
<MoeIcenowy_> and found that when cedar chip is 1667
<MoeIcenowy_> USE_NEW_DISPLAY := 1
<MoeIcenowy_> And here may be some bug when openning disp2
reinforce has quit [Ping timeout: 255 seconds]
<MoeIcenowy_> @jemk
<MoeIcenowy_> When debugging
SadSmile has joined #linux-sunxi
<MoeIcenowy_> Oh
<MoeIcenowy_> my error
<MoeIcenowy_> my /dev/disp is 600
_whitelogger_ has quit [Read error: Connection reset by peer]
_whitelogger has joined #linux-sunxi
whitesn has joined #linux-sunxi
whitesn has joined #linux-sunxi
<MoeIcenowy_> But it's functionality is in DISP_LAYER_*
<MoeIcenowy_> and the functionality is also in sunxi_display2.h
<MoeIcenowy_> so maybe we can implement a portable way on both A33 and H3
<MoeIcenowy_> I'm trying on it
reinforce has joined #linux-sunxi
<MoeIcenowy_> @jemk I successfully blanked my screen, help!
<MoeIcenowy_> can the layer_id be changed?
<MoeIcenowy_> and, is layer 0 occupied by default?
Deskwizard has quit [Read error: Connection reset by peer]
Deskwizard has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
<MoeIcenowy_> I got angry
<MoeIcenowy_> disp on a33 is neither disp2 nor disp in A10
<MoeIcenowy_> it seems that it's the same on a23, a31 or a80
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger_ has joined #linux-sunxi
libv has quit [Quit: leaving]
soderstrom has joined #linux-sunxi
libv has joined #linux-sunxi
_whitelogger_ has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
mawe242 has quit [Ping timeout: 272 seconds]
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
<yann|work> I just started to look at the CedarX libs, and I'm a bit puzzled: is there only encoding/decoding support in there, and no support for rendering directly without copying the data ourselves out of the CedarX unit and into the GPU ?
Andy-D__ is now known as Andy-D
VargaD has quit [Read error: Connection reset by peer]
<MoeIcenowy_> yann|work: it seems that there's displaying code there.
<MoeIcenowy_> And saying GPU on sunxi may be confusing, as work of general PC GPU is done by disp, mali and cedar on sunxi
VargaD has joined #linux-sunxi
leviathancn_szu has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
<MoeIcenowy_> Oops
<MoeIcenowy_> It seems that open-sourced codes contains no displaying code
<yann|work> MoeIcenowy_: oh, something like vdecoder/fbm.c ?
<yann|work> ah
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-sunxi
<yann|work> MoeIcenowy_: where can we find the closed-source stuff with this support, nowadays ?
<MoeIcenowy_> I don't know where this support is...
<yann|work> I can't seem to find any trace of what was being used before they released the opensource version:)
<yann|work> some blogs talk about a github repo, but they may have taken it offline because of the gpl-violation issues
_whitelogger_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
premoboss has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<rellla> But please all, do get rid of the idea to use these blobs or even the "open source" code published by allwinner
_whitelogger has joined #linux-sunxi
<MoeIcenowy_> rella: the above?
<MoeIcenowy_> oh I found it
<MoeIcenowy_> whitelogger seems to be working very unstably now
<rellla> For the ioctls in A10/20
<MoeIcenowy_> Hmm... Who's the author of disp2 code in libvdpau-sunxi?
<MoeIcenowy_> In addition, did anyone used libvdpau-sunxi on H3?
<rellla> the author probably? :)
<MoeIcenowy_> It's written by @jemk
<MoeIcenowy_> or anyone used it on A80?
<MoeIcenowy_> (It seems A80 shares same disp with A33
xenoxaos has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
xenoxaos has quit [Ping timeout: 260 seconds]
Deskwizard is now known as desknaping
fl_0 has quit [Ping timeout: 240 seconds]
xenoxaos has joined #linux-sunxi
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-sunxi
<whitesn> happy new year from china as well :)
staplr has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<MoeIcenowy_> https://github.com/Icenowy/libvdpau-sunxi now has a33 support @jemk @rellla
cosm has joined #linux-sunxi
<MoeIcenowy_> Who have an A80 can try to modify it for A80
Wizzup has quit [Ping timeout: 246 seconds]
mosterta has quit [Ping timeout: 256 seconds]
Wizzup has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #linux-sunxi
desknaping has quit [Ping timeout: 240 seconds]
Seppoz has quit [Remote host closed the connection]
HeavyMetal has quit [Ping timeout: 240 seconds]
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
avph has quit [Ping timeout: 255 seconds]
avph has joined #linux-sunxi
IgorPec has joined #linux-sunxi
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<mripard> arnd: yes, please (but I guess you already did)
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
orly_owl has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
HeavyMetal has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Excess Flood]
_whitelogger has joined #linux-sunxi
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #linux-sunxi
fl_0 has quit [Ping timeout: 240 seconds]
fl_0 has joined #linux-sunxi
desknaping has joined #linux-sunxi
desknaping is now known as Deskwizard
akaizen_ has quit [Remote host closed the connection]
Deskwizard is now known as deskStuckReunion
akaizen has joined #linux-sunxi
leviathancn_szu has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
IgorPec has quit [Ping timeout: 246 seconds]
IgorPec2 has quit [Ping timeout: 246 seconds]
_whitelogger has joined #linux-sunxi
_whitelogger_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
orly_owl has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 246 seconds]
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
MY123 has quit [Quit: Leaving]
MY123 has joined #linux-sunxi
bonbons has joined #linux-sunxi
MY123 has quit [Client Quit]
paulk-collins has quit [Quit: Quitte]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
SadSmile has quit [Quit: Leaving]