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
rino has quit [Quit: leaving]
ydalton has left #asahi [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
darkapex1 has quit [Remote host closed the connection]
darkapex1 has joined #asahi
holiday has joined #asahi
jacksonchen666 has joined #asahi
ajax3 has quit []
i509vcb has quit [Quit: Connection closed for inactivity]
darkapex1 has quit [Remote host closed the connection]
darkapex1 has joined #asahi
ciggi has joined #asahi
tpz has joined #asahi
eiln has quit [Quit: WeeChat 4.1.2]
tpz has quit [Quit: leaving]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi
shiggitay has quit [Ping timeout: 480 seconds]
kidplayer666 has joined #asahi
zerdox has quit [Remote host closed the connection]
zerdox has joined #asahi
holiday has quit [Quit: WeeChat 4.1.2]
<kidplayer666>
Holy moly, speaker support just dropped!!!!!
confusomu has joined #asahi
zerdox has quit [Remote host closed the connection]
<kidplayer666>
just tested it and it sounds pretty good. still gotta do a proper comparison.
<janneg>
speaker support is not there yet for all devices though. m2 macbook airs and 16-inch macbook pros are not enabled yet
<kidplayer666>
ah ok. I just noticed that my macbook pro 13" M1 was enabled and thought most would be by no
<janneg>
no problem. just wanted to clarify that so nobody is confused if it doesn't work
<kidplayer666>
also, test results indicate that they sound awesome. They do have a different sound signature than the one that I am used to (flat instead of a V shape), and I still have to compare how loud they sound when compared to macOs
AnuthaDev has quit [Ping timeout: 480 seconds]
<Nefsen402>
Once 16" gets supports, I'll probably apply a harman eq just so it's closer to macos
<Nefsen402>
I use a harman eq on my headphones so it just makes sense
<kidplayer666>
sounds good to me lol. I may use easy effects to absolutely destroy the sound and boost that base and that treble
holiday has joined #asahi
<holiday>
hello guys, how can i create a bootable usb on asahi linux?
<holiday>
I downloaded debian amd64 for my old pc but now i have no idea how can i flash it
<holiday>
i have to go back to macOS?
<Nefsen402>
Unless you already have uboot installed, apple silicon chips are incapable from booting from usb
<Nefsen402>
(with the default software)
<ChaosPrincess>
the same way as on every other linux, either use dd, or just extract the iso to a fat32 formatted usb if both os and your old pc support EFI
<holiday>
Nefsen402: it's for my old PC, i want to flash the image to an USB not boot the mac from USB
<holiday>
ChaosPrincess: oh i always used balenaetcher/rufus
<holiday>
thought there might be a program on linux arm for that
<ChaosPrincess>
the guide is basically the same, the fact that you are on an arm64 system does not matter
<holiday>
ah oki
<holiday>
thankss
<j`ey>
luckily the internal disks are called /dev/nvme* so its harder to mess up now
<Retr0id>
I see the hardware video decoder stuff is marked as WIP, and I'm vaguely interested in trying to contribute to that effort, is there somewhere I can go look at the current work being done?
<j`ey>
does it make sense to use avd at something like 720p?
<j`ey>
or is the CPU just going to blast through that anyway with no sweat
<Nefsen402>
the decoder would also blast through that. What's your point?
<Retr0id>
I imagine it'd still be more power efficient on avd
<Nefsen402>
Plus the decoder is able to write directly into a scanout capable buffer for use in a kms plane
<j`ey>
Nefsen402: well if the CPU is already on, might be more power efficient to just leave AVD off
<j`ey>
the CPU can't do that?
<Nefsen402>
I guess it could be done in a unified archiceture, but nobody is crazy enough to teach the CPU to write into compressed buffers
<Nefsen402>
in the context of video decoding
<janneg>
at the moment neither can as there is no support for any yuv formats or planes besides the primary plane
_aph has quit [Ping timeout: 480 seconds]
<Nefsen402>
well yeah, kms planes is still early days everywhere with most wayland compositors disabling it by default or just not having support at all and forget about x11
<j`ey>
will be neat if we can eventually use the cursor plane
<janneg>
my comment was about the appledrm driver
<Nefsen402>
I figured, but I'm sure support will be added one day as the hw supports it
<j`ey>
the cursor plane is buggy if you move it near the edges
<Nefsen402>
I remember discussions about that. wlroots can't bail a hw cursor by just movement
<j`ey>
I asked but was totally confused by the answer :)
<j`ey>
presumably support could be added?
<Nefsen402>
basically the api guarantees that by moving the cursor you'll still have a hw cursor
<j`ey>
oh :(
<j`ey>
break the api ;)
<Nefsen402>
yep
<Nefsen402>
that is in the works
<j`ey>
oh, is there a PR for it? is that part of the libliftoff stuff?
_aph has joined #asahi
<Nefsen402>
there is a wip pr, yes
<Nefsen402>
doesn't work though so doe't be getting any ideas here
<Nefsen402>
From the compositor's side, it can disable hw curosrs by "locking" a sw cursor
<Nefsen402>
but the api isn't available to backends
<j`ey>
ah
<Nefsen402>
The MR is questionable to me, does the few bytes it takes to store the hw cursor actually improve power efficiency measurably?
<Nefsen402>
I'm sure emersion has talked with a few drm folks as he always does. He always does things for a reason
<j`ey>
some numbers would be good for sure
<janneg>
huh, the power use is having the display hardware to continously blend the main and cursor plane even though both don't change. looks obvious to me that that would use more power than (direct) scanout of a single plane
<j`ey>
the thing that's confusing is how often do things not actually change on the screen
<j`ey>
most people have the time or something on screen at least
<ChaosPrincess>
time only changes once per minute on most machines
<j`ey>
I guess if you left your computer to make a cuppa tea
<janneg>
while reading text or code 10+ seconds shouldn't be that uncommon when you don't track the position with the mouse pointer
<j`ey>
ok fair, that sounds reasonable
holiday has quit [Ping timeout: 480 seconds]
neggles has joined #asahi
Moprius has joined #asahi
AnuthaDev has joined #asahi
jnn is now known as jn
Brainium has joined #asahi
jacksonchen666 has quit [Remote host closed the connection]
eiln has joined #asahi
<eiln>
Retr0id: I got the boring IPC/job submission stuff down, left is the instruction stream part (which is kinda fun)
<eiln>
I've set up a framework for RE-ing it, lmk if you can get an m1n1 hypervisor setup (required to obtain source dumps we use the emulator to extract the instruction stream from)
<eiln>
mpegs are mostly done but vp9 needs work, also av1 is wild wild west
<eiln>
also need to adjust the HAL bitfields for different hw revisions (I don't even know how many there are), but those should be roughly the same across the board, at least the logic
<eiln>
j`ey: worse case single-frame 64x64 video, the memory allocations (we usually assume there's more than one frame, so we setup FIFO) and general init dance might take longer, but it shouldn't use more power
<j`ey>
yeah thats a very worst case
<j`ey>
I just meant youtube or something, Im mostly fine with 720p, not 1080p (although that may change as I ge used to the much nicer screen!)
<eiln>
the only thing it's worse than cpu at is what it can't do (e.g. 444)
<eiln>
janneg: fwiw isp/avd are both nv12 bt709, I expect other ones are too
<janneg>
color matrix/eotf for avd is hopefully whatever the source is
<eiln>
oh ye I meant isp
Compassion has quit [Remote host closed the connection]
Compassion has joined #asahi
john-cabaj has joined #asahi
Compassion has quit [Quit: Ping timeout (120 seconds)]
<seb4nih70>
Hey there, noticed rhe speaker Symbol apeared in my m1 pro 14", but still so Sound. Just want to knie If it should Work by now?
<seb4nih70>
*know
<kidplayer666>
huh. do you happen to have easy effects active? last time i tried to enable them, the speakers suddenly stopped working until i did a reboot
mxz has quit [Quit: cya]
<seb4nih70>
don't know what you mean, have stock Fedora remix without any special sound settings
<janneg>
seb4nih70: how old is your install? do you have asahi-platform-metapackage installed?
<seb4nih70>
install is from September
<seb4nih70>
"dnf list installed | grep asahi" isnt Listing "metapackage"
<janneg>
then install it. should pull in a few packages
<seb4nih70>
okay, installed it, didnt Change anything, reboot now
<janneg>
it needs at least restarting wireplumber. a reboot should be the safest option
<seb4nih70>
okay reboot doesn't help
<seb4nih70>
so after fiddled with the Sound settings, i found Out that internal audio pro 1 is working, but there ist internal audio which is Not working
jeisom has joined #asahi
Szadek63670070789 has joined #asahi
Szadek6367007078 has quit [Ping timeout: 480 seconds]
<seb4nih70>
I had to explicitly enable virtual channels to See this Option, so i'm Not shure If it is working as intended
<seb4nih70>
Okay, no worries, got it sorted out! I indeed somehow changed the view in KDE to show these "virual devices" ... and at first only the tweeters where working. I switched the devices baclk to "default" and now it s named properly "MacBook Pro J314 Speakers" and Sound is top now!
Brainium has quit [Quit: Konversation terminated!]
Moprius has quit [Quit: bye]
<seb4nih70>
Big Kudos to everyone involved in making this happen!!!
possiblemeatball has joined #asahi
eiln has quit [Quit: WeeChat 4.1.2]
seb4nih0 has joined #asahi
ml| has quit [Quit: WeeChat 4.0.5]
seb4nih70 has quit [Ping timeout: 480 seconds]
systwi has quit [Ping timeout: 480 seconds]
systwi has joined #asahi
<kidplayer666>
ah ok
<kidplayer666>
seb4nih70: how does it should
<kidplayer666>
*sound
i509vcb has joined #asahi
jacksonchen666 has joined #asahi
kettenis has joined #asahi
<Tramtrist>
oh J314 has Speaker support now?
<Tramtrist>
Looks like its true :) Cmooooon M2 Air!!
<j`ey>
after there's feedback on the other models
<Tramtrist>
♥️
thansen has quit [Quit: Ping timeout (120 seconds)]
thansen has joined #asahi
<kidplayer666>
j`ey: y'all need feedback? well it is good
possiblemeatball has quit [Read error: Connection reset by peer]
<j`ey>
kidplayer666: good!
<kidplayer666>
the sound signature is a lot flatter than i am used to, but it does sound good. I still have to check whether the volume is actually equivalent to macOS, but so far so good
<j`ey>
kidplayer666: sounds maybe like what I thought too
<j`ey>
(I said muffled, maybe flat is a better term)
<kidplayer666>
also, i am supposing trying to raise the volume to 150% is fine due to the marcan limits, right?
<Tramtrist>
only one way to find out!
john-cabaj has quit [Remote host closed the connection]
<kidplayer666>
Tramtrist: i kinda dont wanna explode my speakers today, thanks
john-cabaj has joined #asahi
drubrkletern has joined #asahi
possiblemeatball has joined #asahi
<kidplayer666>
j`ey: on higher volume levels it does get some distortion apparently
<j`ey>
higher = over 100?
<kidplayer666>
over 90% or so
<kidplayer666>
starts sounding weird
drubrkletern has quit [Remote host closed the connection]
<kidplayer666>
Might’ve been due to the acoustics of the place I was in
seb4nih0 has quit [Read error: Connection reset by peer]
ydalton has joined #asahi
<ydalton>
kidplayer666: if the speakers get to hot, normally speakersafetyd should panic and the kernel will take it from there
<ydalton>
bringing the volume back to a safe level, at least that's how i understand it
<kidplayer666>
Yes I hread about it. Also, above 100 definitly starts having more distortion
<ydalton>
maybe that's just clipping from the audio itself
seb4nih58 has joined #asahi
<ydalton>
eiln: "IPC" wait, are you already working on a linux driver?
<j`ey>
presumably IPC between the CPU and AVD that means, not a linux specific term
<ydalton>
i was thinking "interprocess communication"
jmplans_ has quit [Ping timeout: 480 seconds]
KxCORP has quit [Quit: Bye!]
KxCORP has joined #asahi
ydalton has left #asahi [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.92)]
ydalton has joined #asahi
ydalton has quit [Remote host closed the connection]
Moprius has joined #asahi
AnuthaDev has quit []
i509vcb has quit [Quit: Connection closed for inactivity]