#
✕ nick:qdot
#asahi-alt · 2023-12-27 23:21
qdotCross-asking from #asahi (running Gentoo, custom kernel config) - looking for some pointers (monolithic custom kernel) on why I'm getting "Apple DWC3 requires role switch support" when CONFIG_USB_ROLE_SWITCH=y (6.6.0-p14)
#asahi-alt · 2023-05-07 03:13
qdotchadmed: Thanks for the hint - I was able to reproduce it working as well. Interesting! (I'm curious what's the best way to become more involved in hacking on Asahi, now that I have a linux distro I understand :P)
#asahi-alt · 2023-05-07 03:10
qdottpw_rules: No, the other qdot! But the irony isn't missed here. I think we both started using the handle at the same time (and actually at some point I did dabble in electrostimulation)
#asahi-alt · 2023-05-07 01:37
qdotIs there a flag somewhere that's flipped in Asahi/ALARM but not by default in Gentoo? WebGL1 works fine, which is weird.
#asahi-alt · 2023-05-07 01:36
qdotHi guys - GPU acceleration on Gentoo, round 2. Can you check if your browser supports WebGL2 (I swear it worked on ALARM-edge.. https://browserleaks.com/webgl - or see if https://farprobe.com/app - my new startup - breaks for you)..
#asahi-alt · 2023-05-01 14:21
qdotchadmed: Thanks, that (sort-of) worked - I'm probably doing something wrong, but it appears that the priority of asahi over gentoo trees is ignored, so I had to specify ::asahi to get the correct linux-sources to merge.. I'm curious why, pretty much used the install script.
#asahi-alt · 2023-05-01 02:05
qdotchadmed: quick question - why does asahi-sources not satisfy/provide virtual/linux-sources ? Just run into it building media-video/v4l2loopback (it works fine otherwise, it just needlessly installs gentoo-sources)
#asahi-alt · 2023-05-01 01:57
qdot(Alpha the DEC architectutre)
#asahi-alt · 2023-05-01 01:56
qdotMuch happier now on Gentoo (but I also used Gentoo from, cough, Alpha days)
#asahi-alt · 2023-05-01 01:56
qdotLots of lost hair trying to get a boring qemu softmmu building from AUR, for no real reason..
#asahi-alt · 2023-05-01 01:55
qdotSo true! I just ended up cursing the weirdness of stuff Arch and ALARM in particular does under the hood.. especially when I didn't know what's coming from where.
#asahi-alt · 2023-05-01 01:53
qdotChaosPrincess: Trying to learn about Asahi's internals while at it - being chained to ALARM really prevented me from hacking on this stuff, but I never had enough time/risk to migrate my daily driver to Gentoo that I understand..
#asahi-alt · 2023-05-01 01:51
qdotChaosPrincess: Curious about some of that diff - 2441007 erratum (does it apply to M1?) and ARM_ARCH_TIMER_EVTSTREAM - does it *not* apply to M1?
#asahi-alt · 2023-05-01 01:50
qdotchadmed: Yup - I've been using your overlay! That makes sense - I just wasn't sure whether I needed that. x11-drivers/asahidrm as a stub to just drop that fragment? Also ugly.. but probably my preference.
#asahi-alt · 2023-04-30 20:21
qdotjannau: thanks!
#asahi-alt · 2023-04-30 20:21
qdotjannau: bingo - it worked!
#asahi-alt · 2023-04-30 20:17
qdotjannau: Don't think so?
#asahi-alt · 2023-04-30 20:13
qdotYeah, it seems it got switched off in the file you posted..
#asahi-alt · 2023-04-30 20:10
qdot(I had it working reasonably well without DRM, but wanted to add mesa acceleration)
#asahi-alt · 2023-04-30 20:10
qdotHmm.. it looks like your config doesn't have CONFIG_DRM_ASAHI set..
#asahi-alt · 2023-04-30 20:07
qdotUnderstandable, when I was building it before I was wondering why these were set to M in the first place..
#asahi-alt · 2023-04-30 20:06
qdotThe diff is pretty huge to whatever I'm running (which is -edge from ALARM after syncconfig), but that's expected
#asahi-alt · 2023-04-30 20:04
qdotIt might.. hopefully without hiccups.
#asahi-alt · 2023-04-30 20:02
qdotHmm.. 6.3.0? Is that merged in somewhere? Or is it just asahi git-tip? I don't see any tags above 6.2.12 on github?
#asahi-alt · 2023-04-30 19:53
qdotGentoo - got fed up with ALARM's partial arm64 support.
#asahi-alt · 2023-04-30 19:52
qdotOr is it some wayland/Xwayland/sddm stack?
#asahi-alt · 2023-04-30 19:51
qdotHmm.. any weird way to get X running on DRM_APPLE=m ? I'm getting " Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
#asahi-alt · 2023-04-30 19:50
qdotI swear Asahi ALARM runs sddm - are we running 0.20 via wayland, or something more unusual there?
#asahi-alt · 2023-04-30 19:47
qdotchadmed: Yeah - that's what I'm doing, CONFIG_DRM_APPLE=m is selected, appledrm is loaded as a module.. found my issue, X11 is entirely unsupported and the default setup has sddm running through X11.. dbus-run-session startplasma-wayland worked for me with acceleration, now to figure out a canonical way to have a display mananger.
#asahi-alt · 2023-04-28 17:06
qdotHmm.. OK, I got past the GPU driver in kernel part (by abandoning leo3418's ebuilds, they were somewhat of a red herring for me), now X/wayland complains that it "Cannot run in framebuffer mode" - any special configs for it? Hardcode busid? Or some missing DRM/FB module?
#asahi-alt · 2023-04-27 17:03
qdothmm.. dev-util/bindgen ? That seems to be masked as not compatible with the kernel build - were you able to get it working through some portage variant of bindgen or drop into rustland for this?
#asahi-alt · 2023-04-27 17:00
qdot(DCP does initialize in dmesg, so it is running -edge- of sorts)
#asahi-alt · 2023-04-27 17:00
qdotYes to the former, no to the latter.. that gives me a bit of a thread to pull on! I guess time to do it by hand, I'm fairly aware of how grub/kernel updates work, I've been using leo3418's dist-kernel repos, but if I'm hacking I might as well do it from known good.
#asahi-alt · 2023-04-27 16:49
qdotQuick question on using GPU acceleration/DRM on Gentoo/Asahi - I have Mesa with the correct ports, -edge kernel config built in.. and yet it's defaulting to swrast.. anything I've missed (or anyone wrote anything for reference on how to get it working?)