IRC log for #arm-netbook on 20130105

00:08.48hramrachdoes u-boot not work with hardfloat?
00:22.31aholler_no, it doesn't use floats
00:23.13hramrachit does not use floats so does not work when compiled with float support?
00:24.07hramrachsounds odd
00:24.34aholler_double negotation
00:25.30hramrachthe weird part is that adding float support to the compiler breaks program that does not use float
00:25.58hramrachbut perhaps it has manually crafted assembly routines which would have to be updated to the new abi
00:26.01aholler_1. it doesn't make sense to compile it float support. 2. something (irqs or similiar) might fail because they don't care and don't save the registers
00:26.15aholler_s/ it / with /
00:26.47aholler_ibot: learn fuzzy ;)
00:27.04hramrachit makes sense to compile it with the default compiler
00:27.18hramrachand if the registers are unused it shall not fail if not saved
00:27.57hramrachbut the abi is different
00:28.07aholler_which abi?
00:28.30hramrachnot sure. you can't mix softfloat and hardfload
00:28.42hramrachprobably different calling convention
00:28.51hramrachor something
00:29.03aholler_it isn't userland. it doesn't use floats, no float-abi in u-boot
00:29.20hramrachthen why it would fail with hf?
00:29.33aholler_who said that?
00:29.50aholler_read what you asked and what I've answered
00:30.05aholler_it might fail, but should not
00:30.23hramrachoh well
00:30.29aholler_anyway it doesn't make sense and default u-boot make disables floats at all
00:30.40hramrachthe page recommends softload compiler
00:31.09rz2kit is not recomended to use neon/vfp in u-boot
00:32.12aholler_as said, you might run into problems if the compiler would use some float-stuff to optimize something
00:32.47aholler_but I don't think it does that if you don't call it with -mfpu=foo or similiar
00:33.27aholler_and the makefiles from u-boot don't do that
00:34.29hramrachthere is no man page for gcc -.-
00:35.03aholler_just build u-boot and don't care about your compiler. it does the right thing
00:35.23aholler_at least if you don't use a compiler like 4.5 with bugs
00:35.48hramrach4.5 has bugs?
00:36.18*** join/#arm-netbook Jef91 (~Instantbi@bodhilinux/team/Jef91)
00:36.27hramracharm-linux-gnueabihf-gcc (Debian 4.5.3-12) 4.5.3
00:36.41aholler_no, never ;) but if unpatched, volatile doesn't work with 4.5.0 and 4.5.1
00:37.26hramrachawesome
00:39.05hramrachis that normal that kernel fails to build when you enable random options?
00:39.52hramrachipv6 nf and nf6 would probably apply in this case
00:40.55hramrachnet/built-in.o: In function `tcp_is_local6': linux-2.6/net/ipv4/tcp.c:3366: undefined reference to `rt6_lookup'
00:41.34aholler_git grep rt6_lookup, enable missing options, try again.
00:42.11aholler_such happens
00:44.26hramrachgit has builtin grep?
00:44.28hramrachcool
00:52.51hramrachthe function is in ipv6/route.c and does not seem to be ifdefed
00:53.13hramrachhow do I tell what selects that file?
00:54.15aholler_look at the Makefile
00:54.43aholler_or do an educated guess ;)
00:54.58hramrachit's the default :s
01:06.36hramrachthanks for suggestions
01:06.47hramrachbut can't fid what broke it
01:06.58hramrachjust building with ipv6 does not work
01:08.12aholler_do you have ipv6 as a module? make it static
01:08.31hramrachyes, have it as module
01:08.35hramrachit used to work
01:09.02aholler_seems not to be the case with your random config options
01:12.35hramrachyes, as builtin it works
01:12.39hramrachthanks
01:17.14*** join/#arm-netbook uwe__ (~uwe_@dslb-092-075-063-053.pools.arcor-ip.net)
01:24.42*** join/#arm-netbook stefanro (~stefan@p57B94C59.dip.t-dialin.net)
02:02.31*** join/#arm-netbook RITRedbeard (~redbeard@c-68-37-165-37.hsd1.nj.comcast.net)
02:12.45*** join/#arm-netbook nemik_ (~cyanact@c-67-162-60-211.hsd1.il.comcast.net)
02:20.50*** join/#arm-netbook lerc (~quassel@121-74-235-98.telstraclear.net)
02:56.18*** join/#arm-netbook kaspter (~Instantbi@180.168.145.234)
03:20.56*** join/#arm-netbook soooga (~soooga@221.10.155.193)
03:54.49*** join/#arm-netbook gsilvis (~almostsix@50.12.163.241)
03:59.12*** join/#arm-netbook rz2k (~rz2k@128-69-239-76.broadband.corbina.ru)
04:21.20bsdfox_are people using sunxi-3.0 or 3.4?
04:31.17*** join/#arm-netbook aholler (~aholler@p57B20848.dip0.t-ipconnect.de)
06:27.37*** join/#arm-netbook cheng (~cheng@147.48.48.60.kmr03-home.tm.net.my)
06:54.00*** join/#arm-netbook ganbold_ (~Ganbold@202.21.108.93)
07:02.14*** join/#arm-netbook Quarx (~Quarx@46.233.219.211)
07:38.03*** join/#arm-netbook gimli (~gimli@xbmc/staff/gimli)
09:26.43*** join/#arm-netbook Yaku (~Yaku@c213-100-205-158.cust.tele2.se)
09:41.08*** join/#arm-netbook eebrah (~chatzilla@212.49.88.110)
09:45.45provel_ssvb: hi! Are the drivers working actually? I can't find a way to make them work with mali framebuffer ones
10:26.38*** join/#arm-netbook rellla (~Thunderbi@p4FE562B1.dip0.t-ipconnect.de)
10:35.30provel_anoyone else noticed that samba is very slow? seems it can't go over 500KB/s
10:37.21provel_also ethtool gives error checking wakeonlan (expected) and linkstatus (less expected...)
10:38.01provel_ok.... eth0 seems set to 10Mbit half duplex.... this explains something.... but how I fix it?
10:38.14provel_(emele a2000)
10:43.18provel_ok is https://github.com/linux-sunxi/linux-sunxi/issues/91
10:43.26relllaprovel_: https://github.com/linux-sunxi/linux-sunxi/issues/102
10:45.34provel_still not that fast, samba now 2MB/sec
10:48.10relllanetwork performance should be tested (with iperf etc.) if realistic speed can be reached, even if ethtool tells you 100MBs/FD.
10:49.04relllai'm not for sure at my environment, because my switch/infrastructure seems to be slow at all.
10:54.51provel_ok... I'm trying https://github.com/linux-sunxi/linux-sunxi/issues/102
10:54.59provel_TY
10:57.17provel_changed emac to 19 ... works... now I'll try to test
10:58.18provel_no, speed still looks less than 2 MB
10:58.25provel_at least with samba
10:58.52provel_I'll try to completely remove the emac_power line
11:03.50provel_no way... 2MB/s max with samba
11:05.14rellladid you try another benchmarking tool, e.g. iperf?
11:05.34rellla2MB/s at both directions?
11:06.02techn_how about ftp?
11:06.19provel_[  3]  0.0-10.1 sec  28.1 MBytes  23.4 Mbits/sec
11:06.25provel_iperf result seems better
11:06.48provel_this as iperf client
11:06.51techn_provel_: whats your freq?
11:07.23provel_similar as server : [  3]  0.0-10.1 sec  25.5 MBytes  21.3 Mbits/sec
11:07.33provel_my freq?
11:07.40techn_cpu freq
11:07.42provel_how I see? I have ondemand
11:07.47provel_mele a2000
11:07.55techn_cat /proc/cpuinfo
11:07.57provel_mele a2000mips
11:08.07provel_up to 1008 bogomips
11:08.29provel_no freq there
11:08.44provel_bogomips from 59 to 1008
11:09.14techn_oh.. try this: http://linux-sunxi.org/Cpufreq
11:10.17provel_hold a sec... I was with wireless pc link
11:10.22buZzswap ondemand for performance :)
11:10.23provel_with wired it's [  3]  0.0-10.0 sec  49.1 MBytes  41.0 Mbits/sec
11:12.22provel_done ..... [  3]  0.0-10.0 sec  58.4 MBytes  48.8 Mbits/sec
11:12.41provel_ethtool says full duplex
11:13.14relllauuaaahhh
11:13.42provel_keeping it more times sequantially I got [  3]  0.0-10.0 sec  60.5 MBytes  50.6 Mbits/sec
11:13.47relllatechn_: thanks, i missed changing to performance on my second mele. now iperf says:
11:14.19rellla[  4]  0.0-10.1 sec   107 MBytes  89.5 Mbits/sec
11:14.31relllaseems to have it done so far
11:15.06provel_rellla.... what you inserted in emac_power line in the fex ? nothing or 19?
11:16.00relllaprovel_: not sure anymore. i'm "refexing" my bins. wait a minute.
11:18.39relllaaccording to my script.bin's filesize it should be without the power entry. on mele a2000 and a100.
11:22.18relllaiperf server: mele a100
11:22.18relllaiperf client: mele a2000 -> 89MB/s
11:22.31relllaiperf server: mele a2000
11:22.31relllaiperf client: mele a100 -> 49MB/s
11:22.34relllahm..?
11:27.09relllais this normal behaviour or a problem with my switch: http://pastebin.com/v81aHiBb
11:27.10relllaor an issue with my meles?
11:30.37*** join/#arm-netbook jquip (~johnny@27.58.130.224)
11:41.28provel_dunno, I have just one line in iperf
11:42.14relllastarted with flag "-d". bidirectional test
11:42.25provel_ok, I check
11:43.00provel_Whew
11:43.08provel_mine really different
11:43.36provel_http://pastebin.com/dWGUvRsT
11:43.50provel_gets faster in opposite direction...
11:44.19provel_started on PC
11:45.24provel_started on mele it's still faster but in first test instead than second (client)
11:46.20provel_looks like mele as client is much faster for me, 86/90 MBs
11:46.30provel_*Mb/s, sorry
11:46.36relllaso to get reliable results, i should start with a minimal wired network infratructure.... i think, there could be some problems with my wiring.
11:46.55relllalooks like 90MB/s is quite good
11:47.09provel_yes but only with mele as client testing bidir
11:47.32provel_hum, also in no-bidir
11:48.21provel_mele as server maxspeed=55Mbs
11:49.37provel_now I'll recheck mele as samba server
11:50.18relllai'm no network expert. i also have problems with i386 at work atm. GBit-Net, and a poor performance to my linux machine. seems to result on a bad interface/driver. windows to windows machine performance is good. windows -> samba is VERY bad at least in one direction... <- to be done in the future ;-(
11:50.53provel_maxspd = 5.9MBs, avg = 4,5 MBs ca
11:51.19relllaso it's a samba problem ?!
11:51.44provel_no, 55Mbs is slightly more than 6 MBs
11:51.49provel_so it's decent
11:52.14provel_samba it's decent.... eth0 is still about half speed
11:52.24relllaoh. Mb /MB, sorry.
11:53.17*** join/#arm-netbook hg_5 (~chatzilla@unaffiliated/hg-5/x-8664886)
11:53.26provel_np.... however this way it's for sure way better than initail issue... maybe this change should be reflected in sunxi-bsp fex file for mele a1000
11:55.03relllait should. and be commented on issue report at github. and to give a hint to governor settings.
12:08.53hramrachprovel_: if you achieve half speed of interface with sambe it's cool
12:09.05hramrachtry netperf or something
12:10.23hramrachoh, you did
12:11.06hramrachso try if htere are some parameters that can be tweaked with miitool or ethtool or what
12:11.28hramrachbut when the etherenet card is cheap don't expect miracles
12:11.39hramrachserver should be easy, though
12:12.17relllahramrach: ethernet card is cheap, as a10 is cheap ;-)
12:12.51hramrachI can achieve 400Mbit on Realtek Gbit card
12:12.55hramrachyou get the idea
12:13.06hramrachbut the problem is receivin there
12:13.43hramrachprobably not good enough interrupt mitigation
12:14.29hramrachI don't really see how sending can go wrong if the card is not total fail but there might be slight ahrdware or driver flaw and you get issues
12:19.46provel_hramrach: it's half speed when transmitting
12:19.59provel_hramrach: and 85-90% speed when receiving
12:20.25provel_Gbit cards are different and have different issues
12:20.38provel_cable for example is not a real issue with Fast Eth.
12:20.50provel_but can be a limitation with GbEth
12:21.49provel_the slower part is mele sending.... likely due to some driver issue
12:22.27provel_mele recv is 85-90% speed which is good for a little box
12:24.14provel_in any case samba 3 seems working fine... samba 4 still to test
12:28.11hramrachI can test speed when I get the board booting
12:28.49hramrachneed to find a uSD card
12:30.59*** join/#arm-netbook penguin42 (~dg@tu006.demon.co.uk)
13:34.42jukivilidoes vendor driver work with wifi in mk802?
13:39.59penguin42ooh, my mk809 has arrived
13:41.40orly_owl9? a10?
13:41.51penguin42809 - rk3066
13:42.01orly_owloh, meh
13:42.29relllaprovel_: ~90Mb/s from a100 to my dockstar and vice versa
13:42.29relllabidirectional test 90/50 Mb/s
13:43.55relllabut only ~50Mb/s from a2000 to dockstar
13:43.55relllabidirectional test 70/4 Mb/s
13:44.29relllaseems that something goes wrong with a2000. i need some time to check this out....
13:44.29penguin42orly_owl: Meh - a10 is a solved problem - boring!
13:45.00orly_owlno it's not, lima isnt fully functional yet
13:45.34penguin42true
13:47.44penguin42right, I think I need an infinite number of extra USB peripherals now for it
13:48.09orly_owlas long as you have the money
13:48.27penguin42orly_owl: Well, it was only £40 which for a dual core A9 was too tempting
13:49.11provel_rellla: ok so it's a2000 issue
13:49.46provel_rellla: maybe something physically different?
13:49.52relllamaybe another fex-setting is needed...
13:50.08relllai'll open it and check board revisions
13:52.21provel_android had a fex/bin file?
13:56.26provel_ok I found the bin in nanda
13:58.13provel_the only difference with script.bin is that in android line is not removed, it's "emac_power =" without a value
14:00.39provel_hum... the only emac difference.... all the file is quite different
14:02.40provel_hum... I think fex were uptated
14:02.43provel_-machine = "A10-EVB-V1.1"
14:02.45provel_+machine = "A10-EVB-V1.2"
14:04.39provel_there's differences in plls, card_burn_para, uart, jtag/dram, mali clkdiv, again uart, ctp_screen_max_y, lcd
14:04.58provel_usb, ir
14:05.29provel_android fex is completely different here....
14:06.28provel_I try to give a shot with android fex....
14:09.29provel_nop, seems no good
14:11.01provel_sigh I was hoping to fix the issue of usb drive moving devices
14:17.52provel_anyone else noticed that when inserting a second drive the first one moves from sda to sdc (maybe related to the fact first one has 2 partitions) ?
14:19.43provel_likely it's the same without the entry or just without the value
14:19.57*** join/#arm-netbook rsalveti (~rsalveti@unaffiliated/rsalveti)
14:21.10mnemocmripard: what's the base branch for your gpio patches?
14:22.18mnemocmripard: missed the v2 of pinctrl-sunxi so I'm kind of lost
14:28.35*** join/#arm-netbook eFfeM (~frans@c73189.upc-c.chello.nl)
14:31.25mripardmnemoc: 2s, i push it on my github
14:32.55mriparddone, branches sunxi-pinctrl and sunxi-gpio on https://github.com/mripard/linux
14:36.48techn_mnemoc: last commit killed my wlan :/
14:42.36techn_ERR: unknown usbc_no(2)
14:43.02techn_L90 usb_hcd_servers.c
14:44.37jukiviliunification patch also changed Kconfig.. did you enable new sunxi-ehci options?
14:45.19techn_jukivili: hmm.. I think I should be using same kconfig as in repo
14:46.39techn_depconfig I mean
14:47.21jukivilihm..
14:48.01techn_jukivili: which config you mean. .If I'll check it from sysfs
14:48.19jukivilido you have CONFIG_USB_SUNXI_EHCI=y, CNFIG_USB_SUNXI_OHCI=y and CONFIG_USB_SUNXI_COMMON=y?
14:49.41techn_EHCI, OHCI and COMMON are y
14:49.49provel_which branch is that? I haven't at all in stage/...3.4
14:49.59techn_I'm using 3.0
14:50.36techn_usb keyboard works ok
14:51.49techn_lsusb shows two 2.0 root hub.. one 1.1 root hub and logitech keyboard
14:52.18techn_and keyboard is connected to that 1.1 root hub :/
14:54.00provel_which device is that? mele?
14:54.12techn_mini-x
14:54.12jukivilihm.. I have one modification in mk802.fex .. 'usb_host_init_state = 1' for [usbc2]
14:59.19jukiviliI think those lines need to be restored in usb_hcd_servers.c
15:01.16techn_couple secs.. I'll try usb_host_init_state = 1
15:02.19techn_jukivili: that did the trick
15:02.24slapin_nbhno: ping
15:02.51techn_jukivili: but I think thats just workaround :/
15:02.58mnemocmripard: thank you
15:18.56*** join/#arm-netbook Pulser (~pulser@VillainROM/staff/Pulser)
15:24.04jukivilitechn_: true, correct fix would be to remove 'if (sw_ehci->host_init_state == 0)' check in ehci-sunxi.c:sw_ehci_hcd_probe
15:25.35jukivilimaybe.. depends if we want to start ignoring host_init_state config and always enable host controllers
15:27.51techn_previously it ignored that? since it helped if I explicitly defined it on
15:31.15jukiviliseems that previously if it was 0, sunxi usb-manager thing to decided whatever host controller should be enabled or not. Now if it's 0, it stays so and controller stays dead.
15:52.50ssvbprovel_: "Are the drivers working actually? I can't find a way to make them work with mali framebuffer ones" - hi, which drivers are you asking about?
15:57.45provel_ssvb x86 ... fbdev
15:58.14provel_I tried using them... maybe I should change something insinde xorg config
15:58.36provel_or maybe them are requiring r3p1 framebuffer ones?
15:59.16ssvbprovel_: you mentioned "mali framebuffer ones", do you have non-x11 mali blobs installed?
16:00.25provel_yes
16:00.38provel_should I install x11 ones?
16:00.58provel_but with thos I have xf86-video-mali
16:01.27penguin42hmm nice set of binaries on this mk809 install - it's got things like tcpdump,strace,nc and oprofield - is that normal to find in an android image?
16:01.27ssvbdepends on what you want to get, if you want x11 integration working, then you need DRI2 enabled x11 mali blobs
16:02.17provel_ssvb : ok.... but how I ensure your ones are used instead than xf86-video-mali ? Them just overwrite files?
16:04.43provel_I'll try to remove them from /usr/lib/xorg/modules/drivers ..
16:05.16ssvbprovel_: compile and install xf86-vide-fbdev in the same way as xf86-video-mali, and edit /etc/X11/xorg.conf : https://gist.github.com/4462216
16:06.41ssvbprovel_: but if you are interested in OpenGL ES acceleration, xf86-video-mali is still faster at the moment (partially because of shadow framebuffer, partially because of not wrapping pixmaps)
16:07.34ssvbprovel_: currently the only advantage of xf86-video-fbdev is non-crippled 2D performance
16:07.43provel_oook
16:07.54penguin42wonders what the offensive_work_normalizer does
16:08.47penguin42word!
16:08.52provel_hum... no way.... even with that config doesn't starts
16:09.16provel_lots of this error:
16:09.18provel_(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
16:09.36ssvbignore this error
16:09.47ssvbit does not matter
16:09.58ssvbanything else?
16:10.01provel_then no error report
16:10.09provel_no EE at all other than that
16:10.32ssvbthen it should work, how do you know that it does not?
16:12.01provel_screen clears and I get one line of console input
16:12.29provel_but then doesn't srart the process i started with xinit
16:12.46*** join/#arm-netbook ganbold__ (~Ganbold@202.21.108.93)
16:12.49ssvbcan you pastebin your /var/log/Xorg.0.log ?
16:12.54provel_ok
16:13.05provel_cat /var/log/Xorg.0.log
16:13.07provel_ops
16:14.07provel_http://pastebin.com/3pqXe70B
16:15.09provel_loads submodule shadow ... maybe I have to explicitly disable instead than comment out?
16:16.39provel_no, same behaviour
16:16.53bsdfox_if I make sun4i_defconfig then make one simple change (compile in softwinner sata support) when I go to make uImage modules it is clearing my config-- scripts/kconfig/conf --silentoldconfig Kconfig
16:16.59provel_maybe it's beacause I'm not on r3p1
16:17.01bsdfox_then making me reconfigure from the command line
16:18.31ssvbprovel_: can you run Xorg in gdb? I only tested tested mali blobs r3p0
16:19.33ssvbprovel_: and 1.12 version of xorg-server, but not sure if this is relevant
16:20.02provel_ssvb: will need some time
16:20.25provel_launching gdb startx will suffice?
16:20.40ssvbtry just "gdb Xorg"
16:20.45provel_ok
16:21.23*** join/#arm-netbook hg_5_ (~chatzilla@ip-37-209-133-44.free.aero2.net.pl)
16:23.27provel_doh ... I need some moments.... but how I take logs after "run" ?
16:24.39provel_ssvb: ok it did same thing also inside gdb
16:25.07provel_still no other errors in Xorg*log
16:25.09ssvbprovel_: did something happen? it either works, or terminates (segfaults, quits, etc.)
16:25.16provel_no same as before
16:25.42provel_a little complain about plymouth ply-terminal and nothing else
16:26.00provel_I suppose it's because its r2p4
16:26.05ssvbprovel_: if it works, then try to run some X application, for example "DISPLAY=:0 xterm"
16:26.31provel_no doesn't works...... it's beacause r2p4 or because DISPLAY:=1
16:27.57ssvbprovel_: "it does not work" is not a great bugreport, I have no clue what is happening in your system
16:28.27provel_ok.... r3p0 will work with 3.0 kernel?
16:28.37ssvbdoes it terminate? yes/no?
16:28.52provel_no seems it freezes without displaying anything
16:29.06provel_oh... yes no process Xorg
16:29.54provel_installing r3p0
16:30.55ssvbprovel_: http://linux-sunxi.org/Mali400 suggests r3p0, how did you end up with r2p4?
16:31.56provel_same behaviuor..... maybe I was already on r3p0... just followed http://linux-sunxi.org/Mali400 DRI2 drivers section
16:33.57provel_ok I'll stop for now.... not useful for anyone
16:33.58ssvbprovel_: can you also check the original http://cgit.freedesktop.org/xorg/driver/xf86-video-fbdev/ ?
16:34.56ssvbprovel_: ok, thanks, there are surely more useful things for both of us to do :)
16:35.31*** join/#arm-netbook hg_5 (~chatzilla@unaffiliated/hg-5/x-8664886)
16:38.19bsdfox_ssvb, what do you run right now?
16:39.11ssvbbsdfox_: many different things
16:40.05bsdfox_lets say I haven't touched my mele since early november and just compiled a new 3.0.52 kernel. would you run fbdev? does cedarx work at all yet?
16:42.50ssvbI never tried cedarx myself
16:44.41bsdfox_ssvb, which mali driver ar eyou using?
16:45.40ssvbr3p0
16:48.34SoravuxAnybody has a recommended compilation toolchain for armv71hf? I tried the linaro one but the 2012-12 version segfaults on my setup and the 2012-11 version requires me to add "-lrt -lpthread" to the LIBS in the Markefile of sunxi-tools (but compiles successfully afterwards).
17:19.21bsdfox_h36sa@linaro-ubuntu-desktop:~$ DISPLAY=":0" es2gears
17:19.21bsdfox_libEGL warning: failed to create a pipe screen for Mali DRI2
17:19.22bsdfox_libEGL warning: DRI2: failed to open Mali DRI2 (search paths /usr/lib/arm-linux-gnueabihf/dri)
17:21.06*** join/#arm-netbook ZaEarl (~malmrose@c-67-172-235-190.hsd1.ut.comcast.net)
17:22.39bsdfox_I'm guessing that's indicating that 3d acceleration isn't setup properly?
17:32.26*** join/#arm-netbook hg_5 (~chatzilla@unaffiliated/hg-5/x-8664886)
17:35.21provel_Soravux: I used linaro server with sunxi-bsp, and added thing only when needed
17:35.36provel_semms decent even if it isn't rocket fast
17:36.07provel_toolchain is as per wiki
17:37.16provel_bsdfox_: yes.... are you using r3p1 with kernel 3.0? you should use r3p0
17:37.31bsdfox_provel_, I'm using r3p0
17:37.51bsdfox_on 3.0.52
17:38.33provel_wai a sec, Il'' give you my scrit... are you on linaro ?
17:39.00bsdfox_yeah
17:39.20provel_https://gist.github.com/4462671
17:39.31bsdfox_I'm getting lots of UMP<1>: No handler for IOCTL...
17:39.52provel_copy as rebmali..... create dir malibuild in home and launch as sudo rebmali x11
17:40.23provel_will do all what's in the wiki
17:40.42bsdfox_yeah that's what I've already run
17:40.54provel_works 10%% here
17:41.05provel_did you copied the conf in xorg drivers?
17:41.14bsdfox_yeah
17:42.07provel_here works like a charm
17:42.16bsdfox_what kernel are you on
17:42.21provel_3.0.52
17:42.30bsdfox_can you pastebin your dmesg?
17:42.55provel_it's not-so-fast cause of the memcpy, but worked out-of-the box
17:43.00provel_with my script
17:44.42provel_(which miss only the conf copy)
17:45.07penguin42grr hacking on this mk809 would be easier if the dozy amazon vendor I ordered a uSD card off had sent the right one
17:45.24bsdfox_https://gist.github.com/4462691
17:47.05penguin42what format are the image files that get loaded by Android boot loaders? I can see this rk3066 image has an ANDROID! at the start
17:48.12bsdfox_provel_, can you pastebin your dmesg?
17:52.34bsdfox_https://gist.github.com/4462732 my es2_info looks wrong
17:52.38provel_bsdfox my WHOLE dmesg?
17:52.45bsdfox_provel_, yeah
17:53.56provel_there you are http://pastebin.com/RswqH4Gm
17:54.30provel_I have no issues with ump
17:55.27provel_my fex/bin file is sane and almost all taken from sunxi-bsp
17:56.05bsdfox_provel_, does your es2_info look better than mine?
17:57.00provel_no es2_info... which package should I install?
17:57.37hramraches2_info is packaged in mesa-utils-extra or such in Ubuntu
17:57.44bsdfox_ahh your mali clk_div is 3 too
17:58.11provel_? your?
17:58.25provel_my android script.bin specify div 4
17:58.40provel_but in linux I'm using div 3
17:58.59provel_seems working
18:00.18bsdfox_where do you specify that?
18:00.43bsdfox_also are you on rev c?
18:02.21hramrachmesa-utils-extra: /usr/bin/es2_info
18:03.14provel_installing
18:03.15bsdfox_provel_, does your EGL_VERSION show EGL_VERSION: 1.4 Linux-r3p0-04rel0 ?
18:03.24bsdfox_mine just says = 1.4 (DRI2)
18:03.46provel_bsdfox_ : fex is the ascii file to creatre script.bin with bootloader
18:03.56provel_and sunxi tools
18:04.20bsdfox_I'm using my script.bin from android
18:04.30provel_es2_info wont work as can't open display ?
18:04.34provel_no good
18:04.39bsdfox_http://bob.drinksbeer.org/script.fex
18:04.45provel_script.bin from android is no good for linux
18:04.48bsdfox_provel_, try it from X :)
18:05.20hramrachthat or select a driver that does not use X
18:06.43provel_he needs X testing... I'll try xinit after reboot
18:07.45provel_with xinit I lose output
18:08.16bsdfox_where did you get DRI2? libdri2-1 linaro or did you build from source?
18:08.31provel_linaro I think
18:09.21provel_no way.... will not work... however your issue is script.bin 90% sure
18:10.52provel_my mele won't even start with android script.bin
18:10.58bsdfox_provel_, your es2_info won't work?
18:11.17provel_I can't get output as I use plain xorg without ubuntu
18:11.29provel_redirection gave nothing
18:11.46provel_xterm don't worked
18:12.11provel_I use xorg only with retroarch +gles
18:12.36provel_there works
18:12.53provel_(sorry my xorg is linaro-server + install xorg)
18:13.09provel_(I don't wanted all the gnome fuff)
18:14.08hramracheglut supports both kms and x11 but I don't see how they are selected
18:14.48bsdfox_do you have any *mali* in /usr/lib/arm-linux-gnueabihf/dri?
18:17.11provel_not there
18:17.16hramrachyou probably want es1_info
18:17.23hramrachwhich is not packaged
18:17.45bsdfox_I think I might just be missing the mali dri binary
18:17.45provel_there I have only libglsl.so
18:17.57provel_I haven't there
18:18.02hramrachgit://anongit.freedesktop.org/git/mesa/demos
18:18.07*** join/#arm-netbook mentis (~mentis@89-78-93-50.dynamic.chello.pl)
18:18.19provel_use my script and install x11
18:18.27provel_have to go, bye
18:19.53bsdfox_libEGL warning: DRI2: failed to open Mali DRI2 (search paths /usr/lib/arm-linux-gnueabihf/dri)
18:20.14bsdfox_hramrach, do you know where linaro would store that by default?
18:20.34hramrachI have no idea about linaro, sorry
18:22.42hramrachI will possibly have when I am finished with the ARM board but for now I am looking how to make a bootable SD card
18:36.16penguin42well this mk809/rk3066 seems ok, there are instructions out there how to get it to boot a kernel image off the recovery part that seem to work (although not found the instructions how to build the image file yet) and it gives a text console on hdmi so I'm fairly happy
18:37.21jinzohmz, anyone has any idea what's up with rellla's xbmc?
18:37.46jinzo/empatzero's?
18:39.56*** join/#arm-netbook rz2k (~rz2k@128-69-239-76.broadband.corbina.ru)
18:42.08hramrachI can't build es2_info because libEGL ahs undefined reference to wl_display_connect
18:42.30hramrachit's awesome that the bianry runs under these circumstances :>
18:44.34bsdfox_I think I'm missing something fundamental
18:44.57bsdfox_hramrach, do you get those errors about failed to open Mali DRI2?
18:51.41ssvbhramrach: be sure to use the compiled libUMP.so and not the libUMP.so blob bundled with the driver
18:52.28ssvbhramrach: and (most of) the linking issues should be solved
18:57.53bsdfox_can anyone pastebin a working Xorg.0.log?
19:07.51*** join/#arm-netbook piezo (~piezo@pdpc/supporter/active/piezo)
19:23.02*** join/#arm-netbook rsalveti (~rsalveti@unaffiliated/rsalveti)
19:27.20hramrachssvb: I am trying to build the mesa utils on pc
19:27.44hramrachand I am sure that compiling Mesa without Wayland support would resolve these issues
19:29.02*** join/#arm-netbook rsalveti_ (~rsalveti@unaffiliated/rsalveti)
19:29.32hramrachbtw that blog about uxa finally delivering faster accelerated 2d than software is interesting
19:30.08hramrachit's not much new that fglrx performance is abysmal and that exa performance leaves something to be desired
19:30.26hramrachbut the question you have to ask is this
19:31.09hramrachhow long does it take to render the trace in number fo display frames? ho many display frames the trace contains? how long did it take the application to produce the trace?
19:32.36hramrachIn my experience exa tends to be good enough because if something takes long to render it typically takes long to produce the render commands as well
19:32.46hramrachthere are exceptions, though
19:33.15hramrachnot everything is aceclerated and when you hit a software fallback with exa the performance is abysmal
19:34.18hramrachalso there are some limitations. for me rendering a screenful or few of log in an xterm-like application is instanteous but give it enough screenfuls and eventually the rendering is so slow you can read pretty much everything that scrolls past
19:35.12hramrachthere is no gradual slowdown. either it renders instantly or some limit is hit and it renders slowly
19:55.48ssvbhramrach: for xterm scrolling you can try to add "+j" option to the command line (This option indicates that xterm should not do jump scrolling), otherwise it can't be really used for benchmarking
19:56.37*** join/#arm-netbook netchip (~netchip@unaffiliated/netchip)
19:56.52netchiphey
19:56.53hramrachssvb: I don't use it for benchmarking. I only observe that in practice there is some limit on the amount of scrolling exa is willing to accelerate
19:57.06netchipis this channel for Allwinner chips?
19:57.13hramrachalso
19:57.36netchipnice
19:57.48netchipHow are the Allwinner A10 tablets running on Android 4.2?
19:57.52netchipFluid, or laggy?
19:58.27hramrachI guess this is more for tablets running Linux
19:58.30specingslaps netchip
19:58.41specingsince when does hardware run on software?
19:59.03netchipspecing, sorry sorry =/ I was too lzay to change it when I had written it
19:59.48netchiphramrach, Android is Linux...
20:00.00specingno
20:00.02hramrachGNU/Linux if you want to be pedantic
20:00.11penguin42hramrach: No
20:00.21specingandroid is stripped down, horibly-javatized Linux
20:00.25specingand there is no GNU there
20:00.30netchiplolwut
20:00.36netchipI am running bash on my ANdroid
20:00.42netchipand also Linux kernel
20:00.43netchiplol
20:01.07ZaEarlandroid does use a linux kernel
20:01.14penguin42hramrach: Android has finally made there a point of saying GNU/Linux as opposed to Android/Linux
20:01.26jelly-homethere are two kinds of people, those that think Linux is the OS, and those that think Linux is any OS with a Linux kernel.  They're ALL WRONG AND SHOULD NOT DISCUSS THIS
20:01.29hramrachindeed
20:02.20netchipit's a kernel
20:02.25ZaEarlbut Android does not use the GNU C library like most typical "Linux" distros.
20:02.33netchipthey modified ir
20:02.35netchipit*
20:02.52hramrachand there is no GNOME on Android
20:02.58netchipI can port
20:03.04netchipeveryone can
20:03.11hramrachwhere G in GNOME stands for GNU iirc
20:03.23netchipyou needs lots of time
20:03.28hramrachno, you can't port GNOME to Android
20:03.28netchipbut everyoen can
20:03.43netchipno?
20:03.49netchipsomeone ported glibc to Android
20:03.50netchipIIRC
20:03.50ZaEarlGNOME won't run on Bionic
20:04.07netchipchroot...
20:04.19hramrachyou could make it but then it will no longer be GNOME and Android
20:04.22netchipanyway
20:04.26netchipit doesn't matter
20:04.31penguin42indeed
20:05.23netchipanyway, let's get back to my original question, changed - specially for specing -, Does Android run fluid on an Allwinner A10 chip?
20:05.55ZaEarlyup
20:05.55barquxyeah, its ok
20:05.57netchipAndroid 4.2*
20:06.07ZaEarlyes
20:06.15netchipbit like N7, but slower?
20:06.33netchipnvm
20:06.38netchipthat's a dumb comparisation
20:06.47netchipbecause an Allwinner A10 tablet is 90 euro
20:06.55bsdfox_https://gist.github.com/4463371 (EE) MALI(0): mali_drm_open_master DRM OPEN (fd: 0x7)
20:06.55netchipand a N7 250 euro
20:07.26techn_bsdfox_: chmod /deb/tmp
20:07.34techn_.. /dev/ump :)
20:07.36hramrachthat does not necessarily mean N7 performs better
20:07.47bsdfox_techn_, crwxrwxrwx 1 root root 245, 0 Jan  5 11:49 /dev/ump
20:08.28netchiphramrach, I can't image a singecore outperforms a tweaked quad core...
20:08.31netchipimagine*
20:08.34penguin42netchip: The A10 is a single core Cortex A8 running at 1GHz, in the end that's going to be a heck of a lot slower than a N7
20:08.36techn_oh.. run x as root?
20:09.10*** join/#arm-netbook ganbold___ (~Ganbold@202.21.108.93)
20:09.19netchipI need something with proper uboot sources, kernel code with git history, and unlocked bootloader
20:09.21netchipwell
20:09.22hramrachit depends on the benchamrk
20:09.25penguin42no
20:09.26netchipand UART, Ubuntu etc
20:09.58penguin42netchip: Well that is the nice thing about A10 the sources are out there etc
20:10.18hramrachdon't know what quad core N7 has, and Hz means nothing unless it's the same CPU and bus divider
20:10.18netchippenguin42, Does it have UART?
20:10.27netchiphramrach, tegra 3
20:10.42penguin42netchip: Yes
20:10.51hramrachwell, then it may well perform very poorly
20:10.52bsdfox_techn_, same error root or user
20:10.59penguin42hramrach: In the end most cortex's out there are faster clock/clock than the A8 in an A10
20:11.02hramrachbecause nVidia are notorious for bad drivers
20:11.20netchipremember it's Google
20:11.29netchipGoogle won't accept bad drivers
20:11.48netchipin fact, I think Google has access to those source code
20:11.53netchipcodes*
20:12.26hramrachthen there is good chance it will perform better at least in some ways
20:12.46techn_bsdfox_: I checked my logs and I get same EE
20:13.01hramrachbut you should note that A8 can perform two NEON instructions every clock while most of those multicores can do only 1
20:13.05*** join/#arm-netbook lerc (~quassel@121-74-235-98.telstraclear.net)
20:13.17netchiphramrach, I think 90 euro for an Allwinner tablet is very nice. Performance/price seen
20:13.27netchipand the fact you can run everything on it
20:13.28techn_it seems that it wont block gles :/
20:13.40penguin42netchip: Watch out whether the tablet has a uart you can get to
20:13.47bsdfox_techn_, ok. do you get lots of these? UMP<1>: No handler for IOCTL. cmd: 0x400c9007, arg: 0xbebbb468
20:14.18netchippenguin42, I think those chinese tablets of under 100 euro don't have invested in closing the UART ports ;)
20:14.20techn_bsdfox_: which mali libs you are using.. and which kernel driver?
20:14.39bsdfox_r3p0 3.0.52
20:14.44penguin42netchip: Well they won't have invested in putting them somewhere convenient, so hopefully you'll find a good place you can get to them on the board
20:14.49hramrachnetchip: yes, 90 eur is nice for a tablet
20:14.58barquxhramrach: could you mention some applications where neon or simd makes miracles happen?
20:15.12hramrachvideo playback?
20:15.26barquxmooore moooore
20:15.38techn_bsdfox_: sounds like you have some mitchmatch .. try finding libUMP.so .. if you have it twice somewhere
20:15.46penguin42you can use neon for things like memcpy's and string ops, which are occasionally useful
20:16.11penguin42and A8 does have I think a wider bus to one of the caches for Neon but I forget which
20:16.26ssvbbsdfox_: do you have mali enabled in the kernel config? and also CONFIG_FB_SUNXI_UMP=y?
20:17.15bsdfox_CONFIG_SUNXI_MALI_RESERVED_MEM=y
20:17.16bsdfox_CONFIG_DRM_MALI=m
20:17.16bsdfox_CONFIG_MALI=m
20:17.16bsdfox_CONFIG_MALI400=m
20:17.16bsdfox_CONFIG_MALI400_DEBUG=y
20:17.27hramrachbarqux: in my experience video playback is *the* application on tablets that requires any amount of power
20:17.31bsdfox_CONFIG_FB_SUNXI_UMP=y
20:17.49techn_<PROTECTED>
20:18.38bsdfox_techn_, I don't think it is
20:18.48bsdfox_<PROTECTED>
20:18.48bsdfox_<PROTECTED>
20:19.59bsdfox_also it appears I have a /lib/libUMP.so and a /usr/lib/libUMP.so
20:20.46barquxhramrach: yes that makes sense
20:21.10netchipdoes an Allwinner A10 plays 720p?
20:21.36techn_netchip: yes.. but depend filetype
20:21.51netchipyou mean bitrate?
20:22.01hramrachsupposedly it plays 1080p too
20:22.25hramrachmore like that the codec is one for which accelerated decoding is supported
20:22.34ZaEarlA10 can play 40mbps 1080p streams smoothly
20:22.36barquxpenguin42: yes, simd for memcpy and strcmps etc etc is useful but I guess it's more common in multimedia
20:22.56bsdfox_techn_, renaming /lib/libUMP.so seems to have fixed that IOCTL error
20:23.12bsdfox_I still don't have accelerated 3d as it's using the mesa libs
20:24.04penguin42barqux: Hey the problem with memcpy etc is it only pays off for very large copies generally
20:24.35bsdfox_hmm I've got a bunch of crap in /lib I don't want
20:24.37hramrachpossibly video frames? :p
20:24.44penguin42hramrach: Perfect :-)
20:24.59netchipOn the A10 you can play Angry Birds play fluid on a tv screen with a resolution of 1080p :O
20:25.30barquxpenguin42: really? shouldn't performance be noticeable even for smaller amounts of data if you're memory aligning it?
20:25.47penguin42needs a collection of random USB crap; my dad knicked my usb hubs and I don't have a spare USB keyboard/mouse
20:26.17penguin42barqux: memcpy is easier because you know the length to start with; string stuff is much harder because it might be a small string that's not aligned
20:27.03penguin42barqux: So you can start off with a 'is it big, is it aligned, ok go for Neon else do it easy' - but actually things like ldrd/strd are pretty fast as well, so as long as you're quick enough to keep up with the memory bus the Neon doesn't help
20:27.30penguin42barqux: And neon supposedly eats more power and can be dynamically turned off per-process, so people worrying about whether it's worth turning on for something like a memcpy
20:28.33netchipdat lag: https://www.youtube.com/watch?v=PxYVaM05x7w
20:30.44dataguttnetchip
20:30.54dataguttplease don't start kanging cm for allwinner
20:31.11netchipnah
20:31.23netchipmy plan is to contribute it to CM
20:31.37dataguttcode is working on cm for mk802iii
20:31.38bsdfox_techn_, should I just update the symlinks to point elsewhere?
20:31.45dataguttcody*
20:32.00netchipdatagutt, mk802iii is?
20:32.14datagutta usb-sized device you connect to your tv
20:32.20dataguttso you get android no your tv
20:32.27dataguttOh
20:32.34netchipisn't that a Mediatek?
20:32.36dataguttthat does not use allwinner
20:32.45dataguttthe mk802+ and mk802ii does though
20:32.51dataguttnetchip: + and ii uses allwinner
20:32.59dataguttxplod is working on the + version
20:33.06netchipok
20:33.12netchipbut I want a tablet
20:33.16dataguttAh
20:33.24netchipnot an usb-sized thingy for on your TV
20:33.31netchipbecause I go buy an ODROID X2 for that ;-)
20:33.42barquxpenguin42: yes, sounds valid. It's a pain if power consumption increases on these devices. Sometimes it makes you miss the previous generation of cellphones. easily a week without recharge!
20:34.10dataguttnetchip: buying exynos-powered device to dev for? are you insane?
20:34.52netchipdatagutt, rmcc is insane?! He bought an ODROUD U2
20:34.57netchipI don't think he is
20:40.09netchipare there any hwcomposer sources for the Allwinner A10?
20:40.18netchipthat's important for >Android4.0
20:43.25bsdfox_ok I'm getting closer..  symbol lookup error: /usr/lib/libGLESv2.so.2: undefined symbol: XextCreateExtension
20:45.33ssvbbsdfox_: now this is easy, you are definitely using wrong libUMP.so, the compiled one should have proper libXext dependency
20:46.21bsdfox_h36sa@linaro-ubuntu-desktop:~$ ldd /usr/lib/libGLESv2.so.2
20:46.21bsdfox_<PROTECTED>
20:46.38bsdfox_h36sa@linaro-ubuntu-desktop:~$ ls -la /usr/lib/libUMP.so
20:46.39bsdfox_-rw-r--r-- 1 root root 30301 Jan  5 12:32 /usr/lib/libUMP.so
20:47.53bsdfox_I will recompile it now that I cleaned up some libs
20:49.52bsdfox_yay that looks like it worked
20:50.42bsdfox_about 90fps es2gears
20:54.12*** join/#arm-netbook eebrah (~chatzilla@41.223.57.75)
20:56.10hramrachnetchip: I don't get what are these exynos powered devices for
20:56.34hramrachthe A10 does the job for 'get android in your TV' and 'get android in your tablet'
20:57.28hramrachexynos may be close to 'get ARM on your desktop' but not quite. some SATA/PCIe would be helpful as well as more RAM
20:57.58netchipwell
20:58.09netchipDid you ever see an Nexus 10?
20:58.14netchipIt's DAMN quick
20:58.16hramrachyou may possibly get more RAM than those 2G you get on ODROID but no board exists afaik that has more
20:58.31hramrachI did not see Nexus
20:58.42netchipI highly recommend you check youtube
20:58.53hramrachdos not work for me
20:59.02netchipwhat do you mean?
20:59.05penguin42the 10 is reputed to have a wonderful display
20:59.27hramrachENOFLASH
20:59.28netchiphramrach, Ah, you live in a country where they block the Internet?
21:00.06hramrachwonderful display is something you will not find on the A10 tablets, yes
21:00.08netchippenguin42, yeah
21:00.20netchipit's also a great audio chip
21:00.27netchipand it's 80% open source
21:00.33netchiponly wifi and gfx not (and bootloader)
21:00.48hramrachthen again it will be quite dirty most of the time so I wonder how wonderful it has to be to make a difference even then
21:01.11bsdfox_I've got mali clkdiv=4 in my script.bin/fex (using the one for android on my mele a2000). Is it as simple as changing the div to 3 ti improve my performance?
21:01.36hramrachnetchip: plus half of the time I get some stupid message taht the video is unavailable even if I install flash
21:01.42hramrachso cba doing that
21:01.53netchip=/
21:07.45hramrachwhen youtube makes it hard to view their videos I am not going to bend over backwards to view them. they usually aren't that awesome
21:10.32hramrachnetchip: btw the countries where they do not block internet are very few and very obscure
21:11.32hramrachthey do block internet in the US, the EU, China
21:12.54netchiphramrach, Yeah, they do here, in the EU, but nobody sees it. They call you paranoid if you say it's blocked.
21:13.20netchipbut they don't do DPI
21:13.49hramrachI did see a blocked site. It was postered all over it. am I seeing things?
21:14.37hramrachthey do DPI
21:14.51hramrachto protect MPAA IP
21:15.43hramrachor maybe their DPI is actually pointing a pencil in the Yellow Pages and going after the person so selected
21:16.38hramrachbecause they also went after person whi did not have a computer or was not alive
21:16.59*** join/#arm-netbook rzk|2 (~rz2k@176.14.96.37)
21:20.54bsdfox_wow changing mali clkdiv from 4 to 3 improved my glmark2 score from 25 to 44
21:22.14rmhramrach, you can't view the Gangnam Style video in Germany: http://ompldr.org/vZ3loaA/2012-12-18T133009Z-gema.png
21:23.25hramrachyes, stuff like that
21:23.39hramrachplus sometimes it's just broken I guess
21:31.51*** join/#arm-netbook lkcl (~lkcl@host-92-26-21-157.as13285.net)
21:35.47*** join/#arm-netbook servili007 (~servili00@unaffiliated/servili007)
21:56.52*** join/#arm-netbook mtndew` (~mtndew420@unaffiliated/mtndew420)
22:07.22*** join/#arm-netbook rz2k (~rz2k@176.14.96.97)
22:41.33barquxhey I get some sort of graphical artefacts in my console when using fbcon on mk802ii, sunxi 3.0.52 kernel
22:42.09barquxthe current line kinda turns to rubbish for a while and when I continue typing it fixes itself
22:42.28barquxdoes anyone recognize that?
22:42.32techn_barqux: known problem.. feel free to fix it :)
22:42.42barquxoh, ok!
22:45.18barquxtechn_: thing is, I'm new to messing with the kernel. Any hint to where one might start looking at this issue?
22:47.11hramrachbarqux: what kinds of artifacts?
22:47.57hramrachthere should be interface for drawing on the framebuffer directly form userspace so you can try that and see what artifacts you get with differnt patterns and guess what might cause that
22:48.48barquxhramrach: it's as if random stripes and/or pixels just turn black. Nothing major really
22:49.17hramrachalways the same or varies over time?
22:49.42barquxit varies as far as I can tell
22:50.01hramrachhard to catch then I guess
22:50.20barquxif I leave it, it changes once in a while
22:50.27hramrachbut still can try what drawing directly does
22:52.09barquxyah, can look into it
22:55.04jinzodual core MIPS's from Ingenic finally, they're a bit behind their schedule, but still an interesting offer if they'll have the right price
23:41.55penguin42jinzo: That price would have to be pretty damn low to be competitive against all the cheap A9's that are now around
23:42.30hramrachor they would have to include some killer feature those don't have
23:42.34penguin42nod
23:43.02jinzothey went preatty low with the previous one
23:43.12jinzo(first one under 100USD, ICS, etc...)
23:55.31*** join/#arm-netbook merbzt (~benjamin@c-83-233-243-128.cust.bredband2.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.