#
…

2022-06-21

01:21dhromw^ has quit [Ping timeout: 480 seconds]
01:23dhromw^ has joined #asahi
01:35riker77_ has joined #asahi
01:39riker77 has quit [Ping timeout: 480 seconds]
01:39riker77_ is now known as riker77
01:57opticron has joined #asahi
01:58mmarchini_ has joined #asahi
02:05tpw_rulessmart linux usb folks: is there a way to see how the usb subsystem has allocated bandwidth?
02:12timokrgr has quit [Quit: User left the chat]
02:14timokrgr has joined #asahi
02:18tpw_rulesthat doesn't show more than nominal, does it?
02:19timokrgr has quit [Quit: User left the chat]
02:20timokrgr has joined #asahi
02:21chadmedit shows you the bandwidth for each port
02:22chadmedtechnically its the negotiated link speed but it serves the same function unless you have a particularly odd setup bottlenecked by cascaded hubs or something
02:22tpw_rulesyes that's what i have
02:22tpw_rulespeople talk about like v4l2 won't let you open a camera if there's not enough remaining usb bandwidth, but what is the usb bandwidth?
02:24chadmedbandwidth allocation has no qos afaik so its just whichever device asked for it first
02:24chadmedif the camera is asking for 12Mbps and theres only 10Mbps left on the bus then v4l2 wont let it open
02:25chadmedi dont think its dynamic beyond that, unless one device stops using the bandwidth it asked for and "returns" it to the root hub
02:25chadmedyou might be able to see that happening if you turn on usb debug in the kernel
02:26tpw_rulesis there a way to see that the first camera has asked for the 2mbps?
02:27tpw_rulesor is that what you meant by "bandwidth for each port"?
02:28chadmedlike i said you might be able to see that in the kernel message buffer with usb debug but im not sure if theres any userspace tools that let you easily snoop on usb transactions like that
02:28phiologe has joined #asahi
02:28chadmedit will basically just be the usb driver being like "device 0xFF asked for x Mbps, there is currently x+n Mbps not being used on this root hub by other devices, so give it x Mbps"
02:30chadmedi find it odd that youve managed to saturate an entire hub so hard that a webcam wont work, is it a fancy 4K one or something?
02:30chadmedor is the hub just crap
02:31tpw_rulesyeah i need to attach several to the same computer for computer vision stuff
02:31tpw_rulesi can get it to work experimentally but it would be nice to know for sure
02:31PhilippvK has quit [Ping timeout: 480 seconds]
02:51confusomu has joined #asahi
03:01confusomu has quit [Remote host closed the connection]
03:05confusomu has joined #asahi
03:12dhromw^ has quit [Ping timeout: 480 seconds]
03:15dhromw^ has joined #asahi
03:24marvin24_ has joined #asahi
03:27marvin24 has quit [Ping timeout: 480 seconds]
03:33dhromw^ has quit [Ping timeout: 480 seconds]
03:40dhromw^ has joined #asahi
03:55dhromw^ has quit [Ping timeout: 480 seconds]
04:21nicolas17 has quit [Ping timeout: 480 seconds]
04:35the_lanetly_052 has joined #asahi
04:38marcanchadmed: this happens a lot to me, USB bandwidth shenanigans are common
04:38marcanI never bothered to look for a way to debug it but I should
04:38marcantpw_rules: FWIW on USB3 the host controller is in charge of bandwidth management IIRC, so you could even be running into firmware bugs here
04:38marcan(on xHCI I mean)
04:47dhromw^ has joined #asahi
04:57tpw_rulesyeah these are all usb3. i just want something more quantifiable than my napkin calculations. i don't think there's any bugs. also understanding how e.g. usb hard drives factor in
05:04dhromw^ has quit [Ping timeout: 480 seconds]
05:09Ry_Darcy has joined #asahi
05:12Ry_Darcy has quit [Remote host closed the connection]
05:12Ry_Darcy has joined #asahi
05:44marcanAIUI bulk devices do not reserve any bandwidth beyond some shared pool?
05:45marcanI imagine there's some minimum reserved for polling packets though
05:59jluthra has quit [Remote host closed the connection]
05:59jluthra has joined #asahi
06:29MajorBiscuit has joined #asahi
06:39MajorBiscuit has quit [Ping timeout: 480 seconds]
06:43MajorBiscuit has joined #asahi
06:51Catyre has joined #asahi
06:53Catyre has quit []
06:54Catyre has joined #asahi
06:57Catyre has quit []
07:06Catyre has joined #asahi
07:07test has joined #asahi
07:08test has left #asahi [#asahi]
07:13Catyre_ has joined #asahi
07:13Catyre_ has left #asahi [#asahi]
07:15guillaume_g has joined #asahi
07:44psykose has quit [Ping timeout: 480 seconds]
08:24SiddheshZantye[m] has joined #asahi
08:25the_lanetly_052__ has joined #asahi
08:25SiddheshZantye[m]asahi wont install for me :(
08:25SiddheshZantye[m]I get this error. Anyone know what it means?
08:27rowang077[m]Did you check you have enough free space?
08:27rowang077[m]Siddhesh Zantye:
08:28SiddheshZantye[m]is this much ok?
08:30SiddheshZantye[m]Also when I was installing I wanted to give it like 60gb but when I typed 190GB into the prompt it said amount must be > 210GB
08:30SiddheshZantye[m]so I just time min
08:31the_lanetly_052 has quit [Ping timeout: 480 seconds]
08:31SiddheshZantye[m]I ran firstaid on my disk and that didnt fix it either
08:31rowang077[m]Siddhesh Zantye: Yes that should be enough. Can you try again with something like 20gb? The minimum required is 53GB
08:31miko has joined #asahi
08:31SiddheshZantye[m]rowang077[m]: will that be enough for it to work?
08:32rowang077[m]so you need whatever size you choose for linux + 38GB slack
08:32rowang077[m]yes 15GB is minimum for it to work according to the tutorial.
08:32SiddheshZantye[m]will I be able to add more later?
08:32rowang077[m]but you wont have much space in linux do to stuff
08:33rowang077[m]so how much space is enough depends on what you want to do use linux for
08:33rowang077[m]I don't know if you can add more later. I actually don't have an M1 mac. I'm just following along here :p
08:34SiddheshZantye[m]Ill try with 220
08:35SiddheshZantye[m]that would give it 25 I think
08:40SiddheshZantye[m]just tried it and that failed too
08:43ggardet has joined #asahi
08:48guillaumeg has joined #asahi
08:49guillaume_g has quit [Ping timeout: 480 seconds]
08:50rowang077[m]can you send me your entire log of the install process?
08:55ggardet has quit [Ping timeout: 480 seconds]
08:58ruffiely[m]will the m2 also work with asahi or does it require complete new code? :D
08:59j`eyruffiely[m]: not completely new code, but some fixes and tweaks and probably a new driver ortwo
08:59chadmedi think they integrated HID on the laptops so that it no longer goes over SPI so thats going to need some tweaking
09:00j`ey(for the keyboard/trackpad)
09:07rowang077[m] I wonder how do we know/expect this? I mean the hardware is not out yet
09:07chadmedwe've seen the device tree for the macbook air
09:14eriol2 has quit []
09:14eriol2 has joined #asahi
09:14eriol2 is now known as eriol
09:14eriol has quit []
09:15eriol has joined #asahi
09:26dhromw^ has joined #asahi
09:40Sobek[m]<chadmed> "we've seen the device tree for..." <- Wait how ?
09:40j`eyfrom the macos13 beta
09:40Sobek[m]Is it in macos betas / latest macos 12 ?
09:45___nick___ has joined #asahi
09:46___nick___ has quit []
09:48___nick___ has joined #asahi
11:24ptudor_ has joined #asahi
11:32ptudor has quit [Ping timeout: 480 seconds]
11:37roxfan has joined #asahi
11:49erincandescent has quit [Remote host closed the connection]
11:50erincandescent has joined #asahi
11:50lonjil has joined #asahi
12:23zx2c4hmm, any known limitations on what KVM can boot on ashai?
12:23zx2c4Does 16k page limitation trickle down into VMs?
12:25mazno 64k pages though, the HW doesn't support them.
12:25zx2c4i'm tryna run windows in qemu/kvm and i cant even get past uefi initialization
12:26mazsame thing here. it seems they are trying to use features that don't exist on the apple HW, such as SMC or the architected PMU.
12:39j`eyyou could pass '-d int', it might be very spammy, but could possibly show if it was executing an SMC or what the last 'bad' interrupt/execption was
12:42mazj`ey: this is only valid of TCG, I think. I can't see how this would work for KVM.
12:43j`eyoh yeah, my bad.
12:43mazfor example, an SMC will result in an EL1 exception, and won't be seen by KVM at all.
12:46zx2c4maz: j`ey: i see https://א.cc/kIpFrEIZ for example
12:46zx2c4"ConvertPages"
12:48zx2c4i know peopl ehave gotten qemu+hvf working on macos though
12:48zx2c4with uefi
12:48maz" ESR : EC 0x00 IL 0x1 ISS 0x00000000 "
12:48zx2c4so i'm not sure its the cpu
12:48mazundefined instruction.
12:48zx2c4Well then. How are people running this on hvf?
12:48mazyou can do all sort of things if you want to sidestep the architecture, which HVF does.
12:48zx2c4Does that somehow trap and emulate?
12:48mazI'm not interested in supporting that in KVM.
12:49zx2c4Why not?
12:49mazbecause KVM/arm64 is architectural, and only that.
12:49zx2c4I dunno about that...
12:49zx2c4ever see ppc's kvm implementation for example?
12:50zx2c4It handles lots of interesting things
12:50mazI only care about the stuff I maintain upstream. other architecture can pile whatever crap they want, that's none of my business!
12:50zx2c4my point is that if your point is "KVM isnt supposed to do that", here's a counter example
12:51zx2c4why not make KVM more useful?
12:51mazwhy not make KVM more crap and unmaintainable, you mean?
12:51milek7_does hvf use some special traps?
12:52zx2c4maz: seems a bit hyperbolic
12:52mazwe already have to deal with a 10k page spec. adding support for something *that doesn't have a public spec* is definitely not on my radar.
12:52j`eymaz: im assuming that hvf (non architectural) will use this trap? ^
12:53zx2c4maz: anyway, if that's your perspective, it sounds like i'll never have windows running inside kvm on the m1. so i'll just sell the hardware because that's an uphill battle against "the stuff [you] main upstream" that i dont really want to fight
12:53zx2c4maintain
12:53mazj`ey: probably. assuming that's only for SMC.
12:54mazzx2c4: hey, feel free to go and maintain KVM/arm64 if that's what you want.
12:54zx2c4surely you're not offering to change MAINTAINERS after a short random conversation in an irc channel. don't be ridiculous
12:55mazwell, if you think you can do a better job, I don't care.
12:55zx2c4my point is that i *dont* really want to fight you on this. so if that's a hardline perspective you take, it's obvious to me the course of action that's most reasonable is to find more compliant hardware
12:57zx2c41) i need a windows arm64 reverse engineering platform; 2) i'll use an m1 for that because it's fast and available; 3) maz says no; 4) reevaluate step 2
13:02mazone thing that *could* be done is to forward the stuff that isn't architectural to userspace and let it deal with it. Not sure you could work around everything, but I guess that's an interesting project for someone willing to mess with that sort of stuff.
13:04sveni think that's more or less what hvf.framework on macOS does fwiw. most of the heavy lifting is done inside virtualization.framework which runs in userspace
13:07mazthe crap with this is that userspace doesn't really know what sort of braindead extension it has to deal with, which negates the idea of the usrspace ABI being an abstraction layer.
13:08maznow userspace has to know "oh, I run on this particular flavour of fruity computer, let's interpret this random syndrome in a particular way".
13:09mazgreat for a vertical ecosystem, but pretty bad for something like Linux.
13:09svenoh, i agree that this isn't a great idea but it might be the best that can be done
13:15pjakobsson has joined #asahi
13:38miko has quit [Quit: WeeChat 3.5]
13:44scoobydoo has joined #asahi
13:44scoobydoochannel list
13:44scoobydoo has quit []
13:45scoobydoo has joined #asahi
13:45Ry_Darcy_ has joined #asahi
13:45scoobydoois there anyone here?
13:46marvin24 has joined #asahi
13:49marvin24_ has quit [Ping timeout: 480 seconds]
13:50mpsiiuc problem with qemu is that windows x86_64 guest can't boot
13:50scoobydoomps can u read my mexes?
13:50mpsmexes?
13:51mpsah, yes
13:51scoobydooi thought i was messing some
13:51scoobydooso that s the channel for general questions?
13:51mpsscoobydoo: /who should show users in channel
13:52scoobydooit s not working for me
13:52scoobydoolike it takes the command but shows no output
13:52mpslinux x86_64 guest works in qemu
13:54scoobydoo has quit [Quit: leaving]
13:54scoobydoo has joined #asahi
13:57mpsscoobydoo: what is your irc client
14:00scoobydooshould i change it?
14:00mpsscoobydoo: also I use irssi
14:01mps1211
14:01mps12
14:02scoobydoowhat is 12?
14:03mpsuhm sorry. typed wrong control seqeunces
14:03null_ is now known as null
14:03mpsscoobydoo: /who works for me
14:04scoobydooi have a full screen on this caht, where do you see the output, same page where u write text or should i change some?
14:04* mpswonders how much users are on channel
14:05mpsscoobydoo: /who output goes to status channel, usually number 1
14:07j`eyscoobydoo: this is not a general help chat, it's a channel about the asahi project
14:08scoobydooyeah u right j sorry, first time on irc, sorry
14:13dhromw^ has quit [Ping timeout: 480 seconds]
14:16Gaspare has joined #asahi
14:25Ry_Darcy_ has quit [Remote host closed the connection]
14:50scoobydoodoes anybody understood how to increase luminosuty on asahi linux on macbook pro 13 with no phisycal fucntion keys, only way i managed to increase it is to switch to macos increase it and get back
14:50j`eyscoobydoo: that's the only way for now
14:51scoobydoolet me ask another question, is it normal that my mac gets hot while using asahi?
14:51scoobydoolike is there any way to reduce it, i can t make the fan get to work
14:56AdryzzOLEDEdition[m]1it is normal as all the rendering is done on the CPU
14:56AdryzzOLEDEdition[m]1once it gets offloaded to the GPU it should be better
14:57scoobydoothat make sense, thanks adry
15:14scoobydoo has quit [Quit: leaving]
15:15luke has joined #asahi
15:31marvin24_ has joined #asahi
15:34marvin24 has quit [Ping timeout: 480 seconds]
15:42psykose has joined #asahi
15:46Gaspare has quit [Quit: Gaspare]
16:04bisko has joined #asahi
16:09asdflkjasdflkjrhlktrjhelkgjhdf has joined #asahi
16:09luke has quit [Read error: Connection reset by peer]
16:11asdflkjasdflkjrhlktrjhelkgjhdfsorry this is my first time using matrixz
16:12lkvrsfld[m]Anyone already tested the new macos 13 beta and used the rosetta-mount for linux VMs?
16:12jnnthe general etiquette is: 1. ask a question, 2. stay around for answers
16:15MajorBiscuit has quit [Quit: WeeChat 3.5]
16:17asdflkjasdflkjrhlktrjhelkgjhdfwill new chips (M2, M2 Pro, &c) require tweaks to asahi to work on machines with those chips or not bc they use the same instruction set?
16:17AdryzzOLEDEdition[m]1they will for a few things like input
16:18j`eyasdflkjasdflkjrhlktrjhelkgjhdf: some tweaks and a few new drivers
16:20asdflkjasdflkjrhlktrjhelkgjhdfis the same thing needed for those updating a normal linux distro to work on newer generations of other chips (e.g. intel 11th gen to intel 12th gen)?
16:20j`eythe m2 is a whole SoC, not just a CPU
16:20asdflkjasdflkjrhlktrjhelkgjhdf* 12th gen)? or is this only because of how asahi is working with apple's opaque software?
16:23j`eythere may be some small tweaks related to the CPU itself, but overall that will roughly work the same, it's just some of the devices (like keyboard/trackpad) that need new work
16:25asdflkjasdflkjrhlktrjhelkgjhdfwould that be difficult/take lots of time or not bc writing drivers for a keyboard is not as complicated as for graphics?
16:28threerik[m]how would I go about updating m1n1 using the installer script? more specifically what do i do here
16:32_jannau_asdflkjasdflkjrhlktrjhelkgjhdf: considerably less, also most likely it is just the transport how HID events are signalled from the keyboard controller
16:33_jannau_threerik[m]: why do you want to update m1n1 via the installer? I think m1n1 in the installer wasn't even updated yet
16:34threerik[m]im using the dev script, i thought the fixes for macOS 13 were pushed to it? or i have i misunderstood
16:34_jannau_there should be no need to update m1n1 vias the installer
16:34threerik[m]oh 🤔, how would i get everything working again? the old version doesnt work with macOS 13, so i cant boot into linux to update via pacman
16:36_jannau_I don't think the installer is updated yet but it won't fix the problem (and leave the existing installation intact)
16:36threerik[m]oh okay i see
16:37threerik[m]ill wait a bit longer then, thanks :)
16:37_jannau_I'll prepare instructions later how to restore the system to working state with macos 13 beta
16:39guillaumeg has quit []
16:40threerik[m]alright, thanks a lot
16:49asdflkjasdflkjrhlktrjhelkgjhdfthank you all for answering my questions and for your work on the asahi project!
16:52Gaspare has joined #asahi
17:19mpsis the DCP merged to asahi kernel repo
17:20nicolas17 has joined #asahi
17:22mpsand I see kernel is rebased to 5.19 but don't see which rc
17:23bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:27mpsok, I don't see DCP so it is not merged
17:29j`eynah it's still 5.18 based
17:30mpsah yes, I'm blind
17:30mpsso no reason to rebuild and upgrade I guess
17:31j`eyunless someone has a mac studio and wants to run alpine
17:31null has quit [Quit: oh no.]
17:32j`ey(or wants to upgrade to macos 13)
17:32null has joined #asahi
17:33mpsj`ey: is macos 13 stable released or it is beta
17:34nicolas17macos 13 beta 1
17:34nicolas17stable will come in like september
17:35mpsnicolas17: aha, I will not upgrade then, at least for now. thanks
17:36mpssent yesterday my 'destroyed' mbp to service, when it come back I could use one for experimental things
18:42millenialhacker has joined #asahi
18:48luke has joined #asahi
18:55Gaspare has quit [Quit: Gaspare]
18:56Gaspare has joined #asahi
19:12qeeg has quit [Ping timeout: 480 seconds]
19:22qeeg has joined #asahi
19:29coderobe has quit [Quit: Ping timeout (120 seconds)]
19:42coderobe has joined #asahi
19:44gregb[m] has joined #asahi
19:50___nick___ has quit [Ping timeout: 480 seconds]
19:51tpw_ruleswhat is some good software to make a disk speed vs time graph? interested in filling an SSD up from empty and measuring that
20:09the_lanetly_052__ has quit [Remote host closed the connection]
20:23luke has quit [Ping timeout: 480 seconds]
20:35luke has joined #asahi
21:20Gaspare has quit [Quit: Gaspare]
21:21Gaspare has joined #asahi
21:24luke has quit [Quit: leaving]
21:46Moprius has joined #asahi
22:06Gaspare has quit [Quit: Gaspare]
23:11Ry_Darcy has quit [Remote host closed the connection]
23:32Catyre has quit [Remote host closed the connection]
23:32Catyre has joined #asahi
…