2022-11-27
01:24jamespmo_ has joined #asahi-alt
01:30jamespmorgan has quit [Ping timeout: 480 seconds]
01:45chadmedashi, 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
03:29jamespmorgan has joined #asahi-alt
03:35jamespmo_ has quit [Ping timeout: 480 seconds]
03:54_whitelogger has joined #asahi-alt
04:01cy8aer has quit [Server closed connection]
04:02cy8aer has joined #asahi-alt
04:05ChaosPrincess has quit [Server closed connection]
04:05ChaosPrincess has joined #asahi-alt
04:12phire has quit [Server closed connection]
04:12phire has joined #asahi-alt
04:14chadmed has quit [Server closed connection]
04:14chadmed has joined #asahi-alt
04:35balrog has quit [Server closed connection]
04:38balrog has joined #asahi-alt
04:38winter has quit [Server closed connection]
04:39winter has joined #asahi-alt
04:43benzmac16v has joined #asahi-alt
04:51cylm has joined #asahi-alt
04:54_alice has quit [Server closed connection]
04:54_alice has joined #asahi-alt
04:54cylm_ has joined #asahi-alt
05:01cylm has quit [Ping timeout: 480 seconds]
05:03benzmac16v has quit [Ping timeout: 480 seconds]
05:26benzmac16v has joined #asahi-alt
05:36Avaflow has quit [Server closed connection]
05:36benzmac16v has quit [Ping timeout: 480 seconds]
05:36Avaflow has joined #asahi-alt
05:37psanford has quit [Server closed connection]
05:37psanford has joined #asahi-alt
06:16JTL has quit [Server closed connection]
06:17JTL has joined #asahi-alt
06:33steffen[m] has quit [Server closed connection]
06:33steffen[m] has joined #asahi-alt
06:35nuup has quit [Server closed connection]
06:36nuup has joined #asahi-alt
06:40vivithecanine has quit [Server closed connection]
06:40vivithecanine has joined #asahi-alt
06:41tumblingweed has quit [Server closed connection]
06:42tumblingweed has joined #asahi-alt
07:27ashi has joined #asahi-alt
07:31ashichamed: 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
08:01mpsashi: I'm on m1pro and old m1n1 (3 months iirc) in stage1, and gpu works fine with m1n1 stage2 built from git
08:13_jannau_ has quit [Server closed connection]
08:13_jannau_ has joined #asahi-alt
08:20ah- has quit [Server closed connection]
08:20ah- has joined #asahi-alt
08:22ashi has quit [Ping timeout: 480 seconds]
08:35Glanzmann has joined #asahi-alt
08:36GlanzmannRy_Darcy: I have not seen the message from the day before yesterday. But the one from yesterday. Great that it works for me.
08:36GlanzmannI have not yet build a deb package for the gpu kernel. Mainly because I have not got it running for myself.
08:37GlanzmannI guess on the mini it works, like Ry_Darcy reported. But on the macbook air, I have no wifi due to the statically linked kernel config from alyssa.
08:37Glanzmannmps: Do you have a kernel config for the gpu with models, where the gpu and wifi works?
08:49mpsGlanzmann: but with latest gpu branch with commit id f9c7334caaa6c85f4ef1c920198e248630493004 xorg doesn't work, i.e. X starts but screen is blank
08:52mpsGlanzmann: no, I will look further when I finish my $day_work (if I manage all I have to do today)
09:23ashi has joined #asahi-alt
09:24ashioh wow, DCP and apple_drm work on m2 air now with the latest gpu branches, I took my previous (freezing) kernel config and just disabled asahi_drm
09:27ashiI wonder why it did not work before. so now I am even more curious why the rust drm driver does not work. I compliled it in, as a module I get unresolved symbols... did you build it as a module or compiled in?
09:28Glanzmannashi: It is a moving target and there a lot of bugs in the current asahi branch which requires to load kernel modules in certain orders so that they work. Anyway, we just have to wait for christmas. Maybe we get a gpu present under the tree. If not this year, maybe next year.
09:30Glanzmannashi: Yeah, brightness control is nice and annoyting. I stil have the version where it resets the display to the old value and I have to manually adjust it. :-)
09:31mpswith the latest commit in gpu kernel branch I've got a lot of '406400000.gpu: [File 11]: IOCTL: submit failed! (submission ID: 2890 err: EINVAL)' when start X. on console this doesn't happen
09:34Glanzmann has quit [Quit: back to work]
09:34ashiGlanzmann: yes I know it is a moving target. I was just curious, building my first rust driver, llvm etc. feels like back in the linux ~2.0 days where I compiled kernels like every few days - and thanks to rust and llvm I feel like an idiot again
09:36chadmedagain, x11 is broken and its being worked on. wayland is the only thing properly supported at the moment.
09:42mpsashi: yea, I have same experience, though I started with linux 1.x, and few days ago had to learn tou build it with llvm and rust
09:44Ry_Darcy has joined #asahi-alt
09:55ashimps: I also started with 1.x - on an AMD 386DX 40Mhz with 4MB ram. Slackware from floppydisks. Debian user since 0.9 (the installer said so)
09:57ashiwell we are reset to idiots from time to time, thanks to wayland, pulseaudio, systemd, rust etc
10:00mpsashi: ah, my 'path' was similar to your, 386DX, 4MB ram, slackware, and later debian iirc also 0.9 - but few years ago I 'ditched' debian and switched to alpine
10:04ashimps: ok but dont tell me it also was a vobis 286DX-16 later self-upgraded with an amd 386-dx mainboard - for the purpose of runniing linux
10:05ashiI did not know apline was a usable distribution, I thought is was rather used as an lxc container base or semi-embedded stuff
10:07mpsashi: ehm, I forgot exact model of CPU and board, but it was something you can buy in 1992-93
10:09mpsashi: postmarketOS is used on a lot of old phones and chromebooks and it is based on alpine linux, that says that alpine is very usable as workstation
10:13mpsashi: oh, as a curiosa alpine was first distro used on apple silicon as daily driver/workstation
10:15ashimps: most downloaded = most pulled from docker containers? :P - I think I will have a look at alpine
10:15chadmed_ has joined #asahi-alt
10:18ashimps: did some search for packages I require for use as a desktop, to my surprise most of them where in, but not all
10:20j`eyashi: probably not too hard to port them, just depends on how many deps it has, if it needs patching etc
10:21mpsand j`ey is right, it is not hard to add missing software, just need someone to create request or prepare pkg
10:22ashimps: I also ran i3 then sway for a long time but with sway I failed at setting all those ssh-agent gnupg-agent, whatever stuff and now I use GNOME with pop_shell extension for tilling
10:25mpswell, I tried wayland long ago, and still trying from time to time but I'm not yet ready to switch to it
10:25chadmed_havent had any problems at all with wayland+xwayland where necessary after ditching my last nvidia card
10:26ashifor me wayland also works well, switched since I had tearing problems with i3+compton(or forks), also wayland had video acceleration in firefox first
10:32Ry_Darcy@Glanzmann Strange things happening here. As per your gpu.sh script, I download curl -o .config https://tg.st/u/92ad8143f16d51179975a7dc5f4a50990f57a20c97668a0be746a118f992ed63.config. The .config created has a CONFIG_DRM_ASAHI=y entry. However, after running make LLVM=-14 olddefconfig, the asshi entry has disappeared from the .config file. Any ideas why?
10:41ashiI also know what you are talking about ;) - the entry disappers if the rust requierements are not met (wrong rust version, no cross compiler, etc)
10:41ashidid you read this: https://github.com/Rust-for-Linux/linux/blob/rust/Documentation/rust/quick-start.rst ?
10:55Ry_DarcyNot impressed. The RUST job compiles cleanly with no warnings messages etc. However, something that deletes an entry in .config (asahi-drm) SILENTLY is to my (Mainframe) inexcusable. Is this dreadful behaviour documented somewhere?
10:58chadmed_ has quit [Read error: No route to host]
11:02ashi │ Depends on: HAS_IOMEM [=y] && RUST [=y] && DRM [=y] && (ARM64 [=y] && ARCH_APPLE [=y] || COMPILE_TEST [=n] && !GENERIC_ATOMIC64 [=n]) && MMU [=y] │
11:03chadmed_ has joined #asahi-alt
11:03ashiso if you are for example compiing on x86-64 and ARCH=arm64 is not set it will remove CONFIG_DRM_ASAHI
11:12chadmed_of course theres no errors because it simply does not try to build the rust stuff if it cant find rust
11:15Ry_Darcy@Chadmed yes on both counts. Why does the f**king not tell me then it cannot finf this or cannot find that? Pulls hair out..
11:16chadmed_try running the rust_is_available scripts again but pass RUSTC=rustc BINDGEN=bindgen in to it
11:16Ry_DarcyRan curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh etc. with no obvious error, have Clang, LLVM 14 + dependencies installed.
11:19Ry_Darcy: unknown C compiler *** *** Source code for the 'core' standard library could not be found *** at '/root/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs'.
11:33cylm_ has quit [Quit: WeeChat 3.6]
11:34Ry_DarcyThanks to you all. The Asahi DRM entry stays in .config. I am sure it will boot, but XFCE (x) will not take off. Again, all of this is strange to a Mainframer. Either things work or do not work - and everything is extensively documented. Will report back when I see the black screen...
11:36chadmed_not only is the driver unfinished, but the entire RfL infrastructure is also in its infancy
11:37chadmed_this is why we advised against trying to do build and test the driver at this point in time if youre not capable of/willing to deal with the jank yourself
11:38ashiNeed to go, will see how this turned out. For me basically doing the same on m2 led to a black screen and frozen kernel without any output at boot. But m1 could work.
11:39ashi has quit [Quit: Leaving]
11:51mpsRy_Darcy: did you read above my comment to Glanzman that latest kernel gpu commit doesn't work with xorg
11:52mpsRy_Darcy: jannau| Xorg-server should work with https://www.jannau.net/asahi/30-modeset.conf in /etc/X11/xorg.conf.d/ with the asahi 3D gpu driver
11:56Ry_Darcy has quit [Remote host closed the connection]
12:02Ry_Darcy has joined #asahi-alt
12:04Ry_DarcyHopefully, we have some GPU activity here. Ring buffer here - https://paste.debian.net/1262026/
13:04lawrence has joined #asahi-alt
13:13chadmed_ has quit [Remote host closed the connection]
13:16chadmed_ has joined #asahi-alt
13:18chadmed_ has quit [Remote host closed the connection]
13:32jannaudont have to. "DRM_SIMPLEDRM=y DRM_APPLE=m, DRM_ASAHI=m" will be the recommended config for a (genral purpose) distribution
13:34jannausimpledrm should be able to display kernel log earlier than dcp and is harder to break so it is useful to have it
13:42jannauyes, I'm just trying to tell you that it is recommended to leave simpledrm on even then dcp is used
13:46compassion has quit [Quit: lounge quit]
13:48compassion has joined #asahi-alt
14:01compassion has quit [Quit: lounge quit]
14:01compassion has joined #asahi-alt
14:02compassion has quit []
14:03compassion has joined #asahi-alt
14:16Ry_Darcy has quit [Remote host closed the connection]
14:53ashi has joined #asahi-alt
14:59Ry_Darcy_ has joined #asahi-alt
15:01Ry_Darcy_@all I seem to be running on the GPU with my setup. As I am not a gamer or fan of yewtube, I do not see much of a difference in performance, it at all.
15:05Ry_Darcy_@ashi No, I have also have problems with that. It complains about wayland-scanner not being installed (which it is). I suspect another path/variable/offset problem.
15:09benzmac16v has joined #asahi-alt
15:11ashiI am not at the point where compiling mesa makes sense, since asahi_drm does not seem to work on m2 (only in youtube videos :D )
15:23Ry_Darcy_@ashi - see here https://pbot.rmdir.de/MSOLzj0AO6iuNKLhujE6uw I presume that latest one.
15:27ashiRy_Darcy_: you cound cheat by installing the build dependencies for the debian mesa package
15:28ashi(of course te mesa you want to build is newer and could need more of those dependencies, or newer versions)
15:33benzmac16v has quit [Ping timeout: 480 seconds]
15:34ashi has quit [Remote host closed the connection]
15:35ashi has joined #asahi-alt
16:11Ry_Darcy_ has quit [Remote host closed the connection]
16:43ashi has quit [Ping timeout: 480 seconds]
18:05cylm has joined #asahi-alt
21:14ashi has joined #asahi-alt
21:29ashi has quit [Quit: Leaving]
22:11benzmac16v has joined #asahi-alt
22:24benzmac16v has quit [Ping timeout: 480 seconds]
23:04benzmac16v has joined #asahi-alt
23:12benzmac16v has quit [Ping timeout: 480 seconds]
23:42mps has quit [Server closed connection]
23:42mps has joined #asahi-alt