ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | 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
amarioguy has joined #asahi
<Glanzmann> marcan: 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
Soni has quit [Ping timeout: 480 seconds]
<Glanzmann> In the old days it worked but with the more recent kernel version it no longer does.
* Glanzmann hits bed.
<Glanzmann> Yes, I can trigger the oops by unloading and reloading the wifi driver: https://pbot.rmdir.de/rF351aWmwCiFcjX4rfjzNQ
<Glanzmann> anyhow mystery solved.
<Glanzmann> n8
<marcan> Glanzmann: reloading the module is untested... not surprised it's broken, but I also don't know why you would do that
<marcan> the entire point of the documented firmware procedure is that you do *not* need to play those games
<marcan> I'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
julio7359 has joined #asahi
Moprius has joined #asahi
Moprius has quit [Quit: bye]
<Fah> refi64: thanks for the info. I'll check it out
Moprius has joined #asahi
jamespmorgan has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
dorkbutt has quit [Read error: Connection reset by peer]
ec0 has quit [Ping timeout: 480 seconds]
julio7359 has quit [Remote host closed the connection]
Moprius has quit [Quit: bye]
zalyx has quit [Quit: later alligator]
zalyx has joined #asahi
julio7359 has joined #asahi
julio7359 has quit []
julio7359 has joined #asahi
user982492 has joined #asahi
user982492 has quit []
user982492 has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbowen_ has quit []
jbowen has joined #asahi
user982492 has joined #asahi
ec0 has joined #asahi
julio7359 has quit []
julio7359 has joined #asahi
julio7359 has quit [Ping timeout: 480 seconds]
ap5 has joined #asahi
julio7359 has joined #asahi
<ap5> hii 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
<ap5> i'm trying to figure out what part of the stack this is showing up in, so i can further investigate
<ap5> oh, ok, here's a screenshot: https://i.imgur.com/0nYP3qR.png
opticron_ is now known as opticron
ciggi_ has joined #asahi
ciggi has quit [Read error: Connection reset by peer]
<axboe> marcan: 6.1.0+ with whatever I have pending for this merge window, all running nicely on the laptop
julio7359 has quit [Remote host closed the connection]
Soni has joined #asahi
julio7359 has joined #asahi
julio7359 has quit []
renatorabelo has quit [Quit: Leaving]
renatorabelo has joined #asahi
julio7359 has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
julio7359 has quit [Remote host closed the connection]
chengsun has joined #asahi
chengsun_ has quit [Ping timeout: 480 seconds]
ckie has quit [Quit: adios~]
ckie has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jamespmo_ has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
ap5 has quit [Quit: Leaving]
ap5 has joined #asahi
ap5 has quit [Remote host closed the connection]
mini0n has quit [Read error: Connection reset by peer]
<marcan> y'all trust me too much, that wasn't even smoke tested :p
<marcan> but I'm probably going to stream some suspend/touchpad work in a bit
<sven> if you have extra time feel free to look at Bluetooth resume as well
<sven> i thought it worked but apparently devices aren’t reconnected
julio7359 has joined #asahi
cylm has joined #asahi
amarioguy has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi
renato__ has joined #asahi
<marcan> sven: is this something you fixed somewhere recently? people report bluetooth breaking entirely after resume, I've seen it myself (errors in dmesg)
<marcan> I just assumed something was breaking the host controller entirely (or maybe it doesn't like the wifi side suspending)
Glanzmann has left #asahi [#asahi]
renatorabelo has quit [Ping timeout: 480 seconds]
renato__ has quit [Ping timeout: 480 seconds]
<jannau> looked sane in `git range-diff` and works on
<jannau> j493
<sven> huh
<sven> it used to work fine
<sven> maybe it’s actually related to the wifi suspend :/
<sven> fine as in: the controller came back up but apparently devices weren’t reconnected
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
SSJ_GZ has joined #asahi
guillaume_g has joined #asahi
giskard has joined #asahi
julio7359 has quit [Ping timeout: 480 seconds]
mkurz has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi
mkurz has joined #asahi
mkurz has quit [Remote host closed the connection]
mkurz has joined #asahi
mkurz has quit []
guillaume_g has quit [Ping timeout: 480 seconds]
mkurz has joined #asahi
guillaume_g has joined #asahi
mkurz has quit []
mkurz has joined #asahi
MajorBiscuit has joined #asahi
mkurz has quit []
mkurz has joined #asahi
guillaume_g has quit [Ping timeout: 480 seconds]
guillaume_g has joined #asahi
mkurz has quit [Read error: Connection reset by peer]
jamespmorgan has joined #asahi
mkurz has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
mkurz has quit [Remote host closed the connection]
mkurz has joined #asahi
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi
heyuan has joined #asahi
ggardet has joined #asahi
<mkurz> Just 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
heyuan has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
guillaume_g has quit [Ping timeout: 480 seconds]
tobhe_ is now known as tobhe
jamespmo_ has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
jamespmorgan has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
Andytizer has joined #asahi
<Andytizer> I'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
<bcrumb> i suppose there is no arm64 DF build?
<bcrumb> or something easily compiles to it
<Andytizer> I don't think there's an arm64 Dwarf Fortress build
<Andytizer> Is 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
Madondo has joined #asahi
bcrumb has quit [Quit: WeeChat 3.7.1]
<Madondo> hello, 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?
<Madondo> because 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.
<waldi> Madondo: you need to hold the power on key until the firmware tells you it is going to show you the options
<Madondo> thanks waldi, that worked!
<Madondo> much appreciated
<Madondo> what'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
<Madondo> ok, fixed that with the instructions, and the updated files
<Madondo> thanks for your help!
Madondo has quit [Quit: Page closed]
Fah has quit [Remote host closed the connection]
Agua has joined #asahi
Mary has quit [Quit: The Lounge - https://thelounge.chat]
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
Mary has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
Dementor has quit [Ping timeout: 480 seconds]
ximet has quit [Quit: The Lounge - https://thelounge.chat]
ximet has joined #asahi
ec0 has quit [Ping timeout: 480 seconds]
ec0 has joined #asahi
mamba_ has joined #asahi
mamba has quit [Ping timeout: 480 seconds]
mkurz has quit [Read error: Connection reset by peer]
mkurz has joined #asahi
Moprius has joined #asahi
Moprius has quit []
tinstew has joined #asahi
LinuxM1 has joined #asahi
LinuxM1 has quit [Quit: Leaving]
<robher> _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)
<_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
<_jannau_> already fixed but not pushed
psykose has quit [Remote host closed the connection]
<robher> _jannau_: Alright, I'll test with that once it lands.
psykose has joined #asahi
Ry_Darcy has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
gladiac has joined #asahi
user982492 has joined #asahi
bcrumb has joined #asahi
bcrumb has quit []
bcrumb has joined #asahi
Agua has quit [Ping timeout: 480 seconds]
bcrumb has quit [Quit: WeeChat 3.7.1]
Agua has joined #asahi
bcrumb has joined #asahi
bcrumb has quit []
<marcan> _jannau_: KDE is still very broken for me btw (color-wise)
<marcan> I pushed what I have, with the cpufreq fix and the macsmc power debug patch
<marcan> but not the dcpsleep mess
<marcan> maybe I screwed up the merge?
bcrumb has joined #asahi
<_jannau_> marcan: can you send me a dcp.log from trace_dcp.py? it sounds like the issue I saw originally with AR30
<_jannau_> colors are too dark / oversatured?
<_jannau_> I tested asahi-wip during the stream and it still looks ok
<marcan> _jannau_: yeah, way too dark and oversaturated
<marcan> lots of range is crushed to black
<marcan> that's sddm (x11, looks fine) followed by kde/wayland
mofux has joined #asahi
<_jannau_> yes, that sounds exactly like the issue I've seen. should be fixed by commenting XRGB2101010 and ARGB2101010 from the supported color formats
<mofux> sorry 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!
<bcrumb> mofux: is this because of icon sizes? in KDE you can set the scale to something like 150% if it's about that
<bcrumb> for anyone reading i also recommend larger fonts
<bcrumb> 14-14-13-14-14-14-14 looks nice
<marcan> mofux: the display has one resolution, it will never have more
<marcan> it is up to your desktop environment/compositor to give you display scaling optiosn
<marcan> *options
<mofux> bcrumb: I'm running GNOME. I just thought the whole experience might be smoother when running a lower resolution :)
<bcrumb> mofux: that should have scale settings too probably...
<mofux> yes, 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)
<marcan> _jannau_: yeah, works fine in 8bit mode
<mofux> currently 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 :)
<marcan> mofux: that would have to be a feature of the gnome compositor (directly setting scaled output modes at the display controller)
<marcan> the driver supports it just fine
<marcan> but I'm not sure if any compositors do because nobody wants blurry screens
<marcan> nothing to do with us ;)
<mofux> marcan: thx for that info! keep up the great work everyone, i'm really enjoying following this project.
gladiac has quit [Quit: k thx bye]
<marcan> _jannau_: tbh it kind of feels like an HDR mode given SDR data?
<jannau> marcan: 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
<marcan> oh lol
grgy has quit [Remote host closed the connection]
mofux has quit [Remote host closed the connection]
<jannau> easily fixed but it caused some confusion
<marcan> jannau: updated at the same path
<jannau> apple just reports a single color mode for integrated displays which seems to be mostly made up
<jannau> i.e. it claims depth: 8
mofux has joined #asahi
grgy has joined #asahi
<marcan> fwiw I tried playing with drm_format_to_colorspace but none of 1, 2, 12 helped
ten157237 has joined #asahi
ggardet has quit []
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tinstew has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
mkurz has quit [Read error: Connection reset by peer]
mofux has quit [Ping timeout: 480 seconds]
dorkbutt has joined #asahi
Dementor has joined #asahi
mkurz has joined #asahi
<jannau> marcan: I see only a few possible races (call/cb ordering) between your and my log: https://www.jannau.net/asahi/dcp.log
<marcan> jannau: before I go to sleep, you might find this handy: https://mrcn.st/p/EZwjaAu1
<marcan> just got it out of the firmware, some stuff is offset vs your guesses
<jannau> only the colorimetry I'm not mistaken and yes, that looked the whole time suspect
<marcan> I tried playing with the numbers and nothing made a difference though
<marcan> I wonder if it's just not applying the different settings for 10-bit mode for some reason? like if we need a flag somewhere
<jannau> argh, reproduced. I somehow ended up with X11. colors are still off with plasma/wayland
tinstew has joined #asahi
<jannau> so I guess we will need HDR support before we can support ar30 on j314/j316
<jannau> on mini and studio we're ok now with preferring a color mode with SDR gamma EOTF
<jannau> at least the m2 mbp 13" is ok as well so I'd guess imac and airs are fine as well
LinuxM1 has joined #asahi
babble has joined #asahi
Agua has quit [Remote host closed the connection]
dorkbutt has quit [Read error: Connection reset by peer]
babble has quit [Remote host closed the connection]
renato__ has joined #asahi
renato__ is now known as renatorabelo
tinstew has quit [Remote host closed the connection]
ethernet has quit [Quit: leaving]
beeblebrox has joined #asahi
mkurz has quit [Quit: Leaving]
bcrumb has quit [Quit: WeeChat 3.7.1]
cylm has quit [Ping timeout: 480 seconds]
kettenis has quit [Remote host closed the connection]
kettenis has joined #asahi
ChaiTRex has quit [Remote host closed the connection]
ChaiTRex has joined #asahi
dorkbutt has joined #asahi
dorkbutt has quit [Max SendQ exceeded]
Guest1751 has quit [Quit: G-line: User has been permanently banned from this network.]
vx has joined #asahi
vx is now known as Guest1923
Guest1923 has quit []
vx^ has joined #asahi
renatorabelo has quit [Ping timeout: 480 seconds]
renatorabelo has joined #asahi
LinuxM1 has quit [Quit: Leaving]
vx^ is now known as vx
vx is now known as Guest1928
Moprius has joined #asahi
SSJ_GZ has quit [Ping timeout: 480 seconds]