marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
buroa7 has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
buroa has quit [Ping timeout: 480 seconds]
buroa7 is now known as buroa
Brainium has joined #asahi
rvalue has joined #asahi
elmaciej has quit [Quit: Connection closed for inactivity]
bruse has joined #asahi
ten157237743246 has quit [Remote host closed the connection]
ten157237743246 has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
mort_ has quit [Quit: Ping timeout (120 seconds)]
Brainium has quit [Quit: Konversation terminated!]
coralreef has quit [Quit: Do not go gentle into that goodnight.]
mojojojo has joined #asahi
mojojojo has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
john-cabaj has quit [Ping timeout: 480 seconds]
bruse has quit [Ping timeout: 480 seconds]
overholts has quit [Quit: overholts]
overholts has joined #asahi
shiggitay has joined #asahi
denysonique3 has quit [Quit: .]
denysonique3 has joined #asahi
KxCORP has quit [Quit: Bye!]
KxCORP has joined #asahi
f_ has quit [Read error: Connection reset by peer]
ten1572377432468 has joined #asahi
ten157237743246 has quit [Ping timeout: 480 seconds]
ten1572377432468 is now known as ten157237743246
f_ has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
Juest has quit [Ping timeout: 480 seconds]
pthariensflame has joined #asahi
Juest has joined #asahi
pthariensflame has quit []
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi
bruse has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
mojojojo has joined #asahi
mojojojo has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
kujeger has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
shiggitay has quit [Ping timeout: 480 seconds]
bruse has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
<maz> as400: as j`ey said, without EL2 being available, that's another QC turd I'm happy to ignore. Given that the lack of EL2 was a "feature" on previous versions of the QC-based devices, I'm not optimistic (/me looks at the Lenovo C630...)
bruse has quit [Ping timeout: 480 seconds]
kujeger has joined #asahi
h3xeilidh has joined #asahi
h3xeilidh has quit []
bruse has joined #asahi
eiln has joined #asahi
eiln has quit []
Takeshi has joined #asahi
Takeshi has quit [Ping timeout: 480 seconds]
Bertrand___ has quit [Ping timeout: 480 seconds]
Bertrand___ has joined #asahi
wizzard has joined #asahi
holiday has joined #asahi
cds has joined #asahi
kuruczgy has joined #asahi
tsujp has joined #asahi
swapgs has joined #asahi
asimpson has joined #asahi
pldtf has joined #asahi
coder_kalyan has joined #asahi
d4ve has joined #asahi
patwid has joined #asahi
dorkbutt has joined #asahi
gpanders has joined #asahi
signaryk has joined #asahi
akspecs has joined #asahi
probie has joined #asahi
ella-0 has joined #asahi
pitust has joined #asahi
alethkit has joined #asahi
jfy has joined #asahi
bendodroid has joined #asahi
dubiousness has joined #asahi
shinobi57474858 has joined #asahi
rosefromthedead has joined #asahi
z812 has joined #asahi
tretinha has joined #asahi
jleightcap has joined #asahi
johnhamelink has joined #asahi
mrCyborg has joined #asahi
okt has joined #asahi
handlerug has joined #asahi
Takeshi has joined #asahi
* leio doesn't know what EL2 existence or non-existence means in practice
<j`ey> leio: no KVM
<j`ey> (without EL2)
Takeshi has quit []
<sven> For some of qc‘s chips it also means their weird hypervisor running in el2 instead
<as400> I guess for most of people no kvm is like dumb ?
<leio> what's the best way to have a secondary desktop testing system anyhow with kvm and co these days?
<leio> (think testing a gnome alpha version packaging without messing with main system and preferably not an full alternative install)
chadmed_ has quit [Ping timeout: 480 seconds]
mojojojo has joined #asahi
<j`ey> as400: ma z is the KVM maintainer, so kinda needs it :P
<ar> leio: probably an ampere altra devkit if you need it to be arm
<leio> on top of my existing Mac Studio.
<as400> j`ey: yes, I can imagine it can be like useful for him :P
<as400> What I'm just saying is that almost all people use virtualization nowadays. Even non technical ones.
<as400> So why would you release a products like qcom does and call it "elite" not having basic features ?
<ar> as400: non-tech people use VMs? i've yet to see that myself
<ar> win11 has the vm-based sandbox feature, but even that isn't something people tend to use on their own
<as400> ar: I think so, yes. I've seen such people with my own eyes.
<ar> as400: any examples on how they use it?
kidplayer666 has joined #asahi
<as400> ar: for instance, one of my friends wanted to try Linux. So he created a VM for this.
<as400> That's just first thing that comes to my mind.
<ar> and what makes them non-tech?
<as400> I understand tech people being tech by working in it industry.
andymandias has quit [Ping timeout: 480 seconds]
AnuthaDev has joined #asahi
<ar> that's… a very narrow definition
<as400> Might be. But going back to qcom "elite" products. I bet computer vendors will not advertise "no virtual machines" as a feature :P
<as400> They will not even mention that in their materials.
<kidplayer666> my bet regarding the qualcom elite is that the whole linux support ordeal is for chromebooks
asp has quit [Ping timeout: 480 seconds]
bruse has quit [Ping timeout: 480 seconds]
<j`ey> as400: You can use VMs.. with their gunyha hypervisor
<j`ey> (although that's not upstream yet)
<j`ey> leio: best way is to just.. create a disk image and run qemu!
<leio> running in an nspawn with graphics working would feel ideal to me, but I'm not sure it would test properly
<leio> or how to make it have access to graphics properly
<leio> I'm getting offtopic though
bruse has joined #asahi
eroc1990 has quit [Read error: Connection reset by peer]
eroc1990 has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
ten157237743246 has quit [Remote host closed the connection]
andymandias has joined #asahi
ten157237743246 has joined #asahi
bruse has joined #asahi
fossdd has quit [Remote host closed the connection]
mojojojo has quit [Remote host closed the connection]
mojojojo has joined #asahi
mojojojo_ has joined #asahi
AnuthaDev has quit []
mojojojo_ has quit [Remote host closed the connection]
mojojojo_ has joined #asahi
mojojojo_ has quit [Remote host closed the connection]
mojojojo_ has joined #asahi
mojojojo has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi
jacksonchen666 has quit []
jacksonchen666 has joined #asahi
andymandias_ has joined #asahi
andymandias has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
Bai-Chiang has quit [Remote host closed the connection]
TheLink3 is now known as TheLink
jacksonchen666 has quit [Quit: WeeChat 4.1.2]
stintel has joined #asahi
fossdd has joined #asahi
fossdd has quit [Remote host closed the connection]
fossdd has joined #asahi
possiblemeatball has joined #asahi
Soni has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Soni has joined #asahi
ncopa has quit [Quit: Ping timeout (120 seconds)]
ncopa has joined #asahi
john-cabaj has joined #asahi
mojojojo_ has quit []
mojojojo has joined #asahi
roxfan2 has joined #asahi
roxfan has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
Bertrand___ has quit [Ping timeout: 480 seconds]
ten157237743246 has quit [Remote host closed the connection]
ten157237743246 has joined #asahi
helene has joined #asahi
Bertrand___ has joined #asahi
<helene> hi! i've installed asahi recently (the GNOME version, I tried the KDE one but KDE doesn't work out for me sadly, even though the support is better...); I randomly get watchdog errors on boot (meaning, it doesn't boot) for some hard cpu lockups (the CPU is seemingly random); I'm on a M1 MBAir, is this a known issue?
<helene> also, wrt/ non-tech people using hypervisors: i've seen non-tech (by my definition of "what is a linux" non-tech) use hypervisors unknowingly, by using Windows' WSA or BlueStacks (or alike) to run Android apps and games on their desktops
<PaulFertser> helene: do you have log or at least a photo of those CPU lockups?
<helene> i do wonder if that would be in journalctl, let me check; otherwise i'll try to reproduce it
<PaulFertser> helene: are you running Fedora or ALARM? Also, was it stable with "KDE version"?
<helene> Fedora, GNOME, freshly installed (and with updates installed), no changes from the Asahi installer. I'd presume that's stable
Bertrand___ has quit [Ping timeout: 480 seconds]
gspbirel56 has quit [Quit: see you soon!]
Bertrand___ has joined #asahi
gspbirel56 has joined #asahi
aut0 has joined #asahi
aut0 has quit []
mojojojo has quit [Remote host closed the connection]
aut0 has joined #asahi
mojojojo has joined #asahi
mojojojo_ has joined #asahi
mojojojo has quit [Read error: Connection reset by peer]
mojojojo has joined #asahi
mojojojo_ has quit [Read error: Connection reset by peer]
mojojojo has quit [Remote host closed the connection]
mojojojo has joined #asahi
eiln has joined #asahi
<helene> so i checked journalctl: no logs; removed quiet from kargs, tried reproducing it: i couldn't manage to reproduce it, but i hit another bug causing the boot to halt and eventually restart the laptop by itself after a few minutes, and it occurs during plymouth
<helene> and i can't seem to hide plymouth by pressing some keys
<j`ey> helene: fyi I haven't heard anyone have similar issues
<j`ey> helene: esc should show stuff, or plymouth=0 / remove rhgb from command line
<helene> i just have that kind of luck
<helene> well, i'm gonna hope the bug doesn't occur only when plymouth is there or when kernel is quiet
<j`ey> btw you said it rebooted aftew a few minutes.. it shouldnt still be in plymouth at that point..?
<helene> well, plymouth is still on screen by the time it self-reboots
<helene> (and the reboot is made clear by the Apple chime)
<helene> so far, haven't been able to reproduce it yet with plymouth disabled
<j`ey> helene: I mean if it actually is minutes, that means something probably crashed and plymouth was just sat there
<helene> most likely, yeah; i'd like to figure out what, but i fear i might not be {,ca}pable of that
<j`ey> helene: how often was it happening before? can you repro again with plymouth enabled?
Facepunch01 has joined #asahi
Maxi has joined #asahi
<Facepunch01> I truly couldn't find this, but is there anyway to enable deep sleep on Fedora yet
<j`ey> if by deep sleep you mean to disk, no
<j`ey> only sleep is s2idle (aka kernel still runs, but not userspace)
eiln has quit [Ping timeout: 480 seconds]
bruse has quit [Ping timeout: 480 seconds]
<Facepunch01> Yeah I mean deep CPU idle like in /sys/power/mem_sleep I don't know the real term for it
<helene> j`ey: just before disabling plymouth it did it around 4-5 times in a row
<j`ey> Facepunch01: then yeah, not supported yet
<j`ey> if you know youre going to leave it unattended for a long time, best to turn it off
<j`ey> https://www.kernel.org/doc/Documentation/power/states.txt is quite verbose, but explains the different options
<j`ey> assuming that s2idle does this.. being able to offline CPUs would help (but we cant do that yet either)
<helene> welp, can't reproduce again even with all flags restored
<helene> sorry about all that :(
Maxi has quit [Quit: Maxi]
<helene> thank you for your time nevertheless; i'm sure the softlock will happen again, but it seems like it'd be a pain to get more than one bit of information out of those; and since i'm the only one suffering from those, might be something wrong with my hardware. hopefully no one else has that issue, as that one looks annoying. thank you!
<j`ey> helene: do let us know, maybe leave plymouth disabled for now, so if it does happen maybe you can see some output
<helene> will do so!
Xe has quit [Quit: WeeChat 4.1.0]
Xe has joined #asahi
eiln has joined #asahi
jlco has quit [Quit: No Ping reply in 180 seconds.]
jlco has joined #asahi
eiln has quit [Ping timeout: 480 seconds]
Bertrand___ has quit [Remote host closed the connection]
Bertrand___ has joined #asahi
pchmykh has joined #asahi
AnuthaDev has joined #asahi
Guest14233 has quit [Ping timeout: 480 seconds]
rvalue has quit [Ping timeout: 480 seconds]
rvalue has joined #asahi
roxfan2 is now known as roxfan
bruse has joined #asahi
Guest14269 has quit []
vx has joined #asahi
vx is now known as Guest14451
pchmykh_ has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
pchmykh has quit [Ping timeout: 480 seconds]
pchmykh_ is now known as pchmykh
helene has left #asahi [client parted]
___nick___ has joined #asahi
pchmykh_ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
pchmykh has quit [Ping timeout: 480 seconds]
pchmykh_ is now known as pchmykh
Facepunch01 has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
malfunction54 has quit [Remote host closed the connection]
bruse has quit [Ping timeout: 480 seconds]
ice9 has joined #asahi
mojojojo_ has joined #asahi
mojojojo has quit [Read error: Connection reset by peer]
ice9 is now known as Guest14454
hightower2 has joined #asahi
helene has joined #asahi
opticron has quit [Ping timeout: 480 seconds]
AnuthaDev has quit []
bruse has joined #asahi
ChaiTRex has quit [Quit: ChaiTRex]
bruse has quit [Ping timeout: 480 seconds]
bruse has joined #asahi
wizzard has quit [Ping timeout: 480 seconds]
georgemoody has joined #asahi
chadmed has joined #asahi
ChaiTRex has joined #asahi
bruse has quit [Ping timeout: 480 seconds]
pchmykh_ has joined #asahi
denice68 has joined #asahi
opticron has joined #asahi
denice68 has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 480 seconds]
pchmykh has quit [Ping timeout: 480 seconds]
pchmykh_ is now known as pchmykh
timokrgr has quit [Quit: User left the chat]
timokrgr has joined #asahi
pchmykh has quit [Remote host closed the connection]
Skyrix_ has joined #asahi
<Skyrix_> Hi everyone! I'd really like starting contributing to this project, i haven't really contributed to anything before so i'd really like to know how i could start. Any suggestions?
georgemoody has quit [Quit: Konversation terminated!]
georgemoody has joined #asahi
opticron has quit [Ping timeout: 480 seconds]
<kidplayer666> I think this is usuallly the resource that is pointed out regarding that
opticron has joined #asahi
wizzard has joined #asahi
checkfoc_us has joined #asahi
helene has left #asahi [client parted]
<checkfoc_us> hi all o/ whre best to ask about vdmtool? hit a roadblock
<PaulFertser> Ask first, then you can re-ask if a better place is found :)
<checkfoc_us> Fair. I'm trying to hook up to my power delivery breakout but I have rev2 and cannot find schematics for pin matching. There are confusingly extra pins that I can't work out if thats the reason I'm not getting a successful handshake? Serial output works. Polls. Connects and detects polarity but repeats on >SOURCE_CAP.
<checkfoc_us> for eg there are 2 vdd pins and 3 ground pins
<PaulFertser> checkfoc_us: are you referencing schematics from https://git.kernel.org/pub/scm/linux/kernel/git/maz/cs-hw.git ?
<j`ey> https://github.com/AsahiLinux/vdmtool something from here probably
<sven> ground should all be connected either way
<sven> does VDD refer to the vdd pins of the usb connector? If yes they’re all connected as well
<checkfoc_us> I did attach all grounds just in case but not wise enough to know if Uno ground pins are all completely related
<sven> unless you’re doing some fancy analog stuff grounds are usually all connected
<checkfoc_us> and yes vdd does so my issue is that I am testing one vdd pin over another and you're saying they both need to be connected.
<checkfoc_us> well because it asked for analog pin for scl and sda I wondered
<PaulFertser> checkfoc_us: if they're named the same they are connected
<sven> vdd pins of the usb cable? They are all connected on the other side anyway
<checkfoc_us> thanks this helps to test more. also is ioref suitable as a 3v3 source
<sven> no idea what ioref is
<checkfoc_us> is a pin on the arduino
<PaulFertser> checkfoc_us: do you have V_PULLUP connected?
<checkfoc_us> I do not
gladiac is now known as Guest14462
gladiac has joined #asahi
<checkfoc_us> I tried matching the pins mentioned here https://github.com/AsahiLinux/vdmtool
<PaulFertser> checkfoc_us: 2 VPU → Arduino 3V3 <-- this is called V_PULLUP on Reclaimer schematics
<checkfoc_us> But on this board I have VPU breakout
<PaulFertser> checkfoc_us: no idea what ioref is and why you would use it as a 3V3 source, usually arduino boards have a 3.3 V LDO, get it from that output.
<checkfoc_us> So i connected VPU to 3v3
<PaulFertser> I wonder what kind of arduino is meant there. Clearly there're AVR-based which run on 5 V and use 0/5 V signalling for GPIO, and there're other boards that are also called "arduino" but use 3.3 V main voltage.
<janneg> checkfoc_us: is your target device a laptop? if yes try connecting a charger
<checkfoc_us> target device is anything I can get to succeed proof of concept (learning)
<checkfoc_us> will try a charger but wanted to avoid true AC near my projects hah
bruse has joined #asahi
<janneg> checkfoc_us: I'm assuming you're trying tyo connect to an apple silicon device
<checkfoc_us> not always I have tried non apple silicon. eventually it would be nice to debrick my m1 (don't ask) but thats a long term goal of this warpath hah
Guest14462 has quit [Ping timeout: 480 seconds]
<PaulFertser> checkfoc_us: I suggest you pastebin your example session with some comments. Guess if it polls and detects polarity properly then I2C communication with FUSB is working...
<janneg> that can be troublesome if the devices tries to charge from rthe connected VBUS
<j`ey> checkfoc_us: you should be able to do DFU with just a normal usb c cable
<checkfoc_us> its worse than that j`ey. some overzealous drunk command line partition removal in a haste to give the younger sis a laptop whilst visiting.... whoops
<checkfoc_us> PaulFertser will do. i was confused because it got far enough to detect polarity so somethings almost there and i2c is def hooked up right if its as basic as scl sda grd
Skyrix_ has quit [Quit: Leaving]
Brainium has quit [Read error: Connection reset by peer]
<j`ey> I thought you could DFU even with a fully wiped nvme?
<checkfoc_us> i've tried everything under the sun on that route. I do have logs for that but a little concerned about sharing them and the folks worth looking at it shouldn't waste their time
<PaulFertser> checkfoc_us: were you using idevicerestore or another Mac?
bruse has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
<checkfoc_us> it won't even make it to internet recovery. tried another mac. tried apple config, tried finder way (best way to get logs) and tried imazing hopeful way
<checkfoc_us> it bootloops right at DFU load
<PaulFertser> That's all not related to custom VDM commands anyway, right?
<checkfoc_us> not at all, but on that topic hooking up all pins correctly still results in same loop at SOURCE_CAP https://pastebin.com/WCxz58Mz
<janneg> what is your main goal? getting vdmtool to work or restoring the device? The second is possible without the former. are you getting it into the right dfu mode via the documented sequence? The screen should be black. timing can be a little tricky to get right
<checkfoc_us> two are entirely different janneg. I am heavily sinking into hardware reverse engineering so my main goal is learning. It would be nice one day to debrick the poor laptop, but it's not relevant to this outside of being a carrot
<checkfoc_us> lots of exp with dfu mode headaches/gang signs to get the right key sequence and timing etc. I spent half a day on 'timing' alone
<janneg> I see https://paste.debian.net/1304454/ looping if I try to use it while the m2 macbook pro 13-inch is not connected to a charger
<checkfoc_us> i am sending from a linux pc -- should it matter? outside of supply enough voltage to uno?
<janneg> this is with CS so slightly different code but I saw the same with arduino + reclaimer board
<checkfoc_us> and my error is actually SOURCE_CAP loops, nothing else
denice68 has joined #asahi
<checkfoc_us> i do not know the protocol enough is there data pins for vbus? on this breakout from reclaimer there's a separate vbus/grd pins this is the rev
<janneg> this is USB VBUS i.e. +5V. it's the top middle pin of the 2x3 pin block
<checkfoc_us> and pls confirm i don't have to power seperately with the micro usb? trying w/ the 2x3 block pins
denice68 has quit [Ping timeout: 480 seconds]
<checkfoc_us> janneg this is exactly it - thank you. job done. I was using vbus_a and not vbus (5v to uno pin 4) thank you very kindly and thank you PaulFertser
<janneg> VBUS of the micro usb connector is only connected to the VBUS_A
<checkfoc_us> Perfect. Appreciate you
<checkfoc_us> lesson for me is lack of accurate schematics make blind poking harder and learning more arduous. arduino...arduous
<PaulFertser> Schematics from https://github.com/ReclaimerLabs/USB-PD-Breakout/tree/master/electrical show VBUS_A is only connected to the micro-OTG connector
<checkfoc_us> Also the link to the documentation doesn't work https://github.com/AsahiLinux/vdmtool
<checkfoc_us> PaulFertser you are right - now I understand its purpose and where I've gone wrong the schematics make more sense to me. I couldn't parse correctly to begin. Learning fast
<checkfoc_us> janneg thank you! This really is fascinating. It's all coming together for me slowly but surely. appreciate all the massive hard work from everyone this is a goldmine of information
<checkfoc_us> and help
mojojojo_ has quit [Ping timeout: 480 seconds]
georgemoody has quit [Quit: Konversation terminated!]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
bruse has joined #asahi