2024-09-02
00:01Dan___ has joined #asahi-alt
00:09Dan___ has quit [Ping timeout: 480 seconds]
01:00KxCORP5894000 has quit [Quit: Bye!]
01:00KxCORP5894000 has joined #asahi-alt
01:03Dan___ has joined #asahi-alt
01:07ellyq has joined #asahi-alt
01:11Dan___ has quit [Ping timeout: 480 seconds]
01:23Dan___ has joined #asahi-alt
01:31Dan___ has quit [Ping timeout: 480 seconds]
01:41Dan___ has joined #asahi-alt
01:47ellyq has quit [Ping timeout: 480 seconds]
01:49Dan___ has quit [Ping timeout: 480 seconds]
02:20zerdox has quit [Ping timeout: 480 seconds]
02:24tobhe_ has joined #asahi-alt
02:31tobhe has quit [Ping timeout: 480 seconds]
02:32Dan___ has joined #asahi-alt
02:40Dan___ has quit [Ping timeout: 480 seconds]
03:06Dan___ has joined #asahi-alt
03:13Halian has joined #asahi-alt
03:14chadmed__ has quit [Remote host closed the connection]
03:14Dan___ has quit [Ping timeout: 480 seconds]
03:16chadmed__ has joined #asahi-alt
03:42Dan___ has joined #asahi-alt
03:50Dan___ has quit [Ping timeout: 480 seconds]
04:01Dan___ has joined #asahi-alt
04:09Dan___ has quit [Ping timeout: 480 seconds]
04:21zerdox has joined #asahi-alt
04:36Dan___ has joined #asahi-alt
04:44Dan___ has quit [Ping timeout: 480 seconds]
04:54Dan___ has joined #asahi-alt
05:02Dan___ has quit [Ping timeout: 480 seconds]
05:12Dan___ has joined #asahi-alt
05:17aead_ has joined #asahi-alt
05:19aead has quit [Ping timeout: 480 seconds]
05:20Dan___ has quit [Ping timeout: 480 seconds]
05:48Dan___ has joined #asahi-alt
05:54chadmed__ has quit [Quit: Page closed]
05:56Dan___ has quit [Ping timeout: 480 seconds]
06:22Dan___ has joined #asahi-alt
06:30Dan___ has quit [Ping timeout: 480 seconds]
06:41Dan___ has joined #asahi-alt
06:49Dan___ has quit [Ping timeout: 480 seconds]
06:59Dan___ has joined #asahi-alt
07:29hightower2 has quit [Remote host closed the connection]
07:29hightower2 has joined #asahi-alt
07:31Dan___ has quit [Ping timeout: 480 seconds]
07:37JayBeeFOSS has quit [Ping timeout: 480 seconds]
07:38JayBeeFOSS has joined #asahi-alt
07:38pjakobsson_ has quit []
07:41Dan___ has joined #asahi-alt
07:49Dan___ has quit [Ping timeout: 480 seconds]
08:17Dan___ has joined #asahi-alt
08:25chadmed_ has quit [Read error: Connection reset by peer]
08:44Dan___ has quit [Ping timeout: 480 seconds]
08:45zerdox_ has joined #asahi-alt
08:50zerdox has quit [Ping timeout: 480 seconds]
08:53zerdox_ is now known as zerdox
09:14qyliss has quit [Quit: bye]
09:16qyliss has joined #asahi-alt
09:18Dan___ has joined #asahi-alt
09:34zerdox_ has joined #asahi-alt
09:38zerdox has quit [Ping timeout: 480 seconds]
09:38zerdox_ is now known as zerdox
09:38leiochaos_princess: x86_64-multilib-toolchain build fails for me with https://dpaste.com/F7EYRRCSP (config.log https://bpa.st/UE6DS ), as somehow strip-unsupported-flags isn't getting rid of -march=native
09:48chaos_princessleio: fix or delete dnssec on dpaste.com
09:49leiothat's just reporting gcc can't compile in configure.log, the interesting stuff is in bpa.st
09:49chaos_princessyea, yea, i already disabled validation, but still
09:50leioit's my default go-to when doing manually because bpa.st doesn't like longer stuff, albeit that wasn't long
09:50leioyeah, right now the only way to build this is to do a package.env that forces -O2 -pipe or similar
09:51leioif I set some x86 -march there, it'll fail in binutils build (and probably gcc stage1 and more), as that's done with native compiler
09:51chadmedwe can pick up whichever freaky flags folks want for gcc and its binutils friends but the glibsc should just be -O2 -pipe -fomit-frame-pointer etc etc
09:51leio-fomit-frame-pointer is the default on x86, unfortunately; I'm having to override it everywhere :(
09:53chadmed99% of users dont care about it, dont need it, and we want the fex stuff to just be as fast as possible while staying correct (hence no O3)
09:53chadmedbuuuut we also have to be very careful with what optimisations we let gcc do, especially in the fex rootfs
09:54chaos_princessinteresting that it worked here, since i have -march=armv8.4 in cflags
09:56leioI set -march=native -mcpu=native in my gcc flags override, which I need for this due to the glibc build
10:01chaos_princesscan you post your make.comf
10:04leiofeels like too low virglrenderer dep or some such, as I had that installed at a lower version from long ago tries of this stuff
10:04chaos_princessupdate it to the one in overlay
10:06chaos_princesslibkrun does not exist
10:06chaos_princessas on old versions
10:06chaos_princessthe only version that was ever packaged is the correct one
10:09chadmed has quit [Quit: Konversation terminated!]
10:09chadmed has joined #asahi-alt
10:14leioafter libkrun upgrade (had some old version of that too), it was fine with old virglrenderer too, as far as compiling is concerned
10:18chadmedyoull need a FEX rootfs, put the x86 _and_ amd64 mesa from the fedora asahi copr in it, then install steam
10:20chaos_princesswhat's the panic text
10:20chaos_princessso, do you have kvm in your kernel?
10:21chaos_princessactually, i think 13 is eaccess or sth, add yourself to kvm group
10:22leiothat got me further, I guess `krun FEXRootFSFetcher -y -x --distro-name=fedora --distro-version=40` is out of date or smth :)
10:23leiomainly giving: Couldn't download rootfs list from the server. Try again in a minute or report on the fex-emu issue tracker.
10:23chaos_princessah, right, what dns resolver are you using
10:24chaos_princessdo you have resolvconf in PATH
10:24chaos_princessapply this
10:25chadmedim buying one of those massive movie theatre popcorn makers for when we release all of this to the general public
10:26chaos_princesssame-ish
10:26chaos_princessidk, delete resolvconf from /usr/bin or something
10:27chaos_princesswell, i am working on it :P
10:28chadmedi am genuinely 100% of the opinion that the only way this isnt going to suck arse is for linux to learn about folios and mixed-pagesize userspace
10:28zerdox has quit [Remote host closed the connection]
10:28chadmedFEX itself is incredible and Just Works(tm), its all the faffing about with krun and passt and sommelier and...
10:29n3ph has joined #asahi-alt
10:29chaos_princessyou need to add -e resolvconf=does-not-exist to dhcpcd arguments in crates/krun-guest/src/net.rs
10:30chaos_princessif you keep --nodev, you do not need the udev changes
10:31zerdox has joined #asahi-alt
10:31leiooverlay snapshot misses the "Add support for input device passthrough" commit, if that'll matter
10:32chaos_princessthat is correct, it is not packaged yet
10:32chaos_princesssince that needs one more package
10:32leiograbbed it for user patches too to just apply the PR as-is, but I gather I might have a broken krun then with the missing package now
10:33chaos_princessnah, it is fine, it will just skip doing that bit if hidpipe is not installed
10:34leioat the beginning it now says "Using default interface naming scheme 'v253'.", which it didn't before these patches
10:35chaos_princesscat /etc/resolv.conf inside the vm?
10:35leiowhat does "inside the vm" mean btw, I'm just prefixing with krun - does it have a default VM or smth?
10:35chaos_princesscheck if internet is working at all there, curl google.com or something
10:36chaos_princesskrun starts a vm for your commands, yes
10:36chaos_princessifconfig?
10:37chaos_princessand also curl 1.1.1.1
10:38chaos_princessso it is dns
10:38chaos_princessjust to check, 192.168.1.1 is a valid nameserver on your network, yes?
10:39zerdox has quit [Ping timeout: 480 seconds]
10:39chaos_princessyea, its dns
10:39chaos_princessjust to check, what version of passt do you have
10:40chaos_princesswhat is gentoo package version
10:41chaos_princessupdate it
10:41chaos_princessi am still looking at what went wrong with x86-multilib-toolchain, but i'll get to it
10:44chadmeddoesnt really matter anyway like i said in the dms sommelier is so crap that its effectively useless
10:44chadmedsteam looks awful, games run in a 1280x720 window with no decorations and smudged by crap scaling
10:44chaos_princesschadmed: how brave are you? :P
10:45chadmedi played i won the loudness war on all of my macs and compiled the kernel for 12 hours on a loop with the fans forced to off
10:45chaos_princessdo not skip step 8
11:01kaazoo has joined #asahi-alt
11:03iyes has joined #asahi-alt
11:07kaazoo has left #asahi-alt [#asahi-alt]
11:07kaazoo has joined #asahi-alt
11:07kaazoo has quit []
11:09chaos_princessthen dax is not working
11:09chaos_princessgive me your mount output inside the vm
11:13chaos_princessright, sudo does not work in a vm
11:13chaos_princessperiod
11:14chaos_princessno, i know the problem, it is due to cross-vm mmap not working, you need to check if vm mounted the fs properly
11:15chaos_princessmake sure the root mount has dax=always in options
11:17chaos_princesscat /proc/mounts
11:18chaos_princesscan you give me all the commands you are using to launch all that
11:20n3ph has quit [Ping timeout: 480 seconds]
11:21chaos_princessdid glxgears detach from the terminal?
11:22iyes has quit [Quit: Konversation terminated!]
11:22chaos_princessno output from x112virtgpu?
11:24chaos_princesscan you also do a ls -la /tmp/.X11-unix/ inside the vm
11:24chaos_princessand outside too
11:24chaos_princessactually, nvm, shouldnt be the issue
11:25chaos_princessthen do ls /dev/shm, and also try resizing the window of glxgears, just in case
11:27chaos_princesscan you try with LD_PRELOAD then?
11:27chaos_princessglxgears
11:28chaos_princessi am now more confused than ever
11:29chaos_princesswith our without preload?
11:29chaos_princessand how exactly did it explode
11:30chaos_princessyes, resize is part where most bugs are expected, since this results in me having to do some super nasty things with cros-vm mmaps and all of this is just horrible
11:31chaos_princessi was testing it on m1 pro, maybe it could be an issue?
11:31Dementor9 has quit [Ping timeout: 480 seconds]
11:32chadmedkilling a window also doesnt signal its process to die but thats chill who cares this is already 9999999x better than sommelier
11:36chaos_princessNo, that one is specifically glxgears
11:36chaos_princesssame under sommelier
11:44chaos_princesskrun bash, kill dhcpcd, run it with -d, see how it fails
11:45chaos_princesscompile this, set it setuid root
11:46chaos_princessthis is the nonsense i use to get root inside vms
11:50chaos_princessanywhere
11:53chaos_princessu+s, and chown to root
11:53chaos_princessmight also want g+s
11:57chaos_princesssd_bus_open_system
11:57chaos_princessit is still trying to use resolvconf
11:58chaos_princessdid you pass the -e resolvconf=does-not-exist to it?
11:58chaos_princessplease do
12:00chaos_princessthats a dhcpcd argument
12:00chaos_princessnot krun
12:01chaos_princesswhat is in the logs?
12:02chaos_princesswhat do you have in /lib/dhcpcd/dhcpcd-run-hooks
12:03chaos_princessright, sorry, i wanted what is in dhcpcd-hooks
12:05chaos_princesswhat is inside 20-resolv.conf
12:07chaos_princessand what did it put into /etc/resolv.conf
12:07chaos_princessoh, and also, send me your /proc/mounts
12:08leio /etc/resolv.conf is like before, generated by NM, essentially `search lan` and `nameserver <my router IP>`
12:08chaos_princessexcept it shouldnt be
12:10chaos_princesslooks correct, what is it missing
12:11chaos_princessand is resolv.conf a normal file?
12:12chaos_princessok, wait
12:12chaos_princesswdym krun one is from dhcpcd
12:13chaos_princessok, so i was looking at the wrong thing
12:13chaos_princessthen it is right
12:13chaos_princessok, then
12:13chaos_princessits another issue
12:14chaos_princessecho 'nameserver 1.1.1.1 >/etc/resolv.conf' inside the vm and try again
12:14chaos_princessexcept with ' in another place
12:14chaos_princessand before that you had your router there, correct?
12:15chaos_princesssend me ifconfig output please
12:17chaos_princessdo you have any other device on your network that has a http server or something?
12:17chaos_princesstry reaching that from the vm
12:17chaos_princess(device that is not the router)
12:19leioso dhcpcd figures to use my router as nameserver as announced by router or something, yet things can't talk to it
12:20chaos_princessbecause from the vm, your router's ip actually directs to the host
12:20chaos_princessat least thats my current theory
12:21chaos_princessand in my case it works, since i have systemd-resolved and it runs a dns server on localhost
12:22chaos_princessok, yet another thing to fix in krun
12:22chaos_princessat least i know what is the issue now
12:23chaos_princessfedora probably also runs systemd-resolved so people don't hit it
12:25leioyeah, and I included the krun patch from PR 53, why did I still need to manually launch dhcpcd with the -e flag?
12:25chaos_princessbecause you were launching it from console, not from krun
12:26chaos_princessthis was not the issue, i was just not able to figure out what exactly was happening
12:26chaos_princessyes, just put any other resolver there
12:27chaos_princessor install systemd-resolved :P
12:45zerdox has joined #asahi-alt
12:47chaos_princessto come back to toolchain, here it removes -march=native from cflags correctly
12:47chadmedyeah just pull the mesa rpms down from the copr and rpm2tarxz && tar xpvf them inside the rootf
12:47chaos_princesswould you mind telling me the exact way you set up everything relating to that package?
13:01n3ph has joined #asahi-alt
13:10chaos_princessso its mcpu that is the problem, it does not filter that one out
13:22ellyq has joined #asahi-alt
13:38leiowell, the logs just have it warn about mcpu and then ignore by the x86 gcc, but fail on unknown march.
13:42chaos_princessactually, it wasnt mcpu, but something else, and i already fixed it
13:43chaos_princesspr for ebuild fix soontm
14:14zerdox has quit [Ping timeout: 480 seconds]
15:12chadmed has quit [Quit: Konversation terminated!]
15:12chadmed has joined #asahi-alt
15:12chadmed has quit []
15:12chadmed has joined #asahi-alt
15:14n3ph has quit [Ping timeout: 480 seconds]
15:42kevinchrist20 has joined #asahi-alt
15:42kevinchrist20 has quit [Remote host closed the connection]
16:02Dementor9 has joined #asahi-alt
16:25Dementor98 has joined #asahi-alt
16:31Dementor9 has quit [Ping timeout: 480 seconds]
16:31Dementor98 is now known as Dementor9
17:39Dementor9 has quit [Ping timeout: 480 seconds]
17:55john-cabaj has joined #asahi-alt
18:15iyes has joined #asahi-alt
18:32iyes has quit [Quit: Konversation terminated!]
18:32Dan___ has quit [Ping timeout: 480 seconds]
18:40iyes has joined #asahi-alt
18:43aead_ is now known as aead
18:50iyes has quit [Quit: Konversation terminated!]
18:52Dan___ has joined #asahi-alt
18:53iyes has joined #asahi-alt
18:56iyes has quit []
20:20KxCORP58940003 has joined #asahi-alt
20:20KDDLB2 has joined #asahi-alt
20:20imobilis_ has joined #asahi-alt
20:20pounce_ has joined #asahi-alt
20:21cy8aer_ has joined #asahi-alt
20:23ellyq_ has joined #asahi-alt
20:23stintel_ has joined #asahi-alt
20:24tobhe has joined #asahi-alt
20:24ellyq has quit [reticulum.oftc.net helix.oftc.net]
20:24hightower2 has quit [reticulum.oftc.net helix.oftc.net]
20:24tobhe_ has quit [reticulum.oftc.net helix.oftc.net]
20:24KxCORP5894000 has quit [reticulum.oftc.net helix.oftc.net]
20:24pounce has quit [reticulum.oftc.net helix.oftc.net]
20:24seb4nihel has quit [reticulum.oftc.net helix.oftc.net]
20:24KDDLB has quit [reticulum.oftc.net helix.oftc.net]
20:24flokli has quit [reticulum.oftc.net helix.oftc.net]
20:24mjolnir[m]1 has quit [reticulum.oftc.net helix.oftc.net]
20:24matrix_ds has quit [reticulum.oftc.net helix.oftc.net]
20:24Lew-J has quit [reticulum.oftc.net helix.oftc.net]
20:24steffen[m] has quit [reticulum.oftc.net helix.oftc.net]
20:24imobilis has quit [reticulum.oftc.net helix.oftc.net]
20:24cy8aer has quit [reticulum.oftc.net helix.oftc.net]
20:24stintel has quit [reticulum.oftc.net helix.oftc.net]
20:24KxCORP58940003 is now known as KxCORP5894000
20:24steffen[m] has joined #asahi-alt
20:24pounce_ is now known as pounce
20:25hightower2 has joined #asahi-alt
20:25ellyq has joined #asahi-alt
20:25seb91nihel has joined #asahi-alt
20:25KDDLB has joined #asahi-alt
20:25flokli has joined #asahi-alt
20:25Lew-J has joined #asahi-alt
20:25matrix_ds has joined #asahi-alt
20:25stintel has joined #asahi-alt
20:25matrix_ds has quit [Ping timeout: 480 seconds]
20:25imobilis_ is now known as imobilis
20:25stintel has quit [Ping timeout: 480 seconds]
20:25ellyq has quit [Ping timeout: 480 seconds]
20:26KDDLB has quit [Ping timeout: 480 seconds]
20:26cy8aer_ is now known as cy8aer
20:28mjolnir[m]1 has joined #asahi-alt
20:30matrix_ds has joined #asahi-alt
20:43seb4nihel has joined #asahi-alt
20:45seb91nihel has quit [Read error: Connection reset by peer]
20:54Dan___ has quit [Ping timeout: 480 seconds]
21:00Dan___ has joined #asahi-alt
21:08Dan___ has quit [Ping timeout: 480 seconds]
21:19Dan___ has joined #asahi-alt
21:45iyes has joined #asahi-alt
22:00iyes has quit [Quit: Konversation terminated!]
22:11iyes has joined #asahi-alt
22:21iyes has quit [Quit: Konversation terminated!]
22:24Dan___ has quit [Ping timeout: 480 seconds]
22:32Dan___ has joined #asahi-alt
22:40Dan___ has quit [Ping timeout: 480 seconds]
22:49phire_ has joined #asahi-alt
22:49phire is now known as Guest2312
22:49phire_ is now known as phire
22:52Guest2312 has quit [Ping timeout: 480 seconds]
23:40Dan___ has joined #asahi-alt
23:54Dan___ has quit [Ping timeout: 480 seconds]