#asahi-gpu · 2022-11-27 09:25
linajust don't initialize it#asahi-gpu · 2022-11-27 09:25
jannauI haven't found that code yet or how I tell drm that the driver doesn't support vblank irq#asahi-gpu · 2022-11-27 09:23
linaMaybe that logic works better than what dcp does?#asahi-gpu · 2022-11-27 09:23
linaThe DRM documentation says the DRM core handles faking vblank events for hardware without them#asahi-gpu · 2022-11-27 09:22
jannauyes, it's the vblank issue. it "works" when switching the brightness quickly between 2 values#asahi-gpu · 2022-11-27 09:05
linaStuff just hangs for long periods of time#asahi-gpu · 2022-11-27 09:05
linaOK, KDE is very broken on Xorg and I think it's the vblank thing...#asahi-gpu · 2022-11-27 08:45
linaWe can ship a xorg.conf OutputClass snippet that will do the right thing without having to hardcode DRI device nodes#asahi-gpu · 2022-11-27 08:45
linaAha! I found the trick ^^#asahi-gpu · 2022-11-27 08:36
linaAhh, no... it only does that for secondary cards.#asahi-gpu · 2022-11-27 08:28
linaI'm taking a look at that xorg.conf issue... I think there's a bug or something broken somewhere, because I *think* modesetting is supposed to probe all drm devices and find one with connectors.#asahi-gpu · 2022-11-27 08:07
LinuxM1I want to congratulate with Lina and Alyssa for the great work they are doing on the GPU side. I have a MacBookAir M2 and am looking forward to using GPU acceleration on Asahi Linux. I assume it will still be months before the driver is released for everyone, but I'll wait. Thank you#asahi-gpu · 2022-11-26 22:15
iaguissorry, cat on the keyboard :D#asahi-gpu · 2022-11-26 22:15
iaguisþpcc#asahi-gpu · 2022-11-26 21:13
onethirtyfivenp, thought it might be novel enough to warrant interest.#asahi-gpu · 2022-11-26 21:10
svenand, to paraphrase marcan, unless you know what you’re doing and how to recover if you break things the driver probably isn’t ready for you yet #asahi-gpu · 2022-11-26 21:09
sventhis channel is for gpu development and not support fwiw#asahi-gpu · 2022-11-26 21:08
onethirtyfiveVery much a noob with kernel stuff. Appreciate any insight.#asahi-gpu · 2022-11-26 21:08
onethirtyfiveI marked some log entries with "[EMPHASIS][/EMPHASIS]" to show what I mean.#asahi-gpu · 2022-11-26 21:06
onethirtyfiveHere is a pastebin of my NixOS boot log on a Macbook Pro M1 Max. I don't think my kernel is able to reserve memory for the UAT Handoff when it gets around to probing for my GPU. https://pastebin.com/WPFmGCCV#asahi-gpu · 2022-11-26 21:05
onethirtyfiveI'll try this here first because it seems lower level than the distro I'm using, but if this is more suitable for #asahi-alt, please lmk.#asahi-gpu · 2022-11-26 20:48
onethirtyfivehey all! grateful for this community's efforts. :)#asahi-gpu · 2022-11-26 18:44
ashiIt built but did not boot - static cursor top left, black screen - m2 air, guess I missed something.#asahi-gpu · 2022-11-26 17:27
ashi(well loooong compile time ahead - but anyway it passed that error :))#asahi-gpu · 2022-11-26 17:27
ashiDcow: thanks, that worked :D#asahi-gpu · 2022-11-26 17:25
Dcowshould be enabled and built-in#asahi-gpu · 2022-11-26 17:25
Dcowor OF_DEVICE_OVERLAY#asahi-gpu · 2022-11-26 17:25
Dcowashi: check CONFIG_OF_OVERLAY or something like that #asahi-gpu · 2022-11-26 17:21
ashiany ideas? the internet does not know that error hmmm#asahi-gpu · 2022-11-26 17:21
ashi --> rust/kernel/of.rs:88:43#asahi-gpu · 2022-11-26 17:21
ashierror[E0425]: cannot find function `of_node_get` in crate `bindings`#asahi-gpu · 2022-11-26 17:21
ashitrying to get rust kernel support running, it says rust is available linas driver is selected. but: #asahi-gpu · 2022-11-26 11:59
jannauI've seen xonotic crashes before though on the same machine#asahi-gpu · 2022-11-26 11:59
yukaI have the same branches#asahi-gpu · 2022-11-26 11:58
jannauyuka: xonotic works for me on m1 ultra. lina's kernel from yesterday and mesa asahi/main#asahi-gpu · 2022-11-26 11:57
jannauoh, that looks indeed like broken state#asahi-gpu · 2022-11-26 11:49
yukaWhen the dcp is disabled (or isn't probed properly) it works#asahi-gpu · 2022-11-26 11:49
yukajannau: this happens when I start xonotic with both gpu and dcp drivers enabled, on the MacBook Pro 2021 M1 Pro#asahi-gpu · 2022-11-26 11:48
yukahttps://termbin.com/teoq#asahi-gpu · 2022-11-26 11:47
jannauyuka: after the 2nd frame? probably missing debug information and frame pointers. it would require code analysis / memory access to unwind the stack under these conditions#asahi-gpu · 2022-11-26 10:17
yukaand in this case that is giving me "Backtrace stopped: previous frame identical to this frame (corrupt stack?)" x.x#asahi-gpu · 2022-11-26 10:16
yukamy gdb knowhow ends at "run" and "bt"#asahi-gpu · 2022-11-26 01:45
alyssa..progress?#asahi-gpu · 2022-11-26 01:45
alyssaPass: 9962, Fail: 1379, Crash: 348, Skip: 6033, Timeout: 5, Flake: 4, Duration: 3:47, Remaining: 0#asahi-gpu · 2022-11-25 23:49
alyssapanfrost+rockchip seems to work but maybe only if built as modules#asahi-gpu · 2022-11-25 23:49
alyssajannau: I've hit the same issue on panfrost+mediatek so meh#asahi-gpu · 2022-11-25 23:20
jannaudocumentation suggest that drm_aperture_remove_framebuffers should be called first but that resulted sometimes in no /dev/dri/cardX at all#asahi-gpu · 2022-11-25 23:19
jannauor I need to investigate why drm_aperture_remove_framebuffers() and devm_drm_dev_alloc() race each other#asahi-gpu · 2022-11-25 23:16
alyssamarcan: may need to ship something like that for the reference distro..