2023-12-23
00:04zumi_ has joined #asahi
00:05zumi has quit [Remote host closed the connection]
00:09zumi_ is now known as zumi
00:36jeisom has quit [Ping timeout: 480 seconds]
00:53kidplayer666 has quit [Quit: Connection closed for inactivity]
00:55crabbedhaloablut has quit []
01:16chadmed has quit [Ping timeout: 480 seconds]
01:19Brainium has quit [Quit: Konversation terminated!]
01:46possiblemeatball has joined #asahi
02:03matteo has joined #asahi
02:17matteo has quit [Ping timeout: 480 seconds]
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:21Emantor has joined #asahi
03:01chadmed has joined #asahi
03:04shiggitay has quit [Ping timeout: 480 seconds]
03:21ydalton has quit [Ping timeout: 480 seconds]
03:48gspbirel56 is now known as Guest11526
03:48gspbirel56 has joined #asahi
03:49chadmed has quit [Ping timeout: 480 seconds]
03:53Guest11526 has quit [Ping timeout: 480 seconds]
04:07gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
04:08gspbirel56 has joined #asahi
04:16JayBeeFOSS has quit [Remote host closed the connection]
04:17JayBeeFOSS has joined #asahi
04:30marvin24_ has joined #asahi
04:33marvin24 has quit [Ping timeout: 480 seconds]
04:37millenialhacker has joined #asahi
04:40chadmed has joined #asahi
04:45millenialhacker has quit [Ping timeout: 480 seconds]
04:51ptudor_ has quit [Ping timeout: 480 seconds]
04:57DevEthann has joined #asahi
04:59DevEthann has quit [Remote host closed the connection]
05:00gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
05:01gspbirel56 has joined #asahi
05:09gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
05:09gspbirel56 has joined #asahi
05:16possiblemeatball has quit [Quit: Quit]
05:29possiblemeatball has joined #asahi
05:30possiblemeatball has quit []
05:51matteo has joined #asahi
05:59matteo has quit [Ping timeout: 480 seconds]
06:04zumi_ has joined #asahi
06:04zumi has quit [Remote host closed the connection]
06:09zumi_ is now known as zumi
06:40matteo has joined #asahi
06:43AnuthaDev has joined #asahi
06:48matteo has quit [Ping timeout: 480 seconds]
06:51millenialhacker has joined #asahi
06:59millenialhacker has quit [Ping timeout: 480 seconds]
07:04chadmed has quit [Ping timeout: 480 seconds]
07:13eiln has joined #asahi
07:31chadmed has joined #asahi
07:33gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
07:33gspbirel56 has joined #asahi
07:41pdyq has joined #asahi
07:41pdyq has quit []
07:43crabbedhaloablut has joined #asahi
08:16i509vcb has quit [Quit: Connection closed for inactivity]
08:27eroc1990 has joined #asahi
08:34holiday has joined #asahi
08:43pitustmarcan: "ALSA routes are probably wrong" how should they be configured? also, "aplay output.wav -D 'sysdefault:CARD=AppleJ293'" doesn't produce any audio either (not sure if that's the correct scenario or not)
08:55slewsys has joined #asahi
08:57millenialhacker has joined #asahi
08:58kidplayer666 has joined #asahi
09:12millenialhacker has quit [Ping timeout: 480 seconds]
09:19matteo has joined #asahi
09:27matteo has quit [Ping timeout: 480 seconds]
10:08mikee30008 has quit [Quit: The Lounge - https://thelounge.chat]
10:09mikee30008 has joined #asahi
10:20eiln has quit [Quit: WeeChat 4.1.2]
10:29axt has joined #asahi
11:00holiday has quit [Quit: WeeChat 4.1.2]
11:35Moprius has joined #asahi
11:37millenialhacker has joined #asahi
11:37kidplayer666 has quit [Quit: Connection closed for inactivity]
11:38matteo has joined #asahi
11:43Brainium has joined #asahi
11:44jeisom has joined #asahi
11:45millenialhacker has quit [Ping timeout: 480 seconds]
11:49Moprius has quit [Quit: bye]
11:49matteo has quit [Remote host closed the connection]
12:02zumi_ has joined #asahi
12:02zumi has quit [Remote host closed the connection]
12:07zumi_ is now known as zumi
12:07gladiac has quit [Quit: Ping timeout (120 seconds)]
12:08gladiac has joined #asahi
12:09kidplayer666 has joined #asahi
12:11kidplayer666can anyone explain why is there apparently so much on cache instead of on ram??
12:15PaulFertserkidplayer666: normally Linux uses ~all free RAM for caching access to block devices because why not. Caches can always be dropped right away when RAM is needed.
12:15kidplayer666How do I do it
12:15kidplayer666Because I do not have enough ram
12:15PaulFertserCaches are dropped automatically, no need to worry about it.
12:28millenialhacker has joined #asahi
12:29svenlooks like at some point you ran something that required much more than 8 gb ram though because your swap is full
12:32axt has left #asahi [#asahi]
12:36millenialhacker has quit [Ping timeout: 480 seconds]
12:39kidplayer666sven: well yeah, but it’s really weird
12:40kidplayer666(I was running slp microvm and trying to run Hearts of Iron IV)
12:40Nefsen402Moving the swap back into ram when all of it is not being accessed doesn't make sense. It will consume power for no reason and just means it needs to go back into swap when something starts running again
12:41chaos_princessif you want to manually kick everything out of swap, just do swapoff/swapon on the swap device
12:43axt has joined #asahi
12:43Nefsen402what does the kernel do if you turn of swap and there isn't enough physical ram space for the swap? Does the oom killer go ham?
12:44chaos_princesspretty much
12:47kidplayer666(It made eventually my computer crash, due to lack of ram the first time I tried)
12:47kidplayer666(Second time it didn’t allow me to click on the button of some announcement)
12:47kidplayer666Nefsen402: I did not choose it
12:49kidplayer666Nefsen402: don’t give them ideas
12:49kidplayer666Please
12:50kidplayer666“You can download more ram”
12:55AnuthaDev_ has joined #asahi
13:00thelounge986 has quit [Quit: Ping timeout (120 seconds)]
13:00thelounge986 has joined #asahi
13:01AnuthaDev has quit [Ping timeout: 480 seconds]
13:01kidplayer666Oh yeah
13:02PaulFertserkidplayer666: why do you have so many VM processes though?
13:02kidplayer666I don’t know
13:03kidplayer666I should just have steam and HOI open
13:04PaulFertserI suggest when you're low on RAM you make (h)top sort by memory (not CPU) and then kill whatever you do not know what you need for :)
13:04kidplayer666Might be
13:04kidplayer666PaulFertser: I’ll try that
13:04kidplayer666But there’s a chance I’ll kill some crucial processes :P
13:05ydalton has joined #asahi
13:06PaulFertserHas anyone tried doing AP+STA on same phy, does it work for you? Or connecting in STA mode to two APs on different channels at the same time?
13:07kidplayer666And sorting by ram would probably be all Krun microvms
13:08PaulFertserkidplayer666: and how exactly do you tell you "do not have enough ram"?
13:09kidplayer666PaulFertser: lots of swap, and everything grinds to a halt
13:09kidplayer666And I need to force a restart
13:09PaulFertserkidplayer666: sorting by RAM should allow you to see what's in swap and why.
13:10AnuthaDev_ has quit []
13:10PaulFertserkidplayer666: if you're using a web browser without noscript and have many tabs chances are the damn scripts will fill all the RAM eventually, no matter how much you got.
13:12kidplayer666PaulFertser: all I had was the microvm
13:14AnuthaDev has joined #asahi
13:14xihuanni has joined #asahi
13:14kujeger has quit [Ping timeout: 480 seconds]
13:22kujeger has joined #asahi
13:24xihuanni has left #asahi [Leaving]
13:25jiaobaobao has joined #asahi
13:42jiaobaobao has quit [Quit: Leaving]
13:42SalimTer- has joined #asahi
13:46SalimTerryLi has quit [Ping timeout: 480 seconds]
14:00jeisom has quit [Quit: Leaving]
14:01jeisom has joined #asahi
14:02gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
14:02eroc1990 has quit [Quit: Ping timeout (120 seconds)]
14:02gspbirel56 has joined #asahi
14:02eroc1990 has joined #asahi
14:03ydalton has quit [Remote host closed the connection]
14:03ydalton has joined #asahi
14:08millenialhacker has joined #asahi
14:11jacksonchen666 has quit [Quit: WeeChat 4.1.2]
14:16millenialhacker has quit [Ping timeout: 480 seconds]
14:25matteo has joined #asahi
14:32lovejiao has joined #asahi
14:33matteo has quit [Ping timeout: 480 seconds]
14:35lovejiao has quit [Remote host closed the connection]
14:36lonjil2 has quit []
14:49lovejiao has joined #asahi
14:57lovejiao has quit [Ping timeout: 480 seconds]
14:58matteo has joined #asahi
15:05kidplayer666Nefsen402: no idea
15:06kidplayer666I dunno why the installer did not suggest it
15:06matteo has quit [Ping timeout: 480 seconds]
15:06kidplayer666I’ll configure at least 16GB
15:07ydalton has quit [Remote host closed the connection]
15:07ydalton has joined #asahi
15:10possiblemeatball has joined #asahi
15:10lovejiao has joined #asahi
15:13kidplayer666Nefsen402: what is the difference though?
15:15Nefsen402Much of the "need to force restart" scenarios would probably evaporate with a bit of actual swap
15:15kidplayer666Jesus christ
15:15kidplayer666That probably explains it all…
15:16kidplayer666I thought it was going to like a file on disk
15:16Brainium has quit [Quit: Konversation terminated!]
15:16matteo has joined #asahi
15:16kidplayer666Only Zram
15:16kidplayer666Ah ok
15:17lovejiao has quit [Remote host closed the connection]
15:17kidplayer666I think it could suggest some swap
15:17kidplayer666If you got 16GB or 8
15:17kidplayer666It could say “hey, I noticed you don’t have a lot of ram, a bit of swap will make for a better experience
15:18kidplayer666I just used Gparted
15:18kidplayer666Swap partition always works
15:19kidplayer666And not like resizing is hard
15:19kidplayer666And now it’s much better
15:19kidplayer666Nefsen402: thanks
15:21kidplayer666Now it actually runs
15:22Nefsen402you need to put your swap partition under /etc/fstab so that it's persistent to the next boot
15:24matteo has quit [Ping timeout: 480 seconds]
15:27kidplayer666Nefsen402: I rebooted and it assumed the swap automatically
15:28kidplayer666Went from 7.28 GB zram to 7.28 zram + 16GB of swap
15:29kidplayer666That also explains the low ram usage
15:29kidplayer666As everything else was just zram
15:42PaulFertserSo is having zram by default recommended now to all SSD users?
15:54gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
15:54gladiac is now known as Guest11593
15:54gladiac has joined #asahi
15:55gspbirel56 has joined #asahi
16:00Guest11593 has quit [Ping timeout: 480 seconds]
16:10millenialhacker has joined #asahi
16:14kidplayer666apparently
16:15PaulFertserIs this a general rule, any laptop and desktop is supposed to work better with zram swap provided some (what exactly?) conditions are met?
16:15kidplayer666also, anyone else with the problem on slp's microvm while trying to game of the cursor being away by a consistent margin from the thing being cursed?
16:15kidplayer666and glad to see the implementation of hybernation
16:16kidplayer666wait, button is here but it is brokem
16:16kidplayer666broken
16:18millenialhacker has quit [Ping timeout: 480 seconds]
16:44arPaulFertser: this doesn't apply to every usecase, but for me, where i occasionally do compile stuff "heavy" on my laptop, zramSwap makes the difference between compiles finishing with no hiccups, and occasionaly making the oom-killer angry
16:45PaulFertserar: how about having normal swap there instead, is that ends up being slower?
16:48vLily92 has joined #asahi
16:48vLily92 has quit [Remote host closed the connection]
16:49PaulFertserInteresting. When I was experimenting with zram on a 512 MiB machine (old Tegra2-based laptop) or on a 32 MiB wifi router I couldn't find any meaningful combination of settings for it to be useful. What really helped with that laptop was normal swap and setting swappiness to 90 (so that it wouldn't start swapping until almost no free RAM left).
16:50vLily92 has joined #asahi
16:50vLily92 has quit [Remote host closed the connection]
16:50vLily97 has joined #asahi
16:50vLily97 has quit [Remote host closed the connection]
16:51ydalton has quit [Remote host closed the connection]
16:51vLily94 has joined #asahi
16:51vLily94 has quit [Remote host closed the connection]
16:55arPaulFertser: swappiness takes a value between 0 and 200, and higher values make the kernel *more* eager to swap things out
16:58PaulFertserar: indeed, I checked my notes, I had vm.swappiness=10
16:58PaulFertser(default being 60)
16:59PaulFertserI'm just surprised people are using zram without opting in to it.
17:11kidplayer666j`ey: ah ok
17:11kidplayer666That makes a lot of sense
17:18possiblemeatball1 has joined #asahi
17:18possiblemeatball has quit [Read error: Connection reset by peer]
17:23axt has left #asahi [#asahi]
17:27marcanpitust: I'm talking about the routes in alsamixer, but please just use pipewire. the speakers are not designed to be driven directly like that, they need DSP to work properly.
17:29marcankidplayer666: magenta is not cache, it's shared memory which, if you don't have massive stuff in tmpfs, usually means GPU memory.
17:30kidplayer666Now that I added proper swap, it works perfectly
17:30kidplayer666Much higher ram usage
17:30kidplayer666So it really was that I think
17:34kidplayer666It wasn’t even that long ago lol
17:34kidplayer666I had to reinstall once in November maybe?
17:37Moprius has joined #asahi
17:39Nefsen402That's probably fine when my app is suspended in another workspace and not getting any frame callbacks
17:39marcanso it's useful for whole processes/contexts stay idle, not for idle memory within a process
17:40Nefsen402Unfortunately compositors upload shm textures themselves, it can't suspend shm based apps with this approach
17:41Nefsen402Foot is an example of a popular shm based terminal emulator, would compress really nicely
17:42Nefsen402that shared memory has to be "uploaded" to the gl implementation so that it has a GLTexture to texture from
17:42marcanif the shared memory is not GPU memory to begin with, then it needs to be copied into GPU memory
17:43marcaneither way sharing memory is not an issue, you don't actually swap out whole apps. what I mean is that apps are either suspended (some memory swapped out) or not (no memory swapped out).
17:44marcanif there is any shared memory then that wouldn't be swapped out if someone who needs it has it mapped
17:44marcanthe point is just that the moment there is GPU work for that app/context, all of it has to be swapped back in
17:45Nefsen402Right. I was thinking of the case where it would be possible to compress the apps swapchain that it shares with the compositor
17:45marcanin that case no, but if the compositor is actively using it then you wouldn't be able to compress it anyway
17:46Nefsen402Of course, but sometimes it will allocate a texture for something, but not actually texture from it
17:47marcanwould need code in the compositor to proactively garbage-collect unused textures out of actual GPU memory to improve that, but I doubt it would be very useful
17:50Nefsen402Compositors like wlroots will actually release shm textures straight back to the compositor once it uploads it to the render impl
17:50Nefsen402This means that it's possible that an app can just pass back the same shm and not have a swapchain at all or even double buffering
17:53marcanpoint being that GPU buffers can exist outside of GL textures, and that in principle allows them to be swapped out when the compositor is otherwise still rendering
17:53Nefsen402gl gives you no way of creating a dmabuf. You have GBM for that and with GBM you need a copy
17:54Nefsen402vulkan it's technically possible to get a dmabuf but only if you have compatibility and love hacks or so I've heard
17:56marcaneither way if you're going this far you might as well use vulkan, but yes, in principle it's possible with GL
17:59ten157237743246 has joined #asahi
18:05zumi_ has joined #asahi
18:05zumi has quit [Remote host closed the connection]
18:06ten157237743246 has quit [Quit: The Lounge - https://thelounge.chat]
18:09possiblemeatball1 has quit [Quit: Quit]
18:09zumi_ is now known as zumi
18:11ten157237743246 has joined #asahi
18:16ten157237743246 has quit []
18:26possiblemeatball has joined #asahi
18:26possiblemeatball has quit []
18:34Brainium has joined #asahi
18:40AnuthaDev has quit []
18:41matteo has joined #asahi
18:57ptudor has joined #asahi
19:08zalyx has quit [Quit: later alligator]
19:10matteo has quit [Remote host closed the connection]
19:10zalyx has joined #asahi
19:13possiblemeatball has joined #asahi
19:13millenialhacker has joined #asahi
19:14matteo has joined #asahi
19:22millenialhacker has quit [Ping timeout: 480 seconds]
19:22matteo has quit [Ping timeout: 480 seconds]
19:30matteo has joined #asahi
19:35florolfi'm running an alarm installation and would like to continue doing so. with the fedora remix becoming the main priority, the messaging has been a bit unclear (or at least i wasn't able to find any information about this) - i'm aware that alarm is not really recommended/supported anymore, but what does that mean exactly? e.g. are there plans to shut down the jobs that build packages like linux-asahi at some
19:40lovejiao has joined #asahi
19:45lovejiao has quit [Remote host closed the connection]
19:53matteo has quit [Remote host closed the connection]
19:53matteo has joined #asahi
20:49matteo has quit [Remote host closed the connection]
20:49matteo has joined #asahi
20:49matteo has quit [Remote host closed the connection]
20:50matteo has joined #asahi
21:04matteo has quit [Ping timeout: 480 seconds]
21:08matteo has joined #asahi
21:12gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
21:13gspbirel56 has joined #asahi
21:47larsjel is now known as lucus
21:55axt has joined #asahi
22:06millenialhacker has joined #asahi
22:06pitustmarcan: i have pipewire. "just use pipewire" doesn't help much when pipewire doesn't see the speakers
22:13Moprius_ has joined #asahi
22:14millenialhacker has quit [Ping timeout: 480 seconds]
22:18Moprius has quit [Ping timeout: 480 seconds]
22:19Brainium has quit [Ping timeout: 480 seconds]
22:20gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
22:21gspbirel56 has joined #asahi
22:27matteo has quit [Ping timeout: 480 seconds]
22:50matteo has joined #asahi
22:58matteo has quit [Ping timeout: 480 seconds]
23:06matteo has joined #asahi
23:10gspbirel56 has quit [Quit: Ping timeout (120 seconds)]
23:10i509vcb has joined #asahi
23:10gspbirel56 has joined #asahi
23:30matteo has quit [Ping timeout: 480 seconds]
23:33kurtgz has joined #asahi
23:34kurtgzHello. What's the recommended model (in terms of best support/compatibility) of MacBook to get for Asahi?
23:39matteo has joined #asahi
23:45Brainium has joined #asahi
23:47matteo has quit [Ping timeout: 480 seconds]
23:48kurtgzThank you, yes, I was looking at M1 mostly, just because price would be more affordable for me (but still from what I see there's not much difference)
23:52matteo has joined #asahi
23:53kidplayer666j`ey: I mean, the touchbar now works :P. And whenever tiny dfr 0.2 gets packaged you’ll even be able to customise it