<mosajjal>
buZz: I got the hardware decoding working after wasting A LOT of time. But still isn't as smooth
<ssvb>
mosajjal: I have never updated fbturbo to use the new incompatible userland api, provided by the allwinner's display driver on h3
<ssvb>
mosajjal: but of course, this technically can be done
<ssvb>
btw, how did you manage to waste a lot of time? everything is pretty much simple and reasonably documented for libvdpau-sunxi
<buZz>
so, chrome does use vdpau?
<mosajjal>
ssvb: patching Chromium to use hardware decoding. Compiling and failing... using flags to override GPU blacklist. Chromium doesn't like opengl es by default.
<mosajjal>
buZz: there's a highly experimental patch which uses VA-API. and vdpau can be used as a backend.
<ssvb>
well, then you are having problems with Chromium, but not with hardware accelerated video decoding
<mosajjal>
ssvb: what's the steps to update fbturbo to use useland api ? because one of kernel developers I've Emailed to, said allwinner should release the new libmali.so first to do DRM
<mosajjal>
buZz: that's it
<mosajjal>
ssvb: is fbturbo fully compatible to H3 ? Because Xorg doesn't use it very well.
<ssvb>
mosajjal: these are not some "steps", which can be easily done by the end users, but a bit of software development is necessary
<ssvb>
mosajjal: what do you mean "fully compatible"? it should correctly work on h3 and any other hardware
xinli_ has joined #linux-sunxi
souther has quit [Ping timeout: 250 seconds]
xinli has quit [Ping timeout: 264 seconds]
<ssvb>
mosajjal: but first you need to decide if you want fast 3d graphics or hardware accelerated video decoding
souther has joined #linux-sunxi
<ssvb>
mosajjal: it looks like you are running after two (or more) hares right now
<mosajjal>
ssvb: I don't care for 3d. Just want to have a smooth desktop experience.
<mosajjal>
ssvb: gonna use H3 boards as a Thin Client
<ssvb>
mosajjal: running which applications? you can always do some basic profiling yourself
<ssvb>
if you are interested in XFCE/LXDE/MATE desktop, then it can't benefit from mali drivers
<mosajjal>
ssvb: just just browser for now. Gonna try to use gpu-acceleration on RDP clients later. or Apache Guacamole to bring rdp/vnc to the browser
IgorPec has quit [Ping timeout: 240 seconds]
<mosajjal>
ssvb: the desktop doesn't matter to me, openbox, i3 is just fine
<ssvb>
again, if you are only interested in the browser, then you should check how it works and what kind of output backends it supports
<ssvb>
if it can use the OpenGL ES API, then mali drivers may be useful
<ssvb>
if it does client side software rendering, then not much can be improved on the X server side
<ssvb>
it's always best to first run perf or some other profiler and try to identify the bottlenecks
<ssvb>
also check cpufreq governor and other similar things if the response time is not very good
<mosajjal>
thank you ssvb ! Gonna find what's causing my browser to be slow and unresponsive. Haven't thought of governor. Gonna try to manipulate that as well
<KotCzarny>
but assuming you can run firmware flasher, most likely your rootfs is broken
<KotCzarny>
and flasher is just partial update
<nikio_>
yes
<nikio_>
im pretty sure
<nikio_>
so im wondering how best to fix the rootfs
<nikio_>
i used a root exploit which worked..
<KotCzarny>
maybe it installed some trojan that broke the boot
<nikio_>
untill i made it call commit_cred(prepare_kernel_creds(0))
<nikio_>
no i used a raw exploit
<nikio_>
i coded it myself
<nikio_>
well i modified one from exploit-db and compiled it
<KotCzarny>
some file broke
<nikio_>
KotCzarny, are you good at kernel related code/ assembly?
<KotCzarny>
nope
<nikio_>
well anyway this is the exploit I used.. it worked if i just made it printk a message, i used dmesg and could see it got logged from the kernel
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
libv has joined #linux-sunxi
BenG83 has joined #linux-sunxi
libv_ has quit [Ping timeout: 244 seconds]
Leepty has quit [Ping timeout: 264 seconds]
IgorPec8 has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec8 has quit [Client Quit]
Leepty has joined #linux-sunxi
nikooio has quit [Quit: Leaving]
nikio_ has joined #linux-sunxi
Net147 has quit [Ping timeout: 265 seconds]
Net147 has joined #linux-sunxi
dlan_ has quit [Ping timeout: 250 seconds]
dlan has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
afaerber has joined #linux-sunxi
dearfibonacci has quit [Quit: Leaving]
afaerber has quit [Ping timeout: 250 seconds]
afaerber has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 244 seconds]
libv_ has quit [Ping timeout: 244 seconds]
libv has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
<nikio_>
\msg
Gerwin_J has joined #linux-sunxi
<MoeIcenowy>
nikio_: are you using the right firmware?
<MoeIcenowy>
using wrong firmware to flash it will make it still a brick
<nikio_>
yep
<MoeIcenowy>
nikio_: does the screen backlight work?
<nikio_>
yep.. the green android icon shows at boot but doesnt disappear
<nikio_>
"<KotCzarny> but assuming you can run firmware flasher, most likely your rootfs is broken
<nikio_>
<KotCzarny> and flasher is just partial update"
<nikio_>
i think thats the case
<MoeIcenowy>
nikio_: I remembered the flash will ask you do you want to wipe it
<MoeIcenowy>
please choose yes
<nikio_>
i did tell it to format
foxx__ has quit [Remote host closed the connection]
foxx__ has joined #linux-sunxi
libv has quit [Ping timeout: 258 seconds]
foxx__ has quit [Ping timeout: 240 seconds]
foxx__ has joined #linux-sunxi
OverCR has quit [Quit: Leaving.]
aalm has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
jernej has joined #linux-sunxi
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 244 seconds]
JohnDoe9 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
Putti has joined #linux-sunxi
IgorPec has quit [Ping timeout: 276 seconds]
ganbold has quit [Quit: Leaving]
Hahaburger has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec8 has joined #linux-sunxi
IgorPec8 has quit [Ping timeout: 240 seconds]
nikio_ has quit [Quit: Leaving]
lns444 has joined #linux-sunxi
<lns444>
any1 familiar with linux driver hacking around? i'd like to learn more with the goal of getting the H3 codec working on mainline.
BenG83 has joined #linux-sunxi
<lns444>
i've interfaced with codecs over I2S on stuff like STM32F4, but no familiarity with the kernel side of linux. is moving the sunxi-codec to mainline a question of patching it in, or are there deeper more subtle issues that may make that an unsuitable learning project? i'm willing to take a steep curve
Netlynx has quit [Remote host closed the connection]
libv has quit [Ping timeout: 240 seconds]
Netlynx has joined #linux-sunxi
libv has joined #linux-sunxi
aalm has joined #linux-sunxi
corvusmalus has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
Netlynx has quit [Quit: Ex-Chat]
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
tllim has joined #linux-sunxi
tllim has quit [Client Quit]
apritzel has quit [Ping timeout: 244 seconds]
libv has quit [Ping timeout: 276 seconds]
libv has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 265 seconds]
Mr__Anderson1 has quit [Ping timeout: 258 seconds]
Mr__Anderson has joined #linux-sunxi
libv has joined #linux-sunxi
NiteHawk has quit [Quit: Coyote finally caught me]
NiteHawk has joined #linux-sunxi
NiteHawk has quit [Changing host]
NiteHawk has joined #linux-sunxi
foxx_ has quit [Ping timeout: 276 seconds]
y0x79 has joined #linux-sunxi
<y0x79>
hi there
libv_ has quit [Ping timeout: 260 seconds]
<y0x79>
i have a question concerning booting an allwinner from sd card and accessing the flash memory
<y0x79>
is it true that i need a proprietary allwinner nand.ko to do this?
<y0x79>
i have an unknown device and managed to boot from sd card with a random .img, there is also a nand.ko on the image but there is no /dev/nand available
<y0x79>
so i was wondering if i need a "special" nand.ko to mount the flash
<y0x79>
it seems to be an allwinner A33 - M100_MB v1.1
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
libv has quit [Ping timeout: 244 seconds]
foxx_ has joined #linux-sunxi
<scream>
i think nand.ko should be compiled for specific nand flash type
ricardocrudo has quit [Remote host closed the connection]
<y0x79>
ok, that would mean i need to find an .img that has the corresponding flash type
<scream>
at least close
<scream>
maybe you can also specify some opts
<y0x79>
is it possible to do this on my own or is nand.ko source not available?
<scream>
check out modinfo for that module
<scream>
i don't know. where i used it, it was precompiled and gave /dev/nand[abcd] block devices when loaded
<y0x79>
exactly, that is what i need. ok let me check
<scream>
i also had limited success with mainline nand drivers. but it is incomplete for MLC chips
iamfrankenstein has quit [Quit: iamfrankenstein]
libv has joined #linux-sunxi
libv has quit [Ping timeout: 258 seconds]
Da_Coynul has joined #linux-sunxi
nikio_ has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Wizzup has quit [Ping timeout: 244 seconds]
Wizzup has joined #linux-sunxi
Netlynx has quit [Quit: Ex-Chat]
Hahaburger has quit [Quit: Page closed]
tithrion has joined #linux-sunxi
tomasir has joined #linux-sunxi
libv has joined #linux-sunxi
tomasir has quit [Client Quit]
gaby has joined #linux-sunxi
<y0x79>
is there a way to get access to the local nand via u-boot or another bootloader?
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 276 seconds]
<y0x79>
i mean, if i understand correctly the bootloader must have access to the nand somehow as the kernel will be on there, right?