Monday, 2026-04-13

tanriolHi. I'm observing problems with roaming in Japan and don't quite understand whether to blame these on Sailfish, Xperia 10 III, local carriers or my home carrier. Are there any well-known problems expected with such a combination and/or well-known troubleshooting steps?02:20
Renaud[m]<tanriol> "Hi. I'm observing problems..." <- I did not use roaming but I had a lot of trouble using a prepaid sim card in Japan. It would often fail to connect with the error "denied". By disabling and reenabling the sim card in the settings I could get it to connect eventually.07:01
tanriolThanks. The pattern I see is that after turning off flight mode it seems to connect (with VoLTE registration toggle still blinking), then after some half a minute it goes to "searching..." and stays in that state for a long time.07:50
miaKeto: hi, i’d like to request an OBS account12:00
nephros_mal, piggz[m], (AffeNull[m]?) and anyone who knows about Wayland: Would you kindly check my code here?13:41
nephros_https://codeberg.org/nephros/sailfish-sdl3-minidemo13:41
nephros_I tried to condense it into as little code to read as I could.13:42
piggz[m]you have confused me with someone who knows about wayland :D14:20
nephros_piggz[m]: :) ok sorry- didn't want to insinuate!14:58
mianephros_: i’m not terribly familiar with wayland yet but i can take a look at it later. is there anything in particular you want me to pay attention?15:07
mia+to15:07
nephros_mia: blatant incompetence in c++ maybe?15:36
mianephros_: oh alright, so i’ll just check that it looks correct and see if i have any suggestions16:09
nephros_mia: much appreciated16:11
mianephros_: so creating and attaching the shm buffer should not be necessary. SDL should handle this already, and it wouldn’t get used for gl/vulkan surfaces anyway17:25
mia(line 125 in the .cpp)17:25
nephros_mia: ah, nice to have that confirmed, thx!17:27
mianot sure if you care with this being a simple example but in general i think it’d be good practice to manage resources returned by e.g. SDL_Create* functions with a class so that you can benefit from RAII (i.e., call cleanup functions automatically on scope exit). if this were modern C, you could just use defer (there are simple ways to make this available with old gcc, just not sure HOW old)17:29
nephros_mia: yeah, in the end i'd like it to be a tool to make porting/adapting games easy.17:31
nephros_as in: clone game repo, copy two sailfish helper files, replace the creatwindow stuff and done.17:32
nephros_heh.17:32
miaalso this reminds me… i might start maintaining a meson package in Chum because i have zero good things to say about cmake :>17:32
nephros_mia: well, all build systems suck.17:32
nephros_at least cmake has decent docs, qmake otoh...17:33
miadepends on the use case. meson gets more things right than most17:33
miacmake does not have decent docs, and to begin with it is not really a build system as much as it is a replacement for microsoft batch. stone age tech, literally does not even have a list type17:34
nephros_what i like about meson, as a packager its quick and easy to see all the options17:34
miathe thing i like about meson as both a dev and a packager is that it is very clear about what the correct way to use it looks like17:35
miabeing all declarative really helps. cmake leaves everything to the user and the results tend to be disastrous17:35
miaqt’s lack of docs for the cmake macros also doesn’t help… meson doesn’t support some things yet, like static plugins or shader resources, so a while ago i ported some of that to meson targets (not proper support in the qt module yet). close to 90k lines of macro code(!!!), most of it dealing with cmake shortcomings, and i was able to do the same thing in meson with just over a hundred lines17:40
miautter madness that this is what everyone in the industry decided to force on each other. i would have started questioning my life choices 500 lines in, but somehow there are hundreds of thousands 😵17:42
nephros_mia: right. added a meson.build file to the project above ;)18:08
poetastercmake ate my lunch. then it killed the ssd.18:33
nephros_one annoying thing about cmake is that it cannot cope with the colons in OBS projects.18:35
nephros_so you have to move or symlink your files around.18:35
nephros_poetaster: sounds like building Android.18:35
poetasteractually, smaller project and presumably the SSD had had the crap beat out of it.18:37
poetasternephros_, there is no way to escape the names?18:38
poetasternephros_, what are you building?18:39
miathere are MANY build systems that still stuff paths into strings with separators instead of… just having list types. maven also does this, and some of google’s build systems as well (e.g. protobuf compiler, which also has no way to escape anything)18:52
poetastermost build systems are inferior to bash.19:02
poetasterthankfully, most of my projects are small enough that I can even use cmake, even if it's icky.19:03
nephros_poetaster: what am I building? I move from thing to thing, currently testing SDL.19:06
nephros_Got  a bit stuck on my Nephrozilla project.19:06
nephros_Though WPE WebKit is really cool in a way.19:07
poetasternephros_, ok, so tool building.19:07
poetasterI've lost trackl. What's wpe webkit?19:07
nephros_You can render a web page and stream the output through gstreamer ;P19:07
nephros_poetaster: Safari's web engine, for embedded devices.19:08
poetasteroh. that is so strange. Isn't Safari like the LEAST capable web browser?19:08
nephros_it it?19:08
poetasterIt lacks stuff that moz does, like access to serial ports and is even behind moz in some basics (CSS3 like foo).19:10
nephros_AFAICS it has support for manifesr v2 and v3 extensions, you can write plugins for its render process, it has its own content filter, and supports user css and user script.19:10
poetasterI dunno. I think it makes sense to use chrome and just rip out the telemetry.19:10
poetasterOk, I actually only use chrome for one page, but in THEORY....19:12
poetasternephros_, but you have it running on sfos, so I guess I should just try it?19:14
nephros_it is running but very feature incomplete. And you need a custom Lipstick compositor build (from that PR).19:15
poetasterah, living on the edge.19:16
nephros_oh yea.19:16
miai’d just use waypipe at that point19:16
poetasterI've just put away 10 hours of hardware hacking. I'm too tired to contemplate the compositor.19:17
nephros_been running that xdg_shell enabled lipstick for a couple of weeks, works just fine.19:17
poetastermia, what is waypipe?19:17
nephros_you can find a OBS build recipy somewhere in my repos.19:17
nephros_waypipe is x11 forwarding for wayland.19:18
miait can do wayland forwarding over SSH for example, and it can be fast enough for video games19:18
nephros_run wl client and wl server on separate machines, tunnel through ssh19:18
miapretty good stuff19:18
nephros_it's in Chum.19:18
poetasterah. I used to x forward mozzila running on an irix in canada when I worked in sweden.19:19
nephros_hehe i bet it sucked big time19:19
poetastervery slow even on the dedicated black (650mbits) I had at the office at the time.19:19
miayesterday i used it for freecad running on my server because that was more responsive than working on my aging laptop19:19
poetasterheh. I was recently forced to upgrade though in that position for ages.19:20
nephros_I once displayed my laptop's KDE on the SFOS phone through waypipe.19:21
nephros_not that you could use it, but it worked...19:21
poetastersort of like using mozilla transatlantic in 1999.19:22
poetasterI have to admit, I'm just happy to have a i9-12900KF to finally have something like reasonable compute :)19:23
poetasterwhat am I talking about. My favourite cpu (dual core) runs at 276mHz.19:25
miai haven’t been home in over a year and i miss my desktop a bit19:26
poetastermia, I was just so used to the keyboard on my thinkpad that I hated to switch.19:26
miawell i designed and built my own keyboard so it’s kinda sad it’s not really practical right now19:27
miabut also using a 2014 laptop has radicalized me a bit about how much lag i’m willing to tolerate. if the foot terminal can open in less than a frame on this thing, what is everything else’s excuse? i still use a lot of KDE stuff because it is just that good, but it puts the state of things in a rather sobering perspective.19:30
miahaving the same issue with sailfish os too. everything is so incredibly slow19:31
poetasterUntil two weeks ago I was using W541 or an X220. So about that old.19:31
poetasterhmmm. which phone?19:32
miaxperia 10 II19:34
miapart of the problem is also that the default animations are way too slow. should see if i can patch the animations to use different curves that work with faster transitions without looking too juddery19:36
miaapp startup is a concern though, especially with everything getting OOM killed all the time thanks to appsupport and bad GPU drivers19:38
poetasterok, i'm spoiled with a good deal faster phone (rephone/volla22). It's snappy.20:05
poetasterbut I don't use appsupport and having 6GB ram certainly helps.20:06
poetastermia, the volla ports did make a a real performance leap from 4.(4,5,x) to 5. piggz[m] managed to get almost everything snappier.20:10
miathat’s good to hear20:12
poetasterI'm off to bed. school night. ahoi!20:16
nephros_mia: about animation speed: there is already at least two patchmanager patches to configure some of those.20:25
miayeah, i wrote one of them in 201920:26
miathat no longer works of course20:27
FireFlyI used to use X11 forwarding sometimes on the N900 from my desktop machine, back around 2010, heh20:53
FireFlymia: my main issue with SFOS on the 10ii (which is my everday phone too) is memory pressure tbh.. quite a lot of apps getting OOM-killed20:59
miawhich is crazy to me because my laptop had the same amount of RAM until last year and it wasn’t having such problems at all21:05
miarunning a KDE desktop21:05
FireFlyyeah, agreed21:06
miawait a MINUTE why is it using swap on zram instead of zswap21:08
miano wonder this isn’t running well21:08
miajesus21:09
nephros_does the kernel *have* zswap?21:13
mia…don’t tell me it dosen’t21:13
nephros_zcat /proc/config.gz will tell21:13
miaapparently it doesn’t21:15
miagoddammit jolla21:15
miathis is just not enough RAM for that configuration, and it’s not enough to run without allowing swap to spill to disk21:16
nephros_https://forum.sailfishos.org/t/1269721:27
miai mean the problem here is that memory pressure is that high to begin with. the phone absolutely needs disk swap to be usable, if only to allow zswap (if it had that) to evict LRU pages somewhere21:37
nephros_you *can* add a regular swap file. not ideal but may help.21:38
miathen i’d also disable zswap because its architecture causes problems with that21:38
miaso… not ideal21:38
miashould i be able to just build zswap as a module21:39
miaerr i’d disable zram.21:41

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!