Email or username:

Password:

Forgot your password?
Top-level
Asahi Linya (朝日りにゃ〜)

@ljs @1ace Normally you should have all three, but make sure you don't have EFIFB (that one's problematic). The DCP driver (DRM_APPLE) should take over simpledrm. Asahi is the render only GPU driver.

gist.github.com/asahilina/8090

9 comments
Lorenzo🐧

@lina @1ace Strange it seems like DRM_APPLE doesn't override simpledrm for me. Maybe I'm missing a step? I have an m2 air unless that is one that's unsupported now? 😢

Asahi Linya (朝日りにゃ〜) replied to Lorenzo🐧

@ljs @1ace Check dmesg, it should log if something went wrong. You did update m1n1 together with the device trees from the kernel branch, right? ^^

Lorenzo🐧 replied to Asahi Linya (朝日りにゃ〜)

@lina @1ace dmesg was giving me nothing on drm.

Yeah have updated m1n1 and added dtb files to boot.bin

btw I very much appreciate wasting your time with my stupid laptop issues 🤣 I realise you are doing me a favour here :)

Lorenzo🐧 replied to Asahi Linya (朝日りにゃ〜)

@lina @1ace Oh hang on I may have made a VERY stupid mistake... 🤦 let me report back....

Lorenzo🐧 replied to Lorenzo🐧

@lina @1ace OK so I made a silly mistake of not updating a script to copy the right DRB files to the boot.bin (doh!)

That's fixed now, but getting:-

apple-drm soc:display-subsystem: Failed to add to iommu group 0: -17

Lorenzo🐧 replied to Lorenzo🐧

@lina @1ace OK enabling apple_dart and iommu_io_pgtable_dart seemed to fix that, but now the display doesn't want to be available however drm_apple is loading properly and I get backlight control (yay!) but no gfx as of yet...

still investigating

Lorenzo🐧 replied to Lorenzo🐧

@lina @1ace

Seems 'cannot find any crtc or sizes' is the isue. Also 'RTKit: failed buffer request for 0x10000 bytes' from apple-dcp.

Lorenzo🐧 replied to Lorenzo🐧

@lina @1ace fwiw iova for failed dma alloc is 0x800824000

Lorenzo🐧 replied to Lorenzo🐧

@lina @1ace actually that's the pointer of the field the dma handle is put in haha so not so useful.

Looks like it's

err = rtk->ops->shmem_setup(rtk->cookie, buffer);

That is reporting -ENOMEM.

Go Up