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:16zamadatix[m]lsusb -t
02:19timokrgr has quit [Quit: User left the chat]
02:20timokrgr has joined #asahi
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_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: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: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: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: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: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: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:25* SiddheshZantye[m]uploaded an image: (187KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/vXcrDlaEzYUtKYvlMeoylLcL/Screen%20Shot%202022-06-21%20at%208.25.30%20PM.png >
08:27rowang077[m]Did you check you have enough free space?
08:27rowang077[m]Siddhesh Zantye:
08:28* SiddheshZantye[m]uploaded an image: (117KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KkcYnOnrJBmxEIVdHXroFPLn/Screen%20Shot%202022-06-21%20at%208.28.17%20PM.png >
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:31rowang077[m]See here
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:32SiddheshZantye[m]oh I see
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:07rowang077[m] I wonder how do we know/expect this? I mean the hardware is not out yet
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: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: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: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:52j`eymilek7_: https://github.com/AsahiLinux/m1n1/commit/1a775715573ec8dff35e3486b82d59b3f498640d
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: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:54zx2c4surely you're not offering to change MAINTAINERS after a short random conversation in an irc channel. don't be ridiculous
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:15pjakobsson has joined #asahi
13:38miko has quit [Quit: WeeChat 3.5]
13:44scoobydoo has joined #asahi
13:44scoobydoo has quit []
13:45scoobydoo has joined #asahi
13:45Ry_Darcy_ has joined #asahi
13:46marvin24 has joined #asahi
13:49marvin24_ has quit [Ping timeout: 480 seconds]
13:54scoobydoo has quit [Quit: leaving]
13:54scoobydoo has joined #asahi
14:03null_ is now known as null
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: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: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
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:09asdflkjasdflkjrhlktrjhelkgjhdfanyone there?
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: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: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: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:28* threerik[m]uploaded an image: (171KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/cYdhNrygIeUocCyqYqHgHcTP/image.png >
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: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:20nicolas17 has joined #asahi
17:23bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:31null has quit [Quit: oh no.]
17:32null has joined #asahi
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:17jannauthreerik[m]: https://github.com/AsahiLinux/asahi-installer/issues/100#issuecomment-1162376171
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