#
#asahi · 2022-11-23 01:21
nicolas17yesterday I was looking for a way to write to a file and say "delay flushing this to disk (unless you're low on memory or something) because I'll delete this file soon anyway"
#asahi · 2022-11-23 01:20
axboebut I'm also an avid m1 linux user, and get to be the newbie here :)
#asahi · 2022-11-23 01:19
axboenicolas17: yep, block stack, io_uring, bunch of different things
#asahi · 2022-11-23 01:14
nicolas17axboe: you work on block device stuff right?
#asahi · 2022-11-23 01:14
nicolas17hm that name sounds familiar :)
#asahi · 2022-11-23 01:09
axboe[ 0.188224] leds_pwm led-controller: failed to read period for kbd_backlight, default to off
#asahi · 2022-11-23 01:09
axboecaveat that this may be me missing something, but it seems to get killed at load time:
#asahi · 2022-11-23 01:09
axboejannau: I used to run with the out-of-tree patches for the kbd backlight and they worked fine, doesn't work for me in asahi-wip
#asahi · 2022-11-23 00:39
NotDislikedthe full error is "[3498:1122/163056.590907:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.", thus my suspicion about the GPU driver being the culprit
#asahi · 2022-11-23 00:37
NotDislikedfiddling with the package.
#asahi · 2022-11-23 00:37
NotDislikedmy other question is more niche, I was trying to modify the existing discord_arch_electron package in the AUR to compile for arm, I think I've got everything working fine but when I launch the app I get an error about "dri3 extension not supported". I just wanted to validate my suspicion that this is due to the lack of a GPU driver on asahi at present, or maybe someone happens to know that I've just messed something up in my
#asahi · 2022-11-23 00:36
jannauno problem
#asahi · 2022-11-23 00:35
NotDislikedthanks
#asahi · 2022-11-23 00:35
NotDislikedknew I was blind
#asahi · 2022-11-23 00:35
jannauthe keyboard backlight is also in the linux-asahi kernel. the "Battery and Brightness" tray item has controls for it. it might be hidden if charger is connected and the battery is full
#asahi · 2022-11-23 00:33
NotDislikedI saw that keyboard backlight support got added in linux-asahi-edge (which I'm now on), but I can't find a place in kde to control the keyboard brightness. am I blind or do I need to grab some extra module
#asahi · 2022-11-23 00:32
NotDislikedhello I've come to ask the questions that 50 people have probably already asked
#asahi · 2022-11-23 00:23
nicolas17jannau: that echo command does turn it off, so yeah I blame plasma
#asahi · 2022-11-23 00:21
nicolas17jannau: https://i.imgur.com/d7PlBNr.png
#asahi · 2022-11-23 00:15
nicolas17this might be a plasma settings thing
#asahi · 2022-11-23 00:15
nicolas17I enabled a keyboard shortcut for "toggle keyboard backlight" and pressed it, and that did turn it off
#asahi · 2022-11-23 00:08
jannaudoes `echo -n 0 > /sys/class/leds/kbd_backlight/brightness` work as root?
#asahi · 2022-11-23 00:08
jannaubut it behaves as expected and can turn the kbd backlight completely off
#asahi · 2022-11-23 00:07
jannauwhere do you see percent values for the keyboard backlight? in my kde "battery and brightness" dialog is just a slider without scale
#asahi · 2022-11-22 23:54
nicolas1725% sets it to 25%, 0% leaves it at 25%, 100% sets it to 100%, 0% leaves it at 100%
#asahi · 2022-11-22 23:53
nicolas17hmm setting the keyboard backlight to 0 seems to do nothing
#asahi · 2022-11-22 23:51
nicolas17"should have updated uboot before macOS" then? :)
#asahi · 2022-11-22 23:51
nicolas17ah I see
#asahi · 2022-11-22 23:48
jannaunicolas17: no, the problem is the updated nvme firmware from ventura. u-boot from before june/july is not compatible with ventura. it was even before the m1n1 update unbootable
#asahi · 2022-11-22 23:46
loop0thank you
#asahi · 2022-11-22 23:45
loop0tpw_rules: it worked! I'm currently typing from asahi on my m1 mbp
#asahi · 2022-11-22 23:34
nicolas17tpw_rules: so they should have booted asahi and updated the distro from there, and *then* updated m1n1 from macOS?
#asahi · 2022-11-22 23:20
loop0awesome, thank you so much, I will give it a try
#asahi · 2022-11-22 23:20
tpw_rulesyou can skip the step at the end about re-expanding your free space
#asahi · 2022-11-22 23:20
tpw_rulesnot sure if there is anything more official but https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md#nixos-uninstallation will work if you just read "asahi" every time it says "nixos"
#asahi · 2022-11-22 23:19
loop0is there a way to reinstall asahi? I have no problems losing what is there
#asahi · 2022-11-22 23:19
tpw_rulesi wonder if there is an incompatibility there. it looks to me like u-boot is unable to initialize the internal nvme drive
#asahi · 2022-11-22 23:19
loop0I tried the command but it fails
#asahi · 2022-11-22 23:19
loop0last time I booted asahi was a looong time ago :D
#asahi · 2022-11-22 23:18
tpw_rulesand does it work if you do the command it says?
#asahi · 2022-11-22 23:18
tpw_ruleswhen was the last time you booted asahi and upgraded it?
#asahi · 2022-11-22 23:18
tpw_rulesactually, i guess the 2nd stage m1n1 did not get updated
#asahi · 2022-11-22 23:18
loop0I ran the macos installer and did "m" to upgrade m1n1
#asahi · 2022-11-22 23:18
tpw_rulesdid it actually update?
#asahi · 2022-11-22 23:18
tpw_rulesthat is a very old u-boot
#asahi · 2022-11-22 23:17
loop0Any ideas how I can recover from this?
#asahi · 2022-11-22 23:17
loop0Here is a picture I took from the failed boot: https://imgur.com/XD6eQsD
#asahi · 2022-11-22 23:14
loop0Hey folks, I've tried to update my m1n1 using the installer from macOS and now my asahi won't boot. Device 0: unknown device. Failed to find boot partition `run distro_bootcmd` to boot from any partition
#asahi · 2022-11-22 22:24
nicolas17maybe the redirection/geoip stuff is what sucks and I should hardcode a better one
#asahi · 2022-11-22 22:22
nicolas17like 10Mbps when my connection is 300Mbps

plus ›