ChanServ changed the topic of #kisslinux to: Unnofficial KISS Linux community channel | https://kisscommunity.org | post logs or else | "Seek simplicity but distrust it" -- Alfred North Whitehead
an3223 has joined #kisslinux
humky has joined #kisslinux
gtms has joined #kisslinux
xzto has joined #kisslinux
soliwilos has quit [Remote host closed the connection]
buffet has quit [*.net *.split]
jedavies has quit [*.net *.split]
carbsbot has quit [*.net *.split]
dontmindmee has quit [*.net *.split]
mla has quit [*.net *.split]
jedavies has joined #kisslinux
dontmindmee has joined #kisslinux
carbsbot has joined #kisslinux
psydroid has quit [*.net *.split]
Erus_Iluvatar has quit [*.net *.split]
V has quit [*.net *.split]
monke has quit [*.net *.split]
nerditup has quit [*.net *.split]
Erus_Iluvatar has joined #kisslinux
nerditup has joined #kisslinux
V has joined #kisslinux
monke has joined #kisslinux
psydroid has joined #kisslinux
foomar has joined #kisslinux
<foomar> Hello, I just installed firefox from the bin repo (https://github.com/kiss-community/bin), but when I run it the program exits printing "Illegal instruction". I'm on a Thinkpad T400 (Inter Core 2 Duo P8400)
<foomar> Unfortunately 4GB of RAM isn't enough to compile Firefox in a reasonable amount of time
<icy> is that a 64bit cpu foomar?
<testuser[m]1> oh i guess your cpu is older than x86-64-v2
<foomar> icy: It's 64 bit
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> Hello everyone!~
<sn0w3d0wl> I wanted to ask why was the EFIstub page removed from the Wiki
<sn0w3d0wl> I'm asking because this long command "efibootmgr --disk /dev/sdX --part Y --create --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=PARTUUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX rw initrd=\initramfs-linux.img' --verbose"
soliwilos has joined #kisslinux
<sn0w3d0wl> Here I don't know what to do with the rw and initrd
<sn0w3d0wl> /dev/sda2: UUID="07625ae3-108c-4350-bdca-a3c9f2b87c00" TYPE="ext4"
<sn0w3d0wl> ^ This is the UUID
<sn0w3d0wl> /dev/sda2: UUID="b5935fdf-29f9-4c90-bc10-fe3fff138ceb" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="b91f0c4a-8221-2640-8c31-263be93f7d7a"
<sn0w3d0wl> ^ This is the PARTUUID
<sn0w3d0wl> Also does zig works on Wyverkiss? or at least KISS Linux?
<sn0w3d0wl> Because I want to compile and run "river" compositor
<foomar> testuser[m]1: Probably, the CPU is from 2008 and it looks like x86-64-v2 refers to instructions introduced after 2009
<testuser[m]1> you're outof luck then
<sn0w3d0wl> LLVM 13.0 is not compatible with zig
<sn0w3d0wl> What can I do?
<foomar> testuser[m]1: is there any reason why the binary is compiled with '-march=x86-64-v2' rather than '-march=x86-64'?
sn0w3d0wl has quit [Remote host closed the connection]
<testuser[m]1> foomar: It allows use of hardware instructions to make code faster on pretty much all cpus. v2 only excludes super ancient CPUs
sn0w3d0wl has joined #kisslinux
<testuser[m]1> sn0w3d0wl: build llvm 12?
<testuser[m]1> you're not locked into any llvm version
<sn0w3d0wl> testuser: won't there be any package conflicts
<sn0w3d0wl> ?
<testuser[m]1> only mesa and clang need llvm so you'll just have to rebuild them
<sn0w3d0wl> testuser: I'll handle mesa but what about clang? I've heard and compiled it myself and boi it takes a long time
<sn0w3d0wl> testuser: Also, is there a firefox binary package for Wyverkiss?
<testuser[m]1> no
<testuser[m]1> it needs libgcc i dont think libgcc and llvm's thingy are abi compatible
<sn0w3d0wl> which means I'll have to search for lighter alternative? (for example qutebrowser if that compiles)
<foomar> testuser[m]1: Yea I understand the fact that it makes it faster, but since the README states that the packages are built with generic C{XX}FLAGS I was wondering if there is a reason why one would exclude 'super ancient CPUs'
<sn0w3d0wl> testuser: also is there any guest addition package? I want the VM to support native resolution so that's why I'm asking
<testuser[m]1> qutebrowser is a million times heavier than firefox
<sn0w3d0wl> testuser: Which means that I'll have to choose firefox for shorter build times?
<testuser[m]1> foomar: oh the bins are usually uploaded by dilyn but i was experimenting with standard musl kiss myself and had to build bins, so I uploaded them with the flags that i use
<testuser[m]1> yeah
<testuser[m]1> i didnt build them for the purpose of bin repo, just thought i could upload them
<testuser[m]1> sn0w3d0wl: qutebrowser itself is just python but it needs qt and qt-webengine which is basically chromium and that stuff is very fat
<testuser[m]1> like it takes 5 hrs to build compared to 20min for firefox
<sn0w3d0wl> testuser: Well the elephant in the room when it comes to firefox is rust
<testuser[m]1> even with rust
<testuser[m]1> rust takes maybe 40 mins
<sn0w3d0wl> even with rust?
<foomar> testuser[m]1: Understood
<sn0w3d0wl> What are your specifications? I'm having a quad-core here
<testuser[m]1> 6 core 12 threads
<sn0w3d0wl> testuser: I see, -_-
<foomar> Then the question is whether someone wants to help me and upload a firefox bin built with '-march=x86-64' :)
<sn0w3d0wl> testuser: I"m stuck on the efibootmgr step
<sn0w3d0wl> There's no GRUB in my system so I have to use EFIStub
<testuser[m]1> do u have an initramfs?
<sn0w3d0wl> no
<sn0w3d0wl> I boot instead into the EFI shell
<testuser[m]1> did u build a kernel
<sn0w3d0wl> yes i did
<sn0w3d0wl> I'll throw you my efi related config here,
<sn0w3d0wl> hold on a sec
<testuser[m]1> i meant to ask if u build an initramfs with that
<sn0w3d0wl> no i didn't
<testuser[m]1> ok
<testuser[m]1> u just need `efibootmgr -c -L 'KISS' -l '\EFI\KISS.efi' -u 'root=/dev/sda2'
<testuser[m]1> sda2 is root partition
<testuser[m]1> \EFI\KISS.efi is where u put the kernel image on sda1
<sn0w3d0wl> You need a .efi file?
<sn0w3d0wl> I have vmlinuz not any .efi file
<testuser[m]1> mv vmlinuz /boot/EFI/KISS.efi
<testuser[m]1> same thing
<sn0w3d0wl> so I have to make the EFI directory too?
<testuser[m]1> be sure to mount sda1 or whatever the boot partition is
<sn0w3d0wl> can't it be like '\vmlinuz'?
<testuser[m]1> no u can just go with /boot/KISS.efi
<testuser[m]1> it can
<sn0w3d0wl> so `efibootmgr -c -L "KISS" -l '\vmlinuz' -u 'root=/dev/sda2'`?
<sn0w3d0wl> testuser: I want to remove my previous boot entry but I don't know how
<sn0w3d0wl> https://termbin.com/gvgw <- Here's the output of `efibootmgr --verbose`
<testuser[m]1> efibootmgr -b 0000 -B
<testuser[m]1> same with 0001 0002
<sn0w3d0wl> I see, thank you.
<sn0w3d0wl> I'll wait until the kernel builds again (some modification to compression i've done) and will do these steps
<sn0w3d0wl> testuser: How do I install a specific version of a package?
<testuser[m]1> u dont
<testuser[m]1> i mean
<testuser[m]1> there's no built-in way but you can just `kiss fork` the package and change it's source url and version
<testuser[m]1> and then install that
<sn0w3d0wl> I see
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
<foomar> testuser[m]1: Update on firefox: I found an old bin release that works https://github.com/kiss-community/bin/releases/download/firefox-90.0.2/firefox@90.0.2-1.tar.xz
<sn0w3d0wl> testuser[m]1: https://termbin.com/v6zn <- This is what I get when I try to compile llvm version 12
<testuser[m]1> sn0w3d0wl: kiss c
<testuser[m]1> to generate checksums
<sn0w3d0wl> testuser[m]1: Noice. That worked. Thanks!
sn0w3d0wl has quit [Remote host closed the connection]
hendo has joined #kisslinux
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> https://termbin.com/2y73 <- Error 2 when building :|
<testuser[m]1> clang-13: error: unable to make temporary file: Permission denied
<testuser[m]1> what user are u building as
<testuser[m]1> and where
<sn0w3d0wl> oops I forgor 💀
foomar has left #kisslinux [bye bye]
<phoebos> GalaxyNova: what's your shithub name
<sn0w3d0wl> Is everyone using sway btw?
<testuser[m]1> phoebos: andriesva
<testuser[m]1> no
<soliwilos> I'm using hikari, but I think sway is the most used wayland compositor.
<testuser[m]1> misplaced the e
<sn0w3d0wl> soliwilos: I'm currently building llvm 12 for river, have you used it?
rap_hael has quit [Quit: WeeChat 3.1]
raph_ael has joined #kisslinux
<soliwilos> sn0w3d0wl: No, I have not. Curious to hear how your experience with it turns out.
hendo has quit [Remote host closed the connection]
<sn0w3d0wl> soliwilos: Curious to know when will it turn out (LLVM compile moment)
<soliwilos> Heh, having better hardware would be nice.
<sn0w3d0wl> soliwilos: 4 cores @ 3.2Ghz, 8GB ram on a SSD, isn't that enough?
<sn0w3d0wl> soliwilos: What specs do you have btw?
<soliwilos> If I were less lazy, I might try shoving compiles onto a desktop instead of this laptop. 4 cores 2.7 GHz and 16GB ram.
sn0w3d0wl has quit [Remote host closed the connection]
<soliwilos> Most stuff compiles fast enough, though.
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> Those are noice specs
<sn0w3d0wl> How long does it take for you to compile LLVM?
sn0w3d0wl has quit [Remote host closed the connection]
<soliwilos> I don't recall.
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
<soliwilos> Have a feeling it's less than rust, but maybe I'm just annoyed having to compile rust simply for firefox.
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> testuser[m]1: Is libevdev in the community or main repository? Or it is just eudev?
<soliwilos> sn0w3d0wl: You can use libudev-zero instead of eudev.
<sn0w3d0wl> soliwilos: But are libevdev and eudev the same thing?
sn0w3d0wl has quit [Remote host closed the connection]
<soliwilos> As far as I know they are separate.
sn0w3d0wl has joined #kisslinux
<soliwilos> I also think eudev isn't maintained anymore.
<sn0w3d0wl> I see
<sn0w3d0wl> soliwilos: I have the environment variable refresher script in my /etc/profile.d/ and the repositories in /var/db/kiss/repo but I can't build any of those packages when I'm root
<sn0w3d0wl> When I do "su" and then build the package, it works
<sn0w3d0wl> but when I do doas, it doesn't
<sn0w3d0wl> in my /etc/doas.conf, there is this one line: permit snow as root
<soliwilos> You run doas kiss yourself or have you set KISS_SU ?
<sn0w3d0wl> `export KISS_PATH=doas` is what I have in the script that runs for every user
<sn0w3d0wl> P.S. I run doas kiss myself
<sn0w3d0wl> It doesn't prompt me instead it gives a PermissionNotDenied Error
<konimex> it seems a combined effort between Alpine, Devuan, Gentoo have taken up the reins for eudev after Gentoo dropped it
<soliwilos> "export KISS_SU=doas" and then kiss itself handles doas, so just run "kiss u/b whatever".
<sn0w3d0wl> soliwilos: I've tried doing that manually but still PermissionDenied
<soliwilos> konimex: Ah, good to know.
<sn0w3d0wl> konimex: P.S. do you have any idea about compiling zig on LLVM 13? and whether or not river runs on Wyverkiss?
<konimex> what's river?
<konimex> also I'll take a look for zig
<sn0w3d0wl> A dyamic tiling Wayland compositor -> https://github.com/ifreund/river
<soliwilos> sn0w3d0wl: Try adding "permit persist snow cmd env" and "permit persist snow cmd kiss" to your doas.conf
<sn0w3d0wl> soliwilos: Still doesn't prompt for password :|
<soliwilos> Hmm, it should.
<soliwilos> Check whether KISS_SU is actually set to doas?
<sn0w3d0wl> it is
<sn0w3d0wl> I'll throw the script here if you want
<soliwilos> Doas doas work for other things besdies kiss?
<konimex> sn0w3d0wl: you might need to wait until the next zig release
<soliwilos> s/besdies/besides/
<sn0w3d0wl> soliwilos: https://termbin.com/kfp0 <- Here's the script
<sn0w3d0wl> soliwilos: it is in /etc/profile.d/
<sn0w3d0wl> konimex: Well the problem is that not only I 'll have to wait for zig's release but also river's release because the compatible version (0.8.0) doesn't support LLVM 13, and I'll have to wait for zig to support LLVM 13 and then the supported version to be supported by river
<sn0w3d0wl> I'll create a Github issue instead of doing all of this
<konimex> ...or you may want to patch zig 0.8.1 with this commit https://github.com/ziglang/zig/commit/f3ebfcae3882c03da84821abed40167ea07a8c78, but there will be lots of editing and I don't think it will work just as is
<sn0w3d0wl> konimex: The problem is the version being above 0.8.0 but I'll still try it out regardless
<konimex> river only works with 0.8.0 and not 0.8.1?
<sn0w3d0wl> konimex: Yes and also the build process seems to be intimidating to me since it requires libraries to be built using Zig and also the dependency includes a previous version which in my case I dont' have
<sn0w3d0wl> actually I doubt the second point I mentioned
<travankor> why can't you just use llvm12?
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> I don't know why but for some reason my messages don't appear to me
<sn0w3d0wl> soliwilos: May you help me with this permission denied problem?
<soliwilos> sn0w3d0wl: doas you mean? Does it not work at all, or only problems with kiss?
<sn0w3d0wl> soliwilos: Doas works and does root privileges completely fine but when doing doas with kiss, it only detects installed packages
<sn0w3d0wl> And when I do doas echo $KISS_PATH and echo $KISS_PATH they both return the same results
<sn0w3d0wl> soliwilos: kiss prompts for password when I do kiss u but when I do kiss b/i <whatever> it doesn't prompt me
<soliwilos> sn0w3d0wl: How about logging in as root and using kiss? or using "su -" to swap to the root user.
<sn0w3d0wl> soliwilos: I tried it and it works, but I guess the script is not getting executed because it complains about "C compiler cannot create executables"
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
<soliwilos> sn0w3d0wl: The cmd env/kiss lines I suggested, did you put them after or before your existing line in doas.conf?
<sn0w3d0wl> soliwilos: ayy I guess I found something worth both of our interests: https://termbin.com/1vee <- Permission denied in the /tmp/ directory
<sn0w3d0wl> Take a look at the above link please
<soliwilos> What's your /tmp permissions? Mine are "drwxrwxrwt"
<sn0w3d0wl> drwxr-sr-x
<sn0w3d0wl> the tmp directory is owned by root 🤔
<sn0w3d0wl> Yep it was a permission error in the tmp directory
<testuser[m]1> chmod 1777
<testuser[m]1> it
<sn0w3d0wl> how about `doas chown snow /tmp`?
<testuser[m]1> no
<testuser[m]1> bad
<testuser[m]1> it needs to have the sticky bit meaning writable by all
<soliwilos> It's standard to have it writable by all.
<sn0w3d0wl> so `chmod 1777 /tmp/`?
<testuser[m]1> yeah
<sn0w3d0wl> done then
<testuser[m]1> good
<sn0w3d0wl> I was building sway-tiny and out of the wild it complains about unknown options (meson)
<sn0w3d0wl> here's the log -> https://termbin.com/abnr
<sn0w3d0wl> testuser[m]1: I'm trying to build sway-tiny but this error comes up " meson.build:1:0: ERROR: Unknown options: "examples, x11-backend, xcb-errors, xcb-icccm""
sn0w3d0wl has quit [Remote host closed the connection]
<jedavies> Had the same after the meson upgrade - you need to remove those options
<dilyn> ^ & report that issue to dylan
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> so should I downgrade for now?
<dilyn> either or, it's up to you
sn0w3d0wl has quit [Remote host closed the connection]
mahmutov has joined #kisslinux
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> So I installed sway-tiny
<sn0w3d0wl> But I can't see my mouse cursor (its not visible)
<sn0w3d0wl> soliwilos: may you help please :|
gtms has quit [Remote host closed the connection]
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
sn0w3d0wl has quit [Remote host closed the connection]
sn0w3d0wl has joined #kisslinux
<sn0w3d0wl> Is it a problem with my mouse configuration?
illiliti has joined #kisslinux
<dilyn> it's not visible or you can't move your mouse?
<sn0w3d0wl> both
<sn0w3d0wl> or maybe one of them
<sn0w3d0wl> but I don't know because its not visible
<sn0w3d0wl> Actually both because moving mouse changes focus which it is not doing rn
<sn0w3d0wl> i'm on virtualbox btw
<sn0w3d0wl> dilyn: Is there a wayland alternative to xrandr?
<dilyn> kanshi, wl-display
<dilyn> i have no idea why a mouse wouldn't appear on the screen though :X all my sway issues were related to my trackpad not being found :(
<sn0w3d0wl> dilyn: Perhaps a command to know whether or not my virtual mouse is recognized or not? Like a input device listing command?
<testuser[m]1> lsusb
<testuser[m]1> Dmesg
<dilyn> you can use swaymsg
<sn0w3d0wl> huh
<sn0w3d0wl> interesting
<sn0w3d0wl> VirtualBox USB Tablet?
<sn0w3d0wl> I guess I missed something in the kernel config
<sn0w3d0wl> hold on a min
<sn0w3d0wl> dilyn: None of what you've mentioned is in the kiss community or the main repo
<sn0w3d0wl> should I built it from source
<dilyn> correct
<sn0w3d0wl> https://sr.ht/~emersion/kanshi/ <- Is this kanshi?
<dilyn> you can download my repo and check the git log for the commits where i added them
<dilyn> yes
<dilyn> you might also be interested in wev
<sn0w3d0wl> Yeah someone in the river IRC also suggested that wev program
<sn0w3d0wl> But first I'll attempt enabling USB tablet related options
<sn0w3d0wl> and then will look forward to those tools
<sn0w3d0wl> jedavies: I'll choose the simplest, kanshi seems to be requiring information that I dont have
<sn0w3d0wl> (yet)
<sn0w3d0wl> jedavies: how to use wlr-randr?
<jedavies> similar command line interface to xrandr
<sn0w3d0wl> jedavies: I tried building but kiss-meson-config not found
<jedavies> You can remove that, and the reference to --cross-file, since this is only needed for cross building
<sn0w3d0wl> jedavies: That worked! But there's one thing remaining. Virtualbox Guest Resizing client. How can I get that in KISS Linux>
<sn0w3d0wl> ?
<sn0w3d0wl> dilyn: Now my mouse is working after changing it to PS/2, but the cursor is not visible
<dilyn> interesting
<dilyn> I'm not certain on how Sway chooses cursors - have you fiddled with anything related to that?
<sn0w3d0wl> found this variable that I should set: WLR_NO_HARDWARE_CURSORS=1
<sn0w3d0wl> dilyn: In this issue https://github.com/swaywm/sway/issues/3814
<dilyn> wow that's hilarious
<dilyn> this is why we don't use virtual machines, folx
<dilyn> or sway
<dilyn> :V :V :V
<sn0w3d0wl> dilyn: Huh? What do you use then. I was planning on using river instead but I have to wait until river supports LLVM 13
<dilyn> wayfire
<dilyn> hikari is also pretty good
<sn0w3d0wl> river is good too
<sn0w3d0wl> but i can't use because the technology of my time is not advanced enough (charles babbage moment)
<sn0w3d0wl> dilyn: So the cursor appears but it is flickering
<dilyn> could be many things
<dilyn> screen size, refresh rate, some other weird hidden thing...
<sn0w3d0wl> dilyn: I've done some research and found out that PS/2 mouse is very glitchy when compared to tablet
<sn0w3d0wl> dilyn: I'll take a look so hold on a sec
<sn0w3d0wl> dilyn: Also I guess maybe because the Guest Additions are not installed, this may be because of that
<sn0w3d0wl> dilyn: well.. I guess VMs suck. The mouse keeps on flickering. Guest additions causes kernel panic and I also doubt any near native 3D acceleration
sn0w3d0wl has quit [Remote host closed the connection]
buffet has joined #kisslinux
xzto has quit [Quit: WeeChat 3.2.1]
acheam has joined #kisslinux
<acheam> o/
<acheam> anyone running 5.15?
<jedavies> Yup
<acheam> hows it? did you have any reason to upgrade besides just being up to date?
<jedavies> No issues so far, was updating other packages anyway so tried it out. Not tried the new smb server module yet though... interested to see how that one turns out.