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
matteo has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi
matteo has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
kidplayer666 has quit [Quit: Connection closed for inactivity]
Chai-T-Rex has quit [Remote host closed the connection]
ChaiTRex has joined #asahi
Chai-T-Rex has joined #asahi
ChaiTRex has quit [Ping timeout: 480 seconds]
holiday has joined #asahi
holiday has quit []
holiday has joined #asahi
holiday has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
Moprius has quit [Remote host closed the connection]
spudman has joined #asahi
prkr has joined #asahi
<spudman> so the m1 speakers work now?
<spudman> how do I enable that?
jeisom has quit [Ping timeout: 480 seconds]
ydalton has joined #asahi
<ydalton> spudman: are you on arch or fedora?
ydalton has left #asahi [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
<unixpoet> I've got the same question, on an M2. I can adjust volume but nothing happens when I try to play something
<unixpoet> also, on Fedora to be clear
<unixpoet> M2 MacBook Air, to be clear
ydalton has joined #asahi
<ydalton> can you go into pavucontrol -> configuration
<ydalton> "Built-in Audio" set to default?
<unixpoet> I've not got pavucontrol, this is a plasma install, but the Plasma audio controls are set to default, yes
<ydalton> i'm in plasma audio settings, i don't see "default"
<unixpoet> in system settings, it's listed under audio, then the pane on the right has a playback devices section. below that there's a dropdown with the options off, default, and pro audio. I've tried both default and pro audio and, pardon the pun, playing audio fails silently in both cases
<ydalton> can you run "dmesg | grep snd"?
<unixpoet> no output :o
<ydalton> that is very strange
cgsif^ has joined #asahi
<ydalton> what kernel are you running?
<unixpoet> 6.6.3-411.asahi.fc39.aarch64+16k
<ydalton> that is the latest kernel and what i am running
<unixpoet> is the m2 air confirmed to have sound support? I'm beginning to wonder if that's not actually the case
<ydalton> i am running the 13 inch and i do have speakers
<ydalton> i have a feeling the snd-soc-macaudio module might be blacklisted?
<unixpoet> hm, same, but no output :<
<unixpoet> I don't see anything in /etc/modprobe.d or /etc/module-load.d mentioning snd-soc-macaudio
<unixpoet> and the module is loaded
<ydalton> you checked with lsmod?
<unixpoet> I did, yes
<ydalton> expect output of "dmesg | grep snd" is https://termbin.com/opmz
<ydalton> well, someone else will have to solve it
<unixpoet> yeah, nothing here. what's even stranger is when I do play something, the KDE speaker systray widget shows the bar to indicate the volume of the audio playing
<ydalton> that happened before speakers came so it's normal
<ydalton> wait
<ydalton> when did you install fedora asahi remix?
<unixpoet> hmm, a few months ago
<ydalton> you might be missing a few packages
balrog has quit [Quit: Bye]
<ydalton> try installing the asahi-platform-metapackage
<unixpoet> that returns an error about conflicting requests
<ydalton> can i see a pastebin?
<unixpoet> one sec
balrog has joined #asahi
<ydalton> you seem to have `kernel-devel` installed when you should have `kernel-16k-devel` installed
<ydalton> i ran into that same issue trying to install the metapackage
<ydalton> just remove that package and try again
<unixpoet> okay, that's installed, going to reboot to see if that fixes things
<ydalton> let's hope
<unixpoet> I have sound! \o/ thank you!
<ydalton> woooo!!!
<ydalton> no problem, now i can go to bed...
ydalton has left #asahi [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
<unixpoet> okay, speakers on a Linux laptop have never sounded this good rofl
<prkr> Is it possible to install GNOME alongside KDE? (on the KDE edition)
<unixpoet> should be just fine
shiggitay has joined #asahi
<prkr> how would I go about doing that? When I enter 'dnf group list *desktop', GNOME is not even listed
<unixpoet> I believe it's called "Basic Desktop" but am not 100% sure there
<prkr> I dont think thats it
KxCORP has quit [Ping timeout: 480 seconds]
KxCORP has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
crabbedhaloablut has joined #asahi
rvalue has joined #asahi
prkr has quit [Quit: Konversation terminated!]
prkr has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
prkr has quit [Remote host closed the connection]
spudman has quit [Remote host closed the connection]
prkr has joined #asahi
prkr has quit [Quit: Konversation terminated!]
prkr has joined #asahi
<prkr> so "sudo dnf -y group install "Basic Desktop" GNOME" installed GNOME -- 4 versions of it, awesome, i3, openbox, ratpoison, and xmonad :0 so not what im looking for
shiggitay_ has joined #asahi
shiggitay__ has joined #asahi
prkr has quit [Remote host closed the connection]
prkr has joined #asahi
shiggitay has quit [Ping timeout: 480 seconds]
shiggitay_ has quit [Ping timeout: 480 seconds]
prkr has quit [Quit: Konversation terminated!]
shiggitay_ has joined #asahi
possiblemeatball has quit [Quit: Quit]
shiggitay__ has quit [Ping timeout: 480 seconds]
povik has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
psykose has quit [Remote host closed the connection]
psykose has joined #asahi
aspargas2 has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
lawt2 has quit [Ping timeout: 480 seconds]
arbo has quit [Ping timeout: 480 seconds]
opticron has quit [Ping timeout: 480 seconds]
i509vcb has quit [Quit: Connection closed for inactivity]
bhanukashyap has joined #asahi
bhanukashyap has left #asahi [#asahi]
kidplayer666 has joined #asahi
<iaguis> hey! I got a "Gain reduction exceeded threshold" panic on speakersafetyd, should I upload the blackbox files somewhere?
<chadmed> iaguis: what version of speakersafetyd are you on?
<iaguis> 0.1.9
<chadmed> yeah blackbox would be useful then
<chadmed> plus asahi-diagnose and a link to whatever you were listening to
<iaguis> ok, let me see where I can upload it, since it's pretty heavy
matteo has joined #asahi
holiday has joined #asahi
holiday has quit []
<iaguis> I guess dropbox it is
shiggitay_ has quit [Ping timeout: 480 seconds]
matteo has quit [Ping timeout: 480 seconds]
<bluetail> loudness war I guess?
millenialhacker has joined #asahi
le0n_ has joined #asahi
tobhe_ has joined #asahi
le0n has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
tobhe has quit [Ping timeout: 480 seconds]
le0n has joined #asahi
le0n_ has quit [Ping timeout: 480 seconds]
le0n has quit [Ping timeout: 480 seconds]
le0n has joined #asahi
matteo has joined #asahi
Method has joined #asahi
Method_ has quit [Ping timeout: 480 seconds]
matteo has quit [Remote host closed the connection]
matteo has joined #asahi
cds has quit [Remote host closed the connection]
dubiousness has quit [Remote host closed the connection]
ella-0 has quit [Remote host closed the connection]
bendodroid has quit [Remote host closed the connection]
swapgs has quit [Remote host closed the connection]
rosefromthedead has quit [Remote host closed the connection]
tretinha has quit [Remote host closed the connection]
dorkbutt has quit [Remote host closed the connection]
jfy has quit [Remote host closed the connection]
mrCyborg has quit [Remote host closed the connection]
handlerug has quit [Remote host closed the connection]
akspecs has quit [Remote host closed the connection]
pitust has quit [Remote host closed the connection]
kuruczgy has quit [Remote host closed the connection]
shinobi57474858 has quit [Remote host closed the connection]
probie has quit [Remote host closed the connection]
asimpson has quit [Remote host closed the connection]
signaryk has quit [Remote host closed the connection]
alethkit has quit [Remote host closed the connection]
d4ve has quit [Remote host closed the connection]
jleightcap has quit [Remote host closed the connection]
okt has quit [Remote host closed the connection]
patwid has quit [Read error: Connection reset by peer]
coder_kalyan has quit [Remote host closed the connection]
z812 has quit [Remote host closed the connection]
pldtf has quit [Remote host closed the connection]
johnhamelink has quit [Remote host closed the connection]
brettgilio has quit [Remote host closed the connection]
tsujp has quit [Remote host closed the connection]
gpanders has quit [Remote host closed the connection]
wa9ace has quit [Remote host closed the connection]
matteo has quit [Ping timeout: 480 seconds]
akspecs has joined #asahi
shinobi57474858 has joined #asahi
d4ve has joined #asahi
rosefromthedead has joined #asahi
jleightcap has joined #asahi
wa9ace has joined #asahi
mrCyborg has joined #asahi
swapgs has joined #asahi
asimpson has joined #asahi
dubiousness has joined #asahi
pitust has joined #asahi
z812 has joined #asahi
ella-0 has joined #asahi
pldtf has joined #asahi
alethkit has joined #asahi
tretinha has joined #asahi
signaryk has joined #asahi
kuruczgy has joined #asahi
okt has joined #asahi
patwid has joined #asahi
johnhamelink has joined #asahi
handlerug has joined #asahi
dorkbutt has joined #asahi
bendodroid has joined #asahi
probie has joined #asahi
tsujp has joined #asahi
coder_kalyan has joined #asahi
cds has joined #asahi
gpanders has joined #asahi
brettgilio has joined #asahi
jfy has joined #asahi
thelounge986 has quit [Quit: Ping timeout (120 seconds)]
thelounge986 has joined #asahi
kidplayer666 has quit [Quit: Connection closed for inactivity]
ambu has joined #asahi
arbo has joined #asahi
ambu has quit [Quit: Konversation terminated!]
DarkShadow44_mac has joined #asahi
Moprius has joined #asahi
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #asahi
Brainium has joined #asahi
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
ydalton has joined #asahi
<ydalton> prkr: the command you are looking for is "sudo dnf install @gnome-desktop"
<DarkShadow44_mac> using the new fedora, is there a way to get a 4k page kernel for testing?
<ydalton> 4k kernel is not recommended
<ydalton> do you want to run 4k applications/x86 programs?
<DarkShadow44_mac> I want to test if wine has general issues on arm64 or it really is the 16k pages
<ydalton> i've run wine in a debian in a virtual machine and it works fine
<ydalton> *in a debian virtual machine
<DarkShadow44_mac> what version of Wine though?
<ydalton> dunno, whatever the latest one was in the debian repos
<ydalton> i was able to run openmpt and x11 forwarded it to my desktop
millenialhacker has joined #asahi
<ydalton> but openmpt had an arm64 version, are you looking into running x86 applications?
<ydalton> x86 wine apps
<DarkShadow44_mac> eh they're often pretty out of date. I just want wine to be running winecfg at this point
<DarkShadow44_mac> probably broken due to 16k pages, but I wanted to make sure I don't waste my time investigating
nimprod3l has joined #asahi
<ydalton> according to `apt info wine`, it's at version 8.0, which is no terribly out of date
<ydalton> s/no/not
matteo has joined #asahi
<ydalton> you also might be interested in the work of slp, who has a 4k kernel running as a lightweight virtual machine over a 16k host
<ydalton> he's gotten steam and some steam games working, but wine itself i've had problems with
millenialhacker has quit [Ping timeout: 480 seconds]
<DarkShadow44_mac> so I guess there isn't a native 4k kernel yet?
<PaulFertser> It's likely there wouldn't be ever due to how hw works.
<DarkShadow44_mac> I thought the hw supports both?
<chadmed> not without gross hacks, and not all hardware
<chadmed> some of the iommus rightfully cant be put into bypass mode, so you lose things like wifi
<PaulFertser> The CPU core itself does, but not the important peripherals that are part of the SoC.
<DarkShadow44_mac> oh I see
<DarkShadow44_mac> welp I just wish it wasn't so hard to figure out what exactly goes wrong
<DarkShadow44_mac> thanks for the explanation though
arbo has quit [Quit: omg butts]
<eiln> DarkShadow44_mac: also expect a performance hit
<DarkShadow44_mac> performance hit? from?
<eiln> from smaller pages
<DarkShadow44_mac> well, since I can't run smaller pages in the first place...
matteo has quit [Remote host closed the connection]
ydalton has quit [Ping timeout: 480 seconds]
nimprod3l has quit [Ping timeout: 480 seconds]
matteo has joined #asahi
opticron has joined #asahi
<leio> what's the actual core reason that 16k page and wine don't work?
<leio> can't be that apple silicon doesn't do arm32 when it works with 4k pages; do 64-bit x86_64 stuff work with 16k pages via box64/femu?
<leio> or put otherwise - does it work fine for 64-bit x86 emulation then, i.e. WOW64?
<DarkShadow44_mac> well, for starters, wine (and all of windows) assumes 4k pages. I think I worked around that, but wine simply doesn't run. I wish I knew the reason behind it
<leio> but I thought box64 outside wine generally works with 16k pages for things?
sefidel has quit [Remote host closed the connection]
<DarkShadow44_mac> yeah it does. But I'm talking native ARM wine here
sefidel has joined #asahi
AnuthaDev has joined #asahi
delsol has joined #asahi
jacksonchen666 has quit [Ping timeout: 480 seconds]
ydalton has joined #asahi
spuos has joined #asahi
possiblemeatball has joined #asahi
<leio> yeah, sorry, kind of a separate topic from me
spuos has quit [Remote host closed the connection]
spuos has joined #asahi
<DarkShadow44_mac> I'm really amazed at how far asahi has come, I'm on the fedora remix since yesterday and I'm impressed on how well everything just... works
<DarkShadow44_mac> kinda feel like I'm running my main system, so kudos to everyone involved <3
Brainium has quit [Quit: Konversation terminated!]
Moprius has quit [Quit: bye]
matteo has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi
spuos has quit [Remote host closed the connection]
spuos has joined #asahi
matteo has joined #asahi
DarkShadow44_mac has quit [Quit: Leaving]
cgsif^ has quit [Ping timeout: 480 seconds]
cgsif^ has joined #asahi
spuos has quit [Ping timeout: 480 seconds]
<leio> does anything like nvtop exist for asahi/agx?
erika has joined #asahi
<ydalton> i was looking at the possibility of writing a tool like that but it doesn't look like the uAPI has ioctls for that
<ydalton> speaking of which, where are those ioctls documented?
<ydalton> in drm/asahi_drm.h they're laid out but i don't see any explanation on them
<j`ey> there's some structs a bit further down, which seem to correspond to the ioctls
<j`ey> (not documentation but..)
<ydalton> question: does the kernel side speaker safety implementation have a time out? like if speakersafetyd panics due to one of the speakers overheating, is there some kind of timeout to let the speakers cool down before returning back to normal flow?
<sven> there's a timeout which is constantly reset by speakersafetyd that restricts the speakers to a safe limit again if it expires
<j`ey> I think the question is: if speakersafteyd panics because things get hot, then it gets restarted.. will it know things are hot?
<ydalton> isn't that the one where, if speakersafetyd panics and the kernel doesn't hear from it after ~500ms, the kernel will go into "safe" mode
<ydalton> sven: so basically the kernel pings whatever process (speakersafetyd in this case) unlocks the speakers
spuos has joined #asahi
jeisom has joined #asahi
buroa has quit [Ping timeout: 480 seconds]
ydalton has quit [Ping timeout: 480 seconds]
ydalton has joined #asahi
ChaiTRex has joined #asahi
Chai-T-Rex has quit [Ping timeout: 480 seconds]
<leio> nvtop could be extended to have asahi support too instead of a new tool perhaps; it has code for intel, amd and nvidia so far
<leio> though a specific tool can probably show more
kidplayer666 has joined #asahi
buroa has joined #asahi
spuos has quit [Remote host closed the connection]
<ydalton> oh
<ydalton> i thought nvtop was a nvidia specific tool
nimprod3l has joined #asahi
<ydalton> interesting, curiously the drm header for panfrost doesn't have many ioctls, yet nvtop has a backend for it as well
<leio> I can't spot that in the code
<ydalton> you can see "panfrost" related files in the nvtop source
<leio> I see adreno is there now too
<leio> ok, not in a release yet
<ydalton> in the build options there is apple but it's through macOS presumably
<leio> I was looking at release tarballs due to seeing about packaging it, though not going to until there's no asahi support
<leio> yeah, "Build support for Apple GPUs through Metal"
thelounge986 has quit [Quit: Ping timeout (120 seconds)]
thelounge986 has joined #asahi
<ydalton> building nvtop from source and running yields the expected "No GPU to monitor"
<leio> yes, I was trying to use it to confirm whether something is CPU or GPU bound
<leio> mesa is jumping around different CPU cores so much that it's actually CPU-bound for some things while stuff like htop shows maybe 30% max per-core usage with its time granularity
<leio> so wanted to confirm it's not GPU-bound via something like nvtop :)
delsol has quit [Remote host closed the connection]
AnuthaDev has quit []
nimprod3l has quit [Quit: Leaving]
<ydalton> bruh, you need a c++ compiler to compile nvtop even though there's like 1 c++ file, and it's just a test file and not in the main src
<j`ey> ydalton: disable tests?
<j`ey> or just install g++, its not the only C++ you might want to compile!
<sven> ydalton: the process pings the kernel which on timeout restricts the volume
AnuthaDev has joined #asahi
<sven> but no idea what happens if you immediately restart it and the coils are still hot. i've mostly just been watching from the sidelines regarding audio
<ydalton> i'm trying to navigate the cmakelists but i have no idea how it works
<ydalton> oh i see, the c++ dependency is defined in the "project" directive, it's not conditional in any wway
Chai-T-Rex has joined #asahi
<ydalton> should probably learn cmake, seems like an interesting build system
<j`ey> Ive been liking meson recently, especially the wrap feature
ChaiTRex has quit [Ping timeout: 480 seconds]
<ydalton> i have skimmed over meson recently since a lot of freedesktop (and GNOME) projects use it
<ydalton> i mean those kinds of build systems, they're kinda meta build systems? they do the configuring part and then translate to an actual build system like make or ninja
thelounge986 has quit [Ping timeout: 480 seconds]
delsol has joined #asahi
<leio> I wouldn't call make or ninja a build system; they are at most like a mtime-based dependency management system in my eyes
<leio> make maybe less so due to the ability to write any stupid shell in it
<PaulFertser> Is dberlin here? I'd like to discuss how the wifi patches "unlocked" 802.11ax on my BCM4345/6 :D https://paste.debian.net/1301790/
thelounge986 has joined #asahi
<stintel> PaulFertser: DannyB
<PaulFertser> Also the output implies I can have two concurrent connections to two different APs on different channels at the same time #channels <= 2
<PaulFertser> stintel: thanks!
<PaulFertser> But basic operation still works, just WPA2 in STA mode.
AnuthaDev has quit []
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
millenialhacker has joined #asahi
Moprius has joined #asahi
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi
Brainium has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
kidplayer666 has quit [Quit: Connection closed for inactivity]
possiblemeatball has quit [Quit: Quit]
jeisom has quit [Quit: Leaving]
Moprius has quit [Quit: bye]
ydalton` has joined #asahi
ydalton has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi
possiblemeatball has joined #asahi
millenialhacker has quit []
millenialhacker has joined #asahi
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi
ydalton` has quit [Ping timeout: 480 seconds]
matteo has quit [Remote host closed the connection]
matteo has joined #asahi
matteo has quit [Remote host closed the connection]
matteo has joined #asahi
matteo has quit [Ping timeout: 480 seconds]
seb91nihel has joined #asahi
matteo has joined #asahi
seb4nihel has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Remote host closed the connection]
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
matteo has quit [Remote host closed the connection]
matteo has joined #asahi
jeisom has joined #asahi
holiday has joined #asahi
ydalton` has joined #asahi
ydalton` has quit [Read error: No route to host]
gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
Fischmiep has quit [Ping timeout: 480 seconds]
gspbirel56 has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
Fischmiep has joined #asahi
i509vcb has joined #asahi
millenialhacker has joined #asahi
delsol has quit [Remote host closed the connection]
millenialhacker has quit [Ping timeout: 480 seconds]
buroa6 has joined #asahi
buroa has quit [Ping timeout: 480 seconds]
buroa6 is now known as buroa
deflax59 has quit []
deflax59 has joined #asahi
akemin_dayo has quit [Remote host closed the connection]
akemin_dayo has joined #asahi
matteo has quit [Remote host closed the connection]
matteo has joined #asahi
matteo has quit [Remote host closed the connection]
matteo has joined #asahi