#asahi-alt · 2023-04-13 05:04
chadmed_yeah dmesg is just the kernel message log so just paste the output of it #asahi-alt · 2023-04-13 05:02
chadmed_do the same with dmesg since asahi-diagnose looks for journalctl and not dmesg#asahi-alt · 2023-04-13 05:02
chadmed_you can write a little shell function/alias to pipe the output of some command into tpaste#asahi-alt · 2023-04-13 05:01
chadmed_oh yeah then just run asahi-diagnose and paste the output somewhere#asahi-alt · 2023-04-13 05:00
chadmed_so you can boot back into a working system#asahi-alt · 2023-04-13 05:00
chadmed_assuming you didnt nuke the old kernel and initramfs grub should still have a boot option for it under advanced settings#asahi-alt · 2023-04-13 05:00
chadmed_ill get around to patching asahi-diagnose for gentoo at some point #asahi-alt · 2023-04-13 04:59
chadmed_and your dmesg#asahi-alt · 2023-04-13 04:59
chadmed_the output of asahi-diagnose would be cool pasted somewhere#asahi-alt · 2023-04-13 04:59
chadmed_hmmm#asahi-alt · 2023-04-13 04:59
chadmed_and you ran make modules_install right#asahi-alt · 2023-04-13 04:58
chadmed_did you install the kernel manually or use genkernel #asahi-alt · 2023-04-13 04:58
chadmed_cool #asahi-alt · 2023-04-13 04:57
chadmed_you didnt have hyprland starting automatically or anything #asahi-alt · 2023-04-13 04:57
chadmed_so before, when you booted, the system just greeted you with a tty#asahi-alt · 2023-04-13 04:56
chadmed_okay #asahi-alt · 2023-04-13 04:55
chadmed_can you check to make sure that the display-manager service is not in any runlevel#asahi-alt · 2023-04-13 04:53
chadmed_like does it happen every time you boot#asahi-alt · 2023-04-13 04:53
chadmed_is that reproducible #asahi-alt · 2023-04-13 04:53
chadmed_oh interesting #asahi-alt · 2023-04-13 04:53
chadmed_wayland works perfectly#asahi-alt · 2023-04-13 04:53
chadmed_your display manager (i assume sddm) probably uses xorg so when openrc goes to start it, it causes issues#asahi-alt · 2023-04-13 04:52
chadmed_xorg relies on features that are not present in the hardware because its not 100 quadrillion years old#asahi-alt · 2023-04-13 04:51
chadmed_oh yeah thats an xorg/dcp thing #asahi-alt · 2023-04-13 03:41
chadmed_ you already have dracut installed which has the appropriate firmware and driver hooks set up from the install script, so instead of using genkernel to generate an initramfs use dracut --kver $(make -s kernelrelease)#asahi-alt · 2023-04-13 03:41
chadmed_youll be able to find the config options in menuconfig by searching for them#asahi-alt · 2023-04-13 03:41
chadmed_CONFIG_RUST=y, CONFIG_DRM_ASAHI=m, CONFIG_DRM_APPLE=m#asahi-alt · 2023-04-13 03:35
chadmed_cargo install bindgen-cli --version ^0.62#asahi-alt · 2023-04-13 03:35
chadmed_the crate is called bindgen-cli #asahi-alt · 2023-04-13 03:30
chadmed_try bindgen 0.62#asahi-alt · 2023-04-13 03:12
chadmed_the fact that its trying to call into bidngen from your own home dir instead of /root/.cargo/ suggests you have not set any of this up properly#asahi-alt · 2023-04-13 03:12
chadmed_when you install as root it should install it to the root's home directory, not yours#asahi-alt · 2023-04-13 03:10
chadmed_like i said from the outset it becomes very hard to offer support to people when they start doing weird nonstandard things and stuff starts breaking#asahi-alt · 2023-04-13 03:10
chadmed_you should probably just install all of this as root instead of trying to kludge its CARGO_HOME to your local user tbh #asahi-alt · 2023-04-13 03:09
chadmed_yeah i mean the install process#asahi-alt · 2023-04-13 03:08
chadmed_since its panicking in a dependency of bindgen #asahi-alt · 2023-04-13 03:08
chadmed_it does look like youve misconfigured bindgen somewhere along the line though#asahi-alt · 2023-04-13 03:07
chadmed_just running through the possibilities#asahi-alt · 2023-04-13 03:05
chadmed_yeah so youll need to set up the rust stuff as root and source $CARGO_HOME/env as root#asahi-alt · 2023-04-13 03:04
chadmed_but as a standard user you dont have write perms to /usr/src so ofc its gonna fail writing bindings there#asahi-alt · 2023-04-13 03:04
chadmed_you should mirror this as root, idk if genkernel tries to build the kernel as root#asahi-alt · 2023-04-13 03:04
chadmed_also #asahi-alt · 2023-04-13 03:03
chadmed_rustc --version from inside /usr/src/linux#asahi-alt · 2023-04-13 03:02
chadmed_what version of rustc have you set for the kernel source tree#asahi-alt · 2023-04-13 03:02
chadmed_does seem like a bindgen issue at the very least#asahi-alt · 2023-04-13 03:01
chadmed_right ok#asahi-alt · 2023-04-13 03:00
chadmed_??? it should be in $HOME/.cargo/bin#asahi-alt · 2023-04-13 02:59
chadmed_also just building the config in /proc/config.gz wont enable the gpu or dcp. you need to go and set those options in menuconfig.#asahi-alt · 2023-04-13 02:58
chadmed_is bindgen in your PATH? #asahi-alt · 2023-04-13 02:49
chadmed_can you paste the entire build log somewhere