#asahi-alt · 2023-08-19 20:12
zerdoxjannau: https://send.vis.ee/download/d399289055fee258/#6V6Ow5i4xpoKJgoEG3fWTQ#asahi-alt · 2023-08-19 20:07
zerdoxsorry. 404 will upload new one#asahi-alt · 2023-08-19 20:05
zerdoxjannau: https://transfer.sh/yPjhtGTODO/dmesg#asahi-alt · 2023-08-19 03:13
Enzimeah I've just realized the support hasn't been added on the NixOS side#asahi-alt · 2023-08-19 03:03
Enzimehttps://paste2.org/U35fJvNx#asahi-alt · 2023-08-19 03:03
Enzimehey, I'm running NixOS with linux-asahi-edge on my M1 MacBook Air, and the headphone jack doesn't work for me with the following error getting printed:#asahi-alt · 2023-08-17 13:33
zerdoxis everything right here? maybe i am missing some options or compiling kernel wrong#asahi-alt · 2023-08-17 13:33
zerdoxjannau: make LLVM=1 && make modules_install && make install && dracut && grub-mkconfig && update-m1n1#asahi-alt · 2023-08-17 13:23
zerdoxappledrm is still no such device#asahi-alt · 2023-08-17 13:23
zerdoxmodprobe apple_dcb error changed to module not found in directory /lib/modules/6.4.0-asahi-6-arm64#asahi-alt · 2023-08-17 13:22
_jannau__zerdox: those are harmless. your problem is still that dcp / appledrm (the display driver) is not available. I have no idea why not#asahi-alt · 2023-08-17 13:20
zerdoxmaybe this can help finding the problem. looks like it can be related#asahi-alt · 2023-08-17 13:19
zerdoxi guess i got them after kernel update, not sure. but definitely sure i haven't them before updates#asahi-alt · 2023-08-17 13:19
zerdoxjannau: when linux loads i can see these messages for a sec: https://pastebin.com/sMb50gpY#asahi-alt · 2023-08-17 13:11
zerdoxnow i've built kernel with DRM_ASAHI but this didn't helped me. hyprland still tries to use simpledrm#asahi-alt · 2023-08-17 12:36
zerdoxzzywysm: thank you. i left a reaction under the pr so you can get my github because i am not always in this chat#asahi-alt · 2023-08-17 12:34
zzywysmzzywysm: next time i update it i'll try to remember to let you know#asahi-alt · 2023-08-17 12:34
zzywysmzerdox: i made an effort a while back to get pretty minimal with an asahi kernel config. https://github.com/tpwrules/nixos-apple-silicon/pull/33#asahi-alt · 2023-08-17 12:33
zerdoxand I had all the dependencies installed, make rustavailable was saying that. i have no idea why CONFIG_RUST became disabled when I updated kernel, even other options where preserved#asahi-alt · 2023-08-17 12:32
zerdoxno, you are probably talking about RUST_IS_AVAILABLE. i just enabled CONFIG_RUST and now compiling kernel#asahi-alt · 2023-08-17 12:30
zzywysmzerdox: i think CONFIG_RUST is one of those config options that isn't user-selectable, but is auto-defined by the kernel config system. i believe that's its way of gently telling you your environment doesn't have all the dependencies installed that you need for rust kernel building#asahi-alt · 2023-08-17 12:15
zerdoxfor some reason it was off #asahi-alt · 2023-08-17 12:15
zerdoxdepends on contains RUST=n #asahi-alt · 2023-08-17 12:13
ChaosPrincessthen search for DRM_ASAHI and see what the search says about the values of the dependencies#asahi-alt · 2023-08-17 12:11
zerdoxrust is available#asahi-alt · 2023-08-17 12:11
zerdoxChaosPrincess: bindgen 0.62.0 rustavailable#asahi-alt · 2023-08-17 12:11
mpscould be unsupported rust version is installed#asahi-alt · 2023-08-17 12:10
mpsdepends on (ARM64 && ARCH_APPLE) || (COMPILE_TEST && !GENERIC_ATOMIC64)#asahi-alt · 2023-08-17 12:09
ChaosPrincesswhat does `make rustavailable` say#asahi-alt · 2023-08-17 12:08
mpsstrange, it usually appers if the rust is installed#asahi-alt · 2023-08-17 12:07
zerdoxmps: and make oldconfig doesn't bring me this line. i am on 6.4.0 kernel#asahi-alt · 2023-08-17 12:07
chadmedsearch for DRM_ASAHI in menuconfig and see whats blocking it then #asahi-alt · 2023-08-17 12:05
zerdoxyeah, i am. the problem (i guess not the only) is that i dont have CONFIG_DRM_ASAHI in my config. and yes, i have rust support in the kernel#asahi-alt · 2023-08-17 12:04
mpszerdox: do you trying to get GPU working? in that case you should have CONFIG_DRM_ASAHI=m or CONFIG_DRM_ASAHI=y#asahi-alt · 2023-08-17 12:01
zerdoxthats strange. double checked that config_drm_apple=m#asahi-alt · 2023-08-17 12:00
zerdoxsame about loading modules#asahi-alt · 2023-08-17 11:58
zerdoxk. ill try to make and update now#asahi-alt · 2023-08-17 11:58
zerdoxtried to load modules. could not insert: no such device :(#asahi-alt · 2023-08-17 11:54
jannauno, you patch the kernel source, `make dtbs` in the kernel repo, run update-m1n1 and reboot#asahi-alt · 2023-08-17 11:54
zerdoxoh no. this is not the file that is being copied. sorry#asahi-alt · 2023-08-17 11:53
zerdoxdo i patch it directly in /boot?#asahi-alt · 2023-08-17 11:53
jannauload modules with `modprobe apple_dcp && modprobe appledrm`#asahi-alt · 2023-08-17 11:52
jannauzerdox: that looks ok. https://github.com/jannau/linux/commit/764871947e2aa817666f4ef819d740199e5db99e might fix things but I'd expect different symptoms if that was the cause#asahi-alt · 2023-08-17 11:43
zerdox_jannau: https://pastebin.com/tQ4jQJzX#asahi-alt · 2023-08-17 11:42
jannauzerdox_: can copy the output of `dtc -I fs -O dts -o - /proc/device-tree | sed -n '/^\t\tdcp@/,/^\t\t};/p'` to a pastebin#asahi-alt · 2023-08-17 11:42
zerdox_s#asahi-alt · 2023-08-17 11:42
zerdox_how do i do it? load the module#asahi-alt · 2023-08-17 11:40
jannausomething is wrong then. can you try to load the modules? I don't think that will do anything. I suspect there is still a dtb issue#asahi-alt · 2023-08-17 11:37
zerdox_jannau: this is all i got#asahi-alt · 2023-08-17 11:36
zerdox_[ 0.000000] OF: reserved mem: 0x0000000be5efc000..0x0000000be61fbfff (3072 KiB) nomap non-reusable dcp_data@be5efc000