#asahi-alt · 2022-11-27 08:01
mpsashi: I'm on m1pro and old m1n1 (3 months iirc) in stage1, and gpu works fine with m1n1 stage2 built from git#asahi-alt · 2022-11-27 07:33
ashiwill try to build without asahi_drm and see if dcp works then#asahi-alt · 2022-11-27 07:31
ashiDid that for a while to test various features, but with dcp I never succeeded#asahi-alt · 2022-11-27 07:31
ashichamed: I am on m1n1 1.1.8 (1st stage) updated with the 0.5 installer, m1n1 stage2 compiled from the lina/gpu-wip branch. and included dtb from the kernel#asahi-alt · 2022-11-27 01:46
chadmeddcp works with m1n1 1.1.8 though#asahi-alt · 2022-11-27 01:45
chadmedashi, onethirtyfive: be sure to update m1n1 stage 2 with the devicetrees from the kernel branch youre trying to build. the gpu stuff is not in the release branch of m1n1 yet either so unless youre brave and willing to build out of tree m1n1s then youre best off just waiting#asahi-alt · 2022-11-26 23:56
cy8aerbad news that it is not working...#asahi-alt · 2022-11-26 23:44
ashithe new option did update my m1n1 1st stage but the problem persists. Anyway, need to sleep, Thank you cy8aer!#asahi-alt · 2022-11-26 23:31
ashiI will try that now#asahi-alt · 2022-11-26 23:23
cy8aerahem yes, just do start up the install script on the macOS side again. With version 0.5 you will find an upgrade option (was it "m"?)#asahi-alt · 2022-11-26 22:58
ashihmmm could it be I need to update my first stage m1n1 or something?#asahi-alt · 2022-11-26 22:52
ashiSo, yes, I never got dcp working. thats probably where I am stuck#asahi-alt · 2022-11-26 22:51
ashi(I mean dcp was enabled for *M2*)#asahi-alt · 2022-11-26 22:51
ashij`ey: thanks#asahi-alt · 2022-11-26 22:49
ashiA few days ago apple drm just did not work because it wasnt probed on purpose - then when probing changed and dcp was enabled I got a black screen and probably unrelated to the asahi drm#asahi-alt · 2022-11-26 22:49
j`eysimpledrm is the boot framebuffer that is used until the GPU/DCP can take over#asahi-alt · 2022-11-26 22:48
j`eyasahi drm is the actual GPU driver#asahi-alt · 2022-11-26 22:48
j`eyapple drm is the display part, framebuffer etc#asahi-alt · 2022-11-26 22:48
ashiwhat I never understood is why simpledrm -> apple drm -> asahi drm all have to be used and how they work together - I have all tree enabled#asahi-alt · 2022-11-26 22:47
ashiI tried jannus patches for m2 dcp and it did not work for me - they are included in linas gpu branch also.#asahi-alt · 2022-11-26 22:47
ashiapple drm also did not work, yes#asahi-alt · 2022-11-26 22:33
cy8aer(so without the gpu stuff) If it is not running as well than apple drm might be the problem.#asahi-alt · 2022-11-26 22:33
cy8aerDid you try the dcp kernel?#asahi-alt · 2022-11-26 22:33
cy8aerThe discussion was about simpledrm and apple drm. And about swapping to apple drm. I am running the dcp kernel and that ist running with DRM_APPLE and I could bet that this option is set to the gpu kernel too. So it should work... on an m1-pro system (because I have it running on an mbp...)#asahi-alt · 2022-11-26 22:28
ashiI know the DCP stuff is very new for M2 - but since lina had it working .... ;)#asahi-alt · 2022-11-26 22:23
cy8aer... or #asahi-dev (just let me search)#asahi-alt · 2022-11-26 22:23
cy8aerOups I meant #asahi#asahi-alt · 2022-11-26 22:23
cy8aerBut I remember that @Glanzmann himself had problems with the screen output. There was some discussion here or at @asahi...#asahi-alt · 2022-11-26 22:22
ashiAnd it is an M2 Air, but with latest changes from lina#asahi-alt · 2022-11-26 22:22
ashiI am aware that I need to build mesa for the next steps, just wanted to see drm/asahi booting#asahi-alt · 2022-11-26 22:22
cy8aerok forget the mesa theses...#asahi-alt · 2022-11-26 22:21
ashicy8aer: yes exactly#asahi-alt · 2022-11-26 22:21
cy8aeryou mean directly after starting the kernel?#asahi-alt · 2022-11-26 22:20
ashicy8aer: no console?#asahi-alt · 2022-11-26 22:14
cy8aerashi: I guess you need the mesa user space stuff. Otherwise there is nothing which feeds the gpu and the screen stays black.#asahi-alt · 2022-11-26 22:13
ashiGlanzmann: did you ever successfully boot the gpu kernel? Or do you have a .deb published? I built the driver with LLVM and rust, also used the gpu-wip branch for m1n1 etc, but got a black screen#asahi-alt · 2022-11-26 21:27
onethirtyfiveIf it's at all useful, my fork of tpwrules/nixos-m1 has the rust driver modifications on it. Same name on GH.#asahi-alt · 2022-11-26 21:26
onethirtyfiveHey everyone! I hope this is an appropriate place to ask. Thanks to tpw_rules excellent work, I have nixos running fine on my M1 Max MBP. I added rust support (hackily) to kernel build to get asahi gpu drivers, but something related to "of" and "fdt" stuff is failing at boot, right at the top: https://pastebin.com/WPFmGCCV (ctrl+f "EMPHASIS")#asahi-alt · 2022-11-26 15:17
Ry_Darcy@Glanzmann In other words, I used your gpu.sh script and I am running with a (XFCE) desktop. #asahi-alt · 2022-11-26 14:15
Ry_Darcy@Glanzmann did you see my entries from Friday morning (07:40)?#asahi-alt · 2022-11-26 08:17
mps_jannau: yes, it works. just had to change 'card2' to 'card1'#asahi-alt · 2022-11-25 23:11
jannaucompositing window manager will be broken though due to missing vblank events#asahi-alt · 2022-11-25 23:10
jannauXorg-server should work with https://www.jannau.net/asahi/30-modeset.conf in /etc/X11/xorg.conf.d/ with the asahi 3D gpu driver#asahi-alt · 2022-11-24 21:26
cy8aermbp14 (no external usb keyboard!)#asahi-alt · 2022-11-24 21:25
cy8aer@Glanzmann: Hm, there might be something wrong with the dcp-kernel/u-boot: There is no keyboard when booting often. So you are not able to e.g. enter a passphrase for unlocking a crypted disk.#asahi-alt · 2022-11-24 14:33
cy8aerAh found out that dcp is no debian package. Build it by my own and it works.#asahi-alt · 2022-11-24 14:33
cy8aer> @irc_oftc_glanzmann:g3la.de: Do you build a version of the actual "stable" kernel for ksh.sh?#asahi-alt · 2022-11-24 14:14
ahdeb[m]Glanzmann (IRC): one more for the apt-get install (this time dcp.sh): /bin/sh: 1: zstd: not found#asahi-alt · 2022-11-24 07:57
Ry_Darcy 6.1.0-rc5-asahi-GPU+#asahi-alt · 2022-11-24 07:40
Ry_Darcy@Glanzmann https://pbot.rmdir.de/BnCTeF8IpAVXQhPfs3n7Nw