System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
ac_laptop has joined #maemo-leste
lightbri1ger has joined #maemo-leste
lightbri1ger is now known as MinceR
ac_laptop has quit [Quit: WeeChat 3.8]
System_Error has quit [Remote host closed the connection]
joerg has quit [Ping timeout: 276 seconds]
joerg has joined #maemo-leste
ceene has joined #maemo-leste
<sicelo>
KREYREN: easiest way would be to partition the internal storage, then have an u-boot config that will point to that. you probably don't want to remove Maemo
<sicelo>
anyway, we generally prefer SD cards since they're (likely to be) much faster than the emmc.
<freemangordon>
Wizzup: ok, it is not only mafw
<freemangordon>
actually paplay does not work right after reboot here
<freemangordon>
still, 20 clients should not lead to resource exhaust
<Wizzup>
in any case we clearly need to allow more clients than 20/40
<Wizzup>
yeah
<uvos__>
i only have 11
<uvos__>
but ok
<freemangordon>
well, you don;t run leste then
<Wizzup>
systemd-logind also has one open :D
<Wizzup>
two actually
<freemangordon>
mhm
<freemangordon>
and it opens new one for each session IIUC
<freemangordon>
so every ssh session has new PA connection
<Wizzup>
lol
<Wizzup>
well this might be less of an issue eventually with pipewire
<freemangordon>
don;t quote me on that one though
<Wizzup>
so we can decrease shm or disable it I guess
<freemangordon>
decrese
<freemangordon>
so, with 64MB we have 1024 'slots', whatever it is
<freemangordon>
with 8MB segment size we will have 128 slots
<freemangordon>
and that will allow ~380 clients
<freemangordon>
maybe we can do 16MB, dunno, lets see what uvos__ can get from PA devs
<Wizzup>
seems easy enough to try to change client.conf and see
<freemangordon>
there is client.conf.d :)
<Wizzup>
yeah that too, but I mean for us now
<freemangordon>
yeah, I'll make it 16, you can make it 32
uvos__ has quit [Quit: Konversation terminated!]
<Wizzup>
no 8?
<freemangordon>
no idea
<Wizzup>
so you want this:
<Wizzup>
shm-size-bytes = 32768 # setting this 0 will use the system-default, usually 64 MiB
<freemangordon>
*bytes*
<Wizzup>
oh
<Wizzup>
4096 then
<freemangordon>
32*1024*1024
<Wizzup>
oh sorry
<Wizzup>
waking up still :)
<freemangordon>
lemme see if it parses MB
Twig has joined #maemo-leste
<Wizzup>
shm-size-bytes= Sets the shared memory segment size for clients, in bytes. If left unspecified or is set to 0 it will default to some system-specific default, usually 64 MiB. Please note that usually there is no need to change this value, unless you are running an OS kernel that does not do memory overcommit.
<freemangordon>
I think it we have to enable huge pages
<Wizzup>
LPAE is optional in the v7-A architecture and is presently supported by the Cortex-A7, Cortex-A12, and Cortex-A15 processors
<freemangordon>
and then we'll ahve more than 4G address space per process
uvos__ has joined #maemo-leste
<uvos__>
if lpae is like x86 pae then no
<uvos__>
that extends physical address space only, virtual memory space is still 32bit
<uvos__>
ie you can have more than 4GiB allocated on physical ram, but the mmu can only map 4GiB at a time
<freemangordon>
hmm, yeah, right, address space is still 4GB
<uvos__>
anyhting else would make no sense anyhow, the abi would have to change to account for bigger pointers
<freemangordon>
yeah, agree
<freemangordon>
ok, I am going to decrease segment size to 16MB, Wizzup to 32MB, if you want you can make yours 8MB
<freemangordon>
to see what will work
<uvos__>
ok
<uvos__>
where is the config file exactly?
<uvos__>
found it
<uvos__>
ok done
<freemangordon>
/etc/pulse/client.conf.d
<uvos__>
8388608
<freemangordon>
mhm
<freemangordon>
hmm, client.conf.d seems to be ignored
<Wizzup>
freemangordon: I put it in client.conf, but ou want us to start a call then, and then try omp?
<freemangordon>
paplay does the job too
<freemangordon>
cat maps | grep memfd | wc -l
<freemangordon>
in /proc/$pid_of_pa
<freemangordon>
better restart first, so all clients to connect
<freemangordon>
Wizzup: please verify that setting took effect, in /proc/$pa/smaps
Wikiwide has quit [Remote host closed the connection]
<freemangordon>
as here it seems to be ignored
Wikiwide has joined #maemo-leste
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
Wikiwide has quit [Read error: Connection reset by peer]
arno11 has joined #maemo-leste
<freemangordon>
Wizzup: no ide why, but that setting is ignore
akossh has joined #maemo-leste
<freemangordon>
Wizzup: uvos__: the change must be made in daemon.conf, not in client.conf
pere has quit [Ping timeout: 272 seconds]
<freemangordon>
oh, ok
<freemangordon>
*both* daemon.conf and client.conf have to have shm-size-bytes, otherwise one side keeps 64MB
<Wizzup>
ah...
<Wizzup>
will do in a bit! on a call atm
uvos__ has quit [Ping timeout: 265 seconds]
<Wizzup>
freemangordon: btw did you push anything for the headset? or forgot the status
<KREYREN>
sicelo, i kinda need a solution that lets me plug a cable and flash the thing ideally tbh it seems that the maemo-flasher works that way though?
<freemangordon>
Wizzup: no
<freemangordon>
will try to do it after I am back
<freemangordon>
btw, I still ahve issues with reboot/poweroff
<Wizzup>
yeah I do have it now (@reboot)
<freemangordon>
Wizzup: also, it would be good to push some stuff to -stable, if you have time
<freemangordon>
for wure tracker/mafw
<freemangordon>
*sure
<freemangordon>
I can do as well, if you give me the diff script
uvos__ has joined #maemo-leste
uvos__ has quit [Read error: Connection reset by peer]
KREYREN has quit [Ping timeout: 260 seconds]
Wikiwide has joined #maemo-leste
sunshavi_ has quit [Ping timeout: 260 seconds]
KREYREN has joined #maemo-leste
ceene has quit [Remote host closed the connection]
<Wizzup>
freemangordon: shall we do that a bit later @ devel?
<Wizzup>
maybe when you're back?
<freemangordon>
ok
<KREYREN>
sicelo, for context nixos is heavily focused on reproducibility so ideally i need a way to flash the firmware and the internal storage in one go prior to system boot
<Wizzup>
KREYREN: can you dd to the sd card?
<Wizzup>
or, how does this impact rperoducability?
<KREYREN>
Wizzup, I can, but i want to be able to flash the internal storage as well for e.g. setup where the OS runs there and sdcard is used for swappable things
<KREYREN>
i am the kind of guy who would spent weeks of work to get 0.1% improvement
<arno11>
ah cool same as me lol
<KREYREN>
:D
Wikiwide has quit [Remote host closed the connection]
<KREYREN>
it's passion art and a curse!
Wikiwide has joined #maemo-leste
Wikiwide has quit [Read error: Connection reset by peer]
<arno11>
definitely. so to resume, you mainly need to block trackers from $HOME, use 500MHz as min freq, deactivate apt-worker and the important stuff missing is a custom transitions.ini file
<Wizzup>
ah yeah let's see if we can get these things in tomorrow, the swap as well, for 6.6
<Wizzup>
since I think we can put 6.6 in devel this weekend
<arno11>
ah yes could be really cool
<Wizzup>
my n900 doesn't always boot well still, but this could be home wrt trackers or not havnig 500 as min freq
<arno11>
KREYREN: other tips: in the wiki there is the old overclock method using uImage: this way you can tweak dts and change voltage and freqs
<arno11>
Wizzup: ah ok
<Wizzup>
but I also have *both* swaps atm since when I removed the emmc one I didn't get it to boot well at all
<Wizzup>
not sure what's up :D
Wikiwide has joined #maemo-leste
<arno11>
emmc is definitely buggy now but boot issue seems an 'unknown' stuff (mine doesn't boot well also)
<arno11>
i tried to remove everything i can and still have boot troubles
pere has joined #maemo-leste
Livio has quit [Ping timeout: 260 seconds]
akossh has quit [Ping timeout: 248 seconds]
arno11 has left #maemo-leste [#maemo-leste]
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
<KREYREN>
why is 500 as min frequency important? won't that hurt the battery life?
<KREYREN>
Wizzup, elaorate on the fails to boot part? Mine sometimes boots without backlight on, but that seems to be due to getting it to boot via plugging in the USB cable instead of doing the power button that seems to be very important to charge capacitors to get proper display initialization
arno11 has joined #maemo-leste
<arno11>
KREYREN: absolutely no impact on battery life
<KREYREN>
arno11, that sounds like it's breaking the laws of physics O.o
<arno11>
not really, there is a bias
<KREYREN>
What's the benefit of that? faster overall responsiveness and avoiding the annoying times when the apps loading and maemo seems frozen?
<arno11>
exactly
<arno11>
and avoid power draw during unresponsive times
<arno11>
but other things make it unresponsive: trackers, emmc swap (with kernel 6.6), blur effect in transitions
<KREYREN>
i see
<arno11>
and slow sd cards ofc
Rodney- has quit [Ping timeout: 248 seconds]
<KREYREN>
yea
<arno11>
tbh now it is quite easy to improve/solve. the difficult stuff with n900 is power management
<arno11>
long weeks needed for few mA lol
<dsc_>
arno11: ok, thanks
<arno11>
no probs
<KREYREN>
arno11, yea i imagine that NixOS would make things a lot easier for like the deep optimization, but getting hildon packaged will take some time
<KREYREN>
Do you get a good audio for SIP calls btw? mine is currently very unusable i hear like every 4th word and bad at that
<KREYREN>
i noticed that there is a command to change the pulseaudio priority though
<arno11>
yes it helps most of the time
<arno11>
and yes i get good audio with sip
<KREYREN>
Do you get more than 2G network?
<arno11>
yep 3.5g
<KREYREN>
says 2G for me at all times in country which has 3G everywhere
Juest has quit [Ping timeout: 252 seconds]
<KREYREN>
calls are much better with that chrt command, but still way too quiet and it seems to be loosing signal a lot
<arno11>
weird
<KREYREN>
oh it suggests Twinkle i am using the sphone thing
Juest has joined #maemo-leste
<arno11>
??? so you mean you got sound both ways with sphone/sip ?
<KREYREN>
yes
<arno11>
Wizzup: ^^^
<arno11>
great
<KREYREN>
is that not suppose to happen? :D
<arno11>
yep :D
<KREYREN>
lol
<KREYREN>
was using that for phone calls for last 2 days kinda had to employ talking as if it was a very unreliable radio but it got the message across.. with the chrt it seems much better though
<KREYREN>
i just sometimes get the phone vibrating in my pocket and wont stop unless i reboot it though
<KREYREN>
without like anything on the display
<arno11>
ok that's an old bug being back
<arno11>
and when you say phone calls, you mean sip calls through sphone, right ?
<KREYREN>
yes
<arno11>
ok let's see what Wizzup and uvos think about that.
<KREYREN>
also with those tweaks the phone feels like a modern flagship in terms of responsiveness :D
<arno11>
yes :D
<arno11>
did you try boost mode btw ?
<KREYREN>
nope how to enable it? though i kinda prefer the battery life
<arno11>
oh no worries, almost no impact (well...just a bit)
<arno11>
see overclock in the wiki
<arno11>
just 2 command lines to use boost mode
<KREYREN>
will do though i should probably wait for the new battery as the one i am using is kinda really old and i fear that it won't be able to pull a lot of watts out of it
<arno11>
yeah ok
<KREYREN>
bought paxona branded one but it didn't arrive yet
<arno11>
ok
<arno11>
zzz time here
<arno11>
gn
<KREYREN>
woah that boost is fast :D
<KREYREN>
good night thanks for helps <3
<KREYREN>
now i just need a functional web browser and i am happy :D