#
…

2022-06-06

00:10yrlf has joined #asahi
00:12lrea^ has joined #asahi
00:27nicolas17 has joined #asahi
01:20RevHelix has quit [Quit: I am going to make my own channel, with blackjack and hookers!]
01:21bps2 has joined #asahi
01:21RevHelix has joined #asahi
01:28bps has quit [Ping timeout: 480 seconds]
01:30bps2 has quit [Ping timeout: 480 seconds]
01:39chadmed has quit [Remote host closed the connection]
01:39chadmed has joined #asahi
01:49BlitzWorks has quit [Ping timeout: 480 seconds]
01:50phire has quit [Ping timeout: 480 seconds]
01:52phire has joined #asahi
01:54rootbeerdan has quit [Ping timeout: 480 seconds]
01:55lrea^ has quit [Ping timeout: 480 seconds]
02:11phire_ has joined #asahi
02:11phire is now known as Guest1290
02:11phire_ is now known as phire
02:14Guest1290 has quit [Ping timeout: 480 seconds]
02:29lrea^ has joined #asahi
02:43Moprius has quit [Quit: Konversation terminated!]
02:46PhilippvK has joined #asahi
02:49phiologe has quit [Ping timeout: 480 seconds]
02:55edfu[m] has joined #asahi
03:02lrea^ has quit [Ping timeout: 480 seconds]
03:14marvin24 has joined #asahi
03:18marvin24_ has quit [Ping timeout: 480 seconds]
03:26chadmed has quit [Remote host closed the connection]
03:27chadmed has joined #asahi
03:32BlitzWorks has joined #asahi
03:32pyropeter3 has joined #asahi
03:34pyropeter2 has quit [Ping timeout: 480 seconds]
03:47kov has quit [Quit: Coyote finally caught me]
04:08AoV has joined #asahi
04:17solv[m]1 has joined #asahi
04:42Ry_Darcy has joined #asahi
05:10jluthra has quit [Remote host closed the connection]
05:11jluthra has joined #asahi
05:11the_lanetly_052__ has joined #asahi
05:20nicolas17 has quit [Quit: Konversation terminated!]
05:55ZeeFlea[m] has joined #asahi
05:56ZeeFlea[m]Excuse me. I have monitor but menu button is broken. How to decrease brightness in asahi?
05:57tpw_rulesthat's not supported yet
05:57tpw_rulesif you mean on a laptop, you can change the brightness in macOS and that will be the brightness in asahi
05:59ZeeFlea[m]Oh ok. In mac mini. I cannot change brightness in macos too.
06:05IcaroDextris[m]<ZeeFlea[m]> "Oh ok. In mac mini. I cannot..." <- Does you monitor support dcc?
06:06IcaroDextris[m]To change brighteness from os
06:08ZeeFlea[m]My monitor is old lcd monitor, I think it doesn't support dcc
06:11IcaroDextris[m]Try to check through dcc control (with gui version is easier for me) if you want
06:12IcaroDextris[m]Or write here the model so I can search it
06:13ZeeFlea[m]The model is StormX F215W1.
06:19IcaroDextris[m]Can’t find anything useful about this monitor 🫤 I suggest you to try if ddc control let’s you to change brightness
07:12bisko has joined #asahi
07:20bisko has quit [Ping timeout: 480 seconds]
07:28bisko has joined #asahi
07:37mazamarioguy: the vgic relies on a full SW emulation of the distributor, the redistributors, and to feed the virtual interrupts into a very thin pipe that is (badly) implemented in HW.
07:37mazamarioguy: that's about 60% of the whole KVM code.
07:37lrea^ has joined #asahi
07:51bisko has quit [Ping timeout: 480 seconds]
08:02lrea^ has quit [Ping timeout: 480 seconds]
08:16bisko has joined #asahi
08:35bisko has quit [Ping timeout: 480 seconds]
08:52Ry_Darcy has quit [Remote host closed the connection]
09:06bisko has joined #asahi
09:12bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:12nsklausi was wondering if a live session thing would be possible for asahi ? i mean to "burn" an image on a bootable media, boot from it, and test everything before installing it
09:15j`eynsklaus: not possible without making at least a 3gb stub
09:15j`ey(on the nvme)
09:29Ry_Darcy has joined #asahi
09:32bps2 has joined #asahi
09:37bisko has joined #asahi
09:41bisko has quit []
09:41bisko has joined #asahi
09:56Nspace has quit []
09:56Nspace has joined #asahi
10:06bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:09bisko has joined #asahi
10:23c10l7 has quit []
10:24c10l7 has joined #asahi
10:28c10l7 has quit []
10:29c10l7 has joined #asahi
10:29c10l7 is now known as c10l
10:30cassepipe has quit [Ping timeout: 480 seconds]
10:36nsklausj`ey: i was afk for a bit, thanks for the reply. i'd like to understand a bit more about what you said,
10:36nsklausmacos can be booted off an external drive
10:37nsklauseither an installed macos (on the external drive) or a kind of live session too, in order to start install process
10:37nsklauswhat exactly would be difficult or troublesome about linux to do something similar ?
10:38nsklausi mean in the context of mac m1 systems
10:40mpsnsklaus: on m1 macos cannot be booted from external drive afaik
10:41nsklausmps: i did it
10:41nsklauswithout even trying to overcome any particular hurdle
10:42mpsnsklaus: oh so good news. how did you do that
10:42nsklausi just plugged and external drive, and launched macos installer and did choose the external drive as destination, iirc
10:42jannautry to boot that installation with another mac or after wiping the nvme
10:42mpsnsklaus: on M1?
10:43jannauthe "external" installation still depends on state on the nvme
10:43jannaumps: yes
10:43nsklausjannau: you mean that if my internal drive is blank, that macos installed on external drive wouldn't boot at all ? if so, that's new to me .. interesting..
10:44nsklausmps: yes i'm using a macbookpro , the base model from end 2020
10:44jannauI believe so, macos revocery might be able to recover it but it shouldn't be able to boot from it directly
10:44mpsjannau: aha, that makes sense
10:45mpsbut boot macos from external drive is another story
10:45jannauI haven't managed to use an custom boot-object with an external macos installation though (iirc last tried with macos 12.1)
10:46nsklaustoday's wwdc, i'm sure apple will announce they found a new way to cripple their systems and become even more a daily annoyance to users
10:48nsklauswouldn't surprise me if they annouced they used the webcam to enable mouse/trackpad movements only if the user is having one eye closed, and if both eyes opened pointer movement would stops ;)
10:49jannauthat's for #asahi-offtopic if at all
10:50nsklausanyways.. i was wondering what was the latest news about sound/speaker support lately, for base m1, macbookpro models ?
10:50poviknot much yet
10:52nsklausany progress report planned soon ? it's been 3months since the previous one ...
10:53j`eymaybe once the GPU support is a bit further along
10:53nsklausi'm looking at github's commits, but not all commits have comments, and a progress report tells better the situation too ..
10:54nsklausfrom what i've seen there's been the first triangle rendered completely on linux side ?
10:54j`eynot from linux, from m1n1
10:54nsklausah, i didn't catch that precision when reading about on twitter, thanks for telling
10:54nsklaus*about it
11:02lrea^ has joined #asahi
11:05bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:19fetsorn has joined #asahi
11:27lrea^ has quit [Ping timeout: 480 seconds]
11:32cassepipe has joined #asahi
11:46bisko has joined #asahi
12:06amarioguymaz: thanks, that makes it clearer!
12:14kov has joined #asahi
12:24vmeson has quit [Remote host closed the connection]
12:37vmeson has joined #asahi
12:57ComradeMisato[m]how do i switch my control and command (meta) keys back to how macOS has them set as
13:00nsklausComradeMisato[m]: i usualy edit sudo vim /usr/share/X11/xkb/symbols/pc
13:00nsklausand swap:
13:00nsklauskey <LCTL> { [ Super_L ] };
13:00nsklauskey <LWIN> { [ Control_L ] };
13:00nsklauskey <RCTL> { [ Super_R ] };
13:01nsklauskey <RWIN> { [ Control_R ] };
13:01nsklausrespectively
13:01ComradeMisato[m]nsklaus: just enter that command then? is it p straight forward ?
13:01nsklausthen either log out/in back again or use: setxkbmap -layout fr -variant mac
13:01nsklaus(adapt that last point depending your usual layout, for me it's french)
13:04nsklausnote you'll also need to edit your terminal shortcuts to match "ctrl-c" and "ctrl-v" instead of the usual "shift-ctrl-c" and "shift-ctrl-v"
13:04nsklausotherwise this will work globaly
13:04nsklauscmd-c and cmd-v will now be used to copy/paste
13:04jannaufor the macbooks the keyboard driver has an option to switch both keys
13:06nsklausmy explanation is broken
13:06nsklausbut the paste is correct
13:06nsklauskey <LCTL> { [ Super_L ] }; <-- this is already the modified line
13:06ComradeMisato[m]jannau: point me in the right direction?
13:06jannau/sys/bus/hid/drivers/apple/module/parameters/swap_opt_cmd
13:07jannauwrite 1 into it as root with `echo 1 > /sys/bus/hid/drivers/apple/module/parameters/swap_opt_cmd`
13:07millenialhacker has joined #asahi
13:08millenialhacker_ has joined #asahi
13:11nsklausjannau: i think he asked to swap ctrl with cmd keys
13:11nsklausnot opt (alt) and cmd keys
13:12nsklausmy paste does works for that, at least it works for me since a long while and effectively switch ctrl key with cmd
13:12ComradeMisato[m]nsklaus: what do i do now
13:12nsklausi mean pressing cmd key would be then equivalent to press ctrl
13:13nsklausComradeMisato[m]: my paste shows it as it should become
13:13nsklausif you read the line it says:
13:13jannaunsklaus: has applu such a keyboard layout? I was going after "... back to how macOS has them set as"
13:14nsklauskey <LCTL> { [ Super_L ] }; <-- meaning: take lctl (left control key) and map it to super left (meaning cmd left)
13:14nsklausjannau: that paste i linked above i use it since a few years
13:14nsklausi always do it
13:14ComradeMisato[m]im guess youre assuming that i know what are the controls to navigate and edit this through command line? nsklaus
13:15nsklausso i can use cmd-c and cmd-v to copy / paste everywhere
13:15lrea^ has joined #asahi
13:15ComradeMisato[m]backspace doesnt delete the text
13:15ComradeMisato[m]what key do i use to edit this
13:15nsklausComradeMisato[m]: key <LCTL> { [ Super_L ] }; <-- this is the modified line. the original shows: key <LCTL> { [ Control_L ] };
13:16millenialhacker has quit [Ping timeout: 480 seconds]
13:16nsklausnotice how the the string in the { } changed from Control_L to Super_L
13:17nsklausthis is the actual instruction that tell it to map ctrl key to the cmd key
13:17FranciscoFernandes[m]Anybody can simples explain how to swap ctrl to command window
13:17millenialhacker_ is now known as millenialhacker
13:17nsklausopen your file /usr/share/X11/xkb/symbols/pc and compare it to what i made in that paste
13:18nsklausyou need to change 4 lines
13:18nsklausignore the paragraph under "swap ctrl and alt"
13:18nsklausjust do what's above that
13:19nsklausthis trick worked for me on all linux distro i tested
13:19nsklausso i could always have cmd-c/cmd-v for copy/paste functionality
13:21nsklausnote that once that file got edited you either need to log out and log back in again to make it effective, or if you don't want to log out then just reload keyboard layout , from your term just do a setxkbmap ...
13:21ComradeMisato[m]saved the text file to what u said but didnt worked?
13:21nsklaus(like: "setxkbmap -layout fr -variant mac" in case your macbook has a french keyboardr layout like mine
13:22nsklausComradeMisato[m]: watchout you made a typo:
13:22nsklausyou spelled COntrol_L instead of Control_L
13:23ComradeMisato[m]still doesnt work tho
13:23ComradeMisato[m]the command key is just giving me the start menu
13:23nsklausthat is normal,
13:23nsklaus just editing the file and saving it, isn't enough,
13:24nsklausyou need to reload your keyboard layout
13:24nsklauseither log out/ and re- login
13:24nsklaususe command setxkbmap to avoid the log out / log in
13:25nsklauswhat's your keyboard layout ?
13:25ComradeMisato[m]and when u say "use command" u literally mean copy/paste ```setxkbmap```
13:26nsklaustyping "setxkbmap" alone won't do it, it needs arguments
13:26nsklauswhat's your keyboard type ? uk, us, de or something else ?
13:27nsklausok so for you it's probably: setxkbmap -layout us -variant mac
13:28nsklausthat note of mine is a bit old now it date a few years back, it still works but sometimes the argument order for the command got changed and need small tweak to adapt it
13:29ComradeMisato[m]sorry pasted it wrong
13:29nsklausobviously your terminal tells you
13:29nsklausyou made a bad paste
13:29nsklausin the beginning you got unnecessary part mixed in
13:32ComradeMisato[m]yea it works now
13:33nsklausafter this is done, the ctrl key should give you your start menu
13:33nsklausyou may want to edit your terminal shortcut too, from your screenshot it seems to be kde's konsole
13:34nsklaustest it without modifying anything first: try to highlight some text in your term, with your mouse, press cmd-c
13:34nsklausthen cmd-v
13:34nsklaus(trying select/highlighting just one word or something small)
13:34nsklausif cmd-c / cmd-v worked in your term then you have nothing to do
13:34nsklausall fine
13:35nsklausif not then it must mean that in konsole, copy/paste is mapped to hotkey combo "shift-ctrl-c" and "shift-ctrl-v" and you want to change that to just : "ctrl-c" and "ctrl-v"
13:36nsklaus(since your cmd key is now really the ctrl key
13:38Ry_DarcyHello all, running debian 5.18.0-asahi on an M1 Mini. Is qemu-system-aarch64 sufficiently stable to run a Win 10 guest from either Virt Manager or the CLI at this stage? Thanks.
13:39j`eyRy_Darcy: I dont know about the win10 part, but qemu/kvm is stable yes
13:40mazj`ey: last time I checked, win10 really didn't like the M1 at all. I suspect they try to use SMC...
13:41Ry_DarcyRunning this "qemu-system-aarch64 -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -machine virt -m 8G -cpu host -smp cores=4 -accel kvm -nographic -cdrom /Transit/c2c0a9-Windows-10-64-Bit-English-21H1.iso" from the command line produces PXE boot loops ad nauseum.
13:41Ry_DarcyAny ideas?
13:41j`eym1 has SMC.. just not the instruction :P
13:42mazj`ey: well, funnily enough, it knows about the instruction if you flip a bit in some IMPDEF register. but it then convey the trap with an UNKNOWN EC.
13:43ComradeMisato[m]Headphone jack is suppose to work on regular M1 macbook pro right?
13:43mazRy_Darcy: the PXE loop is because you didn't specify a block device that EFI understands for your CD image. it thus fallback to PXE.
13:46Ry_DarcyI specified the .iso boot image - -cdrom /Transit/c2c0a9-Windows-10-64-Bit-English-21H1.iso. I also need the target block device aka. qcow disk device I presume..
13:47mazRy_Darcy: no. oyu need to specify a *device*, most likely a cdrom over virtio-scsi.
13:49ComradeMisato[m]oof my mac is getting hot 🥵
13:49Ry_DarcyI lifted the qemu-system-aarch64 command syntax and parameters from a post to this forum in April. I will have to dig further then.
13:52ComradeMisato[m]nsklaus: the only thing wrong is that while cmd-c and cmd-v work and all, just pressing cmd gives me the start menu, which i want it swapped with ctrl
13:54nsklausComradeMisato[m]: you need to edit your desktop general hotkey
13:55nsklausComradeMisato[m]: somewhere in kde settings it is said pressing cmd should bring up your start menu
13:55nsklausi'd advise to do a logout/login again, or even a full restart first
13:55nsklausjust to be on the clean side for sure
13:56nsklausbut what you describe seems to be simply a case of changing a kde shortcut that just happen to be there, defined by default
13:58nsklausthe weird thing is that, since you changed the mapping, that behavior should now happen but when pressing the physical ctrl key (since the mapping told the physical control key should now behave as if it was the cmd/super/media key)
13:59nsklausso try to reboot.. then once rebooted confirm that your changes survived the reboot (they should have) and confirm that behavior of bringing up the start menu do happen but when pressing ctrl key
14:00nsklausthen proceed to edit your kde shortcut
14:01nsklausand note, that when doing system full updates, from time to time that file you modified will get overwritten
14:02nsklausso when that happen you'll need to redo it all.. thankfully that file is not eften updated so that seldomly happen. from my experience once or twice in a year tops.. with bad luck..
14:03nsklausyou'll almost never have to do it again, but just know i may happen at some point, so keep the paste i linked above for later use
14:03nsklaus*i --> it .. iT may happen ..
14:07ComradeMisato[m]reboot worked, thanks
14:08nsklausyou're welcome.. enjoy cmd-c / cmd-v everywhere .. i know it bugged me like hell until i got it working correctly that way too
14:20the_lanetly_052__ has quit [Ping timeout: 480 seconds]
14:23nsklausComradeMisato[m]| replied to: "oof my mac is getting hot" --> that, and the lack of speaker support is why i'm waiting for asahi to mature a bit more before installing it
14:23nsklaus*replying to
14:25lrea^ has quit [Remote host closed the connection]
14:30ComradeMisato[m]<nsklaus> "ComradeMisato[m]| replied to..." <- like i heard headphone jacks should work on m1 macbooks right?
14:30nsklausthat's what i heard too, but headphone jack isn't enough for me
14:31nsklausi need proper sound support
14:31ComradeMisato[m]audio thru headphone jack dont work for me
14:31ComradeMisato[m]any clue where i can start troubleshooting that?
14:32j`eyComradeMisato[m]: "<povik> yes, get into alsamixer, switch to 'Macbook Air integrated audio' with F6 and look for 'Jack Mixer Volume' or something similar, see if turning that knob up is what you need"
14:32nsklausi'll be waiting patiently for bluetooth support to come along, but minimum i'll want headphone and speaker both to at least work, that and proper power management too, i hate it when the laptop gets hot for no reasons
14:33ComradeMisato[m]actually i have two volume "buttons" not sure why
14:34IcaroDextris[m]does anyone tried to install pycharm? i don't remember the nick of the guy who helped me with idea and rider
14:34nsklausedit your panel's active "plasmoids" things, and disable the one you don't need
14:34nsklaus( ComradeMisato[m] )
14:34IcaroDextris[m]because trying to build the aur package gives me an error
14:35nsklausnot sure if plasmoïd refers to panel element, but you understood what i meant most probably)
14:36nsklausIcaroDextris[m]: you're using trizen or some other helper to build your aur packages ?
14:36nsklausif you search them (aur packages) there may be a few propositions available to satisfy pycharm, maybe try another one ?
14:37IcaroDextris[m]i don't even know trizen
14:37nsklausalso, looking at actual error you're provided with might help to see what seems to be going on
14:37IcaroDextris[m]> if you search them (aur packages) there may be a few propositions available to satisfy pycharm, maybe try another one ?
14:37IcaroDextris[m]sure but the "reference " is the first
14:38IcaroDextris[m]> also, looking at actual error you're provided with might help to see what seems to be going on
14:38nsklausthere are a few available helpers that offer to assist you in installing aur packages, trizen is just one of those
14:39IcaroDextris[m]i use yay if i understood correctly
14:39nsklausyay works too most probably
14:39nsklaushave you tried to list all the aur packages that provide pycharm ? there may be a few of them
14:40ComradeMisato[m]<j`ey> "Comrade Misato: "<povik> yes..." <- what i have installed is something called kmix
14:40IcaroDextris[m]g++: error: unrecognized command-line option ‘-m64’
14:40nsklausif you're lucky the problem might just be that you happen to have picked up the wrong one
14:40IcaroDextris[m]this is the error
14:41nsklausi see 8 potential candidates
14:41nsklauswhich one did you pick ?
14:41IcaroDextris[m]because is the "correct"
14:42j`eyComradeMisato[m]: try alsamixer
14:42ComradeMisato[m]j`ey: figured out what u meant
14:43ComradeMisato[m]but before i continue, whats the bind for function keys
14:44j`eyIcaroDextris[m]: that PKGBUILD wont work, -m64 is not an option for aarch64 gcc
14:45nsklausIcaroDextris[m]: it's a bit out of my league, but it seems to me that aur package needs updates in case of arm64 arch
14:45j`eyComradeMisato[m]: shift+fn+num i think
14:45nsklausIcaroDextris[m]: what j`ey said ^ :)
14:46IcaroDextris[m]Oh thanks you both :)
14:46nsklausthough, looking at the actual patch, it seems fairly small:
14:46nsklausg++ -m64 -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp
14:47ComradeMisato[m]j`ey: does not work
14:47nsklausmaybe it could work without that line, or with tweaks to it, at this point though it's just hacking and guesswork , trial and error, with little chance of success
14:47j`eyComradeMisato[m]: which bit?
14:48ComradeMisato[m]j`ey: im pretty sure its not registering the fn key
14:48ComradeMisato[m]i think thats the culprit but im not sure
14:49nsklaushe says: "Hint: inspect pycharm-${pkgver}/plugins/python/helpers/pydev/pydevd_attach_to_process/linux_and_mac/compile_linux.sh. You can skip 32bit compilation step with this patch"
14:50nsklausso maybe look in that file: pycharm-${pkgver}/plugins/python/helpers/pydev/pydevd_attach_to_process/linux_and_mac/compile_linux.sh
14:50j`eyComradeMisato[m]: maybe it's just fn+num
14:50nsklausand comment out the 3 added lines (+), and bring back the one with the minus (-)
14:51nsklausyou have also: - makedepends = lib32-gcc-libs
14:51nsklausbut since that would be 32bit x86 stuff, you'd need fex, i guess
14:56ComradeMisato[m]<j`ey> "Comrade Misato: maybe it's..." <- you are correct
14:56IcaroDextris[m]I’ve solved just downloading the archive binary from JetBrains site, then link fsnotifier like I already did with other IDE, then run
14:57nsklausIcaroDextris[m]: well done :)
14:57j`eyComradeMisato[m]: turn the mixer up
14:58ComradeMisato[m]j`ey: please assume im 5 years old
14:58nsklausComradeMisato[m]: use arrow keys left , right, up down,
14:58ComradeMisato[m](please dont actually dont that)
14:58nsklausto move the levels
14:58psykosepress up key not down key
14:58nsklaus'm' key mutes
14:59j`eyComradeMisato[m]: press the up key until green
15:02ComradeMisato[m]j`ey: still no sound
15:03j`eypovik: ^ is that what it should look like>
15:06poviki guess so. you can check if there isn't anything further to the right hidden and muted
15:06povikbut i think for headphones there's only this one knob
15:13poviklooks good. how are you testing it?
15:17ComradeMisato[m]video on youtube wont load at all
15:21Ry_Darcy has quit [Remote host closed the connection]
15:25nicolas17 has joined #asahi
15:26nsklausComradeMisato[m]: you could search internet for a sample audio file to play with mpv
15:27nsklaustry the wave file
15:28nsklausmaybe it works with aplay too
15:28nsklausi'm interested too in all the audio talk, and the current status of it, necessary workarounds and such
15:30ComradeMisato[m]ok headphones work
15:30ComradeMisato[m]ok everythings good
15:35ComradeMisato[m]wow not great audio quality thats for sure
15:37povikshould be great
15:42ComradeMisato[m]any info on whether the microphone is able to work?
15:51mpsComradeMisato[m]: yes, it works
15:59ComradeMisato[m]<mps> "Comrade Misato: yes, it works" <- im getting no feedback on my end :(
16:00mpsComradeMisato[m]: pulseaudio or pipewire issue?
16:01mpsclayscode[m]: ADC control increase in alsamixer
16:13ComradeMisato[m]anyone have had any experience downloading Paru?
16:14ComradeMisato[m]<mps> "Comrade Misato: pulseaudio or..." <- let me take care of Paru first
16:18jakebot6 has quit [Quit: The Lounge - https://thelounge.chat]
16:18jakebot6 has joined #asahi
16:18nsklausi wonder if that's a 16k vs 4k kernel page size issue ?
16:19j`eyyes it is, the rust from aur is broken for 16k
16:20nsklausif i understand correctly most distro use 4k page size, and most software make 4k assumption, but asahi settled to using 16k for the moment while deciding to either try to solve the issue of having a 4k kernel on m1 arch (which seemed problematic at the time being) or stays 16k but then many software will need workaround, patches and quirks to be looked at
16:21nsklausi don't know if there was any more update on this case since the last thing i've read about it ealier (which i resumed to the best of my understanding just above ^)
16:22nsklausafaik asahi pre-release got out with 16k kernel page size
16:22nsklausand, it will need to be taken care for for proper FEX integration
16:23nsklaus*taken care of
16:24nsklausi'm quite looking forward to see proper FEX integration and working nicely on asahi, allowing us to use wine just like on x86_64
16:24nsklausi'm hopeful it can happen
16:38___nick___ has joined #asahi
16:40___nick___ has quit []
16:41___nick___ has joined #asahi
17:16ComradeMisato[m]the mixer goes back to such a low setting automatically i cant hear anything, no matter how many times i try to increase it
17:17nsklausyou're on "capture" settings
17:18nsklausmaybe you wanted to be on "playback" instead ?
17:19ComradeMisato[m]nsklaus: still the same issue
17:27nsklausthere's little that can be done at this point i'm affraid the driver is a work in progress at the moment
17:30nsklausmaybe others could come up with suggestions when they'll be around, personally i have no clue on that
17:43Glanzmann has joined #asahi
17:44Glanzmannj`ey: New notebook or workstation in the the apple event? Just tuned in. Was on the playground.
17:44j`eyGlanzmann: no(t yet?)
17:45GlanzmannI see, thanks for the update.
17:53GlanzmannComradeMisato[m]: I had this issue as well, but i think it got away with the i2c patch of povik.
17:54GlanzmannComradeMisato[m]: I have not seen this isse for a long time on the macbook air.
17:55GlanzmannComradeMisato[m]: If you can't get rid of the issue, you can try with the debian live if you also have the issue with that.
17:58j`eyhm 24GB
17:59jannauand starting config 12GB I suppose
18:00j`ey12G is weird
18:01jannaunot that much weirder than 24GB
18:02Glanzmanna notch ...
18:02j`eynotch :(((((
18:03amarioguyj'ey: nested virt /s
18:03j`eyamarioguy: notched virt? :P
18:03j`eylooks like magsafe and 2 USBC
18:04amarioguyimagine if the uart was over the magsafe port
18:04svenI really don’t get the notch hate. Just make those pixels black and you have the m1 MacBook Air screen
18:05j`eysven: just looks ugly :P
18:07ChaosPrincessi noticed a 'four-speaker sound system'
18:07ChaosPrincessinb4 this one also needs a crossover in software and such
18:09j`eystill touchbar?
18:10jannauand the ohmmeter headphone jack
18:11jannauno mac pro
18:11jannaufor now at least
18:11j`eyno mini :(
18:11miniyeah, I was just thinking that :(
18:11svenyeah :(
18:11amarioguyunfortunate :(
18:12j`eymini: when will you have an m2?
18:12minij`ey: no comment :p
18:12svenI was hoping for one because they make the perfect development target and are cheaper than the MacBooks
18:12miniI'm also guessing no improvement on the limited display output count on m2
18:13amarioguythis is the trend i think, the m series are what would be the x suffix chips in ipads
18:13svenI’d be surprised if the m2 air doesn’t support two external displays fwiw
18:14j`eysven: although I guess there wont be a m2 mini with 10+ cores, thats basically a studio.. so maybe a studio is what i want
18:14sveni definitely want a studio :D
18:14svenjust don’t really need one
18:15miniI want one for work instead of another laptop...
18:15j`eywould be better if m2 was 6p 2e, for cores
18:15amarioguysven: mine's on backorder until july rip
18:28Glanzmannair users: Are you buying an m2? I'm undecided. 10% more price. 20% more performance and 8 GB more ram which I'm not going to use, better webcam, better sound system.
18:28GlanzmannStream stopped for me on German Telekom fibre connection.
18:29GlanzmannDid I hear it correctly that they start selling the m2 devices in one month?
18:32kaprestsSlightly off-topic, but continuity camera looks cool! Would be nice if that worked with linux too, but I suppose the iPhone won
18:32kaprestswon't have an open interface/API for it :(
18:33jannauGlanzmann: next month so somewhen in 4-8 weeks
18:34ChaosPrincessopen - 100% not happening, but there are reverse-engineered implementations of airplay and such, so could be possible
18:36Glanzmannjannau: I see. Will you order a m2 right away?
18:36amarioguypreorders likely open soon because supply chain memes
18:37ChaosPrincesskaprests: actually i guess you dont even need a special api, you can just write an ios app that grabs the camera feed and outputs it over the cable or over wifi to a host app
18:37ChaosPrincesscontinuity just integrates it into the os
18:40j`eyGlanzmann: probably not much reason to upgrade to the m2 air then..
18:41opticronkaprests, it might be nice if that type of functionality was expanded to more than just the camera, imagine if you could use a larger selection of hardware resources like that, CPU, ANE, GPU, camera, mics, speakers, etc. it's a lot easier with a nearly homogenous ecosystem
18:42steffen[m]Glanzmann: currently have an air and was looking to upgrade to mini led/120hz in a small/light design. Guess I’ll wait
18:42kaprestsChaosPrincess: Yeah good point :p I suppose one can in principle implement something similar for any phone with an ultra wide camera. The challenge would just be the image processing I guess
18:42kaprestsopticron: Yeah good points
18:45Glanzmannj`ey: It think so, too. But maybe I'll do it anyway, we'll see. No impulse buys today possible. :-)
18:46Glanzmannsteffen[m]: I see.
18:50jannauoh, 8, 16 and 24GB ram options on the m2 macbook air
18:53ministill only one external display
18:53mini> One external display with up to 6K resolution at 60Hz
18:57GlanzmannThe config, I would use on the m1 would be 2309 EUR.
18:57nicolas17kaprests: there is no public API/protocol for anything in Continuity
18:57opticronI'm surprised they're still using the touchbar on the 13" MBP
18:57nicolas17for 3rd party OSs to use
18:58j`eyGlanzmann: yeah i tried.. 1800gbp... thats expensive
18:59svenonly one display in the m2 is quite sad :/
18:59nicolas17kaprests: there's APIs for like, third party iOS apps to integrate with Handoff, but the actual communication is all opaque... some day I'm gonna reverse it >:o
19:00nicolas17but it's a pain, the magic where the devices are Bluetooth-paired by simply being logged in to the same iCloud account, involves pretty much sending iMessages back and forth
19:00amarioguy has quit [Quit: Leaving]
19:05Gaspare has joined #asahi
19:06julianknewitz[m] has joined #asahi
19:07julianknewitz[m]Hi Guys, I hope my question is not too amateur, but since I've not found any answers via google: Can we ever expect Touch ID to work in asahi or is it too proprietary?
19:18sveneventually yes
19:18svendon’t think anyone is actively working on it right now though
19:21amarioguy has joined #asahi
19:22amarioguy has quit []
19:22amarioguy has joined #asahi
19:29WindowPain_There's a WWDC session on running x86_64 Linux binaries with Rosetta 2
19:30Gaspare has quit [Quit: Gaspare]
19:31mpsGlanzmann: I remember that you were interested in perl script for charge control. I wrote quick one in C if you want to try it https://www.arvanta.net/2x3d1kfg/charge-ctl.c
19:31Gaspare has joined #asahi
19:32mpsit is still hackish but could be easily changed and extended
19:32kaprestsnicolas17: I see, looking forward to it :)
19:33kaprestsnicolas17: yeah, I wouldn't really know what I'm talking about, but seems like it would take some effort
19:39milek7huh? rosetta for linux?
19:44Deewiant has joined #asahi
19:47IcaroDextris[m]<nicolas17> "kaprests: there's APIs for like,..." <- There is a research about that, for reimplementing it as open source, from a German university if I recall correctly. The repo is on GitHub
19:47Cy8aer[m]> huh? rosetta for linux?
19:47Cy8aer[m]hm it is more emulating linux x86 in rosetta
19:48IcaroDextris[m]* > <@_oftc_nicolas17:matrix.org> kaprests: there's APIs for like, third party iOS apps to integrate with Handoff, but the actual communication is all opaque... some day I'm gonna reverse it >:o
19:48IcaroDextris[m]There is a research about that, for reimplementing it as open source, from a German university if I recall correctly. The repo is on GitHub
19:48Gaspare has quit [Quit: Gaspare]
19:58Glanzmannmps: I see, I liked the perl one better, less code. :-)
20:00mpsGlanzmann: yes, but C version runs as daemon
20:01mpsm1n1m4[m] asked me few days ago how to run as daemon on boot and I rewrote it in C
20:03ktz_[m]they decided to announce the m2 at 6/6/2022(6) I'm sure it was just a coincidence
20:04nicolas17IcaroDextris[m]: some stuff goes via AWDL so you'd need owl yes
20:04nicolas17and reversing AWDL itself would have been way above my head so it's great that they did it lol
20:05IcaroDextris[m]I think would be great to keep this project “pinned” when the hardware support is complete
20:05IcaroDextris[m]Finger crossed 🤞🏻
20:05GlanzmannHas someone found singlethread performance comparison between m1 and m2?
20:06Glanzmannmps: I see, but you could have also add three lines of code and run the perl script as daemon. :-)
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:08mpsGlanzmann: yes I know but wanted to play a little
20:09mpsactually I usually run perl and other scripts for long running things with runit
20:11Glanzmannmps: I see.
20:12GlanzmannTime to hit bed, see you guys around.
20:12Glanzmann has quit [Quit: EOF]
20:21derzahl has joined #asahi
20:25derzahl has quit []
20:27cassepipe has quit [Ping timeout: 480 seconds]
20:27chadmed has quit [Ping timeout: 480 seconds]
20:28chadmed has joined #asahi
20:31derzahl has joined #asahi
20:50flokk[m] has joined #asahi
20:55derzahl has quit [Remote host closed the connection]
21:03derzahl has joined #asahi
21:11Dcow[m]povik: congrats on v2! looks like we are closer! thank you very much!
21:11derzahl has quit [Remote host closed the connection]
21:13bps2 has quit [Ping timeout: 480 seconds]
21:14milek7how does this rosetta thing work with TSO? do they enable it for whole VM?
21:15qeeg has joined #asahi
21:15qeegwhat does everyone here think of the new macbooks?
21:16milek7otherwise I can't see how it would safely work given they could be context-switched anytime by the guest kernel
21:17tpw_rulespresumably the binfmt-misc handler takes care of that
21:19tpw_rulesactually i see your point
21:19povikDcow[m]: thanks! we are indeed closer
21:25NathanielTan[m] is now known as ntan[m]
21:29Gaspare has joined #asahi
21:29cassepipe has joined #asahi
21:32Gaspare has quit []
21:33Gaspare has joined #asahi
21:52kovI wonder if this means we can also use rosetta under bare metal linux?
21:53kovor maybe the guest runtime passes the calls through to the macos runtime somehow
22:05user982492 has joined #asahi
22:06user982492Does this allow for Rosetta under Asahi Linux or just in a VM?
22:09j`eyno, it's macOS software so cant run it under asahi
22:11j`eyactually, as kov says, thats assuming that it's doing some paravirt stuff to the macOS host
22:11user982492Did Apple say if there is a Linux Rosetta running in the VM or if it is just passing stuff to the macOS Rosetta?
22:12user982492If there is a Linux Rosetta, it I think it would work under Asahi, if it is just using the macOS Rosetta I think it would not.
22:22ajxu2 has joined #asahi
22:33user982492I guess we will find out when someone copies the Rosetta share and tries to run it under Asahi Linux.
22:36user982492I wonder how Linux Rosetta handles the page size issue.
22:48nicolas17"the rosetta share"?
22:54Dcow[m]case VZErrorNotSupported:
22:54Dcow[m] // Rosetta isn't supported on the host Mac or macOS version.
22:54Dcow[m]That error code suggests that is still uses macOS for rosseta on Linux
22:56Dcow[m]But that indeed have some Linux runtime
23:00user982492Dcow[m]: All it means is that the share is provided by macOS Rosetta.
23:01user982492nicolas17: The link I posted described what it is
23:03user982492But it isn't clear if it just provides the binaries to linux, or if the binaries communicate with macOS Rosetta.
23:04Gaspare has quit [Quit: Gaspare]
23:06user982492Linux Rosetta would be better than FEX-Emu because it would be able to take advantage of additional optimizations specific to M1.
23:11nicolas17user982492: looks like it's actually Rosetta recompiled to run on Linux
23:11nicolas17there's measures to prevent it from working without macOS, or on a non-Apple ARM64 CPU
23:12nicolas17and it would be illegal to patch those restrictions out of the binary >.>
23:12user982492Where do you see the measures to prevent it from working without macOS?
23:13nicolas17it runs an ioctl on the binary itself, so having the binary as a file somewhere in your Linux won't work, it has to be in the share provided by macOS
23:14user982492Can the virtfs mount be faked?
23:17user982492I don't think it would be illegal unless you used it on a non-Apple CPU. But I do not know.
23:17nicolas17I mean, this seems like a DRM-like feature
23:17nicolas17you probably don't have a license to use that binary outside macOS
23:19j`eyjust use fexemu :3
23:20user982492From what I can see online Fex-Emu is not nearly as fast or complete as Rosetta. I don't have an Apple Silicon Mac yet so I haven't tested it myself.
23:20user982492But who knows if Linux Rosetta is as fast as macOS Rosetta
23:20j`eymore people using and contributing can help!
23:22user982492Also is FEX-Emu AOT?
23:24nicolas17 has quit [Quit: Konversation terminated!]
23:28user982492I'm hoping the Linux Rosetta license only says it must be run on an Apple Silicon CPU.
23:46user982492The fact the there is a check makes it more likely that it would work under Asahi Linux with the check removed.
…