<zombu2>
current CPU frequency is 1.01 GHz (asserted by call to hardware).
<froese>
imho, for an ac-powered system the freq-scaling is completely unnecessary.
<zombu2>
^^^
<froese>
zombu2: what's your window manager?
<zombu2>
lightdm
<ssvb>
froese: say thanks to rm for lobbying this broken default cpufreq configuration :(
<froese>
zombu2: lightdm is not a window manager
<zombu2>
x11
* zombu2
waits for a facepalm....
<froese>
ssvb: do you know if there's a way to completely disable the cpufreq stuff? (just run the whole time on max freq)
<ssvb>
froese: keep only the performance governor
<ssvb>
froese: and disable all the other governors in the kernel config
<froese>
(the cubietruck takes less power when compiling a kernel with -j3 than my tv on standby
<froese>
ssvb: ok, that's what i've done.
<zombu2>
hmm this is frustrating i m messing with this since 2 weeks
<froese>
i checked how long a 170mah lipo would keep the system power - i aborted the test after 20min. (it's definitely long enough to shutdown the system)
TheSeven has quit [Ping timeout: 252 seconds]
<zombu2>
wow
<froese>
zombu2: the problem may be, that you're using a window manager that tries to do some fancy stuff (shadows, transparent menu, wobbly window movement, etc) and that gets totally slow when it's not hardware accellerated. (but that's just an rough guess - never used the cubietruck under X11)
<zombu2>
lemme check what it s running
<froese>
if i were you, i would try the most simple setup and work up.
<zombu2>
this does not do anything fancy
<zombu2>
no wobble or anything
TheSeven has joined #linux-sunxi
F1skr has quit [Quit: WeeChat 0.4.3]
rz2k has quit []
ganbold__ has quit [Ping timeout: 264 seconds]
bonbons has quit [Quit: Leaving]
<buZz>
try lxde, xfce, or fluxbox
<zombu2>
i give that a shot real quick
joedj_ has joined #linux-sunxi
<zombu2>
hmm xfce4 is just as laggy
<froese>
.oO(i would start with a simple window manager - not a complete desktop env)
<zombu2>
suggestions?
<zombu2>
i got openbox on it and it s laggy there too
issue_ has quit [Remote host closed the connection]
joedj_ has quit [Ping timeout: 260 seconds]
<froese>
i'm not sure which window-manager doesn't make use of composite-ext nowadays. twm? icewm?
<zombu2>
heh never even heared of em
<zombu2>
i wonder why it shows cpu usage moving windows
<froese>
when i was testing X11, i simply start X from the console. then an xterm (from the console, too, with DISPLAY=:0), next something like twm, and so on.
<froese>
debugging problems in the complex desktop environments is imho too difficult.
<zombu2>
does fbturbo have to get added to modules?
jukivili has joined #linux-sunxi
awafaa_ has joined #linux-sunxi
jeremb_ has joined #linux-sunxi
ojn has joined #linux-sunxi
mturquette has joined #linux-sunxi
<froese>
according to your log it's already been loaded...
<zombu2>
yeah thats what i thought
<zombu2>
i just wonder why it is using the cpu like crazy when moving a window
<zombu2>
and should it use framebuffer?
<froese>
zombu2: looks like the cpu is doing most of the work. did you check the log that your changed settings are taken?
<zombu2>
now to figure out how to add more vid ram
<froese>
line 144 and 145 tell it
payne has joined #linux-sunxi
<froese>
btw, on your kernel cmdline you specify 1280x720 and the x-server does 1920x1080? does the x-server really switch to 1920? (just curious)
<zombu2>
yep
<froese>
hmm... ok, hdmi seems to do edid and the given res is only a fallback. i hope that get's added to vga, too ;-)
<zombu2>
would be nice if it would detect whats plugged in too
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
<froese>
yeah, that too.
<froese>
but it seems, someone is working on kms (kernel mode setting) and hopefully that is supported then.
<zombu2>
cool
<zombu2>
i m trying to figure out how to reserve more video ram for the mali
<froese>
why don't you start first with that what the log-file says?
<froese>
s/that//
<zombu2>
now i gotta find out where the fex file is
<froese>
in /boot?
<zombu2>
nope
Gerwin_J has quit [Quit: Gerwin_J]
<froese>
it may be called ct-hdmi.bin or so.
<zombu2>
nothing by that name there either
<froese>
do you see an uEnv.txt?
<froese>
how do you boot anyway?
<zombu2>
uboot
<zombu2>
and yes there is a uEnv
<zombu2>
it s a bin file i need bin to fex and fex to bin
<froese>
the uEnv should be cleartext - but in there should be a script=... that's the bin of the fex file.
<froese>
right, bin2fex and fex2bin
<zombu2>
hmm whats the max cpu clock thats not oc for the cubie
<froese>
no idea. i'm fine with the 1ghz.
<froese>
btw, i saw that you're using a sata drive. ssd or hdd?
<zombu2>
ssd
<froese>
(i'm still looking for a 1TB hdd which runs cool and fits into the ewell case)
<froese>
ah ok.
<zombu2>
128 gig ssd
<zombu2>
and it seems the cubie has a gsensor
<zombu2>
that is disabled
<froese>
not that i'm aware of.
<zombu2>
gps?
<froese>
neither.
<zombu2>
there s settings for that in there
<froese>
you can connect that to the a20. and android has drivers for those chips.
<zombu2>
gps settings have some sort of ports assigned but set to off
<zombu2>
ah
<froese>
the a20 has 4 analog video-in ports, too.
<froese>
it has just everything...
<froese>
just wondering, if there's still a cpu in there for the ps2 ports ;-)
<zombu2>
hmm and i thought the cubie cpu has 1.4ghz
<froese>
i guess you could convince the cpu to run at that speed. but it's a bit more than just changing the clock. you have to adjust the core voltage, possible the i/o timing, etc. why muck with it...
<froese>
if you want a _fast_ system, there are enough.
<zombu2>
yeah i got a radxa too
<zombu2>
that thing flies but also video lag
<zombu2>
now where is the kernel cmdline
<froese>
radxa? hmmm...
<froese>
oh, the guys who don't even tell which cpu they are using...
<zombu2>
it s a quad core allwinnder or so
<zombu2>
lemme reboot real quick
<buZz>
radxa is rockchip afaik
<froese>
my driver-router/server is still the openblocks ax3
<Turl>
and write something like sunxi_fb_mem_reserve=N
<zombu2>
that was supposed to be 24
<Turl>
where N is a number bigger than 64 or whatever
<zombu2>
the log suggested 24
<ikeeki>
'night, does not skip incorrect parts anyway?
<Turl>
yeah it does
<Turl>
but then you might as well not set anything :)
<zombu2>
so i should go higher?
<zombu2>
or just set N
<zombu2>
if i set nothing it is 16
<froese>
omg
<Turl>
you should start by fixing it
<zombu2>
yeah thats great advice i get right on that
<zombu2>
:P
<ikeeki>
I'd bet that does is not going to change nothing anyway...
<zombu2>
now shoudl i set it to 24 or higher then 64
<ikeeki>
sunxi_ve_mem_reserve=0 -- This eliminates the reserved memory for the video acceleration engine, saving 80MB. You can use this if you don't run accelerated video with programs such as VLC or XBMC or libvdpau-sunxi.
hipboi_ has quit [Ping timeout: 240 seconds]
<zombu2>
well i d like to run accelerated video
<ikeeki>
128
<zombu2>
k
<zombu2>
1 sec
<ikeeki>
128
<ikeeki>
and frame buffer number should be 4 (in fex, I don't know how to add to kernel arguments)
<zombu2>
damn log said 3
<froese>
it said >= 3
<zombu2>
well ima change that real quick
<ikeeki>
Solved?
<zombu2>
dunno hold on
<ikeeki>
not for so much 04:36 here ins Spain XD
<froese>
ikeeki: you are 10min off :-)
<Turl>
ikeeki: 36?
<Turl>
froese: that :p
<zombu2>
heh gimme 3 mins
<ikeeki>
36 seconds
<froese>
*g*
<ikeeki>
dammit Im really sleepy
<froese>
but i still think something is using the sw-rasterizer...
<froese>
ikeeki: do you have any idea, how to disable the hw-scalers?
<ikeeki>
When I upgrade aruntu (13.10 lts) to 14.04 the windows move in that way too, even if I have everything kernel related and binary drivers well set up
<froese>
i'm not using X on arm - but is regular opengl even supported on these chips?
<froese>
i mean hw-accelerated
<Turl>
froese: nope, only GL ES
<froese>
so i would always turn off aiglx - sw rendering isn't fun so tell the apps that there's no opengl.
<zombu2>
damn now the truck don t power up
hipboi_ has joined #linux-sunxi
<zombu2>
no lights exept the red one inside the case
<ikeeki>
froese: no I dont know
<zombu2>
wtf
<ikeeki>
zombu: what is your device?
<zombu2>
cubietruck
<froese>
zumbi: reset-button?
<zombu2>
tried
<zombu2>
only makes the red light inside go off and on
<ikeeki>
unplug sd
<zombu2>
has no sd
<ikeeki>
so plug a sd
<zombu2>
o.0
<ikeeki>
and edit from a distro booting from sdcard
<zombu2>
well thatll be tomorrow
<zombu2>
i got no sd
<zombu2>
heh
<ikeeki>
ahhhhh
<zombu2>
but i could try to flash the nand then edit the nanda and set it to boot from sda again
<ikeeki>
can you flash with phoenix
<ikeeki>
yep
<zombu2>
lemme do that real fast
<ikeeki>
no no no, i have to go to bed, Im not feeling sleepy right now, but very dizzy
<zombu2>
kk
<ikeeki>
'night guys.
<froese>
n8
<zombu2>
maybe setting fb buffer to 4 was a bad idea
<zombu2>
n8
<ikeeki>
fb0_framebuffer_num = 4
<zombu2>
yup
<ikeeki>
is recommended
<zombu2>
i set that rebooted and poof
<froese>
looks more like you kill u-boot somehow...
<ikeeki>
yep
<zombu2>
we ll see
<zombu2>
if i can find my ota cable
ikeeki has quit [Quit: Saliendo]
<froese>
btw, the power cable they provide with the ct is much too short...
<ssvb>
or tried to use more memory for the framebuffer than had been reserved
<froese>
not sure, but doesn't u-boot already turns on some leds?
<zombu2>
i set 128
<zombu2>
how how was that again hit fel and then power
<froese>
no idea - i've never used the fel mode
<zombu2>
k flashing
<zombu2>
fel mode comes in handy
<zombu2>
i wonder how i killed uboot
<zombu2>
prolly did something wrong moving the script.bin back
<zombu2>
uff stuck at 88%
amitk has quit [Quit: leaving]
<froese>
well, the nice thing on the allwinner cpus is, that they can always recover from sd-card...
<zombu2>
oh cool
<zombu2>
well trying it again
<zombu2>
if i can t flash it i have to get a sdcard
<zombu2>
this time it failed at 18%
<froese>
hmm...
<froese>
btw, sd-card is faster than nand ;-)
<zombu2>
i wonder if the truck took a shit
<zombu2>
yeah but i use the ssd
<zombu2>
on sata
<froese>
ah, yes ok.
<zombu2>
i use the nand only for the bootloader etc
<zombu2>
woot woot tomorrow is field day
<zombu2>
can t wait
<froese>
field day?
<zombu2>
ham radio
<froese>
ah
<Turl>
zombu2: flashing takes ~20m
<zombu2>
whole world tries to make as many contacts in the least ammount of time
<froese>
zombu2: you are from usa?
<Turl>
phoenixsuit may seem hanged at times, just leave it
<zombu2>
yes but it errord out
<zombu2>
yes i am
<zombu2>
75%
<zombu2>
80
<froese>
zombu2: lucky you - i wish the ham-license would be as easy to get here
<zombu2>
ah it passed 80
<zombu2>
where yo from
<froese>
germany
<zombu2>
ah no shit heh
<zombu2>
dann koennen wa ja auch deutsch reden
<zombu2>
haha
<froese>
hehe
<zombu2>
shit crapped out at 88%
<froese>
werden die anderen nicht so nett finden.
<zombu2>
heh ja glaub ich auch
<Turl>
english? :)
<zombu2>
who?
<zombu2>
well i lived in dortmund for 22 years
<froese>
Turl: that's what i was just saying ;-)
<zombu2>
yeah error at 88%
<zombu2>
wth
<froese>
zumbi: well, near enough (~35km, menden)
<zombu2>
hah
<Turl>
froese: :)
<zombu2>
i hope the nand is not borked
<zombu2>
my license plate was DO - PE 1
* zombu2
snickers
<froese>
yeah, a saw a couple of cars with those letters ;-)
<zombu2>
i got pulled over here for a license plate that said dafuq
<froese>
he?
<zombu2>
dafuq = the fuck?
<froese>
yeah, but they issued the plate so where's the problem?
<zombu2>
thats what i said
<zombu2>
but they made me get a new one
<froese>
tsts
<zombu2>
yeah i know rediculous
<froese>
well, i'll probable never get to the usa again (been there two times - before they started to handle every alien like a terrorist)
<zombu2>
lol
<zombu2>
i think the emmc is fucked
<zombu2>
always craps out at 88%
<froese>
does it need all 8gig?
<zombu2>
looks like it
<zombu2>
i m sure it wrote the nanda first
<zombu2>
but no signs of life
<froese>
do you have a serial cable connected?
<zombu2>
no don t have one
<zombu2>
heh
<zombu2>
i just got the truck a couple days ago
<zombu2>
well 2 or 3 weeks
<froese>
i got mine 6 weeks ago. work's like a charme.
<zombu2>
ima reload the image from the site to be sure
<froese>
did you made your ham-license already here in de?
<zombu2>
no
<froese>
so, how about make an sdr-receiver out of the ct? *g*
<zombu2>
that is not a bad idea
<zombu2>
i got a flightradar24 reciever
<zombu2>
pretty nifty lil box
<zombu2>
and i use a realtek tv dongle to recieve 1090mhz and decode flight traffic
<froese>
hmm... flight tracker?
<zombu2>
yup
<zombu2>
my rpi runs the tracker
<zombu2>
dump1090
<zombu2>
then the flightradar24 reciever is a beaglebone black
<froese>
but these tv dongle have terrible receivers only good for complex fm modes...
<zombu2>
the realtek one is very good for 1090mhz
<zombu2>
it recieves plane telemetry 150 miles
<zombu2>
but the professional one is around 300 - 400 miles with a good antenna
<froese>
hmm... how many bits does the adc have? 4 or 6? *eg*
<buZz>
i just moved a overheating mini-itx board from some HTPC case to a ATX case
<buZz>
crappy x86 sucks at working in 35C environment temperature ;)
* mnemoc
hates computers with fans :p
<buZz>
same :)
<specing>
I doubt the A80 will be fanless
<specing>
unless they cap it at 500 MHz
<buZz>
the optimus previews they had were fanless
<buZz>
but one had fan .. and looked OC heaven :P
<mnemoc>
consistently enough I have two usb fans on my desk and a big one 5m away :p ... so I wouldn't be able to hear the fan of the computers anyway :p
<Rose28357>
SATA Port Multiplier support hopefully. We will see more NAS applications of that A80 cubietruck then.
selsinork has quit [Ping timeout: 252 seconds]
specing has quit [Remote host closed the connection]
selsinork has joined #linux-sunxi
specing has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 248 seconds]
selsinork has quit [Ping timeout: 260 seconds]
selsinork has joined #linux-sunxi
<buZz>
Rose28357: well nice!
<buZz>
you are the first with positive news regarding a80+sata ;)
kivutar has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
Rose28357 has quit [Quit: Nettalk6 - www.ntalk.de]
ikeeki has joined #linux-sunxi
gzamboni_ has quit [Ping timeout: 240 seconds]
<ikeeki>
Hi guys, I need some tips to improve a linux distro, if you happen to have some ideas I'd like to know, kind of brainstorming. If the idea is documented or are tutorials for that, still better.
<buZz>
ikeeki: i know one, make a distro based around running images in LXC's ;)
<ikeeki>
it's cool as a cucumber LOOOOOL
<specing>
buZz: isn't there CloudOS
<buZz>
for sunxi?
<specing>
for c86
<specing>
x86
<buZz>
yeah
<buZz>
this channel is about sunxi :P
<buZz>
specing: on x86 (at the hackerspace) we run proxmox for said purpose
deasy has joined #linux-sunxi
kivutar has quit [Quit: Ex-Chat]
afaerber__ is now known as afaerber
gzamboni has joined #linux-sunxi
ikeeki has quit [Quit: Saliendo]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
xinj has joined #linux-sunxi
bbrezillon has quit [Ping timeout: 240 seconds]
bbrezillon has joined #linux-sunxi
jebba has joined #linux-sunxi
FreezingCold has quit [Quit: Out]
FreezingCold has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
xinj has quit [Ping timeout: 240 seconds]
akaizen has joined #linux-sunxi
rz2k has joined #linux-sunxi
froese has joined #linux-sunxi
Andy-D has joined #linux-sunxi
Andy-D has quit [Client Quit]
Andy-D has joined #linux-sunxi
libcg has joined #linux-sunxi
petr has quit [Ping timeout: 245 seconds]
<wens>
mripard: if i use your sdcard image directly, u-boot works fine, but if i replace u-boot.bin with one compiled from u-boot-sunxi, it hangs in the mmc driver
<wens>
mmc 0, cmd 17(0x80002351), arg 0x00000000
<wens>
trans data 512 bytes
<wens>
data timeout 0
<wens>
cacl timeout 78 msec
<wens>
mmc 0, cmd 16(0x80000150), arg 0x00000200
<wens>
--
petr has joined #linux-sunxi
<wens>
hangs after this
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
specing has quit [Remote host closed the connection]
akaizen_ has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
specing has joined #linux-sunxi
specing has quit [Client Quit]
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 240 seconds]
ccaione has joined #linux-sunxi
froese has quit [Ping timeout: 252 seconds]
froese has joined #linux-sunxi
issueat has quit [Remote host closed the connection]
jebba has quit [Quit: Leaving.]
libcg has quit [Ping timeout: 255 seconds]
<Wizzup>
hiya, experiencing troubles with cb2 stability. found some thread online about dram speed.
<Wizzup>
Now I checked my script.bin file ; seems to be set to 432, but I want to verify this.
<Wizzup>
Is there some way to see the ram speed when the device is booted to linux?
<Wizzup>
(I also afterwards want to change the clock speed to 384, but I want to make sure I know how to verify this first)
akaizen has joined #linux-sunxi
<rm>
afaik at 432 RAM is unlikely to be unstable
<Wizzup>
yes. but it is
<rm>
how do you determine that it's RAM?
<Wizzup>
What happens is that IO completely stops working. I tried several SD cards, but it "hangs" on all of them, and then after about 30s the system doesn't respond over ssh or serial either
<Wizzup>
(and the io green led stays lit)
<rm>
the power supply is an order of magnitude more frequent source of problems
<rm>
how do you power your board?
<Wizzup>
It's 1A 5V
<rm>
did you try a different one
<Wizzup>
yes. about four
<Wizzup>
And there is no hdmi connected, only ethernet and serial
paulk-aldrin has joined #linux-sunxi
<Wizzup>
I can't imagine that it would take that much power
<Wizzup>
I am not *certain* that dram is the issue, but it is what I currently want to tweak to see if it makes a difference
<Wizzup>
(and I read that 432 was supposed to be stable)
<Wizzup>
suggestions are very welcome
* froese
still doesn't know how this is handled. dram is supposed to be inited by u-boot, but the fex is for the kernel...
<Wizzup>
That is also confusing me. Is editing script.bin the way to go? Or do I need to recompile u-boot? In which case: is u-boot perhaps still at 480?
<Wizzup>
the .c file in the u-boot repo seems to state 480 as clock speed.
<Wizzup>
I will definitely let you know if it helped
Andy-D_ has joined #linux-sunxi
Andy-D has quit [Ping timeout: 248 seconds]
iw2lsi has quit [Remote host closed the connection]
FR^2 has joined #linux-sunxi
<afaerber>
ssvb, you can add my Tested-by: Andreas Färber <afaerber@suse.de> if it helps, I am not subscribed to that list and thus don't have the mail to reply myself
afaerber has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
<Wizzup>
ah, it needs /dev/mem
Netlynx has quit [Quit: Leaving]
deasy has joined #linux-sunxi
<Wizzup>
ssvb: It seems to be at 480 currently. Going to try your patch now