#
…

2022-12-12

00:07amarioguy has joined #asahi
00:07Glanzmannmarcan: Turned out that the oops was trigger by unloading and reloading the brcmfmac module. I now changed my code so that it blacklists the module and only loads the module once the firmware is available. And does not reload module when the firmware is updated, but only updates the firmware. https://tg.st/u/0001-be-less-aggrassive-on-the-wifi-driver-it-is-fragile.patch
00:07Soni has quit [Ping timeout: 480 seconds]
00:08GlanzmannIn the old days it worked but with the more recent kernel version it no longer does.
00:08* Glanzmannhits bed.
00:12GlanzmannYes, I can trigger the oops by unloading and reloading the wifi driver: https://pbot.rmdir.de/rF351aWmwCiFcjX4rfjzNQ
00:12Glanzmannanyhow mystery solved.
00:13marcanGlanzmann: reloading the module is untested... not surprised it's broken, but I also don't know why you would do that
00:14marcanthe entire point of the documented firmware procedure is that you do *not* need to play those games
00:14marcanI'll put it on my back burner to look at that, but unloading lots of modules is broken anyway so it's not high priority
00:20julio7359 has joined #asahi
00:23Moprius has joined #asahi
00:34Moprius has quit [Quit: bye]
00:34Fahrefi64: thanks for the info. I'll check it out
00:35Moprius has joined #asahi
01:00jamespmorgan has joined #asahi
01:06jamespmo_ has quit [Ping timeout: 480 seconds]
01:09dorkbutt has quit [Read error: Connection reset by peer]
01:11ec0 has quit [Ping timeout: 480 seconds]
01:11julio7359 has quit [Remote host closed the connection]
01:14Moprius has quit [Quit: bye]
01:17zalyx has quit [Quit: later alligator]
01:19zalyx has joined #asahi
01:20julio7359 has joined #asahi
01:28julio7359 has quit []
01:31julio7359 has joined #asahi
01:42user982492 has joined #asahi
01:44user982492 has quit []
01:45user982492 has joined #asahi
02:00user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:02jbowen_ has quit []
02:03jbowen has joined #asahi
02:04user982492 has joined #asahi
02:16ec0 has joined #asahi
02:32julio7359 has quit []
02:33julio7359 has joined #asahi
03:07julio7359 has quit [Ping timeout: 480 seconds]
03:08ap5 has joined #asahi
03:08julio7359 has joined #asahi
03:14ap5hii um i'm trying to set up Linux (NixOS) on an M1 Macbook Air and running into an issue where fractional scaling (on Sway) seems to create awful aliasing artifacts. trying to figure out how to take a representative screenshot
03:14ap5i'm trying to figure out what part of the stack this is showing up in, so i can further investigate
03:16ap5oh, ok, here's a screenshot: https://i.imgur.com/0nYP3qR.png
03:16opticron_ is now known as opticron
03:19ciggi_ has joined #asahi
03:19ciggi has quit [Read error: Connection reset by peer]
03:23axboemarcan: 6.1.0+ with whatever I have pending for this merge window, all running nicely on the laptop
03:23julio7359 has quit [Remote host closed the connection]
03:25Soni has joined #asahi
03:27julio7359 has joined #asahi
03:34julio7359 has quit []
04:04renatorabelo has quit [Quit: Leaving]
04:08renatorabelo has joined #asahi
04:26julio7359 has joined #asahi
04:36marvin24 has joined #asahi
04:39marvin24_ has quit [Ping timeout: 480 seconds]
04:55julio7359 has quit [Remote host closed the connection]
05:24chengsun has joined #asahi
05:27chengsun_ has quit [Ping timeout: 480 seconds]
05:41ckie has quit [Quit: adios~]
05:42ckie has joined #asahi
05:53user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:07jamespmo_ has joined #asahi
06:12jamespmorgan has quit [Ping timeout: 480 seconds]
06:13ap5 has quit [Quit: Leaving]
06:13ap5 has joined #asahi
06:32ap5 has quit [Remote host closed the connection]
07:01mini0n has quit [Read error: Connection reset by peer]
07:04marcany'all trust me too much, that wasn't even smoke tested :p
07:04marcanbut I'm probably going to stream some suspend/touchpad work in a bit
07:14svenif you have extra time feel free to look at Bluetooth resume as well
07:14sveni thought it worked but apparently devices aren’t reconnected
07:29julio7359 has joined #asahi
07:30cylm has joined #asahi
07:35amarioguy has quit [Ping timeout: 480 seconds]
07:35amarioguy has joined #asahi
07:37renato__ has joined #asahi
07:40marcansven: is this something you fixed somewhere recently? people report bluetooth breaking entirely after resume, I've seen it myself (errors in dmesg)
07:40marcanI just assumed something was breaking the host controller entirely (or maybe it doesn't like the wifi side suspending)
07:42Glanzmann has left #asahi [#asahi]
07:44renatorabelo has quit [Ping timeout: 480 seconds]
07:47renato__ has quit [Ping timeout: 480 seconds]
07:50jannaulooked sane in `git range-diff` and works on
07:51svenit used to work fine
07:51svenmaybe it’s actually related to the wifi suspend :/
07:51svenfine as in: the controller came back up but apparently devices weren’t reconnected
08:04Misthios has quit [Quit: Misthios]
08:04Misthios has joined #asahi
08:10SSJ_GZ has joined #asahi
08:13guillaume_g has joined #asahi
08:13giskard has joined #asahi
09:00julio7359 has quit [Ping timeout: 480 seconds]
09:38mkurz has quit [Ping timeout: 480 seconds]
09:40bcrumb has joined #asahi
09:59mkurz has joined #asahi
10:05mkurz has quit [Remote host closed the connection]
10:05mkurz has joined #asahi
10:08mkurz has quit []
10:09guillaume_g has quit [Ping timeout: 480 seconds]
10:09mkurz has joined #asahi
10:09guillaume_g has joined #asahi
10:10mkurz has quit []
10:10mkurz has joined #asahi
10:10MajorBiscuit has joined #asahi
10:11mkurz has quit []
10:11mkurz has joined #asahi
10:33guillaume_g has quit [Ping timeout: 480 seconds]
10:36guillaume_g has joined #asahi
11:14mkurz has quit [Read error: Connection reset by peer]
11:18jamespmorgan has joined #asahi
11:21mkurz has joined #asahi
11:24jamespmo_ has quit [Ping timeout: 480 seconds]
11:29mkurz has quit [Remote host closed the connection]
11:33mkurz has joined #asahi
11:34Mary has quit [Quit: The Lounge - https://thelounge.chat]
11:34Mary has joined #asahi
11:35heyuan has joined #asahi
11:38ggardet has joined #asahi
11:42mkurzJust to let you know, pdfium has been fixed, so rendering pdfs does work now with Chromium 108 in Asahi. I updated the wiki page: https://github.com/AsahiLinux/docs/wiki/Broken-Software
11:43heyuan has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
11:44guillaume_g has quit [Ping timeout: 480 seconds]
11:45tobhe_ is now known as tobhe
11:47jamespmo_ has joined #asahi
11:53jamespmorgan has quit [Ping timeout: 480 seconds]
11:55jamespmorgan has joined #asahi
12:01jamespmo_ has quit [Ping timeout: 480 seconds]
12:06Andytizer has joined #asahi
12:10AndytizerI'm a Linux-noob but would like to test the new GPU update.. I've got SuperTuxKart arm64 working great, are there any other easy to run arm64 games that I can test
12:13bcrumbi suppose there is no arm64 DF build?
12:13bcrumbor something easily compiles to it
12:18AndytizerI don't think there's an arm64 Dwarf Fortress build
12:19AndytizerIs there something easily installable eg Xonotic, Quake etc. I'm finding it hard to figure out what commands to type to get the arm64 builds :D
12:20Madondo has joined #asahi
12:20bcrumb has quit [Quit: WeeChat 3.7.1]
12:21Madondohello, I'm new to asahi and installed it a long time ago, and today I wanted to boot into it so I did, and of course it doesn't boot due to something I was unaware of (the boot/firmware issues of an upgraded macos). I see how to fix it now ,but I can't seem to get back into macos. any pointers?
12:21Madondobecause for some reason the holding the option key on my macbook pro m1 (first model) wasn't working, I selected asahi in system preferences, and booted. now it attempts to just boot that.
12:23waldiMadondo: you need to hold the power on key until the firmware tells you it is going to show you the options
12:26Madondothanks waldi, that worked!
12:27Madondomuch appreciated
12:40Madondowhat's the recommended way to fix the boot issue once I'm back on macos? I tried to run the asahi installer again, success booted into asahi, and no change, it won't boot. I tried to follow the instructions found here https://github.com/AsahiLinux/asahi-installer/issues/100#issuecomment-1162376171 but the files referenced in the fix are gone
12:48Madondook, fixed that with the instructions, and the updated files
12:49Madondothanks for your help!
12:49Madondo has quit [Quit: Page closed]
12:57Fah has quit [Remote host closed the connection]
12:58Agua has joined #asahi
13:01Mary has quit [Quit: The Lounge - https://thelounge.chat]
13:03rvalue has quit [Remote host closed the connection]
13:03rvalue has joined #asahi
13:06Mary has joined #asahi
13:08jluthra has quit [Remote host closed the connection]
13:08jluthra has joined #asahi
13:10Dementor has quit [Ping timeout: 480 seconds]
13:25ximet has quit [Quit: The Lounge - https://thelounge.chat]
13:25ximet has joined #asahi
14:07ec0 has quit [Ping timeout: 480 seconds]
14:16ec0 has joined #asahi
14:21mamba_ has joined #asahi
14:28mamba has quit [Ping timeout: 480 seconds]
14:37mkurz has quit [Read error: Connection reset by peer]
14:53mkurz has joined #asahi
14:58Moprius has joined #asahi
14:59Moprius has quit []
15:09tinstew has joined #asahi
15:34LinuxM1 has joined #asahi
15:48LinuxM1 has quit [Quit: Leaving]
16:00robher_jannau_: I've seem similar as chadmed on suspend. Perhaps related to this kernel msg?: apple-pmgr-pwrstate 28e580000.power-management:power-controller@288: PS mca0: Failed to reach power state 0xf (now: 0x24f)
16:06_jannau_robher: marcan discovered today that the cpufreq driver leaves the CPUs in a random p-state at suspend and leaves them alone while suspended
16:06_jannau_already fixed but not pushed
16:07psykose has quit [Remote host closed the connection]
16:08robher_jannau_: Alright, I'll test with that once it lands.
16:08psykose has joined #asahi
16:23Ry_Darcy has joined #asahi
16:23Ry_Darcy has quit [Remote host closed the connection]
16:23gladiac has joined #asahi
16:29user982492 has joined #asahi
16:42bcrumb has joined #asahi
16:43bcrumb has quit []
16:43bcrumb has joined #asahi
16:48Agua has quit [Ping timeout: 480 seconds]
16:58bcrumb has quit [Quit: WeeChat 3.7.1]
16:58Agua has joined #asahi
16:58bcrumb has joined #asahi
16:58bcrumb has quit []
17:11marcan_jannau_: KDE is still very broken for me btw (color-wise)
17:11marcanI pushed what I have, with the cpufreq fix and the macsmc power debug patch
17:11marcanbut not the dcpsleep mess
17:13marcanmaybe I screwed up the merge?
17:13bcrumb has joined #asahi
17:14_jannau_marcan: can you send me a dcp.log from trace_dcp.py? it sounds like the issue I saw originally with AR30
17:15_jannau_colors are too dark / oversatured?
17:15_jannau_I tested asahi-wip during the stream and it still looks ok
17:16marcan_jannau_: yeah, way too dark and oversaturated
17:16marcanlots of range is crushed to black
17:17marcanthat's sddm (x11, looks fine) followed by kde/wayland
17:18mofux has joined #asahi
17:18_jannau_yes, that sounds exactly like the issue I've seen. should be fixed by commenting XRGB2101010 and ARGB2101010 from the supported color formats
17:20mofuxsorry to ask again (last time, i promise!). is there a way yet to change the display resolution of the internal m1 air display yet? i'm using linux-edge and mesa-edge... thx!
17:21bcrumbmofux: is this because of icon sizes? in KDE you can set the scale to something like 150% if it's about that
17:22bcrumbfor anyone reading i also recommend larger fonts
17:22bcrumb14-14-13-14-14-14-14 looks nice
17:26marcanmofux: the display has one resolution, it will never have more
17:26marcanit is up to your desktop environment/compositor to give you display scaling optiosn
17:26marcan*options
17:26mofuxbcrumb: I'm running GNOME. I just thought the whole experience might be smoother when running a lower resolution :)
17:28bcrumbmofux: that should have scale settings too probably...
17:29mofuxyes, fractional scaling is available and works, but i guess that's not really what i want. i want it to render 1280x800 instead of 2560x1600 (no retina resolution)
17:30marcan_jannau_: yeah, works fine in 8bit mode
17:30mofuxcurrently it's set to 200% scaling. when i do 100% scaling everything just gets very small because it will still render in that native resolution :)
17:31marcanmofux: that would have to be a feature of the gnome compositor (directly setting scaled output modes at the display controller)
17:31marcanthe driver supports it just fine
17:31marcanbut I'm not sure if any compositors do because nobody wants blurry screens
17:32marcannothing to do with us ;)
17:32mofuxmarcan: thx for that info! keep up the great work everyone, i'm really enjoying following this project.
17:33gladiac has quit [Quit: k thx bye]
17:34marcan_jannau_: tbh it kind of feels like an HDR mode given SDR data?
17:35jannaumarcan: can we change 'dcp_tracer.ep.dcpep.state.dumpfile = open("dcp.log", "a")' to "w". your log has a m1 mini log at the beginning
17:35grgy has quit [Remote host closed the connection]
17:36mofux has quit [Remote host closed the connection]
17:37jannaueasily fixed but it caused some confusion
17:38marcanjannau: updated at the same path
17:38jannauapple just reports a single color mode for integrated displays which seems to be mostly made up
17:39jannaui.e. it claims depth: 8
17:39mofux has joined #asahi
17:39grgy has joined #asahi
17:40marcanfwiw I tried playing with drm_format_to_colorspace but none of 1, 2, 12 helped
17:41ten157237 has joined #asahi
17:43ggardet has quit []
17:43user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:43tinstew has quit [Ping timeout: 480 seconds]
17:45MajorBiscuit has quit [Ping timeout: 480 seconds]
17:45mkurz has quit [Read error: Connection reset by peer]
17:47mofux has quit [Ping timeout: 480 seconds]
17:47dorkbutt has joined #asahi
17:50Dementor has joined #asahi
17:51mkurz has joined #asahi
17:52jannaumarcan: I see only a few possible races (call/cb ordering) between your and my log: https://www.jannau.net/asahi/dcp.log
17:56marcanjannau: before I go to sleep, you might find this handy: https://mrcn.st/p/EZwjaAu1
17:56marcanjust got it out of the firmware, some stuff is offset vs your guesses
17:59jannauonly the colorimetry I'm not mistaken and yes, that looked the whole time suspect
18:00marcanI tried playing with the numbers and nothing made a difference though
18:00marcanI wonder if it's just not applying the different settings for 10-bit mode for some reason? like if we need a flag somewhere
18:07jannauargh, reproduced. I somehow ended up with X11. colors are still off with plasma/wayland
18:08tinstew has joined #asahi
18:10jannauso I guess we will need HDR support before we can support ar30 on j314/j316
18:14jannauon mini and studio we're ok now with preferring a color mode with SDR gamma EOTF
18:16jannauat least the m2 mbp 13" is ok as well so I'd guess imac and airs are fine as well
18:33LinuxM1 has joined #asahi
18:51babble has joined #asahi
18:53Agua has quit [Remote host closed the connection]
19:10dorkbutt has quit [Read error: Connection reset by peer]
19:18babble has quit [Remote host closed the connection]
19:33renato__ has joined #asahi
19:36renato__ is now known as renatorabelo
19:43tinstew has quit [Remote host closed the connection]
19:52ethernet has quit [Quit: leaving]
19:53beeblebrox has joined #asahi
19:58mkurz has quit [Quit: Leaving]
20:29bcrumb has quit [Quit: WeeChat 3.7.1]
20:32cylm has quit [Ping timeout: 480 seconds]
21:06kettenis has quit [Remote host closed the connection]
21:06kettenis has joined #asahi
21:12ChaiTRex has quit [Remote host closed the connection]
21:12ChaiTRex has joined #asahi
21:24dorkbutt has joined #asahi
21:26dorkbutt has quit [Max SendQ exceeded]
21:41Guest1751 has quit [Quit: G-line: User has been permanently banned from this network.]
21:45vx has joined #asahi
21:45vx is now known as Guest1923
21:46Guest1923 has quit []
21:47vx^ has joined #asahi
21:49renatorabelo has quit [Ping timeout: 480 seconds]
21:52renatorabelo has joined #asahi
22:12LinuxM1 has quit [Quit: Leaving]
22:46vx^ is now known as vx
22:46vx is now known as Guest1928
22:57Moprius has joined #asahi
23:20SSJ_GZ has quit [Ping timeout: 480 seconds]
…