2023-08-17
00:48zerdoxalso i tried to enable almost all of the mesa's use flags. also tried to downgrade package
04:07cylm_ has joined #asahi-alt
07:34cylm_ has quit [Ping timeout: 480 seconds]
07:55jjanzic has quit [Ping timeout: 480 seconds]
08:26jjanzic has joined #asahi-alt
10:17cylm_ has joined #asahi-alt
11:08cylm_ has quit [Ping timeout: 480 seconds]
11:13zerdoxthe 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
11:16jannauzerdox: it shouldn't search for simpledrm_dri.so. do you have CONFIG_DRM_APPLE in your kernel?
11:16zerdox[ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
11:16zerdox[ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
11:16zerdox[ERROR] [render/egl.c:320] Software rendering detected, please use the WLR_RENDERER_ALLOW_SOFTWARE environment variable to proceed
11:18zerdoxthe strange thing is that sway launches with same errors, so it's not about window manager
11:29zerdoxi 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?
11:31jannauzerdox: 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
11:36zerdox_ has joined #asahi-alt
11:36zerdox_[ 0.000000] OF: reserved mem: 0x0000000be5efc000..0x0000000be61fbfff (3072 KiB) nomap non-reusable dcp_data@be5efc000
11:40jannausomething 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
11:41zerdox has quit [Ping timeout: 480 seconds]
11:42jannauzerdox_: can copy the output of `dtc -I fs -O dts -o - /proc/device-tree | sed -n '/^\t\tdcp@/,/^\t\t};/p'` to a pastebin
11:50zerdox has joined #asahi-alt
11:51zerdox_ has quit [Remote host closed the connection]
11:52jannauzerdox: that looks ok. https://github.com/jannau/linux/commit/764871947e2aa817666f4ef819d740199e5db99e might fix things but I'd expect different symptoms if that was the cause
11:54jannauno, you patch the kernel source, `make dtbs` in the kernel repo, run update-m1n1 and reboot
12:04mpszerdox: do you trying to get GPU working? in that case you should have CONFIG_DRM_ASAHI=m or CONFIG_DRM_ASAHI=y
12:05zerdoxyeah, 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
12:09ChaosPrincesswhat does `make rustavailable` say
12:13ChaosPrincessthen search for DRM_ASAHI and see what the search says about the values of the dependencies
12:30zzywysmzerdox: 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
12:32zerdoxno, you are probably talking about RUST_IS_AVAILABLE. i just enabled CONFIG_RUST and now compiling kernel
12:33compassion1785 has quit [Quit: lounge quit]
12:33zerdoxand 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
12:34zzywysmzerdox: 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
12:36zerdoxzzywysm: thank you. i left a reaction under the pr so you can get my github because i am not always in this chat
12:39jacksonchen666 has joined #asahi-alt
13:03anarcat[m] has joined #asahi-alt
13:03compassion1785 has joined #asahi-alt
13:04jacksonchen666 is now known as Guest9171
13:04jacksonchen666 has joined #asahi-alt
13:05cylm_ has joined #asahi-alt
13:10Guest9171 has quit [Ping timeout: 480 seconds]
13:11zerdoxnow i've built kernel with DRM_ASAHI but this didn't helped me. hyprland still tries to use simpledrm
13:19zerdoxjannau: when linux loads i can see these messages for a sec: https://pastebin.com/sMb50gpY
13:19zerdoxi guess i got them after kernel update, not sure. but definitely sure i haven't them before updates
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
13:23zerdoxmodprobe apple_dcb error changed to module not found in directory /lib/modules/6.4.0-asahi-6-arm64
13:33zerdoxjannau: make LLVM=1 && make modules_install && make install && dracut && grub-mkconfig && update-m1n1
13:46SalimTerryLi has joined #asahi-alt
13:47SalimTer- has quit [Ping timeout: 480 seconds]
13:59Dementor has joined #asahi-alt
14:22compassion1785 has quit [Quit: lounge quit]
14:28compassion1785 has joined #asahi-alt
14:29compassion1785 has quit []
14:37compassion1785 has joined #asahi-alt
14:37possiblemeatball has joined #asahi-alt
14:47zerdox has quit [Ping timeout: 480 seconds]
14:57zerdox has joined #asahi-alt
15:35possiblemeatball has quit [Quit: Quit]
15:54possiblemeatball has joined #asahi-alt
16:30nela has quit [Ping timeout: 480 seconds]
16:34nela has joined #asahi-alt
16:41Guest8982 has quit [Quit: Bridge terminating on SIGTERM]
16:41rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:45Jamie has joined #asahi-alt
16:46Jamie is now known as Guest9188
16:46rhysmdnz has joined #asahi-alt
17:04zerdox has quit [Ping timeout: 480 seconds]
17:47ellyq has joined #asahi-alt
18:12possiblemeatball has quit [Quit: Quit]
18:21ellyq has quit [Remote host closed the connection]
19:27Enzime has joined #asahi-alt
20:41possiblemeatball has joined #asahi-alt
22:42ellyq has joined #asahi-alt
23:12cylm_ has quit [Ping timeout: 480 seconds]
23:51anarcat[m] has left #asahi-alt [#asahi-alt]