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
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
florida has joined #asahi
florida has quit []
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
DragoonAethis has quit [Quit: hej-hej!]
KxCORP589 has quit [Quit: Bye!]
DragoonAethis has joined #asahi
KxCORP589 has joined #asahi
hdbngr has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
Brainium has joined #asahi
pb17 has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
yuyichao has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
shiggitay has joined #asahi
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
ajj3 has joined #asahi
ajj has quit [Read error: Connection reset by peer]
ajj3 is now known as ajj
fooxi has quit [Quit: leaving]
fooxi has joined #asahi
Guest1779 has joined #asahi
<Guest1779> yooo
<fooxi> Good morning.
hdbngr has joined #asahi
balrog has quit [Remote host closed the connection]
balrog has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
Guest1779 has quit [Quit: Leaving]
Method has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
Method_ has quit [Read error: Connection reset by peer]
hdbngr has joined #asahi
pb17 has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
pthariensflame has joined #asahi
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
vveapon has joined #asahi
<vveapon> hi folks. I'm running the latest Fedora 39 Remix with Wayland on an M1 iMac (the 4 port / 16gb version). So far almost everything is working great but I was having trouble with input latency, particularly in the browser and Electron apps (ugh) so went digging
<vveapon> I've noticed that changing the CPU scaling governor from schedutil to performance or ondemand seems to improve the latency (subjectively) and is giving me better Firefox rendering benchmark scores
<vveapon> is there a way to tweak schedutil to get a similar latency improvement without having to switch away from it entirely? I like the idea of schedutil at least
<vveapon> I'm running 200% scaling currently if that matters
pb17 has quit [Ping timeout: 480 seconds]
<vveapon> sorry KDE on Wayland, to be specific
<vveapon> on Speedometer 3.0 I get 18.8 with performance, 15.4 with ondemand and 13.3 with the default schedutil. apologies for the synthetic and prob not very useful benchmark but I wanted to make sure I wasn't imagining the improvements
<fooxi> jannau: Can confirm sound now works properly again, with:
<fooxi> Upgrade asahi-audio-2.0-1.fc40.noarch @updates
<fooxi> Upgraded asahi-audio-1.6-3.fc40.noarch @@System
<chadmed> vveapon: there are no user-controllable tunables for the scheduler however we recently got UCLAMP support enabled in the fedora kernel. you may try using uclampset to clamp firefox's util_max to 1024 and see if that helps
<vveapon> thanks, I'll have a go
<vveapon> the whole system latency definitely seems to improve when adjusting the governor, e.g. mouse movement is smoother etc, is that expected?
<chadmed> no that is not expected at all
<chadmed> there are only a few edge cases where schedutil has a noticeable interactivity penalty
<chadmed> imacs are the least-tested/least-supported machine round these parts so it is possible that there is something innate to them that causes more issues than we're aware about
<vveapon> yeah fair enough, I'm quite happy to be a guinea pig if there's anything further I can do to help figure it out
<vveapon> "uclampset -M 1024 firefox" doesn't seem to perform obviously better, but I'll need to do some more testing
<vveapon> this is also my first time using Wayland, I installed Xorg and the latency was a lot better there, but I'm keen to give Wayland a proper go
<chadmed> theres probably something else wrong then because that forces the cores into the maximum OPP when firefox is running, and also forces it to migrate to the pcores
<chadmed> ahhhhh
<chadmed> what does plasma settings say your gpu is
<vveapon> "Apple M1"
<chadmed> can you paste the output of asahi-diagnose somewhere like tpaste and link to it
<vveapon> certainly, one sec
pb17 has joined #asahi
<vveapon> unfortunately I need to step away for a bit, I'll be back online later tonight, thanks for looking in to it chadmed :)
hdbngr has joined #asahi
<chadmed> vveapon: i cant see anything dodgy in there
hdbngr has quit [Ping timeout: 480 seconds]
checkfoc_us has quit []
checkfoc_us has joined #asahi
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
schroes has quit [Ping timeout: 480 seconds]
schroes has joined #asahi
shiggitay has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
<vveapon> chadmed: good to know
hdbngr has quit [Ping timeout: 480 seconds]
wyes has joined #asahi
<vveapon> is running with "performance" governor on an iMac gonna jam the CPUs at full power? or is there some additional idle mechanism
<vveapon> it didn't seem like the fans spun up immediately at least
<vveapon> I'm also considering sway if that's likely to be any better or worse than KDE
<jannau> I think cpuidle should works independently of the governor so the CPU will not continuosly run on full blast on an idle system
pb17 has quit [Ping timeout: 480 seconds]
<jannau> the imac has the largest display 4480x2520 (45MB frame buffers) so it is probably the first device where performance issues become noticeable
<jannau> vveapon: can you quantify the lag? I can test occasionally on an imac and haven't noticed anything
<vveapon> typing in Firefox in to Discord I can get ahead of the text appearing, Signal Desktop electron app is the worst of all, gets very behind on typing and scrolling / using the UI is a struggle. in general it feels often like interacting with Qt menus etc there's a little hesitation before the menu pops open
<vveapon> and the mouse pointer doesn't move around smoothly some of the time
<vveapon> it felt a lot better under Xorg but that has other problems like the mouse cursor flickers like mad, and the usual X dodgy scaling
<vveapon> I get a few other random graphical issues, like if I set Konsole to semi-transparent and blurred then move the mouse over the Konsole window I get flickery square boxes in a trail behind the cursor
<vveapon> all my other machines I'm running i3 w/ xorg on Debian
<vveapon> so I'm admittedly not that familiar with what KDE is like normally, I haven't used it in ~ 15 years
<vveapon> sometimes mouse movement is smooth and then it'll start stuttering for a second or two
hdbngr has joined #asahi
ml00 has joined #asahi
<vveapon> resizing windows I get weird tearing around the title bar / top of the window
<vveapon> hmm not with Konsole though, only Sylpheed and Firefox
<vveapon> moving the mouse around over the KDE launcher menu also leaves blocky trails though they go away when I hit print screen :P
wyes has quit [Ping timeout: 480 seconds]
<jannau> are any of apps flatpaks? those don't have access to the GPU due ot missing driver in the flatpak runtime
<vveapon> no I have strenuously avoided flatpak
<jannau> the block artifacts around the mouse cursor is a KDE bug and only fixed in KDE 6
<vveapon> ok good to know, I thought I saw that somewhere on the web but I wasn't 100% sure it was the same thing
<vveapon> also I recognise "the UI has only sort of perceptible extra latency that is annoying" is a real nebulous bug report :P
<vveapon> but the browser benchmarks with changed CPU governor seems weird
<jannau> we should have disabled the blur effect and I thought that got rid of most of the artifacts. I think it was most visible with fractional scaling which you don't use
pb17 has joined #asahi
<vveapon> the latency does seem better at 200% scaling tbh, previously I was running 175% but it's a little too small
<vveapon> anyway the machine is totally usable and it is incredibly nice not to be stuck in macOS :)
hdbngr has quit [Ping timeout: 480 seconds]
<ml00> vveapon: the command i use for games is "uclampset -m 1024" not "-M" and it gives me much more performance
<vveapon> oh nice, I'll compare
<vveapon> ok yep, that gives me the same performance improvement as setting the governor to "performance"
<vveapon> and the input latency is a lot better in Discord
<vveapon> also makes Signal work heaps better
<vveapon> I'll have to go do some reading on what this is doing exactly
hdbngr has joined #asahi
<ml00> it probably makes the task it prefer performance cores and at higher frequency, i previously used performance governor and taskset to performance cores but then i was only limited to 4 cores so uclampset works better for me
<vveapon> yeah nice, thanks for noticing that, it seems a lot better
<chadmed> vveapon, ml00: it doesnt explicitly make the task prefer pcores, that would be taskset. what it does is tells the scheduler that the task _always_ requires max performance, even when it doesnt. this causes the scheduler to _always_ schedule it more aggressively
<vveapon> is there a downside on a non-battery system?
<chadmed> the reason we do not simply peg things to the pcores is that it is sometimes the case that an ecore could provide better performance, efficiency and availability for a given task, even if it is "slower". only the scheduler can know if this is the case though, so we just tell the scheduler about the task's perf requirement
<chadmed> vveapon: yes if you overuse uclamp or try to hack everything to clamp at 1024 then youre preventing the scheduler from doing its job properly
<vveapon> right
<chadmed> your issues _should_ go away once lina and alyssa get around to implementing framebuffer compression
<vveapon> excellent
<vveapon> ty for the explanations chadmed, I appreciate it
<chadmed> no wokkas
<vveapon> I'm gonna continue running Fedora Remix on this iMac for the foreseeable so if you ever want anything tested feel free to poke me
<chadmed> might get you to test some audio related stuff when we get around to it
<vveapon> I am going to see how OpenBSD is going as well but I think I'll get too annoyed to stick with it :)
<jannau> vveapon: the main issue with something like input lag is that it's hard to know if it's not there or if one just doesn't notice it. the imac is certainly one of the less used/tested devices so there could be device specific issues
<vveapon> happy to test audio. I'm using some USB speakers at the moment
<vveapon> jannau: yeah absolutely understood, I think I am probably extra sensitive to it too
<vveapon> I normally run compositorless xorg on a Ryzen to get the lowest latency
<jannau> feel free to test sway and see if it's better there
<vveapon> yeah I will do
<vveapon> this iMac is my checking e-mail and goofing off on IRC machine so I could definitely live with KDE
<vveapon> and being rude to the scheduler seems to have fixed things enough for now to be not annoying
<vveapon> coming off 20 years of thinkpads where nothing really ever works 100% at the best of times Asahi seems like kind of a miracle :D
hdbngr has quit [Ping timeout: 480 seconds]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
hdbngr has joined #asahi
thunfisch has quit [Quit: frrrp!]
ml00 has quit [Quit: Page closed]
f_ has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
kaylablossom has joined #asahi
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi
kaylablossom has quit [Quit: Page closed]
duckworld_ has joined #asahi
duckworld has quit [Remote host closed the connection]
rvalue- has joined #asahi
rvalue has quit [Ping timeout: 480 seconds]
Stary has quit [Quit: ZNC - http://znc.in]
Fridtjof_ has quit [Quit: ZNC - http://znc.in]
Stary has joined #asahi
Fridtjof has joined #asahi
vx has quit [Quit: G-Line: User has been permanently banned from this network.]
vx has joined #asahi
Brainium has joined #asahi
jeisom has joined #asahi
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
jeffmiw has joined #asahi
michaelami has joined #asahi
michaelami has quit []
buroa2 has quit [Quit: The Lounge - https://thelounge.chat]
buroa2 has joined #asahi
buroa2 has quit [Quit: The Lounge - https://thelounge.chat]
buroa2 has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi
duckworld_ has quit [Ping timeout: 480 seconds]
duckworld has joined #asahi
janrinze has quit [Remote host closed the connection]
Brainium has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
tderon has joined #asahi
tderon has quit [Read error: Connection reset by peer]
tderon has joined #asahi
tderon has quit [Quit: Leaving]
ChaiTRex has quit [Remote host closed the connection]
duckworld_ has joined #asahi
duckworld has quit [Remote host closed the connection]
janrinze has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
ghishadow has joined #asahi
creechy has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
creechy has joined #asahi
pb17 has joined #asahi
janrinze has quit [Quit: Leaving.]
zzywysm has joined #asahi
zzywysm has quit []
bdju_ has joined #asahi
bdju has quit [Ping timeout: 480 seconds]
jeffmiw has quit [Ping timeout: 480 seconds]
Cromulent__ has quit []
ghishadow has quit []
Nezteb has quit []
jeffmiw has joined #asahi
possiblemeatball has quit [Ping timeout: 480 seconds]
ghishadow has joined #asahi
possiblemeatball has joined #asahi
sihlon has quit []
sihlon has joined #asahi
Raito_Bezarius has quit [Remote host closed the connection]
Raito_Bezarius has joined #asahi
sihlon has quit []
sihlon has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
<fooxi> jannau: I checked now a bit. I get between 40 and 60 fps in kwin. It's not very consistent though, with quite a few lag spikes.
<fooxi> Usually around 45. Probably explains why it feels sluggish.
bdju_ has quit [Quit: Reconnecting]
bdju has joined #asahi
overholts has quit [Quit: overholts]
overholts has joined #asahi
overholts has quit []
overholts has joined #asahi
jeffmiw has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
KxCORP589 has quit [Quit: Bye!]
KxCORP589 has joined #asahi
Brainium has joined #asahi
jeffmiw has joined #asahi
glem has quit [Quit: bye.]
hdbngr has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi
zumi has quit [Remote host closed the connection]
hdbngr has joined #asahi
zumi_ is now known as zumi
shiggitay has joined #asahi
glem has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
PaulFertser has quit [Read error: Connection reset by peer]
PaulFertser has joined #asahi
hdbngr has joined #asahi
maximbaz has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
eroc1990 has quit [Remote host closed the connection]
f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
hdbngr has joined #asahi
eroc1990 has joined #asahi
jeffmiw has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi
WindowPa- has joined #asahi
pb17 has joined #asahi
WindowPain has quit [Ping timeout: 480 seconds]
SalimTerryLi has joined #asahi
SalimTer- has quit [Ping timeout: 480 seconds]
Juest is now known as Guest1861
Juest has joined #asahi
Guest1861 has quit [Ping timeout: 480 seconds]
donaldh has joined #asahi
thunfisch has joined #asahi
Retr0id has quit [Read error: Connection reset by peer]
Retr0id has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
Brainium has quit [Ping timeout: 480 seconds]
Brainium has joined #asahi
hdbngr has quit [Ping timeout: 480 seconds]
<vveapon> has anyone had a go at making something like Apple's "True Tone" under Linux?
<nicolas17> vveapon: on the hardware-driver side, accessing the ambient light sensor is work in progress
<vveapon> ah yeah, nice
<vveapon> I wondered if it worked by sampling the camera but it's nicer if it doesn't
VeeBop has quit [Quit: buh bye]
hspak416327 has quit []
hspak416327 has joined #asahi
pb17 has quit [Ping timeout: 480 seconds]