2024-05-02
00:12cisco87_ has quit [Ping timeout: 480 seconds]
00:18pb17 has quit [Ping timeout: 480 seconds]
00:26faddat has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
00:45pb17 has joined #asahi
00:57rossy has quit [Remote host closed the connection]
00:57rossy has joined #asahi
01:01KxCORP589 has quit [Quit: Bye!]
01:02KxCORP589 has joined #asahi
01:34Brainium has quit [Quit: Konversation terminated!]
02:21pb17 has quit [Ping timeout: 480 seconds]
02:24julio7359 has quit [Ping timeout: 480 seconds]
02:41pb17 has joined #asahi
02:46julio7359 has joined #asahi
02:47ghishadow has quit []
03:29julio7359 has quit [Ping timeout: 480 seconds]
03:41Stary has quit [Quit: ZNC - http://znc.in]
03:41Fridtjof has quit [Quit: ZNC - http://znc.in]
03:43marvin24 has joined #asahi
03:46marvin24_ has quit [Ping timeout: 480 seconds]
03:47Stary has joined #asahi
03:47Fridtjof has joined #asahi
04:00faddat has joined #asahi
04:07jn has joined #asahi
04:11julio7359 has joined #asahi
04:11jnn has quit [Ping timeout: 480 seconds]
04:20julio7359 has quit [Ping timeout: 480 seconds]
04:32julio7359 has joined #asahi
04:33faddat has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
04:33iyes has joined #asahi
04:38faddat has joined #asahi
04:40faddat has quit []
04:40johey has joined #asahi
04:42jnn has joined #asahi
04:44pb17 has quit [Ping timeout: 480 seconds]
04:45jn has quit [Ping timeout: 480 seconds]
04:47jn has joined #asahi
04:50jnn has quit [Ping timeout: 480 seconds]
04:52skipwich_ has joined #asahi
04:53skipwich has quit [Ping timeout: 480 seconds]
04:54pb17 has joined #asahi
05:10faddat has joined #asahi
05:12benjinsm has joined #asahi
05:12julio7359 has quit [Ping timeout: 480 seconds]
05:19benjins has quit [Ping timeout: 480 seconds]
05:25skipwich_ has quit [Ping timeout: 480 seconds]
05:34rvalue has quit [Read error: Connection reset by peer]
05:34rvalue has joined #asahi
05:39milky has joined #asahi
05:39opticron has quit [Remote host closed the connection]
05:39opticron has joined #asahi
05:41milkyi am having issues with wifi, it tends to disconnect if i am using bluetooth, is this a known problem, or could it be an issue with my kernel config? dmesg is throwing some errors
05:41milkyDirect firmware load for brcm/brcmfmac4387c2-pcie.apple,maldives-TPHN.bin failed with error -2
05:43skipwich has joined #asahi
05:53leiomilky: yes, if you use 2.4GHz wifi, then that is likely to happen, for some reason more on asahi. bluetooth uses 2.4GHz too.
05:53chadmedmilky: that error is a red herring and doesnt mean anything. the issue is that no one has reverse engineered the special sauce bt coexistence mode for these chips
06:16milky has quit [Remote host closed the connection]
06:45ChaiTRex has quit [Remote host closed the connection]
06:45ChaiTRex has joined #asahi
06:47iyes has quit [Ping timeout: 480 seconds]
06:48iyes has joined #asahi
06:56pb17 has quit [Ping timeout: 480 seconds]
07:07pb17 has joined #asahi
07:47jnn has joined #asahi
07:51jn has quit [Ping timeout: 480 seconds]
07:51baozich has joined #asahi
07:57shiggitay has joined #asahi
07:59baozich has quit [Ping timeout: 480 seconds]
08:08jeisom has joined #asahi
08:19iyes has quit [Ping timeout: 480 seconds]
09:18shiggitay has quit [Ping timeout: 480 seconds]
09:28thansen is now known as Guest2884
09:28thansen has joined #asahi
09:32Guest2884 has quit [Remote host closed the connection]
10:02f_ has joined #asahi
10:03pb17 has quit [Ping timeout: 480 seconds]
10:08pb17 has joined #asahi
10:37JayBeeFOSS has quit [Ping timeout: 480 seconds]
10:38JayBeeFOSS has joined #asahi
10:39hightower3 has quit []
10:48schroes has joined #asahi
11:04gorane2 has quit [Ping timeout: 480 seconds]
11:07f_ has quit [Quit: To contact me, PM f_[xmpp] or send an email. See https://vitali64.duckdns.org/.]
11:10hspak416327 has quit []
11:11hspak416327 has joined #asahi
11:24jeisom has quit [Quit: Leaving]
11:25jeisom has joined #asahi
11:40gorane2 has joined #asahi
11:43jeisom has quit [Quit: Leaving]
11:46jeisom has joined #asahi
11:48jeisom has quit [Remote host closed the connection]
11:48jeisom has joined #asahi
11:51skipwich has quit [Ping timeout: 480 seconds]
11:51opticron has quit [Read error: Connection reset by peer]
11:51opticron has joined #asahi
11:52Brainium has joined #asahi
12:02jeisom has quit [Ping timeout: 480 seconds]
12:02Brainium has quit [Ping timeout: 480 seconds]
12:06jeisom has joined #asahi
12:06faddat has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…]
12:13maxmatteo has joined #asahi
12:13pb17 has quit [Ping timeout: 480 seconds]
12:14maxmatteo has quit []
12:23skipwich has joined #asahi
12:24skipwich_ has joined #asahi
12:24jeisom has quit [Ping timeout: 480 seconds]
12:30ah- has quit [Ping timeout: 480 seconds]
12:31skipwich has quit [Ping timeout: 480 seconds]
12:33ah- has joined #asahi
12:44gorane2 has quit [Ping timeout: 480 seconds]
12:56gorane2 has joined #asahi
13:01pb17 has joined #asahi
13:30john-cabaj has joined #asahi
14:00vmeson has quit [Ping timeout: 480 seconds]
14:08frek has joined #asahi
14:12faddat has joined #asahi
14:15ChaiTRex has quit [Remote host closed the connection]
14:18pb17 has quit [Remote host closed the connection]
14:18frekhej guys, i am using displaylink with the latest synaptic displaylink-driver-6.0.0-24 on my m1 air with fedora 39 (6.8.8-400.asahi.fc39.aarch64+16k) and it works pretty well visually, but as soon as i move an application to the external monitor, my audio get's very laggy and jerky to an extend, that it is not enjoyable to have anything else than a static image/frame/application without changing images on the external monitor. even
14:18frekmouse movement on the external monitor triggers it. here is the output of glxgears -info and you can see a heavy drop of framerates when the application is drawn on the external monitor after about 10s: https://hastebin.com/share/acosodocey has anybody else made similar experiences? is there a way to fix this? any help appreciated and thanks for this amazing work!
14:18pb17 has joined #asahi
14:20vmeson has joined #asahi
14:20faddat has quit [Ping timeout: 480 seconds]
14:20PaulFertserfrek: do you mean you move any application there and it affects audio playing elsewhere?
14:22alarumbe has quit [Remote host closed the connection]
14:22PaulFertserfrek: is it shown to be connected as a Super Speed device in dmesg?
14:23alarumbe has joined #asahi
14:25jeisom has joined #asahi
14:27PaulFertserAnd what is that driver you mention, is it just https://github.com/DisplayLink/evdi packaged?
14:27frekPaulFertser: well, let's say any application with moving images (e.g. also a browser with running youtube video) or manual movement of the cursor/windows on the ext. monitor affects the audio (independent of built in speakers/bluetooth/headphone out).
14:28mintakka has joined #asahi
14:28PaulFertserfrek: affects audio that an application that's not showing anything on the external display is outputting?
14:29mintakka has quit [Remote host closed the connection]
14:31frekPaulFertser: yes, i just let a track play on elisa player on the m1 screen and it is enough to just move the cursor on the ext. monitor to cause audio jerks.
14:33PaulFertserfrek: ok, wanted to make it clear. So hm, what about HS vs SS, can you confirm it's working as SS?
14:42frekhere is the output of dmesg | grep super and dmesg | grep speed: https://hastebin.com/share/iwozedifep.sql
14:42zzywysm_ has quit [Quit: Textual IRC Client: www.textualapp.com]
14:44frekthe driver installed is the one mentionend in this chat: https://discussion.fedoraproject.org/t/displaylink-on-fedora-asahi-remix-38/91021/17
14:44PaulFertserfrek: how about not grepping and pasting full dmesg? ;)
14:59alarumbe has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
15:01alarumbe has joined #asahi
15:08PaulFertserfrek: so please paste all of dmesg as it's not visible what device you really have attached there.
15:08PaulFertserAnd what drivers get used etc.
15:10toots has joined #asahi
15:14alice has quit [Remote host closed the connection]
15:15alice has joined #asahi
15:16f_ has joined #asahi
15:16frekhere it is: https://privatebin.net/?0fed0c57cc48f6cd#J1VZsBJKAAPyRRhijqNAXS9MVCUKCE4fauteqXDhCKC9
15:20julio7359 has joined #asahi
15:20tootsHi there! Thanks for the great work. Sorry if this has been asked before but I cannot find any documentation. Is there a nvram variable I can set to enable autorestart on power failure on a m1 mac mini using asahi linux?
15:27pb17 has quit [Ping timeout: 480 seconds]
15:27Brainium has joined #asahi
15:28PaulFertserfrek: ok, so it reports SS there. And evdi driver is used.
15:30PaulFertserfrek: I would start "top" (or other kind of top if you prefer to see what kind of CPU load (per-core) is getting high during movement of cursor on the external display. And what processes stand out.
15:37frekmoving the cursor constantly on ext. monitor directly puts %CPU of DisplayLinkMana to +-100%
15:46pb17 has joined #asahi
15:46PaulFertserfrek: but it's just one core getting hogged?
16:01jn has joined #asahi
16:03kevinchrist20 has joined #asahi
16:04jnn has quit [Ping timeout: 480 seconds]
16:05frekwell, running a youtube video on ext.monitor puts up all cpu cores (mainly 0-3) at a base of ca. 20% with individual cores (mainly 4-7) going up to 30-80%. leaving the external monitor untouched results in core 0-3 mostly <10% and 4-7 mostly <5%.
16:05frek has quit [Remote host closed the connection]
16:06jnn has joined #asahi
16:06frek has joined #asahi
16:10PaulFertserfrek: I think the most interesting usecase is running a regular sound player on M1 display and some simple animation on external display.
16:10jn has quit [Ping timeout: 480 seconds]
16:11PaulFertserfrek: also interesting test would probably be to use a fast SS storage in the same port and trying to write or read data there to see if it might affect sound the same way.
16:12PaulFertserfrek: hm, probably just opening and closing another terminal window there in a loop to make it fully automated and reproducible?
16:15PaulFertserfrek: I wonder if pinning that process to one of "performance" cores makes a difference.
16:15PaulFertserWith "taskset"
16:17PaulFertserfrek: you should be able to see in /proc/cpuinfo which core is which
16:20frekPaulFertser: "probably just opening and closing another terminal window there in a loop to make it fully automated and reproducible?" how to do that the best way?
16:22PaulFertserfrek: probably something like this in bash: while true; do alarcritty & sleep .2; kill $!; sleep .2; done
16:22PaulFertser(not tested, just trying to show what I had in mind)
16:27PaulFertserfrek: so what kind of core is getting hogged by that process?
16:29PaulFertsertoots: probably back up all NVRAM contents , then do that from macOS, then compare what it changed? https://www.reddit.com/r/osx/comments/w8vy7v/comment/ihspc3l/
16:30PaulFertsertoots: that doesn't work after shutdown, just after power failure.
16:33PaulFertserfrek: what about just moving mouse cursor around manually? It still leads to sound stuttering, right? And you say DisplayLinkManager consumes all of its core while at it.
16:35tootsPaulFertser: yeah thanks that's my next step. Guess that would be a good info to share. It's just that the keyboard/mouse and screens for it are far away now :-)
16:36frekbut it's interchanging, so it's not hogging a specific one permanently i guess, but definitely cores 4-7 are on a higher load and are mostly close to 0 when ext.mon. is untouched..
16:37frekjust moving the cursor leads to sound interruption and to an intermittend rise of CPU load of especially cores 4-7, but it goes down and sound works as soon as the cursor doesn't move anymore..
16:41kevinchrist20 has quit [Remote host closed the connection]
16:43PaulFertserfrek: are those the power cores or not?
16:51jn has joined #asahi
16:54jnn has quit [Ping timeout: 480 seconds]
16:58pb17 has quit [Ping timeout: 480 seconds]
17:02frekPaulFertser: /proc/cpuinfo does not really give information about that, or i am missing something?
17:07PaulFertserOK, so Performance it is.
17:08PaulFertsernicolas17: we have full dmesg luckily https://privatebin.net/?0fed0c57cc48f6cd#J1VZsBJKAAPyRRhijqNAXS9MVCUKCE4fauteqXDhCKC9
17:10PaulFertserSo yes, that dock has sound card integrated but does frek really use it?
17:18PaulFertsernicolas17: btw, what simple explanation would that be? Doesn't USB Audio class use isochronous transmissions with reserved bandwidth?
17:19jnn has joined #asahi
17:20nicolas17if the problem happens even with built-in speakers and headphone out, it's definitely not the dock's sound card
17:22zzywysm has joined #asahi
17:22jn has quit [Ping timeout: 480 seconds]
17:24PaulFertsernicolas17: and if not?
17:28toots has quit [Remote host closed the connection]
17:40delsol has joined #asahi
17:47pb17 has joined #asahi
17:51jn has joined #asahi
17:55jnn has quit [Ping timeout: 480 seconds]
18:33mohit81582263 has quit [Quit: mohit81582263]
18:34mohit81582263 has joined #asahi
18:36tamar is now known as tamar_away
19:00frekks has joined #asahi
19:00frekks has quit [Read error: Connection reset by peer]
19:01frekks has joined #asahi
19:05pb17 has quit [Ping timeout: 480 seconds]
19:13rvalue- has joined #asahi
19:18rvalue has quit [Ping timeout: 480 seconds]
19:19ChaiTRex has joined #asahi
19:20rvalue- has quit [Read error: Connection reset by peer]
19:20rvalue has joined #asahi
19:25frekks has quit [Quit: Leaving]
19:25f_ has quit [Ping timeout: 480 seconds]
19:38frek has quit [Remote host closed the connection]
19:41pb17 has joined #asahi
19:55hightower2 has joined #asahi
20:20_rudi has joined #asahi
20:23jeisom has quit [Ping timeout: 480 seconds]
20:25PaulFertserj`ey: yes but why and how would it be affecting sound?
20:26PaulFertserProbably a bug in that evdi driver then. I guess we now have good facilities for finding latency bottlenecks even in the kernel land.
20:26PaulFertserSo it should be relatively easy to at least put the blame.
21:08jeisom has joined #asahi
21:30DarkShadow44 has quit [Quit: ZNC - https://znc.in]
21:30DarkShadow44 has joined #asahi
21:43pb17 has quit [Ping timeout: 480 seconds]
21:52delsol has quit [Remote host closed the connection]
21:53pb17 has joined #asahi
21:54nst has quit [Ping timeout: 480 seconds]
22:04nst has joined #asahi
22:05john-cabaj has quit [Ping timeout: 480 seconds]
22:07johey has quit [Ping timeout: 480 seconds]
22:36frek has joined #asahi
23:29pb17 has quit [Ping timeout: 480 seconds]
23:29frek has quit [Ping timeout: 480 seconds]
23:48bluetail has quit [Quit: The Lounge - https://thelounge.chat]
23:50bluetail has joined #asahi
23:59baozich has joined #asahi