💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-08-30.txt captured on 2024-05-12 at 16:07:44.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-08-30T00:01:39 #kisslinux <xzcvczx> hmmm i wonder if its a chicken and egg problem 2020-08-30T00:01:50 #kisslinux <xzcvczx> for this version of kiss do i need busybox rev 3 2020-08-30T00:03:01 #kisslinux <xzcvczx> onodera: not to discount your idea, but the list of packages to be updated is unlikely to affect this 2020-08-30T00:03:26 #kisslinux <xzcvczx> so what i think i will try doing once cmake and curl and installed is downgrading kiss, upgrading busybox then reupgrade kiss 2020-08-30T00:03:45 #kisslinux <onodera> no idea why i didn't need to apply some patch then 2020-08-30T00:03:59 #kisslinux <xzcvczx> well you might have installed busybox before kiss 2020-08-30T00:04:06 #kisslinux <xzcvczx> just due to when you updated 2020-08-30T00:04:40 #kisslinux <onodera> ahh that might be true 2020-08-30T00:12:10 #kisslinux <xzcvczx> damn that doesn't work due to changes in how checksum files work 2020-08-30T00:14:23 #kisslinux <xzcvczx> illiliti: hmmm well it seems i had messed up where i put the patch but now looking it seems the patch is already there 2020-08-30T00:14:58 #kisslinux <xzcvczx> there is no ! between etc and -type 2020-08-30T00:18:18 #kisslinux <illiliti> '-type d' or '-type -f' ? 2020-08-30T00:18:32 #kisslinux <xzcvczx> wow i really am blind 2020-08-30T00:18:57 #kisslinux <xzcvczx> but it is f 2020-08-30T00:19:07 #kisslinux <xzcvczx> although not -f 2020-08-30T00:19:49 #kisslinux <illiliti> yes, my bad 2020-08-30T00:21:37 #kisslinux <xzcvczx> whats your shasum of /usr/bin/kiss? 2020-08-30T00:22:08 #kisslinux <xzcvczx> d9e...195? 2020-08-30T00:22:24 #kisslinux <illiliti> e21 2020-08-30T00:25:33 #kisslinux <xzcvczx> hmmm i stuffed up again but with a fresh kiss b kiss, kiss i kiss i get 8b8...013 2020-08-30T00:26:36 #kisslinux <xzcvczx> you are running 5.0.2? 2020-08-30T00:26:43 #kisslinux <illiliti> yep 2020-08-30T00:26:48 #kisslinux <illiliti> my kiss - termbin.com/tchm 2020-08-30T00:26:53 #kisslinux <illiliti> with patch 2020-08-30T00:29:06 #kisslinux <xzcvczx> illiliti: oh that is different to the patch 2020-08-30T00:29:30 #kisslinux <xzcvczx> the patch is like 1012 2020-08-30T00:29:34 #kisslinux <xzcvczx> in pkg_etc 2020-08-30T00:31:10 #kisslinux <xzcvczx> that worked, thank you 2020-08-30T00:32:06 #kisslinux <illiliti> haha 2020-08-30T00:32:41 #kisslinux <xzcvczx> patch is LINE 1012 rather 2020-08-30T00:34:04 #kisslinux <illiliti> looks like dylan messed up my patch lol 2020-08-30T00:34:18 #kisslinux <illiliti> https://github.com/kisslinux/kiss/issues/176 2020-08-30T00:35:27 #kisslinux <illiliti> see the difference ? :) 2020-08-30T00:35:42 #kisslinux <xzcvczx> it might be needed in both places 2020-08-30T00:35:56 #kisslinux <xzcvczx> but yeah dylans don't fix shite :P 2020-08-30T00:37:22 #kisslinux <illiliti> no. it's needed only in first occasination of 'find etc ....' 2020-08-30T00:37:37 #kisslinux <illiliti> i.e my patch is correct 2020-08-30T00:37:37 #kisslinux <xzcvczx> oh lol 2020-08-30T00:38:22 #kisslinux <xzcvczx> btw are you using tinyramfs for encryption? 2020-08-30T00:38:34 #kisslinux <illiliti> yep 2020-08-30T00:38:39 #kisslinux <xzcvczx> had any issues? 2020-08-30T00:38:53 #kisslinux <illiliti> nope 2020-08-30T00:38:57 #kisslinux <xzcvczx> (it does still claim to be experimental so just want to check before i go FDE) 2020-08-30T00:39:51 #kisslinux <illiliti> it's experimental because docs are very confusing. So you need to read the code to understand how it works 2020-08-30T00:40:23 #kisslinux <xzcvczx> fair enough 2020-08-30T01:53:20 #kisslinux <randomuser1> how does one use tinyramfs for enc? 2020-08-30T01:53:28 #kisslinux <randomuser1> how does the install process different 2020-08-30T01:53:29 #kisslinux <randomuser1> ? 2020-08-30T02:31:48 #kisslinux <illiliti> randomuser1: see tinyramfs `config` 2020-08-30T02:32:04 #kisslinux <illiliti> randomuser1: it's up to you. you can use lvm to separate e.g home and root partition. you can use just luks without lvm. there is a lot of options 2020-08-30T02:38:34 #kisslinux <randomuser1> so you have to run it when instaling after the kernel is built? 2020-08-30T02:40:05 #kisslinux <illiliti> yes 2020-08-30T02:41:33 #kisslinux <randomuser1> and it'll work automagically 2020-08-30T02:41:44 #kisslinux <randomuser1> but you have to install the enc hooks first 2020-08-30T02:41:49 #kisslinux <randomuser1> before making the initramfs 2020-08-30T02:46:07 #kisslinux <illiliti> before making initramfs you need to configure it first. hooks already there if you installed tinyramfs 2020-08-30T03:35:11 #kisslinux <micr0> kiss outdated is showing tiny 0.6.0 -> 0.5.1 .... that seems like a bug? 2020-08-30T06:47:14 #kisslinux <SeBarosanul> Does it get simpler than kiss? 2020-08-30T07:27:35 #kisslinux <dylanaraps> illiliti: Fixed Xorg. 2020-08-30T07:28:37 #kisslinux <dylanaraps> illiliti: Fixed KISS. 2020-08-30T07:31:04 #kisslinux <dylanaraps> micr0: kiss-outdated uses repology and /only/ checks that the versions differ. Looks to me like repology still tracks an older version. 2020-08-30T08:22:20 #kisslinux <Guest89458> Is there anything more minimalist/simple than KISS itself? 2020-08-30T08:26:06 #kisslinux <dylanaraps> No. I don't think so. 2020-08-30T08:26:22 #kisslinux <dylanaraps> The whole distribution (package manager, repositories, init stuff) comes in at < 10K LOC. 2020-08-30T08:26:31 #kisslinux <Guest89458> KISS it is, then 2020-08-30T10:20:21 #kisslinux <SeBarosanul> If I build a package, but then decide not to install it, how do I remove it? 2020-08-30T10:20:53 #kisslinux <j`ey> rm it in you ~/.cache/kiss/bin 2020-08-30T10:21:15 #kisslinux <SeBarosanul> Ok 2020-08-30T10:48:11 #kisslinux <bjoernfan> dylanaraps: I haven't checked yet if I can reproduce this, but I think the checksums in extra/cmake/checksums is wrong. The checksums are right, but when comparing during installation the checksum output also contained the filename, so the diff failed. This happened to me yesterday or the day before. 2020-08-30T10:49:01 #kisslinux <bjoernfan> I've installed a bunch of things but cmake is the only thing I had an issue like that with. 2020-08-30T10:50:01 #kisslinux <dylanaraps> What's your package manager version? 2020-08-30T11:17:58 #kisslinux <bjoernfan> Like kiss version? 5.0.2 2020-08-30T11:22:25 #kisslinux <bjoernfan> Also, should kiss-revdepends work on packages that are currently not installed? I'm replacing eudev and followed the instruction, first ran remove and then revdepends, but I'm guessing it should be done in the reverse order? 2020-08-30T11:22:39 #kisslinux <bjoernfan> > ~ # kiss-revdepends eudev 2020-08-30T11:22:39 #kisslinux <bjoernfan> > -> eudev not installed 2020-08-30T11:22:39 #kisslinux <bjoernfan> > usage: kiss-revdepends [pkg] 2020-08-30T11:23:38 #kisslinux <bjoernfan> Just ran git pull in /var/db/kiss/repo and kiss b cmake, did not get an error this time. :) 2020-08-30T11:38:57 #kisslinux <dylanaraps> Fixed kiss-revdepends 2020-08-30T11:39:05 #kisslinux <dylanaraps> Thanks 2020-08-30T11:54:38 #kisslinux <bjoernfan> awesome :) 2020-08-30T11:55:29 #kisslinux <bjoernfan> dylanaraps: What do you think about okay later then dopdidoo 2020-08-30T12:28:57 #kisslinux <periish> Hello! 2020-08-30T12:29:56 #kisslinux <periish> A while back, I heard talk of us having our own fork of sbase, with `dd` implemented. 2020-08-30T12:30:02 #kisslinux <periish> Whatever happened to that? 2020-08-30T13:56:56 #kisslinux <lhoqvso> Guys... nouveau really sucks... Amy chance of installing nvidia proprietary drivers? (I won’t have an Nvidia again...) 2020-08-30T13:58:24 #kisslinux <icyphox> don't think it works on musl 2020-08-30T14:13:53 #kisslinux <periish> lhoqvso: No. Not at all sadly, you're stuck with nouveau. 2020-08-30T14:14:21 #kisslinux <periish> nvidia's drivers use glibc, and I think that Alpine can use them because it rips out all of glibc specifically for nvidia. 2020-08-30T14:15:22 #kisslinux <mps> Alpine doesn't support nvidia gpus, except with nouveau 2020-08-30T14:15:46 #kisslinux <periish> Oh 2020-08-30T14:15:58 #kisslinux <periish> I thought they had support for Nvidia's proprietary drivers 2020-08-30T14:16:32 #kisslinux <periish> lhoqvso: One thing to look into is gkiss. It's gone defunct, but if you're willing to maintain it, feel free to take over. 2020-08-30T14:16:41 #kisslinux <periish> It's a fork of KISS using glibc. 2020-08-30T14:16:48 #kisslinux <mps> no, about year or two I tried to make it for alpine but that was 'doomed to fail' task 2020-08-30T14:17:18 #kisslinux <mps> ago* 2020-08-30T14:31:18 #kisslinux <lhoqvso> Ohhh it sounds very interesting gkiss but I do not think I’m ready to maintain it... I’m too newbie!! A pity to not be able to use kiss better because of the nvidia card :( 2020-08-30T14:55:30 #kisslinux <mps> periish: https://arto.s3.amazonaws.com/notes/cuda 2020-08-30T15:05:11 #kisslinux <lhoqvso> I have an integrated intel graphic card that I cna use but it's a pity not be able to use the Nvidia... as I do not have any idea... what is the benefit of using musl? 2020-08-30T15:09:34 #kisslinux <lowerothello> musl is smaller than glibc 2020-08-30T15:10:42 #kisslinux <lhoqvso> and is that reason enough? I mean, if the nvidia's owners are not going to be able to use it... that's a bit too expensive... don't know, just MHO 2020-08-30T15:11:27 #kisslinux <j`ey> you have the choice not to use kiss / nvidia 2020-08-30T15:12:35 #kisslinux <j`ey> not musl's fault it's nvidia's fault for being proritary :( 2020-08-30T15:16:16 #kisslinux <lhoqvso> I'm agree, don't get me wrong. Nvidia sucks but... apart of next time buying an ATI/Nvidia card or even better, having both so I can go and play games, I have tried using Nouveu drivers but even for browsing the web using qutebrowser you can "feel" it's not performing very well... It was not a complain, I'm not the owner of Kiss so I do not have any right. I like Kiss and how it works just a pity that I cannot use the 2020-08-30T15:16:16 #kisslinux <lhoqvso> nvidia card (even when it's not kiss/dylan fault!) 2020-08-30T15:16:29 #kisslinux <lhoqvso> ATI/Intel I meant * 2020-08-30T15:16:43 #kisslinux <onodera_> did that new malloc musl implementation land yet? 2020-08-30T15:17:57 #kisslinux <j`ey> Yeag 2020-08-30T15:17:58 #kisslinux <j`ey> h 2020-08-30T15:19:27 #kisslinux <onodera_> ah nice 2020-08-30T15:19:33 #kisslinux <onodera_> didn't notice any difference tho :p 2020-08-30T16:16:33 #kisslinux <issaias> hello 2020-08-30T16:18:14 #kisslinux <issaias> xorg is still segfaulting, i've got all the firmware in my kernel for polaris10 amdgpu 2020-08-30T16:18:29 #kisslinux <issaias> i'm running the latest version but on the github it seems dylan has applied the patch to fix the crash 2020-08-30T16:18:33 #kisslinux <issaias> maybe i will try and downgrade 2020-08-30T16:22:31 #kisslinux <issaias> okay i updated it but its segfaulting somewhre different now 2020-08-30T16:24:40 #kisslinux <issaias> its after it loads the amdgpu driver this time, not sure what the issue could be 2020-08-30T16:24:45 #kisslinux <issaias> i probably forgot to enable a kernel option 2020-08-30T16:44:20 #kisslinux <issaias> https://termbin.com/53hx 2020-08-30T16:48:09 #kisslinux <bjoernfan> issaias: I'm just guessing here, but are you in the video group? For access to /dev/dri/card0. Looks like that's not your issue but doesn't hurt to check. 2020-08-30T16:48:56 #kisslinux <bjoernfan> Myself I'm trying to get wayland/sway to work, managed to build the things but can't start sway, getting stuck on "Preparing Wayland server initialization", hm. 2020-08-30T16:49:08 #kisslinux <issaias> I am in the video group 2020-08-30T16:49:18 #kisslinux <issaias> I had the segfault yesterday but that was fixed when dylan added the patch 2020-08-30T16:49:27 #kisslinux <issaias> I've never had any issues with x before so i'm not sure what could be the cause 2020-08-30T16:49:52 #kisslinux <issaias> idk why x doesn't have a backtrace, is that disabled in compilation 2020-08-30T16:49:59 #kisslinux <issaias> it would be easier to debug if there were a backtrace 2020-08-30T16:51:26 #kisslinux <bjoernfan> Can you maybe throw in some debug statements somewhere in xorg.conf maybe? I haven't looked at that in ages. 2020-08-30T16:56:49 #kisslinux <issaias> I wish there was something better than xorg/wayland they're both pretty trash 2020-08-30T17:37:31 #kisslinux <micr0> issaias you may want to look at https://fuchsia.dev/fuchsia-src/concepts/graphics/scenic/scenic 2020-08-30T17:37:49 #kisslinux <micr0> or how haiku does it maybe, im not sure if they use something like xorg 2020-08-30T17:56:46 #kisslinux <issaias> fuchsia is cool, i hope they backport to pixel phones once it eventually gets released 2020-08-30T17:56:48 #kisslinux <issaias> probably not 2020-08-30T17:57:09 #kisslinux <issaias> i wish xorg just worked, i can't figure out for the life of me what's causing this crash 2020-08-30T18:02:58 #kisslinux <muevoid> Hello I am trying to package a fantasy game console called tic80 and it builds fine however when trying to install it I get the following: https://termbin.com/rfe4 I understand the error message however not sure how to fix it. Any help would be appreciated 2020-08-30T18:04:13 #kisslinux <micr0> muevoid can you list out all the files that tic80 builds? 2020-08-30T18:04:26 #kisslinux <micr0> it seems weird that libcurl.pc would be part of that to me 2020-08-30T18:04:56 #kisslinux <muevoid> How would I go about doing that? 2020-08-30T18:05:22 #kisslinux <muevoid> i know kiss-manifest but how do you do that without a package being installed? 2020-08-30T18:05:39 #kisslinux <j`ey> you can tar tf foo.tar.gz 2020-08-30T18:05:50 #kisslinux <micr0> so the package should be in ~/.cache/kiss/build/somehwere 2020-08-30T18:05:52 #kisslinux <micr0> something like that 2020-08-30T18:06:16 #kisslinux <micr0> i wonder if kiss manifest should fallback to tar tf ~/.cache/kiss/build/... 2020-08-30T18:08:00 #kisslinux <muevoid> strange... it seems like it is trying to install curl as well: https://termbin.com/dq4z8 2020-08-30T18:10:57 #kisslinux <micr0> can you post your sources and build files? 2020-08-30T18:11:09 #kisslinux <micr0> it looks to me like cp -r curl tic80 && cd tic80 && kiss b 2020-08-30T18:11:34 #kisslinux <muevoid> you can find them at my repo github.com/muevoid/kiss-mue its under tic80 directory 2020-08-30T18:14:07 #kisslinux <micr0> muevoid so the wiki build instructions say to use cmake && make to build 2020-08-30T18:14:38 #kisslinux <muevoid> ill try that 2020-08-30T18:15:18 #kisslinux <micr0> specifically looking at the debian install instructions, fyi 2020-08-30T18:17:03 #kisslinux <micr0> I also sometimes like at exherbo build scripts, gentoo, and aur pkgbuilds just to see 2020-08-30T18:17:06 #kisslinux <muevoid> still says the same error 2020-08-30T18:17:10 #kisslinux <micr0> as an example: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tic-80-git 2020-08-30T18:17:43 #kisslinux <muevoid> They seem to be installing the binaries directory I will try that 2020-08-30T18:18:27 #kisslinux <micr0> is libglvnd required? 2020-08-30T18:18:33 #kisslinux <micr0> like actually required? 2020-08-30T18:19:02 #kisslinux <muevoid> Ill try it again without when I was testing by just building without a package I needed it I will try again 2020-08-30T18:19:56 #kisslinux <muevoid> Thank you for your help by the way 2020-08-30T18:21:18 #kisslinux <muevoid> It is not thank you 2020-08-30T18:21:28 #kisslinux <muevoid> But installing the bins directly worked thank you for the help 2020-08-30T18:23:22 #kisslinux <micr0> thanks for packaging cool software 2020-08-30T18:23:45 #kisslinux <micr0> i wonder if it should be reported as a bug upstream that make install installs weird shit 2020-08-30T18:23:45 #kisslinux <muevoid> I just package things that interest me :) 2020-08-30T18:23:54 #kisslinux <muevoid> Yeah I may open up an issue on github 2020-08-30T18:24:43 #kisslinux <muevoid> Ive been trying to package mingw I have to put a day aside to give it a good attempt. 2020-08-30T18:27:14 #kisslinux <muevoid> I have some freetime today I may ask on the subreddit for package request and take some time to clean up my repo as well. 2020-08-30T18:29:17 #kisslinux <mussolini> issaias: try building the kernel with the polaris firmware as a module, my polaris card I could never get it to work as a built-in 2020-08-30T18:32:51 #kisslinux <issaias> mussolini i've never needed firmware as a module before, how does that work? 2020-08-30T18:33:46 #kisslinux <issaias> its weird because this worked fine last time i use kiss like a month ago 2020-08-30T18:34:19 #kisslinux <mussolini> That's a bit above my level support 2020-08-30T18:34:25 #kisslinux <mussolini> ^_^ 2020-08-30T18:34:53 #kisslinux <mussolini> Hopefully the wiki has this information, if not, check out all the gentoo stuff to do with configuring and compiling kernels 2020-08-30T18:35:04 #kisslinux <issaias> mussolini: no worries, thanks for the help i wish X had a backtrace that'd be a lot more helpful 2020-08-30T18:35:24 #kisslinux <issaias> i can't get gdb to work properly i'm a bit new to all this i only started using kiss during lockdown 2020-08-30T18:36:25 #kisslinux <micr0> issaias I added your repo to my repo packages: https://github.com/jedahan/kiss-repo/commit/e6da46133727a2e1047228d11c734064c5dfc19e 2020-08-30T18:39:19 #kisslinux <muevoid> Firmware isn't difficult to add at all to kiss. 2020-08-30T18:39:41 #kisslinux <issaias> i've got the firmware in the kernel, idk what he means by compile it as a module 2020-08-30T18:39:42 #kisslinux <muevoid> I personally don't need firmware anymore however I did for a while and it was as simple as downloading the firmware and changing some kernel config options. 2020-08-30T18:39:46 #kisslinux <muevoid> Ah 2020-08-30T18:39:49 #kisslinux <muevoid> Not sure then 2020-08-30T18:40:05 #kisslinux <issaias> i think x 1.20.9 is broken 2020-08-30T18:40:11 #kisslinux <issaias> it had the crash yesterday which dylan fixed 2020-08-30T18:40:12 #kisslinux <issaias> now this 2020-08-30T18:40:17 #kisslinux <issaias> think i might just rollback 2020-08-30T18:40:26 #kisslinux <muevoid> I cant compile it 1.20.9-2 im still on -1 right now 2020-08-30T18:40:46 #kisslinux <issaias> does it work for you? huh 2020-08-30T18:41:02 #kisslinux <issaias> i had a different crash yesterday 2020-08-30T18:41:06 #kisslinux <issaias> it got fixe after -2 2020-08-30T18:41:18 #kisslinux <issaias> now the new crash is after it loads the amdgpu driver 2020-08-30T18:42:13 #kisslinux <muevoid> Yeah it fails at compiling glamor and says conflicting types for GC 2020-08-30T18:43:03 #kisslinux <muevoid> not sure ¯_()_/¯ 2020-08-30T19:02:58 #kisslinux <muevoid> ls 2020-08-30T19:03:04 #kisslinux <onodera_> cat 2020-08-30T19:03:07 #kisslinux <muevoid> Lol wrong window 2020-08-30T19:03:30 #kisslinux <muevoid> grep 2020-08-30T19:03:33 #kisslinux <muevoid> :P 2020-08-30T19:47:55 #kisslinux <onodera_> `set -- "${PWD##*/}"` 2020-08-30T19:48:02 #kisslinux <onodera_> what would this command do? in plain sh 2020-08-30T19:48:09 #kisslinux <onodera_> it is a line that can be found in the kiss script 2020-08-30T19:55:31 #kisslinux <onodera_> alright "${PWD##*/} strips the leading directories 2020-08-30T19:55:59 #kisslinux <onodera_> i think I got it 2020-08-30T20:10:28 #kisslinux <jedavies> konimex: you ever seen this error building Firefox with clang? "the `libclang` shared library at /usr/lib/libclang.so.11 could not be opened: Dynamic loading not supported" 2020-08-30T20:11:42 #kisslinux <j`ey> they have 2020-08-30T20:11:51 #kisslinux <j`ey> it's about musl and static libs 2020-08-30T20:24:30 #kisslinux <jedavies> Thanks - found the discussion, trying the rust patch. 2020-08-30T20:57:23 #kisslinux <issaias> ok, i'm starting to think its either a new issue with xorg or an issue with libudev-zero 2020-08-30T20:57:58 #kisslinux <issaias> has anybody got 1.20.9-2 working with libudev-zero and amdgpu out of interest? 2020-08-30T21:16:33 #kisslinux <mussolini> dmesg and logs are your friend here issaias 2020-08-30T21:17:06 #kisslinux <issaias> mussolini: nothing is showing in dmesg that is of use, and the x logs aren't really at all helpful 2020-08-30T21:17:12 #kisslinux <issaias> there's no stacktrace whatsoever 2020-08-30T21:17:21 #kisslinux <issaias> i'm gonna try rebuilding the system from scratch, that works sometimes 2020-08-30T21:17:24 #kisslinux <mussolini> i don't believe you 2020-08-30T21:17:30 #kisslinux <mussolini> i'd bet there is something of use in them 2020-08-30T21:17:58 #kisslinux <illiliti> issaias: try to debug it via gdb 2020-08-30T21:18:08 #kisslinux <mussolini> It's finding the 'Ah that's what it is' in those logs/dmesg what you gotta do 2020-08-30T21:18:45 #kisslinux <issaias> illiliti: i have tried debugging it with gdb, instead of segfaulting it hung my entire system although i'm not that experienced with gdb 2020-08-30T21:19:58 #kisslinux <issaias> https://termbin.com/srjj7 2020-08-30T21:20:06 #kisslinux <issaias> the xorg log is pretty unhelpful, i'll try again with gdb now 2020-08-30T21:20:26 #kisslinux <mussolini> even if there is nothing in dmesg at all about amdgpu, that'd just show that your kernel can't see the hardware, indicating 1. your kernel isn't configured right / OR. 1.1 that and also that your firmware isn't baked into it properly, or. 2. that you're not modprobing your module correctly and or + see 1. again, might be the case. 2020-08-30T21:20:41 #kisslinux <mussolini> so dmesg is always going to be helpful 2020-08-30T21:20:48 #kisslinux <mussolini> even when it says nothing. 2020-08-30T21:20:52 #kisslinux <issaias> good point 2020-08-30T21:21:09 #kisslinux <issaias> i'm 100% the firmware is baked in, i've added it to EXTRA_FIRMWARE and it compiles fine 2020-08-30T21:21:20 #kisslinux <issaias> i'm using a static kernel i.e. no modules so the gpu driver is also baked in 2020-08-30T21:21:21 #kisslinux <mussolini> yeah, i tried that 2020-08-30T21:21:38 #kisslinux <mussolini> it works with my intel, but not my amdgpu, i can't bake in my polaris 2020-08-30T21:21:41 #kisslinux <mussolini> it's weird. 2020-08-30T21:21:43 #kisslinux <issaias> strange 2020-08-30T21:21:50 #kisslinux <issaias> i used to be able to bake in polaris a few weeks ago 2020-08-30T21:21:53 #kisslinux <mussolini> I always resorted to loading the firmware as a module 2020-08-30T21:21:56 #kisslinux <issaias> now i've come back to kiss and it doesn't work 2020-08-30T21:22:05 #kisslinux <issaias> i find modules a bit messy tbh, i always prefer to use a static kernel 2020-08-30T21:22:07 #kisslinux <issaias> less moving parts 2020-08-30T21:22:19 #kisslinux <issaias> but if it works, then i can't really criticise it 2020-08-30T21:22:31 #kisslinux <mussolini> even gentoo says it's difficult to bake-in amdgpu 2020-08-30T21:22:34 #kisslinux <mussolini> "For ease of installation, it is recommended to choose "AMD GPU" as a module (M) and skip the firmware selection below. This will load the driver a little later once udev becomes active. The firmware will never need to be manually managed in this case." 2020-08-30T21:22:38 #kisslinux <mussolini> https://wiki.gentoo.org/wiki/AMDGPU 2020-08-30T21:23:26 #kisslinux <issaias> i've never had issues in the past though, it worked fine with amdgpu baked in and firmware baked in 2020-08-30T21:23:42 #kisslinux <issaias> this is why i'm inclined to think it could be an issue with newer xorg version 2020-08-30T21:24:10 #kisslinux <mussolini> what does dmesg say about amdgpu? 2020-08-30T21:24:22 #kisslinux <illiliti> issaias: debugging xorg is a little bit tricky, you need another machine to ssh into and attach gdb 2020-08-30T21:24:52 #kisslinux <mussolini> issaias: dmesg | grep amdgpu | nc termbin.com 9999 2020-08-30T21:25:19 #kisslinux <issaias> https://termbin.com/a6xj 2020-08-30T21:25:23 #kisslinux <issaias> looks like its working fine 2020-08-30T21:25:23 #kisslinux <mussolini> and post your xorg.0.log 2020-08-30T21:25:31 #kisslinux <issaias> https://termbin.com/srjj7 2020-08-30T21:25:34 #kisslinux <issaias> that's the xorg log 2020-08-30T21:27:23 #kisslinux <mussolini> what happens if you try it as root 2020-08-30T21:27:37 #kisslinux <issaias> same thing 2020-08-30T21:27:40 #kisslinux <mussolini> i think that your kernel configuration / bake in looks good 2020-08-30T21:28:01 #kisslinux <mussolini> i mean i didnt seen your kconfig... i mean, it looks like its loading good, based on dmesg. that's good. 2020-08-30T21:28:10 #kisslinux <issaias> CONFIG_DRM_AMDGPU=yCONFIG_EXTRA_FIRMWARE="rtl_nic/rtl8168h-2.fw rtw88/rtw8821c_fw.bin amdgpu/polaris10_ce.bin amdgpu/polaris10_ce_2.bin amdgpu/polaris10_k2_smc.bin amdgpu/polaris10_k_mc.bin amdgpu/polaris10_k_smc.bin amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin amdgpu/polaris10_me_2.bin amdgpu/polaris10_mec.bin amdgpu/polaris10_mec2.bin 2020-08-30T21:28:11 #kisslinux <issaias> amdgpu/polaris10_mec2_2.bin amdgpu/polaris10_mec_2.bin amdgpu/polaris10_pfp.bin amdgpu/polaris10_pfp_2.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma.bin amdgpu/polaris10_sdma1.bin amdgpu/polaris10_smc.bin amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin" 2020-08-30T21:28:14 #kisslinux <issaias> this is all i think is needed 2020-08-30T21:28:32 #kisslinux <issaias> ignore the rtl stuff that's for ifi 2020-08-30T21:28:33 #kisslinux <issaias> ignore the rtl stuff that's for wifi 2020-08-30T21:29:27 #kisslinux <mussolini> are you doing anything in xorg.conf.d/ or xorg.conf 2020-08-30T21:29:37 #kisslinux <issaias> just the default 2020-08-30T21:29:38 #kisslinux <illiliti> issaias: this can be bug in libudev-zero. try to reproduce this crash with eudev 2020-08-30T21:30:19 #kisslinux <issaias> illiliti: oh, ok, libudev-zero is very cool btw. i tested libinput debug-events and that was working so i assumed libudev-zero was working fine but i'll try eudev 2020-08-30T21:34:18 #kisslinux <himmalerin> mcpcpc[m] kirc seems to have issues with long messages, http://0x0.st/iEW0.png and http://0x0.st/iEWI.png as examples 2020-08-30T21:36:17 #kisslinux <issaias> yeah ok its a libudev-zero issue 2020-08-30T21:36:47 #kisslinux <issaias> illiliti: it worked as soon as i switched to eudev 2020-08-30T21:37:24 #kisslinux <illiliti> i can't reproduce this crash at all(intel gpu) 2020-08-30T21:38:14 #kisslinux <issaias> are there any obvious things which could be causing it, like missing kernel parameters etc.? 2020-08-30T21:38:25 #kisslinux <issaias> if you want i can try and debug this another time so you can get it fixed 2020-08-30T21:39:09 #kisslinux <illiliti> i don't think so 2020-08-30T21:39:10 #kisslinux <illiliti> yep, you need to send me backtrace 2020-08-30T21:39:45 #kisslinux <issaias> ok, so to debug xorg i login over ssh and use something like screen? 2020-08-30T21:41:18 #kisslinux <issaias> i didnt setup the uevent helper or hotplug at all, that's optional right? 2020-08-30T21:41:28 #kisslinux <illiliti> yes 2020-08-30T21:42:35 #kisslinux <issaias> ok, i'll try and debug this tomorrow and i'll open an issue on github once i have a backtrac 2020-08-30T21:43:01 #kisslinux <mcpcpc[m]> himmalerin: grrr will take a look. 2020-08-30T21:43:12 #kisslinux <illiliti> you can do it right now if you like 2020-08-30T21:46:13 #kisslinux <issaias> ok then, let me install ssh and get that setup 2020-08-30T21:47:40 #kisslinux <issaias> just rebuilding xorg-server, libinput etc. with libudev-zero 2020-08-30T21:48:32 #kisslinux <illiliti> don't forget to build these packages with debug symbols 2020-08-30T21:48:45 #kisslinux <issaias> oh yeah ok, i'll need to fork them 2020-08-30T21:49:50 #kisslinux <illiliti> no need. just use KISS_STRIP=0 and CFLAGS="-O0 -g" 2020-08-30T21:49:53 #kisslinux <issaias> oh okay, sick 2020-08-30T21:49:58 #kisslinux <issaias> doing that now then 2020-08-30T21:55:06 #kisslinux <issaias> ok i'm in 2020-08-30T21:55:22 #kisslinux <issaias> gdb /usr/bin/X? 2020-08-30T21:57:49 #kisslinux <issaias> i tried running it, it can't switch the vt 2020-08-30T21:57:52 #kisslinux <issaias> "Switching VT failed" 2020-08-30T21:58:06 #kisslinux <illiliti> run this in ssh: while ! pgrep X; do :; done && gdb -p $(pgrep X) -ex continue 2020-08-30T21:58:07 #kisslinux <issaias> this is because its in an ssh session but how do i make it use tty1 2020-08-30T21:58:09 #kisslinux <illiliti> and start Xorg on real machine 2020-08-30T21:58:12 #kisslinux <issaias> ooh ok 2020-08-30T21:58:45 #kisslinux <issaias> ok its put me in 2020-08-30T21:58:52 #kisslinux <issaias> "Attaching to process 6219ptrace: No such process.The program is not being run." 2020-08-30T22:01:29 #kisslinux <issaias> its crashing so quickly ptrace can't attatch to it 2020-08-30T22:01:36 #kisslinux <issaias> no ptrace, i mean gdb 2020-08-30T22:05:41 #kisslinux <illiliti> you ran this while loop first and then Xorg, right? 2020-08-30T22:06:30 #kisslinux <issaias> yeah 2020-08-30T22:06:45 #kisslinux <issaias> i think xorg is dying so quickly that it dies before gdb can attatch to the process maybe 2020-08-30T22:06:48 #kisslinux <mcpcpc[m]> <himmalerin "mcpcpc kirc seems to have issues"> since the message appears accurate, i think this actually has to do with the nick parsing. i’ve seen it periodically. will create in issue in GH to track closure. 2020-08-30T22:10:51 #kisslinux <illiliti> looks like this commit regressed something in libudev-zero https://github.com/freedesktop/xorg-xserver/commit/9fbd3e43dd9e13700df96b508c3d97f77e2b9f7e 2020-08-30T22:11:51 #kisslinux <illiliti> not sure 2020-08-30T22:13:17 #kisslinux <issaias> illiliti: if only i could get a backtrace, i don't know why xorg isn't showing the backtrace in its own logs even 2020-08-30T22:13:25 #kisslinux <issaias> gdb doesn't want to work because its crashing too quickly 2020-08-30T22:13:26 #kisslinux <issaias> shame 2020-08-30T22:14:48 #kisslinux <illiliti> try to revert that commit and see if it works 2020-08-30T22:15:02 #kisslinux <issaias> ok, lets try 2020-08-30T22:15:10 #kisslinux <issaias> i think that commit may be needed on my system but i will try 2020-08-30T22:16:50 #kisslinux <issaias> i'll just add git revert 9fbd3e43dd9e13700df96b508c3d97f77e2b9f7e to the build script 2020-08-30T22:21:21 #kisslinux <issaias> ok its building 2020-08-30T22:23:26 #kisslinux <issaias> ok still got the same error 2020-08-30T22:23:31 #kisslinux <issaias> https://github.com/freedesktop/xorg-xserver/commit/9fbd3e43dd9e13700df96b508c3d97f77e2b9f7e.patch 2020-08-30T22:23:39 #kisslinux <issaias> i did patch -p1 -R with that patchfile 2020-08-30T22:23:43 #kisslinux <issaias> to remove the changes 2020-08-30T22:23:47 #kisslinux <issaias> and i'm stilling getting the same crash 2020-08-30T22:38:09 #kisslinux <issaias> illiliti: i managed to obtain a stacktrace with strace 2020-08-30T22:38:10 #kisslinux <issaias> https://termbin.com/qss0 2020-08-30T22:38:14 #kisslinux <issaias> i hope this can be of use to you 2020-08-30T22:40:40 #kisslinux <issaias> its not as useful as gdb would be 2020-08-30T22:40:43 #kisslinux <issaias> but its shows some information 2020-08-30T22:41:57 #kisslinux <issaias> open("/dev/vga_arbiter", O_RDWR|O_CLOEXEC) = -1 EACCES (Permission denied) 2020-08-30T22:41:59 #kisslinux <issaias> i think this is the issue 2020-08-30T22:42:53 #kisslinux <illiliti> no, it's harmless 2020-08-30T22:43:27 #kisslinux <issaias> oh ok then 2020-08-30T22:47:55 #kisslinux <illiliti> https://www.x.org/wiki/Development/Documentation/ServerDebugging/ 2020-08-30T22:47:56 #kisslinux <illiliti> > Debugging with one machine 2020-08-30T22:48:01 #kisslinux <illiliti> try this 2020-08-30T22:54:25 #kisslinux <issaias> its really late now, i'll try it tomorrow i can't really concentrate right no 2020-08-30T22:54:38 #kisslinux <illiliti> ok 2020-08-30T22:54:43 #kisslinux <issaias> i'll be on the irc tomorrow around 4pm gmt maybe, i'll open a github issue if i get a stactrace