#asahi-alt · 2023-08-17 11:31
jannauzerdox: I want the output of 'dmesg | grep dcp | head -n10' the first line is only to check no messages have been dropped. it is a fixed size buffer#asahi-alt · 2023-08-17 11:29
zerdoxi have found messages in #asahi-dev about missing DRM_ASAHI and solution to it. now i am trying to make olddefconfig prepare but new options doesn't appear. how do i properly "regenerate" config preserving my old selections?#asahi-alt · 2023-08-17 11:27
zerdoxjannau: yep i have these lines#asahi-alt · 2023-08-17 11:22
jannauuse dmesg after booting then. the first line should have "reserved mem"#asahi-alt · 2023-08-17 11:21
zerdoxjannau: i don't have systemd. it is used, i can get it from proc/config.gz#asahi-alt · 2023-08-17 11:19
jannauis it used? `journalctl -k | grep dcp | head -n10`#asahi-alt · 2023-08-17 11:19
zerdoxgrep DRM_ASAHI doesn't even print me any lines. is this a new setting?#asahi-alt · 2023-08-17 11:18
zerdoxthe strange thing is that sway launches with same errors, so it's not about window manager#asahi-alt · 2023-08-17 11:18
chadmedconfig_drm_asahi? #asahi-alt · 2023-08-17 11:17
zerdoxjannau: yes, it's set to m#asahi-alt · 2023-08-17 11:16
zerdox[ERROR] [render/gles2/renderer.c:704] Could not initialize EGL#asahi-alt · 2023-08-17 11:16
zerdox[ERROR] [render/egl.c:567] Failed to initialize EGL context#asahi-alt · 2023-08-17 11:16
zerdox[ERROR] [render/egl.c:320] Software rendering detected, please use the WLR_RENDERER_ALLOW_SOFTWARE environment variable to proceed#asahi-alt · 2023-08-17 11:16
zerdox[ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"#asahi-alt · 2023-08-17 11:16
zerdox[ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"#asahi-alt · 2023-08-17 11:16
jannauzerdox: it shouldn't search for simpledrm_dri.so. do you have CONFIG_DRM_APPLE in your kernel?#asahi-alt · 2023-08-17 11:13
zerdoxthe problem is that i satisfied all mesa loader warnings and still got the same gl errors, even on sway. I tried everything and still struggling for days#asahi-alt · 2023-08-17 11:12
zerdoxchadmed: nah for me its looking in usr/lib64#asahi-alt · 2023-08-17 11:10
chadmeds/and/and its prefix is/#asahi-alt · 2023-08-17 11:10
chadmedif hyprland is looking for stuff in /usr/local its not going to find it#asahi-alt · 2023-08-17 11:10
chadmedzerdox: gentoo's libdir is /usr/lib64 and /usr#asahi-alt · 2023-08-17 00:48
zerdoxalso i tried to enable almost all of the mesa's use flags. also tried to downgrade package#asahi-alt · 2023-08-17 00:48
zerdoxsimpledrm was not the issue#asahi-alt · 2023-08-16 23:39
zerdoxIs it ok that I am missing /usr/lib64/dri/simpledrm_dri.so? How can I get it?#asahi-alt · 2023-08-16 23:17
zerdoxjannau: you said I need to use use flag for mesa, which one? including default i got this: X, gles2, llvm, osmesa, proprietary-codecs, video_cards_asahi, wayland, zink, zstd and vulkan (which is ignored due to videocards list). with this I still can't get through this issue https://github.com/hyprwm/Hyprland/issues/2276#asahi-alt · 2023-08-16 22:28
zerdoxasking just in case, anyone got here minimal kernel config for apple platform? maybe someone already shared this work to public#asahi-alt · 2023-08-16 22:22
zerdoxohh. i like this one more then just disabling the module, even we dont use this driver. compilation continued, thank you#asahi-alt · 2023-08-16 22:13
ChaosPrincesswell, in this case you can just apply the patch manually, but for more complex patches, put it in a file, and run `git am`#asahi-alt · 2023-08-16 22:12
zerdoxChaosPrincess: yeah i found this one before but i could not understand what to do with this#asahi-alt · 2023-08-16 22:11
ChaosPrincesszerdox: https://lore.kernel.org/all/20230725104517.317766590@linuxfoundation.org/#asahi-alt · 2023-08-16 22:10
zerdoxi am so sorry for ping and these messages. i've got a brain to use logs of this chat and someone already asked this a month ago#asahi-alt · 2023-08-16 22:08
zerdoxofc i am trying to google everything before asking for help here, but this one is too specific#asahi-alt · 2023-08-16 22:07
zerdoxcompiling with my old config, nothing was changed. do we even need this codec? maybe i can just disable it in config#asahi-alt · 2023-08-16 22:06
zerdoxjannau: trying to compile 6.4.0_p6 with make LLVM=1 and it fails on modpost regmap_add_irq_chip complaining about sound/soc/codecs/snd-soc-cs35l45.ko undefined#asahi-alt · 2023-08-16 19:05
jannauthe video driver is in mesa in the overlay. needs video_cards_asahi as use flag and DRM_ASAHI / RUST in the built kernel#asahi-alt · 2023-08-16 18:53
zerdoxoh.. alr. thank you <3 hope it will fix my video drivers issue. there is no any mesa edges, right? i am trying to get new opengl version working, but hyprland/wlroots/whatever doesn't catch this up. i saw an issue on github where guy deleted some lib files and got it working, not my case :(#asahi-alt · 2023-08-16 18:44
jannauzerdox: you have to compile the kernel yourself like you would have to with gentoo-sources#asahi-alt · 2023-08-16 18:14
zerdoxjannau: yeah. i understand it. i tried running update-m1n1 but it gives me the error i was talking about: there is no dtb files in new kernel, only dts in arm64/boot/dts/apple/#asahi-alt · 2023-08-16 17:51
jannauuname gives you the actual booted kernel. eselect and /usr/src/linux is the current installed kernel source#asahi-alt · 2023-08-16 17:28
zerdoxalso /usr/src/linux pointing to 6.4 now I am so confused#asahi-alt · 2023-08-16 17:26
zerdoxit worked :0 it was not as terrifying. now.. how do I correctly switch to edge kernel? after booting uname gives me 6.2 but eselect highlights 6.4#asahi-alt · 2023-08-16 17:06
zerdoxwill try it rn. thank you so much!#asahi-alt · 2023-08-16 17:06
jannauor mount_msdos#asahi-alt · 2023-08-16 17:06
ChaosPrincessyou will most likely not be able to use diskutil mount, so do sudo mount -t msdos /dev/diskWhatever some_folder#asahi-alt · 2023-08-16 17:06
jannaubooting into macos or recovery and mount the partition with mount_msdofs#asahi-alt · 2023-08-16 17:05
ChaosPrincessmount the ESP in macos#asahi-alt · 2023-08-16 17:05
zerdoxto replace boot.bin#asahi-alt · 2023-08-16 17:05
zerdoxok, got it. what is the easiest way to do it?#asahi-alt · 2023-08-16 17:04
jannauyou need to add "nomodeset" to the kernel cmdline for booting an asahi-6.4 based kernel#asahi-alt · 2023-08-16 17:03
jannauzerdox: if you replace m1n1/boot.bin on your efi with the one from http://cdn.asahilinux.org/os/uefi-only-20230606-1.zip you should be able to boot