ChanServ 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
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 481 seconds]
okb_ has joined #asahi
okb has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
Calandracas has joined #asahi
okb_ has quit [Ping timeout: 480 seconds]
okb has joined #asahi
Calandracas__ has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
simjnd has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
Calandracas_ has joined #asahi
okb_ has joined #asahi
Calandracas has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
simjnd has quit [Ping timeout: 480 seconds]
okb has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
pb17 has joined #asahi
chrisl has joined #asahi
simjnd has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
simjnd has quit [Ping timeout: 480 seconds]
okb has joined #asahi
okb_ has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
chrisl has joined #asahi
simjnd has quit [Ping timeout: 480 seconds]
opticron has quit [Read error: Connection reset by peer]
JayBeeFOSS has quit [Remote host closed the connection]
JayBeeFOSS has joined #asahi
ddxtanx_ has joined #asahi
ddxtanx has quit [Read error: Connection reset by peer]
chrisl has joined #asahi
okb_ has quit [Ping timeout: 480 seconds]
okb has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
simjnd has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
okb has quit [Ping timeout: 480 seconds]
simjnd has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
mattia013_ has joined #asahi
simjnd has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
simjnd has quit [Ping timeout: 480 seconds]
allmazz has quit [Quit: Lost terminal]
simjnd has joined #asahi
chrisl has joined #asahi
chadmed_ has joined #asahi
chadmed has quit [Read error: Connection reset by peer]
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hexdump01 has quit []
hexdump0815 has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Remote host closed the connection]
pb17 has joined #asahi
okb has joined #asahi
chrisl has joined #asahi
simjnd has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
mattia013_ has quit [Ping timeout: 480 seconds]
simjnd has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
okb has quit [Ping timeout: 480 seconds]
storopoli has quit [Remote host closed the connection]
gruetzhaxe has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
okb has joined #asahi
DarkShadow44 has joined #asahi
GnomedDev has joined #asahi
DarkShadow4444 has quit [Ping timeout: 480 seconds]
<GnomedDev>
Hey, I am on a 14in Macbook Pro M2 2023 and if I'm reading the feature support page correctly, asahi should work with the HDMI port, but when I try using my Huion Kamvas 13 drawing tablet the screen stays blank when using the HDMI + 2 USB A connections, and same with the USB C only configuration. I expected USB C not to work, but HDMI also isn't working, help?
<GnomedDev>
Well, I say the screen stays blank, it says "no signal"
<LarstiQ>
is the Huion the hdmi output?
<LarstiQ>
if so, have you tried a regular monitor?
hdbngr has joined #asahi
<GnomedDev>
I haven't tried a regular monitor, give me a second.
<GnomedDev>
Regulat monitor seems to work fine. The Huion is the HDMI output, it's a large touch screen which requires a specialised pen to use. It has two USB C ports, one for a cable which splits into HDMI and two USB A, one for a USBC -> USBC cable.
<GnomedDev>
oh okay then, fuck me I guess. Just connected it again for a laugh and it works after not working last night., sorry for wasting y'alls time.
bgtlover[mds] has joined #asahi
<bgtlover[mds]>
lol! that's how this stuff always works
<LarstiQ>
heh, only a couple of minutes for reading + writing, no worries
hdbngr has quit [Remote host closed the connection]
hdbngr has joined #asahi
GnomedDev has quit [Quit: Konversation terminated!]
JTL1 has quit []
JTL has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
GnomedDev has joined #asahi
<GnomedDev>
Okay, me again with the 14in M2 MBP 2023 and Kamvas 13 drawing tablet. When I connected it earlier and video output worked it seemed like pen input didn't, then I put my MBP to sleep and came back and the HDMI output doesn't work again.
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
<LarstiQ>
GnomedDev: does replugging fix it?
nickchan- has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
nickchan has joined #asahi
<GnomedDev>
Nope, tried replugging a couple times. I've also tested with a regular monitor and that isn't working anymore.
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
<GnomedDev>
KDE seems to be making the device connection/disconnect sound effects a couple times when I plug in the monitor though.
funderscore has joined #asahi
<GnomedDev>
Hmm, another point of issue, the internal microphone seems to not be showing up either.
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
<GnomedDev>
Okay, I've found asahi-diagnose and I'll send a file later, but got to be afk for now.
GnomedDev has quit [Quit: Konversation terminated!]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
Szadek094409193384066 has quit []
Deewiant has quit [Remote host closed the connection]
Deewiant has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
gruetzhaxe has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
funderscore is now known as f_|DSR
nandedahli91 has joined #asahi
pb17 has joined #asahi
hdbngr has joined #asahi
<marcusr>
I frequently have to reboot to restore hdmi functionality on my my laptop fwiw.
hdbngr has quit [Ping timeout: 480 seconds]
Moprius has joined #asahi
hdbngr has joined #asahi
Moprius has quit [Remote host closed the connection]
megatronBTC has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
GnomedDev has joined #asahi
<GnomedDev>
Hey, okay, so I have an M2 MBP 14in 2023, and recently installed Fedora KDE. I am having issues with (1) the internal microphone seems to not show up in the volume picker or discord (2) My Huion Kamvas 13 drawing tablet's pen input is not working (3) The HDMI output seems to break after sleep, tested with external monitor and the said tablet. Here's an asahi diagnose output https://gist.github.com/GnomedDev/606aa132ef7168320f1e7325c166433b and
<GnomedDev>
if there is anything else I can do to get help let me know.
<chaos_princess>
is this a vanilla m2, or a pro/max
<GnomedDev>
Pro
<GnomedDev>
A2779, if that helps
cylm has joined #asahi
<chaos_princess>
known(?) issue. something is different about mics on t602x, but we are not sure what exactly. (me not owning the relevant machines does not help :P)
<GnomedDev>
Is there anything I can do to help? I'm quite experienced with Linux outside contributing to the kernel, and I have extensive Rust experience if that helps.
<chaos_princess>
from there, find out which one is actually relevant
eaburns has joined #asahi
<GnomedDev>
That PR touches a bunch of files, what is the "tracer' that I have to run? Do I have to be in MacOS or Fedora or do fancy m1n1 stuff?
<chaos_princess>
you need two computers, one must run macos 13.5 with m1n1 hypervisor installed, other can be macos or linux. On the workstation one run something like `python3 proxyclient/tools/run_guest.py -m proxyclient/hv/trace_aop.py -s kernel.development.t6000 dev.kc.macho.development -- "debug=0x14e serial=3 apcie=0xfffffffe -enable-kprintf-spam wdt=-1 clpc=0"`
<GnomedDev>
Okay, so I have this M2 machine and a 2020 Intel MBA with T2Linux. I would install MacOS 13.5 with m1n1 wrapping it on the M2 machine, and run the run_guest script on the Intel MBA?
<chaos_princess>
yes
<chaos_princess>
also, the tracer probably won't work out of the box and you will have to tweak it
<GnomedDev>
okay, I might get that done but I doubt it. Installing an old version of MacOS is the opposite of what I want to do lol. Is there any known issues/fixes to the second (pen input not working) and third (HDMI output breaking after sleep) issues I'm having?
<chaos_princess>
who knows, anything suspicious in dmesg?
<chaos_princess>
thinking of it, lets go for the pen first, does your thing do pen input if you connect only usbs?
<chaos_princess>
as in - on any machine
<GnomedDev>
give me a second, I'll go test
<GnomedDev>
On said intel MBA running t2linux arch, using the same USB C hub and plugging the tablet's two USB A cables into the hub, pen input does work without the HDMI plugged in.
<chaos_princess>
do other devices work via the relevant usbc hub?
<chaos_princess>
on m2
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
<GnomedDev>
Hmm, weird. A random USB 3 SD card reader is showing up through the hub but not one of my USB sticks, investigating more
<chaos_princess>
what is the order you are plugging the devices in
<GnomedDev>
I left the USB hub plugged in, then plugged and unplugged devices from it
<MichaelLong>
GnomedDev, some time ago I had very weird USB connectivity issues myself using a USB-Hub. Could you unplug your hub (but leave the USB-storage connected) and than replug it again
<chaos_princess>
yea, try the opposite order, connect the devices to hub first then hub to mac
<GnomedDev>
Okay, it seems like the USB might have just been playing up, it is old and the sliding mechanism is half broken. Both of my test USB A devices work on the USB C hub plugged into the M2 Mac
<chaos_princess>
anyway, try plugging in just usbs via the hub and run lsusb
<GnomedDev>
AND NOW THE PEN INPUT WORKS
<chaos_princess>
and also see if something is happening in dmesg
<chaos_princess>
oh, that
<GnomedDev>
what the hell
<chaos_princess>
nah, its the hub being itself
<GnomedDev>
I have never had issues with this hub on my Intel MBA lmao
<chaos_princess>
every single usb c hub uses the same chip that sometimes plays up
<chaos_princess>
like, i have a usbc hub, and whether it's sd reader will enumerate sometimes depends on the phase of the moon
hdbngr has joined #asahi
<GnomedDev>
I'm just watching journalctl --follow and the kernel is not happy with this USB hub lol
<MichaelLong>
hm I'm not convinced. I mean it is true that there are very few USB ICs available (mostly VIA I guess) but when I tested my issues the used Hubs all worked without any issues on other systems.
<GnomedDev>
is apple just using a fucked USB C chip on their end on the AS macs?
<chaos_princess>
... yes
chrisl has quit [Ping timeout: 480 seconds]
<MichaelLong>
e.g. until recently I had to disconnect the USB-C hub while booting - otherwise the kernel crashed and restarted the system.
<chaos_princess>
they have the dwc3 ip block connected via a eusb repeater which results in amazing things like the whole thing needing to be completely reset on plug/unplug events
<GnomedDev>
Right then, pen input from the tablet seems to work when using one of my tiny USBA -> USBC dongles
<GnomedDev>
instead of a hub
GnomedDev has quit [Quit: Konversation terminated!]
hdbngr has joined #asahi
GnomedDev has joined #asahi
<GnomedDev>
Now, last problem. HDMI breaking after sleep. Known problem?
<chaos_princess>
depends, anything weird in dmesg?
<GnomedDev>
I see a lot of spam of `set_drive_settings` from apple-dcp, some talk about `AFK[ep:28]: too many enabled services!` and `kwin_wayland_drm: Bad link status detected on connector HDMI-A-1`
hdbngr has quit [Remote host closed the connection]
hdbngr has joined #asahi
hdbngr has quit [Remote host closed the connection]
hdbngr has joined #asahi
eaburns has quit [Quit: Konversation terminated!]
cylm_ has joined #asahi
<GnomedDev>
alongside my above question about HDMI + sleep, I'm wondering if something is wrong with discover. I've had 50+ packages to update 3 times in the last 24 hours. Is this normal for fedora or is something going wrong?
nandedahli91 has quit [Remote host closed the connection]
chrisl has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
hdbngr has quit [Read error: Connection timed out]
chrisl has quit [Ping timeout: 480 seconds]
GnomedDev has quit [Quit: Konversation terminated!]
hdbngr has joined #asahi
Calandracas_ has quit [Remote host closed the connection]
Calandracas_ has joined #asahi
hexdump0815 has quit [Remote host closed the connection]
hexdump0815 has joined #asahi
vmeson has quit [Quit: Konversation terminated!]
hexdump0815 has quit [Read error: Connection reset by peer]
hdbngr has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #asahi
vmeson has joined #asahi
chrisl has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
simjnd has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
hdbngr has joined #asahi
chrisl has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
allmazz has joined #asahi
chrisl has quit [Ping timeout: 480 seconds]
JamesB192 has joined #asahi
hdbngr has joined #asahi
<LarstiQ>
sven: that's the most fearsome commit message I'v read this week
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
<sven>
crap like that is the reason why getting usb3/tbt/etc working took three of us all this time so far
pb17 has joined #asahi
hdbngr has joined #asahi
qyliss has quit [Quit: bye]
qyliss has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi
simjnd has quit [Ping timeout: 480 seconds]
leah2 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
simjnd has joined #asahi
leah2 has joined #asahi
<j`ey>
chaos_princess: any chance you can try a exe in muvm+wine for me (assuming you have that setup)? just to save me the hassle of rebuilding with with X support
simjnd has quit [Ping timeout: 480 seconds]
<chaos_princess>
please dont send me a cryptolocker, but sure?
<j`ey>
I just realised you need .NET and stuff, if you dont have that already it's not worth it, I can just rebuild
<chaos_princess>
sure
simjnd has joined #asahi
<j`ey>
the very last option would be to port it from WinForms (which doesnt have a Linux lib) to a cross platform lib for .NET
<j`ey>
that way it would run 'natively' too, but I have no idea about writing C# and how hard that would be
<chaos_princess>
i thought framework mono had winforms, no?
<j`ey>
not sure, wasnt using Mono
<chaos_princess>
and it seems like msft opensourced winforms and it now runs on new .net, though only on windows https://github.com/dotnet/winforms