#asahi-alt · 2024-08-16 10:28
jannautrue, it would just move the issue to virtual/rust#asahi-alt · 2024-08-16 10:28
chaos_princessthe only way i see is to check in src_configure or something#asahi-alt · 2024-08-16 10:28
chaos_princessyou could still install two copies of rust, one with no rust-src, and then set it as active#asahi-alt · 2024-08-16 10:27
n3phchaos_princess: why?#asahi-alt · 2024-08-16 10:27
n3phah, right. `|| ()` is the or expression for both package constraints #asahi-alt · 2024-08-16 10:27
chaos_princessthat would not help tho#asahi-alt · 2024-08-16 10:27
jannauuse flag should be move to virtual/rust#asahi-alt · 2024-08-16 10:26
jannauno, that's (virtual/rust && (>=dev-lang/rust-bin-1.76[rust-src,rustfmt] || >=dev-lang/rust-1.76[rust-src,rustfmt]))#asahi-alt · 2024-08-16 10:26
n3phanyway, so at least one of them. :thinking:#asahi-alt · 2024-08-16 10:25
n3phthough, if I have the `virtual/rust` installed, both declarations are not checked at all, since it's or'ed#asahi-alt · 2024-08-16 10:24
n3phsure, I have to switch between them using `eselect rust`. what I am trying to find out ATM is how to enforce both packages to be emerged with `rust-src` enabled. #asahi-alt · 2024-08-16 10:23
chaos_princessthat bit of the ebuild enforces that there is at least one copy of rust that has rust-src, but there is nothing to force it to be the active one#asahi-alt · 2024-08-16 10:22
n3phAh damnit, I have `virtual/rust` istalled #asahi-alt · 2024-08-16 10:20
n3phStrange, I would expect portage to enforce the useflag `rust-src` on `dev-lang/rust`: https://github.com/chadmed/asahi-overlay/blob/4fcc4837a8a6d729c357ebe046fff108451f92aa/sys-kernel/asahi-kernel/asahi-kernel-6.9.12_p2.ebuild#L63-L66#asahi-alt · 2024-08-16 10:10
n3phI'll sync useflags first and get rid of rust-bin then#asahi-alt · 2024-08-16 10:09
n3phhttps://bpa.st/LSYA - both#asahi-alt · 2024-08-16 10:09
n3phI guess I have switched from rust-bin to rust somewhen, or both. let me check#asahi-alt · 2024-08-16 10:08
chaos_princessdo you have both rust and rust-bin installed?#asahi-alt · 2024-08-16 10:08
n3phI have that #asahi-alt · 2024-08-16 10:08
n3ph>=dev-lang/rust-bin-1.79.0 rustfmt rust-src#asahi-alt · 2024-08-16 10:08
n3phcat /etc/portage/package.use/asahi | grep rust #asahi-alt · 2024-08-16 10:08
n3phha, interesting:#asahi-alt · 2024-08-16 10:08
chaos_princessthe kernel's makefile's handling of a missing rust compiler is super stupid, instead of erroring out, it just disables everything that depends on rust and proceeds to compile#asahi-alt · 2024-08-16 10:07
n3phthx#asahi-alt · 2024-08-16 10:07
chaos_princesssth like that, yes#asahi-alt · 2024-08-16 10:07
n3phfun, so running `USE="rust-src" emerge -1 dev-lang/rust && emerge -1 sys-kernel/asahi-kernel`?#asahi-alt · 2024-08-16 10:05
chaos_princessre-emerge rust with that, then rebuild the kernel and try again#asahi-alt · 2024-08-16 10:05
chaos_princessversion does not matter, what matters is that you do not have rust-src use flag enabled#asahi-alt · 2024-08-16 10:04
n3phrust compiler is too new#asahi-alt · 2024-08-16 10:04
n3phhttps://bpa.st/XIYA#asahi-alt · 2024-08-16 09:59
n3phsure#asahi-alt · 2024-08-16 09:58
chaos_princesscan you install asahi-sources, cd into the kernel directory and run `make rustavailable`#asahi-alt · 2024-08-16 09:57
j`eylets ping chadmed #asahi-alt · 2024-08-16 09:57
j`eydoes the ebuild also install rust/bindgen etc?#asahi-alt · 2024-08-16 09:55
n3phIIRC, the kernel config comes from the ebuild https://github.com/chadmed/asahi-overlay/blob/main/sys-kernel/asahi-kernel/asahi-kernel-6.9.12_p2.ebuild#L81-L121 #asahi-alt · 2024-08-16 09:52
n3phI am using `virtual/dist-kernel`, so indirectly `sys-kernel/asahi-kernel`. I haven't built a custom one yet... #asahi-alt · 2024-08-16 09:49
j`eythen you havent built the gpu driver it seems like!#asahi-alt · 2024-08-16 09:48
n3phno, it doesn't #asahi-alt · 2024-08-16 09:47
j`eyn3ph: `dmesg | grep gpu` shows output?#asahi-alt · 2024-08-16 09:45
n3phI've read about the new honeykrisp driver in mesa only being compatible with 6.9.12, right? #asahi-alt · 2024-08-16 09:45
j`eyyeah, OpenGL renderer string: llvmpipe (LLVM 18.1.8, 128 bits)#asahi-alt · 2024-08-16 09:44
n3phEverything is ridiculously slow#asahi-alt · 2024-08-16 09:44
n3phI think it's using software rending ATM #asahi-alt · 2024-08-16 09:43
j`eyOpenGL#asahi-alt · 2024-08-16 09:41
n3phj`ey: I don't know much about wayland and the driver stack yet. how was it working before, if not on vulkan?#asahi-alt · 2024-08-16 09:40
n3ph-> https://pastebin.com/NLL3uS48#asahi-alt · 2024-08-16 09:39
n3ph`GL_NVX_gpu_memory_info` looks odd#asahi-alt · 2024-08-16 09:38
j`ey(the vulkan thing is expected, doesn't seem like honeykrisp is merged to that branch)#asahi-alt · 2024-08-16 09:37
n3phuff, i need to checkout multiline support, mea culpa #asahi-alt · 2024-08-16 09:37
n3phOpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20