marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
DarkShadow44 has quit [Ping timeout: 480 seconds]
<jevinskie[m]>
Merry Christmas! I made a thing with m1n1: standalone xnu kernel loading with builtin DT patching. Working on adding APFS support to kettenis’s u-boot so you don’t have to concatenate the XNU kernel to m1n1. :) https://mobile.twitter.com/jevinskie/status/1474533162608996352
DarkShadow44 has joined #asahi
tpw_rules has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Glanzmann>
NightRaven[m]: I updated the guide to include the right config. Also there is now a faster way to bootstrap. I incorporate that.
<Glanzmann>
Saves you the usb stick roundtrip.
DreamOtter has quit [Ping timeout: 480 seconds]
nobodynada has quit [Ping timeout: 480 seconds]
<Glanzmann>
marcan: wifi take3 still does not work on air. Same behaviour. See the device, can assoicate, no traffic. If I find out the reason, I let you know.
<Glanzmann>
amw: I tried your kernel config. What software do you use for wifi? wpa_supplicant? Do you have a personal wpa3 hotspot?
nobodynada has joined #asahi
DreamOtter has joined #asahi
DreamOtter has quit [Ping timeout: 480 seconds]
DreamOtter has joined #asahi
darkapex1 is now known as darkapex
nobodynada has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
joske has joined #asahi
<joske>
Glanzmann: wifi is working perfectly on my air
<Glanzmann>
So this was pebkac all long. I'll use the debian default config and add the m1 specific options and hope that than I have finnaly all necessary kernel modules.
<Glanzmann>
joske: Btw. I also still have a problem with the touchpad. It is detecting it as mouse. As a result I don't have the middle and right buttons and the scrolling: ttps://pbot.rmdir.de/oMpVkDPLl5qva8jHANfE3A
<Glanzmann>
mps: Thank you for pointing me to iwd, that way it was easy to debug. :-)
<joske>
Glanzmann: it does not work with your config. I diffed many times with mps' config bit could not find what is the problem. I just used mps' config
<mps>
joske: and you changed PAGE_SIZE to 16K I presume
<Glanzmann>
mps: With your kernel config I got the wireless running. Thank you again. Strange thing is I don't get it running using wpa-supplicant but iwd works a lot and I get why you prefer it. ;-)
<mps>
Glanzmann: I think you should have '-Dnl80211' parameter for wpa_supplicant if you want to use it with brcmfmac
c10l has joined #asahi
<Glanzmann>
mps: Normally I have but for this notebook I revereted back to a simple config. Maybe that's it. Let me try.
<mps>
but using wpa_s if you can use iwd is 'painful' imo
<Glanzmann>
mps: I agree. Also iwd told me that I'm too stupid compile a kernel and set what the problem is and it is indeed fast. I like it. I consider switching.
<mps>
Glanzmann: you can use iwd with conman or NetworkManager if you need these gui front-ends
<Glanzmann>
mps: Btw. about the tocuhpad, which is finally working. I forgot to install the mtrack module.
<Glanzmann>
mps: I don't like NetworkManager and avoid wherever I can because it got to many times in my way.
<mps>
hmm, I don't have mtrack installed. is it better than libinput
<Glanzmann>
mps: Probably not, but I'm not sure. it is working for now but very sensitive and palm detection does not work that well.
<Glanzmann>
mps: The strange thing about libinput at least on debian bullseye it was detecting the trackpad as mouse and don't give me right and middle click.
<Glanzmann>
tter. In the beginning it was not working. But that was because the xorg in 'Debain stable bullseye does not have an up2date libinput xorg driver'. Now with testing it is working.
<Glanzmann>
The returns above were the enabled Tapping. :-)
joske has quit [Quit: Quit]
DreamOtter has quit [Ping timeout: 480 seconds]
<marcan>
pushed wifi/take5 with support for uploading TxCap blobs and WiFi calibration blobs. you need to update m1n1 (for the cal blob passthrough) and re-extract the firmware with the installer script (for the TxCap blobs)
<marcan>
I wonder if this will change WiFi performance for anyone
<mps>
marcan: how to measure performance? with iperf?
<mps>
Glanzmann: you are welcome, and nice to hear that you fixed it
<marcan>
mps: no idea, no idea what changes you might expect :-)
<marcan>
could be range related, could only affect some bands/modes, etc
<marcan>
"just try stuff"
<mps>
marcan: ok
<Glanzmann>
I'll try it and report.
<j`ey>
marcan: must be 30 patches now..
<marcan>
33, apparently
<marcan>
it's going to be fun firing that off
<mps>
ok, will build it and test to see if there are differences, though it is quite good now
<marcan>
which I will soon, can I still say merry xmas in the cover letter if it's on the 26th? :p
<Glanzmann>
mps: Do you have any config that speeds up pointer speed? With 'mtrack' it was really sensitive. With libinput it is very slow. Something in the middle would be nice.
<j`ey>
26th is 'Boxing Day' in the UK
<mps>
Glanzmann: I do with this in .xinitrc `xinput -set-prop 'MacBook Force Touch trackpad' 'libinput Accel Speed' 0.7`
<Glanzmann>
mps: Thank you. That is much better.
<ar>
mps: why not put that in xorg.conf.d?
<mps>
ar: laziness, I guess :)
<mps>
ar: jk, I have home dir which I run on different machines and set difference between machines in .xinitrc and this is one which differs on them
<mps>
so I simply rsync home from one machine to another and I switch to another and have same settings, touchpad/keyboard tweaks and other things
<Glanzmann>
mps: I also have an environmnt that I copy to all machines.
<Glanzmann>
mps: Btw. Do you have something for firefox settings, because that ones I always do manually.
<mps>
Glanzmann: `sed -i 's/gtk-font-name = Cousine ./gtk-font-name Cousine = 8/' .config/gtk-3.0/settings.ini` is mostly enough for firefox
<mps>
and this `echo 'Xft.dpi: 140' | xrdb -merge` for DPI change
<Glanzmann>
mps: I see. For the resolution I was happy I was thinking about all the other settings (basically I turn all crap off, blank start page, ublock origin, I don't care about cookies and delete entire history on startup)
<Glanzmann>
Btw. I also have the xft.dpi setting. :-)
<mps>
my $HOME/.mozilla is rsynced
<Glanzmann>
mps: I see. and that is enough, good to know.
<mps>
yes, if you set DPI, icon size, cursor size and font size for gtk that is fine (for me) though not super perfect
c10l has joined #asahi
<Glanzmann>
Have you tried, how long you can stay on battery with your macbook pro on Linux?
<mps>
didn't tested this yet
<mps>
ok, ready to install new m1n1 and test wifi5 branch
<mps>
take5*
<Glanzmann>
Oh I forgot to rebuild m1n1.
<Glanzmann>
But it also works well with the old m1n1
<Glanzmann>
What is strange about the wifi is, I have a 5ghz access point on my desk right next to the macbook air, but it goes with 2ghz. Both are on the same SSID though.
<Glanzmann>
mps: I see you also have only 2ghz. Any luck with 5ghz?
<Glanzmann>
mps: When I boot macos and hold down the option key while klicken on the wifi symbol top right, I see 1200 Mbps rate. When I measure on macos I get over 100 MB/s.
<mps>
Glanzmann: no, didn't ever tried 5GHz, quite satisfied with 2
<marcan>
5G works perfectly fine for me on the m1 pro
joske has joined #asahi
<Glanzmann>
marcan: I see, strange.
<mps>
Glanzmann: look at RoamThreshold5G param in 'man iwd.config'
<Glanzmann>
mps: I set the follwoing: /etc/iwd/main.conf Now I'm getting half a gbit/s.
<joske>
5GHz wifi saturates my broadband at 285 Mbps
<joske>
Glanzmann: well, it saturates my WAN connection so macOS can not be faster ;-)
<joske>
will test LAN speed
<Glanzmann>
joske: I got a dark fibre from German Telekom recently. They sell 1000 Mbit/s. At some point they noticed that this is more than 1 Gbit/s which is around 930 Mbit/s. So they now ship optical termination points with a 2.5 Gbit/s RJ45 interface. By using that I get slightly 110% of Gbit. So approx 128 MB/s IPv4 and 125 MB/s IPv6.
<Glanzmann>
This is downspeed only. Uplink I get around 30 MB/s IPv4 which is more than the 200 Mbit/s they promise.
<marcan>
speedtest.net says about 170/200, which isn't bad for 5G with the AP one floor up
<Glanzmann>
marcan: https://pbot.rmdir.de/jWw3BO--fqLptwFtS0JGAQ So I'm full speed. But something is slowing down. Because I know on macos I get 25MB/s more. But it is of course still more than I need.
<marcan>
it's a different IP stack and driver and it's very hard to do scientific tests of wifi
<joske>
anyone know what's the status of sound on the m1 air?
<marcan>
> At some point they noticed that this is more than 1 Gbit/s which is around 930 Mbit/s. ????
<marcan>
1Gbit/s is 1000Mbit/s
<marcan>
that's... how SI prefixes work
<marcan>
I'm confused
<Glanzmann>
marcan: Yes, but there is overhead.
c10l has joined #asahi
<Glanzmann>
mac, ip, tcp, preamble ...
<marcan>
oh, you mean TCP throughput vs wire speed