2020-09-17T00:56:11 #kisslinux How are you dilynm? 2020-09-17T00:56:19 #kisslinux I'm doing well enough 2020-09-17T00:56:37 #kisslinux I'm also testing out -flto admicos. Glad you warned me about that patch xD 2020-09-17T00:56:56 #kisslinux dilynm: if you need some previous work, i did this before 2020-09-17T00:56:57 #kisslinux https://github.com/Admicos/kiss-repo/blob/kuse/lto/kiss-lto/files/optimizations.hook 2020-09-17T00:57:03 #kisslinux doing it again and properly, hopefully 2020-09-17T00:57:16 #kisslinux I was wondering where that repo went 2020-09-17T00:58:06 #kisslinux Llvm seems to implement lto differenly from gcc though a là -flto=thin 2020-09-17T00:58:32 #kisslinux i managed to compile the entirety of core (excl grub because i don't use it) with two workarounds (musl and gcc, which uses a custom setup for enabling lto) 2020-09-17T00:59:33 #kisslinux working my way through packages i have from extra, and slowly testing more and more until the entire system is lto'd 2020-09-17T01:07:25 #kisslinux Yeah most of my system seems to lto without a problem 2020-09-17T01:07:42 #kisslinux Although I haven't actually executed most of it to find segfaults sooooo 2020-09-17T01:07:47 #kisslinux same 2020-09-17T01:07:48 #kisslinux :p 2020-09-17T01:28:31 #kisslinux After a reboot, nothing segfaults. That's nice 2020-09-17T01:30:27 #kisslinux I'm doing this in preparation of a patchset google submitted for the kernel 2020-09-17T01:30:30 #kisslinux https://www.phoronix.com/scan.php?page=news_item&px=Clang-LTO-Linux-Kernel-V2 2020-09-17T01:31:14 #kisslinux ooh did google upstream kernel lto? i saw glimpses of it on android kconfigs, maybe i should try it sometime 2020-09-17T01:31:20 #kisslinux it's clang-only, right? 2020-09-17T01:31:45 #kisslinux The ones they submitted are yeah 2020-09-17T01:32:04 #kisslinux I don't think all of them are upstreamed but some are in linux-next? I think? 2020-09-17T01:32:16 #kisslinux well, as long as they are _trying_ it's fine by me 2020-09-17T01:32:18 #kisslinux They've been submitting things since June so the status is up in the air 2020-09-17T01:33:32 #kisslinux > Patches 3-4 are already in linux-next, but not yet in 5.9-rc. 2020-09-17T01:56:48 #kisslinux wlroots has really good examples in there source tree. I wish I would have found this sooner :< 2020-09-17T02:27:51 #kisslinux I have a box drawn for the notification now :) 2020-09-17T02:28:16 #kisslinux I should've been looking at the wlroots examples a while ago. It makes it much easier to understand. 2020-09-17T02:29:30 #kisslinux Wlroots changed the game for Wayland 2020-09-17T02:31:19 #kisslinux Due to one function this will only work on wayland till I find another way to do it. 2020-09-17T02:31:23 #kisslinux wlroots* 2020-09-17T02:33:30 #kisslinux Do you know any websites where I can upload a picture through terminal to post it here? 2020-09-17T02:41:07 #kisslinux dilynm do you have a bar or anything on hikari? 2020-09-17T02:41:16 #kisslinux or just windows? 2020-09-17T02:42:13 #kisslinux I'm going to try out yambar soon 2020-09-17T02:42:18 #kisslinux Gotcha 2020-09-17T02:42:25 #kisslinux But I usually just have windows. Even on X 2020-09-17T02:42:36 #kisslinux I'm not creative enough to build a good-looking bar xD 2020-09-17T02:42:38 #kisslinux Would you mind testing to make sure the window draws on your machine and I didn't do something horribly wrong? 2020-09-17T02:42:41 #kisslinux And lol same 2020-09-17T02:42:49 #kisslinux I use the default sway one but I need time lmao. 2020-09-17T02:42:52 #kisslinux I can definitely do that! 2020-09-17T02:42:58 #kisslinux I wear a watch 2020-09-17T02:43:09 #kisslinux alright heres the link. https://github.com/muevoid/herbew 2020-09-17T02:43:21 #kisslinux And yeah fair enough I probably should lol. 2020-09-17T02:43:42 #kisslinux If i didn't mess up it should be a dark gray rectangle in the top right. 2020-09-17T02:46:29 #kisslinux woo i lto'd everything i had installed from extra 2020-09-17T02:46:38 #kisslinux i guess xorg (the repo, i use wayland) is next 2020-09-17T02:46:54 #kisslinux nice admicos, do you notice a difference with lto? 2020-09-17T02:47:01 #kisslinux not yet, i just finished 2020-09-17T02:47:07 #kisslinux fair enough 2020-09-17T02:47:19 #kisslinux also i kinda intentionally forgot rust because it takes ages to build 2020-09-17T02:47:26 #kisslinux bleck 2020-09-17T02:47:42 #kisslinux I don't blame you. 2020-09-17T02:47:44 #kisslinux Lol 2020-09-17T02:47:51 #kisslinux That's one reason I skip on rust. 2020-09-17T02:49:15 #kisslinux thankfully i know what to do to get it to build from my previous attempt 2020-09-17T02:49:25 #kisslinux so it'll do its thing once it updates 2020-09-17T02:49:44 #kisslinux That's good at least I would hate to build rust twice. 2020-09-17T02:50:08 #kisslinux i remember giving up on llvm once 2020-09-17T02:50:09 #kisslinux https://github.com/Admicos/kiss-repo/blob/kuse/lto/kiss-lto/files/optimizations.hook#L103 2020-09-17T02:50:49 #kisslinux my current attemt just worked with a single workaround, but i was using xorg that time so eeeh 2020-09-17T02:51:03 #kisslinux It displayed a fair grey box in the top right corner 2020-09-17T02:51:11 #kisslinux No noticeable artifacting or glitching 2020-09-17T02:51:12 #kisslinux Yeah that's right thank you 2020-09-17T02:51:15 #kisslinux It looks perf 2020-09-17T02:51:19 #kisslinux cool 2020-09-17T02:51:21 #kisslinux next up text now 2020-09-17T02:51:23 #kisslinux Also don't hardcore gcc 🤣🤣 2020-09-17T02:51:38 #kisslinux Yeah shoudl've used CC environment variabl 2020-09-17T02:51:48 #kisslinux The build and clean script are placeholders till I make a Makefile 2020-09-17T02:51:57 #kisslinux For sure for sure 2020-09-17T02:52:02 #kisslinux Cause I am terrible at righting them :P 2020-09-17T02:52:04 #kisslinux lol 2020-09-17T02:52:07 #kisslinux writing* 2020-09-17T02:52:33 #kisslinux Llvm has a build flag for lto! Not sure what exactly it all enables but it's there 2020-09-17T02:53:19 #kisslinux might be interesting to take a look at it 2020-09-17T02:53:55 #kisslinux though lto isn't the issue i had with llvm (in this attempt) 2020-09-17T03:02:50 #kisslinux Fair 2020-09-17T03:03:08 #kisslinux Mine segfaults at the link step with the flag sooo ymmv 2020-09-17T03:03:13 #kisslinux xorg repo done, everything i had installed compiled no workarounds (on a wayland system) 2020-09-17T03:03:41 #kisslinux i should create a repo or smth for this before getting to community, i expect that to be a lot of work 2020-09-17T03:05:02 #kisslinux i only have 53 packages from community but i have no idea how long the compile times would take 2020-09-17T03:06:58 #kisslinux I only had 13 packages fail to build without any fiddling 2020-09-17T03:16:05 #kisslinux I'm wondering if libxml2 is actually necessary in repo/extra? Libxkbcommon needs it but if you -Denable-xkbregistry=false you don't need it 2020-09-17T03:16:05 #kisslinux what needs libxkbregistry? 2020-09-17T03:22:35 #kisslinux i think libxkbregistry is new with libxkbcommon 1.0 (released just a week or so ago), so probably not much uses it at this point 2020-09-17T03:23:35 #kisslinux Explains why I couldn't find anything about it! 2020-09-17T03:23:55 #kisslinux dilynm would you mind doing one more test to make sure i'm still sane. I apologize I just don't have another machine to test on. 2020-09-17T03:24:38 #kisslinux For sure 2020-09-17T03:25:01 #kisslinux this time if you right click on it. it should flash white. 2020-09-17T03:25:49 #kisslinux It does not 2020-09-17T03:25:58 #kisslinux hmmm 2020-09-17T03:26:01 #kisslinux Also it floods stdout with 'test: 0' 2020-09-17T03:26:07 #kisslinux And then 'test: -7' 2020-09-17T03:26:21 #kisslinux It oscillates between the two after a while 2020-09-17T03:26:23 #kisslinux I should've named it more descriptive 2020-09-17T03:26:35 #kisslinux It should be white when right clicking 2020-09-17T03:27:09 #kisslinux It does indeed! 2020-09-17T03:27:20 #kisslinux Oh it does? 2020-09-17T03:27:22 #kisslinux Stays white as long as it's clicked too 2020-09-17T03:27:27 #kisslinux That's good 2020-09-17T03:27:33 #kisslinux Ok thank you. 2020-09-17T03:27:38 #kisslinux Curious why it says -7 though 2020-09-17T03:27:43 #kisslinux but as long as it works lol 2020-09-17T03:27:54 #kisslinux Yeah I have no idea. It switches to test: 1 when I right click 2020-09-17T03:28:18 #kisslinux Yeah I just renamed it to Button Clicked as that is what it is supposed to do 2020-09-17T03:30:03 #kisslinux Now I am actually gonna get text rendering :P 2020-09-17T03:32:49 #kisslinux This seems really promising! 2020-09-17T03:33:09 #kisslinux What does? lto or herbew? 2020-09-17T03:33:35 #kisslinux why not both? 2020-09-17T03:33:39 #kisslinux Lmao true 2020-09-17T03:34:07 #kisslinux I need to make it more portable though... 2020-09-17T03:34:35 #kisslinux Right now it uses a function call from wlroots so it can't be used in gnome or kde wayland. Then it also needs a linux header(however this may not be an issue) 2020-09-17T03:36:04 #kisslinux Herbew lol. I don't know what to expect of lto at this point except bigger binaries 2020-09-17T03:36:19 #kisslinux Lmao 2020-09-17T03:36:23 #kisslinux also thank you. 2020-09-17T03:36:33 #kisslinux This is my first time ever using a native library for windows systems. 2020-09-17T03:36:46 #kisslinux But I didn't want to use a toolkit for something that is meant to be simple. 2020-09-17T03:37:13 #kisslinux I don't even plan on using cairo or anything as of right now just pure opengl for rendering. 2020-09-17T03:37:21 #kisslinux mcf: you're right libxml2 was added as a dep just recently. Who h begs the question, why was libxml2 in extra for so long... 2020-09-17T03:38:20 #kisslinux muevoid: I'd you get it working even with just a wlroots dep it would still be a leg-up over the competition 2020-09-17T03:38:43 #kisslinux s/I'd/if 2020-09-17T03:39:01 #kisslinux Yeah I think it is possible to get rid of wlroots as well. Right now the only thing I need it for is wlr_egl_init 2020-09-17T03:39:45 #kisslinux I know for sure one dep that won't go away is freetype. 2020-09-17T03:39:52 #kisslinux Other wise font rendering in opengl sucks. 2020-09-17T03:42:16 #kisslinux https://github.com/tomolt/libschrift looks promising, but i haven't tried it out yet 2020-09-17T03:44:15 #kisslinux Hmmm 2020-09-17T03:44:33 #kisslinux I am tempted to try it 2020-09-17T03:44:37 #kisslinux Thank you for showing me this 2020-09-17T03:47:27 #kisslinux For now I am going to use freetype just for compatibilty but I have added this to my bookmarks and will keep an eye out. 2020-09-17T04:02:41 #kisslinux NickServ hola 2020-09-17T04:23:46 #kisslinux finally finished the readme for my lto setup: https://git.ebc.li/kiss/optim 2020-09-17T04:24:34 #kisslinux i'll probably just re-build "community" packages in one shot and go to bed while they "happen" because the sun is getting up and i haven't slept all night 2020-09-17T05:46:05 #kisslinux o/ 2020-09-17T05:47:12 #kisslinux dilynm: Moved libxml2 to extra, changed libxkbcommon to not use it and changed llvm/clang to never automatically use it if available. Dependency on it is entirely gone in other words. Thanks. 2020-09-17T05:50:13 #kisslinux Thank you dylanaraps for that 2020-09-17T05:51:11 #kisslinux so apparently the part of "community" i installed doesn't need any lto workarounds aside from rust-specific ones that apply to all rust packages 2020-09-17T05:51:24 #kisslinux maybe with the exception of python2 2020-09-17T05:52:13 #kisslinux Oooo that's nice admicos. 2020-09-17T05:52:25 #kisslinux Have you noticed any difference yet or still doing things> 2020-09-17T05:52:27 #kisslinux ?* 2020-09-17T05:52:58 #kisslinux not really, though i didn't really expect much 2020-09-17T05:53:07 #kisslinux haven't done any benchmarks at all 2020-09-17T05:53:09 #kisslinux Yeah I thought the same was jc. 2020-09-17T05:53:12 #kisslinux Fair enough 2020-09-17T05:53:22 #kisslinux Still a really cool expirement 2020-09-17T05:53:35 #kisslinux though i think of it as more of a fun thing to try to do, rather than a serious performance improvement 2020-09-17T05:53:52 #kisslinux i just like knowing it's working 2020-09-17T05:54:01 #kisslinux Yeah that's what I was trying to say :P 2020-09-17T05:54:10 #kisslinux GCC with PGO/LTO is quite easy to do and there's likely gains to be had 2020-09-17T05:54:15 #kisslinux already done 2020-09-17T05:54:24 #kisslinux https://git.ebc.li/kiss/optim/src/branch/main/repo/gcc 2020-09-17T05:54:29 #kisslinux "make profiledbootstrap"? 2020-09-17T05:54:35 #kisslinux Or whatever it's called 2020-09-17T05:54:36 #kisslinux yup 2020-09-17T05:54:39 #kisslinux also bootstrap-lto 2020-09-17T05:54:47 #kisslinux Yeah 2020-09-17T05:55:49 #kisslinux also the core gcc package doesn't use --with-isl so i'd have to fork it anyway to enable graphite flags 2020-09-17T05:56:16 #kisslinux if it didn't need yet another tar to download i'd just patch the build script itself but noo 2020-09-17T05:57:29 #kisslinux dylanaraps I have been working on a port of herbe to wayland. 2020-09-17T05:57:38 #kisslinux muevoid: I know ;) 2020-09-17T05:57:45 #kisslinux I read all the logs 2020-09-17T05:57:57 #kisslinux Ah, Oh yeah you have that script don't you? 2020-09-17T05:58:06 #kisslinux Which one? 2020-09-17T05:58:24 #kisslinux When I first started using kiss you posted a script for getting logs in the last day. I lost it :< 2020-09-17T05:58:37 #kisslinux Ah 2020-09-17T05:59:08 #kisslinux It was very simple. 2020-09-17T05:59:10 #kisslinux Just: https://freenode.logbot.info/kisslinux/20200917/raw 2020-09-17T05:59:17 #kisslinux Replace the date with the current one. 2020-09-17T05:59:24 #kisslinux Use curl to grab the logs. 2020-09-17T05:59:38 #kisslinux Ah, ok thank you 2020-09-17T06:00:07 #kisslinux You just need to use the date command 2020-09-17T06:01:21 #kisslinux Ok thank you 2020-09-17T06:03:57 #kisslinux Example: curl "https://freenode.logbot.info/kisslinux/$(date +%Y%m%d)/raw" 2020-09-17T06:05:39 #kisslinux Thank you very much. I was over complicating by using sed I didn't know you could format date like that. 2020-09-17T06:06:25 #kisslinux See: https://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html 2020-09-17T06:06:34 #kisslinux Same format strings work with the date command 2020-09-17T06:06:54 #kisslinux oops 2020-09-17T06:06:59 #kisslinux It's this one: https://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html 2020-09-17T06:07:30 #kisslinux That's really cool I'm bookmarking that for future reference 2020-09-17T06:08:13 #kisslinux Before I get too far into text I am tempted to switch to libschrift but i'm not sure if I should. 2020-09-17T06:10:23 #kisslinux Rather than something like freetype or pango? Go for it. 2020-09-17T06:10:49 #kisslinux Yeah, I am going to attempt to switch to it right now before getting to far with freetype. 2020-09-17T06:11:15 #kisslinux Have you done much c dylanaraps? 2020-09-17T06:14:25 #kisslinux Yeah. I'd like to write a lot more though. 2020-09-17T06:14:41 #kisslinux My latest complete C thing is: https://github.com/dylanaraps/paleta 2020-09-17T06:15:25 #kisslinux C is the best imo. I need a portable version of linux/input-event-codes.h but i'm not sure if there are versions for the *BSD. 2020-09-17T06:15:28 #kisslinux And oooo 2020-09-17T06:15:38 #kisslinux I haven't seen that yet. Is it packaged in community yet? 2020-09-17T06:15:59 #kisslinux Nope 2020-09-17T06:16:31 #kisslinux Also working on an xcb based wm though it's still in a shoddy state. https://github.com/dylanaraps/wm 2020-09-17T06:16:35 #kisslinux I'll just package it in my own repo real quick. 2020-09-17T06:17:03 #kisslinux Is it like sowm2 or the other idea you had all fullscreen windows? 2020-09-17T06:17:45 #kisslinux I have no idea yet 2020-09-17T06:18:04 #kisslinux fair enough 2020-09-17T06:18:33 #kisslinux paleta should be easy to package 2020-09-17T06:18:53 #kisslinux Note: the ./palettes/ directory isn't handled by the Makefile 2020-09-17T06:18:55 #kisslinux Yeah I can do a pull request in community 2020-09-17T06:19:09 #kisslinux I can maintain it if you like 2020-09-17T06:19:18 #kisslinux Up to you :P 2020-09-17T06:19:27 #kisslinux I don't mind either way 2020-09-17T06:20:27 #kisslinux Yeah I already packaged it is is simple to package :P 2020-09-17T06:20:40 #kisslinux Hm. Looking at it now, a man page would be great. 2020-09-17T06:20:50 #kisslinux Or we could just cp README /usr/share/doc/paleta 2020-09-17T06:21:10 #kisslinux That would be nice. On a side note do you have any resources for writing Makefiles rn I am using sketch shell scripts. 2020-09-17T06:22:00 #kisslinux Nowadays I copy/paste Makefiles between my projects lol 2020-09-17T06:22:06 #kisslinux Ah lol 2020-09-17T06:22:25 #kisslinux I used to do that but wayland caused problems with that lol 2020-09-17T06:22:29 #kisslinux paleta's Makefile is pretty small 2020-09-17T06:22:35 #kisslinux https://github.com/dylanaraps/paleta/blob/master/Makefile 2020-09-17T06:22:42 #kisslinux I'll take a look 2020-09-17T06:22:59 #kisslinux i switched to tup 2020-09-17T06:23:09 #kisslinux tup? 2020-09-17T06:23:25 #kisslinux its kind of bloated but kinda the only tool supporting my use cases 2020-09-17T06:23:34 #kisslinux What's special about it 2020-09-17T06:23:41 #kisslinux sup 2020-09-17T06:23:44 #kisslinux What is it? lol 2020-09-17T06:23:47 #kisslinux jassy: ello 2020-09-17T06:23:52 #kisslinux It's like make from the looks of it 2020-09-17T06:24:12 #kisslinux https://github.com/magenbluten/kiss-ass/tree/trunk/extra/tup 2020-09-17T06:24:24 #kisslinux This? http://gittup.org/tup/ 2020-09-17T06:24:27 #kisslinux ja 2020-09-17T06:24:30 #kisslinux yes 2020-09-17T06:24:56 #kisslinux https://github.com/stackless-goto/1up 2020-09-17T06:25:10 #kisslinux uses kiss for dirty installing dependencies 2020-09-17T06:25:20 #kisslinux I just tried out paleta seem's to mostly work. Is it intended for you to have to clear the terminal before the new colors to show up? 2020-09-17T06:26:05 #kisslinux also on the topic of build systems: has anyone here used an implementation of "redo"? 2020-09-17T06:26:20 #kisslinux I have not, what makes that different? 2020-09-17T06:26:23 #kisslinux magenblute: You need to keep the original license somewhere 2020-09-17T06:26:24 #kisslinux no. but had a discussion about it yesterday. incoinclusive 2020-09-17T06:26:43 #kisslinux muevoid: https://redo.readthedocs.io/en/latest/ 2020-09-17T06:27:18 #kisslinux You may want to rebase on the next release once it's ready (lots of bug fixes, etc) 2020-09-17T06:27:39 #kisslinux muevoid: Which terminal are you using? 2020-09-17T06:27:50 #kisslinux foot the only reasonable terminal for wayland :P 2020-09-17T06:28:13 #kisslinux Haven't tested it in foot 2020-09-17T06:28:26 #kisslinux I'm assuming not intended then? 2020-09-17T06:28:29 #kisslinux dylanaraps: LICENSE done 2020-09-17T06:28:32 #kisslinux The terminal emulator must support a specific set of sequences 2020-09-17T06:28:36 #kisslinux Ah 2020-09-17T06:28:36 #kisslinux magenblute: Thanks 2020-09-17T06:28:42 #kisslinux Thought that may be it. 2020-09-17T06:28:53 #kisslinux See: http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#XTerm_Operating_System_Commands 2020-09-17T06:29:16 #kisslinux dylanaraps: i have minor plan to rewrite in c/++ 2020-09-17T06:29:18 #kisslinux Also admicos redo looks ok. My only problem with it is make is everywhere I personally don't like having to install another build system for one project. 2020-09-17T06:29:40 #kisslinux muevoid: yep, that's definitely a reason i'd still probably use make 2020-09-17T06:29:49 #kisslinux also thank you dylanaraps I will open an issue with foot. 2020-09-17T06:30:01 #kisslinux muevoid: Let me check the source code 2020-09-17T06:30:09 #kisslinux Might be supported, dunno 2020-09-17T06:30:17 #kisslinux kk 2020-09-17T06:31:22 #kisslinux also dylanaraps if I use stuff of yours that is licensed under MIT and I decide to also do MIT is it sufficient to just keep your name in the license and put mine under it? 2020-09-17T06:31:59 #kisslinux Yes 2020-09-17T06:32:05 #kisslinux If you choose to keep the same license 2020-09-17T06:32:14 #kisslinux Otherwise you can include both mine and yours 2020-09-17T06:33:10 #kisslinux Yes, how do you go about it if I licensed differently. Add a notice somewhere in the new license file or have a seperate file? 2020-09-17T06:33:18 #kisslinux By a notice i mean the full license 2020-09-17T06:33:24 #kisslinux foot supports the sequences it looks like 2020-09-17T06:33:39 #kisslinux stating something likes parts of this code are from here is the license for : 2020-09-17T06:33:41 #kisslinux palete and foot worked here as well 2020-09-17T06:33:45 #kisslinux hmmm 2020-09-17T06:34:17 #kisslinux muevoid: You can either have both licenses in the same file (I believe) or two separate ones. 2020-09-17T06:34:36 #kisslinux Alright, that's what I thought just wanted to clarify 2020-09-17T06:35:32 #kisslinux huh 2020-09-17T06:35:43 #kisslinux not sure 2020-09-17T06:37:00 #kisslinux Not too big of a deal 2020-09-17T06:37:30 #kisslinux Oh it worked with a different pallete just fine 2020-09-17T06:38:47 #kisslinux dylanaraps: doesn't a SPDIX ident plus your name suffice nowadays? its explicitly possible with apache2 2020-09-17T06:39:41 #kisslinux Anyone have a good place for wallpapers I'm sick of staring at the default sway one. 2020-09-17T06:40:32 #kisslinux default sway one? try a literal gray background 2020-09-17T06:40:35 #kisslinux :p 2020-09-17T06:40:48 #kisslinux magenblute: Not sure. The license does state: The above copyright notice and this permission notice shall be included in all 2020-09-17T06:40:51 #kisslinux Lol no background and picom? 2020-09-17T06:40:58 #kisslinux muevoid: sway without swaybg 2020-09-17T06:41:00 #kisslinux > copies or substantial portions of the Software. 2020-09-17T06:41:03 #kisslinux ah 2020-09-17T06:41:04 #kisslinux (was cut off) 2020-09-17T06:41:43 #kisslinux How long have you been using wayland for admicos? 2020-09-17T06:42:09 #kisslinux "before mywayland got archived" i guess is the earliest reference point i can say 2020-09-17T06:42:32 #kisslinux Dang, nice 2020-09-17T06:42:40 #kisslinux Do you do pure wayland or xwayland? 2020-09-17T06:42:43 #kisslinux is binutils ld linked to ld.bfd or a standalone program? 2020-09-17T06:42:57 #kisslinux muevoid: xwayland 2020-09-17T06:43:11 #kisslinux Fair enough anything you need in particular from x? 2020-09-17T06:43:25 #kisslinux konimex: Are you asking if they're the same thing or not? 2020-09-17T06:43:52 #kisslinux yes, but more like "is it a symlink or not" 2020-09-17T06:44:12 #kisslinux Not a symlink but they're the same thing 2020-09-17T06:44:19 #kisslinux alright 2020-09-17T06:44:23 #kisslinux muevoid: honestly imo it's not worth the hassle to go full wayland 2020-09-17T06:44:26 #kisslinux magenbluten: licenses such as GPL and Apache should be possible with SPDX, but for something like BSD/MIT/ISC, you need to include the whole text 2020-09-17T06:44:42 #kisslinux xwayland is a nice compromise between "wayland and cool", and legacy x thing 2020-09-17T06:44:52 #kisslinux konimex: Will make it so one is a symlink of the other. Saves 3MB. 2020-09-17T06:45:01 #kisslinux That's fair I went full wayland since I didn't need anything on X 2020-09-17T06:45:20 #kisslinux I decided since I had gone that far and dilynm had done the same I would ditch as many xlibs as I could aswell 2020-09-17T06:45:28 #kisslinux dylan: does ld.gold exist in the KISS build? 2020-09-17T06:45:39 #kisslinux Yes 2020-09-17T06:45:46 #kisslinux at one point binutils might move to gold as the default (although I doubt it) 2020-09-17T06:45:50 #kisslinux Though it has issues with musl and I doubt anyone is using it. 2020-09-17T06:45:57 #kisslinux (on KISS at least) 2020-09-17T06:46:40 #kisslinux I did find this though: https://git.musl-libc.org/cgit/musl/tree/WHATSNEW#n375 2020-09-17T06:46:59 #kisslinux Also this issue: https://github.com/NixOS/nixpkgs/issues/49071 2020-09-17T06:47:34 #kisslinux Does musl work with lld from llvm? 2020-09-17T06:47:53 #kisslinux it does 2020-09-17T06:48:02 #kisslinux Nice 2020-09-17T06:49:07 #kisslinux Let me rebuild my system with ld.gold 2020-09-17T06:49:13 #kisslinux I'll be back on in a little bit gonna go listen to music and try to implement libschrift with herbew. See ya 2020-09-17T06:50:01 #kisslinux o/ 2020-09-17T06:52:33 #kisslinux gold apparently can't be used with the kernel 2020-09-17T06:52:56 #kisslinux Also found: https://www.phoronix.com/scan.php?page=news_item&px=GNU-Gold-Stagnate-F31 2020-09-17T06:53:05 #kisslinux > While the GNU Gold linker has been quite promising especially in being faster than the conventional GNU linker, Google developers are no longer actively advancing this linker and thus raising concerns it could begin to suffer from bit-rot. 2020-09-17T07:06:07 #kisslinux admicos, from my experience -flto offers no real gains over -ffunction-sections -fdata-sections etc if your goal is size optimization, just that it takes 2-3x more time to compile 2020-09-17T07:06:50 #kisslinux the only scenario where it makes sense imo could be optimization for speed in few cases 2020-09-17T07:09:39 #kisslinux additionally lto requires your .a files to contain gimple bytecode which require a linker hook provided by gcc plugins so it requires dynamic linking 2020-09-17T07:09:54 #kisslinux sh4rm4^bnc: optimization in between compilation units. that is .c files. could be interesting for projects with lots of "single function" .c files 2020-09-17T07:10:31 #kisslinux sh4rm4^bnc: in case of llvm and lto the .o files where just llvm-bitcode 2020-09-17T07:11:11 #kisslinux sh4rm4^bnc: link time explodes. >2mintues for intel hyperscan 2020-09-17T07:11:21 #kisslinux indeed :) 2020-09-17T07:11:56 #kisslinux the very best results i achieved is when passing all .c files on the command line to gcc in one statement, together with -fwhole-program 2020-09-17T07:12:10 #kisslinux gcc a.c b.c c.c -fwhole-program -o myprogram 2020-09-17T07:12:12 #kisslinux yes 2020-09-17T07:12:28 #kisslinux clang doesn't like -fwhole-program 2020-09-17T07:13:49 #kisslinux either way i opted to just use -ffunction-sections -fdata-sections -Wl,-gc-sections for sabotage as default CFLAGS 2020-09-17T07:14:06 #kisslinux hmmm 2020-09-17T07:14:21 #kisslinux it's a lot faster than -flto, achieves almost identical results, and doesn't require plugin quirks 2020-09-17T07:14:37 #kisslinux i might adapt that as well 2020-09-17T07:14:41 #kisslinux only disadvantage is that .a files are quite huge due to each function being in one section 2020-09-17T07:14:45 #kisslinux ( for packages ) 2020-09-17T07:15:06 #kisslinux but .a files with gimple and .o in it are huge too 2020-09-17T07:37:19 #kisslinux So far schrift is a pleasure compared to freetpye 2020-09-17T07:37:21 #kisslinux freetype* 2020-09-17T07:51:45 #kisslinux muevoid: have you also looked at stb_truetype or scalable-font2? ( just interested ) 2020-09-17T08:03:49 #kisslinux I have not 2020-09-17T08:04:16 #kisslinux I'm still not completely invested in this lib as I am just working on opengl code for rendering a bitmap rn. 2020-09-17T08:04:29 #kisslinux So it is still up to change it should be easy to switch it out 2020-09-17T08:05:00 #kisslinux I didn't know that stb had a truetype lib 2020-09-17T08:05:31 #kisslinux stb's doesn't have any type of range checking though. 2020-09-17T08:05:38 #kisslinux I'll look up scalable-font2 2020-09-17T08:06:08 #kisslinux Do you have a github mirror for scalable-font2? 2020-09-17T08:06:21 #kisslinux I can't use gitlab atm still trying to fix it with webkit2gtk 2020-09-17T08:11:33 #kisslinux I switched back to freetype for the moment but am going to keep an eye on the other lib 2020-09-17T08:12:04 #kisslinux Mainly cause I want to get a somewhat working version for right now. But I am very interested in the future switching back 2020-09-17T08:35:06 #kisslinux kk 2020-09-17T08:35:29 #kisslinux what do you mean with "range" checking? for buffer overflows? 2020-09-17T09:04:31 #kisslinux Yes 2020-09-17T09:10:43 #kisslinux 200 loc's later and still no text :< 2020-09-17T09:15:43 #kisslinux anyone here know much about OpenGL xD 2020-09-17T09:18:32 #kisslinux yeah, text rendering is super annoying :/ 2020-09-17T09:18:44 #kisslinux I just wrote around 200 lines and have nothing lmao 2020-09-17T09:19:38 #kisslinux have you considered just doing software rendering with pixman? opengl seems like overkill for just a notification 2020-09-17T09:20:03 #kisslinux Yeah I did, more of just a learning thing as ik some opengl. 2020-09-17T09:20:11 #kisslinux It is def way overkill for a notification though. 2020-09-17T09:20:44 #kisslinux Plus tbh figuring out how to get pixman to work with wayland surfaces seems like a pain whereas I already have an opengl context. 2020-09-17T09:21:57 #kisslinux it's pretty easy, actually. just mmap a /tmp fd and create a buffer through wl_shm 2020-09-17T09:22:04 #kisslinux Hmmm 2020-09-17T09:22:17 #kisslinux dylan, fff just got added to pkgsrc-wip ;) 2020-09-17T09:22:21 #kisslinux Is pixman itself easy? I have never used it. 2020-09-17T09:22:52 #kisslinux the api is a bit awkward and not that well documented, but it's fairly easy 2020-09-17T09:23:11 #kisslinux I hate to do it but yeah i'll switch over lmao 2020-09-17T09:24:11 #kisslinux https://termbin.com/h89zr 2020-09-17T09:24:14 #kisslinux That is what I had 2020-09-17T09:25:09 #kisslinux Before I do do you recommend pixman or cairo? 2020-09-17T09:25:22 #kisslinux i really want a simple 2d graphics library that abstracts simple operations like copy/fill/render text. my first attempt was wld, but that didn't turn out to be flexible enough 2020-09-17T09:25:49 #kisslinux Have sources so I can see it? 2020-09-17T09:26:07 #kisslinux i started working on https://git.sr.ht/~mcf/libblit a while back. i should really get back to it 2020-09-17T09:26:23 #kisslinux wld is at https://github.com/michaelforney/wld 2020-09-17T09:26:57 #kisslinux It looks nice you should def work on it again. 2020-09-17T09:27:11 #kisslinux reffering to libblit 2020-09-17T09:28:03 #kisslinux all of this wayland seems a bit involved. i u want to write code using it 2020-09-17T09:28:03 #kisslinux Btw does swc support layer-shell? Or is that wlroots specific 2020-09-17T09:28:12 #kisslinux I haven't done too much research of wayland outside of wlroots 2020-09-17T09:28:29 #kisslinux muevoid: u could look at foot and fuzzel. 2020-09-17T09:28:38 #kisslinux i don't know about cairo vs pixman. if you want to do anything other than fill rectangle and render text, you should probably go with cairo 2020-09-17T09:28:51 #kisslinux Nah i just need fill and tex 2020-09-17T09:28:53 #kisslinux text* 2020-09-17T09:28:58 #kisslinux but then you end up with sthg like rofi 2020-09-17T09:29:05 #kisslinux depends on * 2020-09-17T09:29:38 #kisslinux Rn it already depends on freetype and wlroots 2020-09-17T09:29:44 #kisslinux I need to fix the latter 2020-09-17T09:29:51 #kisslinux just look an fuzzel 2020-09-17T09:30:21 #kisslinux Do you have a link I can't find it 2020-09-17T09:30:26 #kisslinux muevoid: https://codeberg.org/dnkl/fuzzel 2020-09-17T09:30:40 #kisslinux thank you 2020-09-17T09:31:02 #kisslinux muevoid: swc doesn't support layer shell, but that's something i'd like to implement at some point (layer shell came after i was actively working on swc) 2020-09-17T09:31:14 #kisslinux https://github.com/magenbluten/kiss-ass/tree/trunk/extra/fuzzel 2020-09-17T09:31:15 #kisslinux That's fair enough 2020-09-17T09:32:11 #kisslinux i have my own extension swc_panel_manager, but that's only general enough for status-bar like programs. with layer shell you could do both 2020-09-17T09:32:27 #kisslinux mfc: ahh. you are that mforney? 2020-09-17T09:32:29 #kisslinux layer-shel is nice. 2020-09-17T09:32:37 #kisslinux I really want to learn a lot about wayland clients. 2020-09-17T09:32:48 #kisslinux magenbluten: yep 2020-09-17T09:34:16 #kisslinux mfc: do you plan to continue wld ( and swc ) 2020-09-17T09:35:01 #kisslinux i'm still not sure what to think about wlroots 2020-09-17T09:35:40 #kisslinux wld, probably not (libblit is my plan for a successor). swc, yeah hopefully, though i admit it has stagnated recently 2020-09-17T09:35:52 #kisslinux muevoid: for my last project i used imgui with vulkan backend. only the vulkan setup is like 800sloc. i didn't understand a single line :/ 2020-09-17T09:36:17 #kisslinux What was it for? 2020-09-17T09:36:19 #kisslinux mfc: oasis? liked the idea, but too much involved 2020-09-17T09:36:29 #kisslinux muevoid: the imgui? 2020-09-17T09:36:33 #kisslinux vulkan is so insanely verbose 2020-09-17T09:36:41 #kisslinux incredibly verbose 2020-09-17T09:36:43 #kisslinux I'm not a huge fan of vulkan 2020-09-17T09:37:01 #kisslinux i thought it was lightweight. but dunno. 2020-09-17T09:37:14 #kisslinux I usually stick to OpenGLESv2 2020-09-17T09:38:02 #kisslinux well, i think the sum of vulkan driver + vulkan app is smaller than opengl driver + opengl app 2020-09-17T09:38:23 #kisslinux Yeah most likely vulkan is good for optimizing 2020-09-17T09:38:37 #kisslinux so not necessarily lighter weight, but permits simpler drivers, but in doing so pushing complexity to applications 2020-09-17T09:38:48 #kisslinux but then applications get a lot more control compared to opengl 2020-09-17T09:39:03 #kisslinux muevoid: https://youtu.be/pFefwIZgQVE <- pcap indexing 2020-09-17T09:39:22 #kisslinux sorry the text had to be in german 2020-09-17T09:39:29 #kisslinux Don't be sorry lol 2020-09-17T09:39:59 #kisslinux Speaking of imgui have you ever tried nuklear 2020-09-17T09:40:25 #kisslinux mfc: vulkan feels like wayland -> more complexity "clientside" 2020-09-17T09:40:37 #kisslinux That looks nice btw. Is it some type of network tracker from what I understand? 2020-09-17T09:41:00 #kisslinux pcap indexing, querying and reassembly 2020-09-17T09:41:20 #kisslinux with some kind of "regexp" index 2020-09-17T09:41:21 #kisslinux I feel like my main problem with vulkan is compatibility with hardware and some more other unix os's. 2020-09-17T09:41:37 #kisslinux Nice 2020-09-17T09:41:39 #kisslinux https://github.com/stackless-goto/nygma 2020-09-17T09:42:52 #kisslinux i wonder if an xrender-like wayland extension would work. to give simple clients an easy way to do basic rendering without pulling in some huge rendering library in the client 2020-09-17T09:43:30 #kisslinux text rendering is probably the tricky part with that 2020-09-17T09:44:13 #kisslinux yes. would be awesome 2020-09-17T09:45:16 #kisslinux fighting the bloat is hard. lots of single person efforts. no swarm intelligence. at least from my limited perspective aka frog-perspective 2020-09-17T09:49:38 #kisslinux muevoid: not sure about nuklear: cleaner api ( no globals ) but otherwise not as "active", at least it seems so 2020-09-17T09:50:09 #kisslinux I had used it in the past and I liked it. But yeah I don't think it is nearly as active as imgui. 2020-09-17T09:51:24 #kisslinux What is tllist? I know it is a library but what does it do? 2020-09-17T09:51:56 #kisslinux ah typed link list 2020-09-17T09:53:08 #kisslinux It's 4:52 am I'm gonna work on this tommorow but I have pixman now. 2020-09-17T09:53:56 #kisslinux o/ 2020-09-17T15:43:55 #kisslinux real men render their own bitmap fonts 2020-09-17T15:44:58 #kisslinux with a pencil? 2020-09-17T15:45:00 #kisslinux https://github.com/rofl0r/SDLBook/blob/master/topaz.h#L1 2020-09-17T15:45:55 #kisslinux surely theres a better way to encode this, 266kb, jesus 2020-09-17T15:48:44 #kisslinux *shrug* 2020-09-17T15:58:08 #kisslinux imo its preferable to have the font in readonly/shareable memory than to unpack it at runtime and waste time implementing compression code 2020-09-17T17:21:18 #kisslinux yeah i was talking about encoding, it seems to only use 0x00 or 0xff here, so wasting 7 of 8 bits. it could be easily encoded 2020-09-17T17:24:17 #kisslinux o/ 2020-09-17T17:24:38 #kisslinux kirc is nice 2020-09-17T21:11:59 #kisslinux For some reason, qt5-wayland doesn't build the wayland-egl.so platform plugin 2020-09-17T21:12:34 #kisslinux Even though it detects wayland-egl libs and headers, it disables them at configure. And there's no obvious way to ensure it gets built 2020-09-17T21:13:54 #kisslinux whats the configure check message ? 2020-09-17T21:44:48 #kisslinux ix.io/2xUA 2020-09-17T21:48:02 #kisslinux Mesa log: ix.io/2xUC 2020-09-17T21:52:51 #kisslinux oh, using cmake it seems 2020-09-17T21:53:28 #kisslinux Hm 2020-09-17T21:54:43 #kisslinux ah, qmake actually 2020-09-17T21:54:53 #kisslinux no idea how to debug *that* 2020-09-17T21:55:18 #kisslinux Yeah it's not obvious at all 2020-09-17T21:55:35 #kisslinux Grepping through the source tree for anything egl and wayland related doesn't shed any light 2020-09-17T21:56:04 #kisslinux dilynm: Thinking simple: going after your kiss-me repo I have looked what mesa depends on and what you have modified. Whats about libdrm? 2020-09-17T21:56:24 #kisslinux Libdrm has everything but intel disabled 2020-09-17T21:56:28 #kisslinux Going after logic it should be fine 2020-09-17T21:56:43 #kisslinux Which... Might be it,because that was a recent change, but seems to not explain this 2020-09-17T21:56:44 #kisslinux but maybe worth a try? 2020-09-17T21:57:18 #kisslinux It seems you dont hassle with this libglvnd? 2020-09-17T21:57:39 #kisslinux I've tried with and without libglvnd, both in mesa and independently 2020-09-17T21:57:57 #kisslinux does qmake -d give any insight? 2020-09-17T22:00:02 #kisslinux Hm 2020-09-17T22:00:42 #kisslinux Quickly reading it over, this a fun line: QT_CONFIGURE_REPORT:="Qt Wayland Drivers: EGL..... no" 2020-09-17T22:01:53 #kisslinux can you paste? 2020-09-17T22:02:55 #kisslinux It's a lot and I can't seem to redirect it gimme a sec 2020-09-17T22:04:13 #kisslinux there is also config.log, which looks a bit easier to understand 2020-09-17T22:04:59 #kisslinux ix.io/2xUI 2020-09-17T22:05:25 #kisslinux Config log ix.io/2xUK 2020-09-17T22:06:31 #kisslinux The log says it succeeds on the relevant test, it seems 2020-09-17T22:08:43 #kisslinux looking at src/client/configure.json, it seems there is a libs.wayland-egl test, and also a features.wayland-egl condition "features.wayland-client && features.opengl && features.egl && libs.wayland-egl && (!config.qnx || features.egl-extension-platform-wayland)" 2020-09-17T22:09:27 #kisslinux so something must be going wrong in one of those 2020-09-17T23:47:20 #kisslinux sup