#asahi-alt · 2024-08-22 10:41
chadmed*/* LLVM_TARGETS: -AMDGPU -ARM -ARC -AVR -Hexagon -Lanai -LoongArch -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -WebAssembly -VE -X86 -XCore#asahi-alt · 2024-08-22 10:41
chaos_princessso, just do not touch it#asahi-alt · 2024-08-22 10:40
chaos_princessyes, and also llvm_targets has an amazing footgun for people who use clang as system compiler#asahi-alt · 2024-08-22 10:40
chadmedyeah it is lmfao im just overriding it with profile/package.use.force#asahi-alt · 2024-08-22 10:39
chadmedpretty sure LLVM_TARGETS is basically non-negotiable these days right? #asahi-alt · 2024-08-22 10:38
chadmedi did the reverse for distcc when i had an amd64 build host and pissant arm64 SBCs and it worked a treat#asahi-alt · 2024-08-22 10:37
chadmedchaos_princess: that was going to be my third less-gross option. just enforce LLVM_TARGETS: AMD64 X86 (or whatever we need) and pass --target=x86_64-unknown-linux-gnu to clang and let it do it #asahi-alt · 2024-08-22 08:23
leiooh, need to continue reading, it was explained to sam after :)#asahi-alt · 2024-08-22 08:22
leiochadmed: I don't know what fex thunks are. We still owe you some PR merges too, I think?#asahi-alt · 2024-08-22 07:48
chaos_princessguess i will try building them with clang since that is an option and fex requires clang anyway#asahi-alt · 2024-08-22 07:14
sam_you should copy mingw64-toolchain if needing that runtime component (as it has an equivalent, whereas we didn't need that for bpf)#asahi-alt · 2024-08-22 07:14
chaos_princessNot super sure about fex, but i am making another thing that needs an x86 compiler and that one does need glibc#asahi-alt · 2024-08-22 07:14
sam_but it should be fine to add that in#asahi-alt · 2024-08-22 07:14
sam_it can be done i think but the existing examples didn't#asahi-alt · 2024-08-22 07:13
sam_do you really need glibc too?#asahi-alt · 2024-08-22 07:13
chaos_princessGlibc too?#asahi-alt · 2024-08-22 07:13
sam_this avoids users having to run crossdev#asahi-alt · 2024-08-22 07:13
sam_they're all-in-one ebuilds that do binutils+gcc (and mingw64-runtime in the case of mgwt)#asahi-alt · 2024-08-22 07:13
sam_the answer is to copy mingw64-toolchain/bpf-toolchain#asahi-alt · 2024-08-22 07:12
chaos_princessPretty much. #asahi-alt · 2024-08-22 07:11
sam_so the main issue is "how do we nicely package an x86 compiler so building fex works"?#asahi-alt · 2024-08-22 07:11
sam_right#asahi-alt · 2024-08-22 07:11
chaos_princessFex is a x86 emulator for arm, the main purpose is games, but not neccessarily#asahi-alt · 2024-08-22 07:10
sam_games (dolphin)?#asahi-alt · 2024-08-22 07:10
sam_for what purpose? #asahi-alt · 2024-08-22 07:10
chaos_princesswe want them because running native arm code is faster than emulating x86 versions of system libraries#asahi-alt · 2024-08-22 07:09
chaos_princessA set of libraries that allow redirecting calls into x86 libraries to arm64 ones#asahi-alt · 2024-08-22 07:07
sam_what are they, why do we want them, ...#asahi-alt · 2024-08-22 07:07
sam_start earlier than that please :)#asahi-alt · 2024-08-22 06:58
chaos_princessWe need a x86 compiler on arm64 host to compile them#asahi-alt · 2024-08-22 06:49
sam_uh chadmed * too#asahi-alt · 2024-08-22 06:49
sam_means nothing to me#asahi-alt · 2024-08-22 06:49
sam_chaos_princess: chaos_princess: sorry, brief me on fex thunks#asahi-alt · 2024-08-22 06:42
chaos_princesschadmed: at least for now, fmt must be vendored, it already is in ::gentoo, but iirc it is not slotted and the version that fex wants breaks dolphin. #asahi-alt · 2024-08-22 00:29
chadmed_both of which could probably be upstreamed into ::gentoo quick-smart after some incubation time in ::asahi #asahi-alt · 2024-08-22 00:29
chadmed_same with catch2 #asahi-alt · 2024-08-22 00:29
chadmed_chaos_princess: you reckon we just package fmt and ditch the vendored dep too?#asahi-alt · 2024-08-22 00:13
chadmed_do sam_ or leio have any thoughts about packaing the fex thunks?#asahi-alt · 2024-08-21 22:41
j`ey>:D#asahi-alt · 2024-08-21 22:40
chadmed_my benchmark is how nice it feels to click on the 5 enemy heads#asahi-alt · 2024-08-21 22:40
chadmed_yeah i simply ignore synthetic benchmarks #asahi-alt · 2024-08-21 22:39
j`eyleio posted some fast sounding numbers on some benchmark, but im sure a proper game is quite different#asahi-alt · 2024-08-21 22:38
chadmed_yeah im hoping getting rid of at least the dxvk layer (and macos) will improve things slightly even if the vk driver is not very fast to begin with#asahi-alt · 2024-08-21 22:29
j`eymight be better when I get it running on asahi#asahi-alt · 2024-08-21 22:28
j`eythere is some dll to cause te game to use OpenGL instead of directx#asahi-alt · 2024-08-21 22:28
chadmed_raw performance isnt terrible all things considered but frame pacing is garbage#asahi-alt · 2024-08-21 22:27
chadmed_the macos builds of dxvk are ancient too because again dxvk requires vk 1.3 #asahi-alt · 2024-08-21 22:27
chadmed_so dx11->vulkan->metal it is