#asahi · 2023-11-28 19:16
chaxordoes that persist to disk? I got suspend which takes 2% per hour unfortunately#asahi · 2023-11-28 19:15
j`eyhibernation doesnt work, only 's2idle'#asahi · 2023-11-28 19:15
chaxorThank you!#asahi · 2023-11-28 19:15
chaxorI'll try removing plasma stuff again and see if it sticks#asahi · 2023-11-28 19:15
j`eyit's definitely unrelated to the plasma thing#asahi · 2023-11-28 19:15
chaxorJust had to install plasma/kde/powerdevil and login to it for some strange reason I guess? Yeah perhaps that was it too #asahi · 2023-11-28 19:14
j`eymy guess is that you were trying on sway before installing edge#asahi · 2023-11-28 19:14
chaxorOK just switched into sway and the echo / tee command into the backlight works now#asahi · 2023-11-28 19:11
j`eyright, so brightness is working#asahi · 2023-11-28 19:10
chaxoryeah that works and seems to be similar to echo '20' | sudo tee /sys/class/backlight/apple-panel-bl/brightness#asahi · 2023-11-28 19:08
j`eyafter you installed edge, that's when you got backlight support, and the above command should work#asahi · 2023-11-28 19:07
j`eyno#asahi · 2023-11-28 19:07
chaxorOh maybe you mean sway needs to be installed after update grub due to some linking issues? I don't know a lot about kernel things really#asahi · 2023-11-28 19:07
j`eytry this: busctl call org.freedesktop.login1 /org/freedesktop/login1/session/auto org.freedesktop.login1.Session SetBrightness ssu backlight apple-panel-bl 20#asahi · 2023-11-28 19:07
j`eybut it was working *after* you installed edge#asahi · 2023-11-28 19:07
j`eyright, we dont know what you tried to get the backlight working on sway/awesome#asahi · 2023-11-28 19:06
chaxorcan just keep all the KDE junk sitting around and not use it, and just set the backlight file in sway if it stays there.#asahi · 2023-11-28 19:06
chaxorI think it was install full plasma asahi -> install awesomewm immediately -> switch into awesomewm and delete kde/plasma things -> install sway (thought it was wayland issue potentially) -> install edge -> try many things over several days to get backlight change or suspend/hibernate (including powerdevil) -> just installed plasma and switched into it and the GUI stuff on the bar 'just works'. Perhaps I #asahi · 2023-11-28 19:01
j`eydid you upgrade to edge before or after installing sway?#asahi · 2023-11-28 19:00
chaxoryeah from terminal just using ls#asahi · 2023-11-28 19:00
chaxoryeah this is indeed strange. They werent there on sway, show up when getting into plasma. No idea why. I used the grub update way before and did many things in sway and awesomewm without seeing them. Started up plasma and now they're there which is odd#asahi · 2023-11-28 18:59
j`eychaxor: just try find them from the terminal, it shouldnt matter if plasma is there or not#asahi · 2023-11-28 18:59
nicolas17but even that is a stretch#asahi · 2023-11-28 18:59
j`ey'show up on plasma'?#asahi · 2023-11-28 18:59
nicolas17I suppose it's possible that removing plasma also removes or unloads some kernel module that takes care of the backlight sys files#asahi · 2023-11-28 18:58
chaxorPaulFertser you mean when switching to sway? They show up on plasma #asahi · 2023-11-28 18:57
PaulFertserProbably it's some subdirectory in graphics/drm etc, try find /sys -name backlight#asahi · 2023-11-28 18:57
chaxorOK thanks, I haven't tried fedora and am more familiar with arch, but suppose it's worth a shot. I'm on edge now.#asahi · 2023-11-28 18:57
nicolas17they don't exist on disk#asahi · 2023-11-28 18:57
j`eyplasma doesnt add those#asahi · 2023-11-28 18:57
nicolas17they are not files installed by a package, they are pseudo-files created at runtime by the kernel#asahi · 2023-11-28 18:57
PaulFertserchaxor: everything in /sys is provided by the kernel, that's not affected by any userspace you install.#asahi · 2023-11-28 18:57
j`eythat doesnt make sense, those files are from the kernel#asahi · 2023-11-28 18:56
chaxorInstalling the entire plasma kde desktop again adds those files back again so the brightness can be changed by altering those files. Perhaps I can try to remove everything again and *somehow* (?) keep the backlight files to adjust and look into hibernate as well#asahi · 2023-11-28 18:55
j`eybut if you have to use arch, you need the -edge linux package, to get the backlight#asahi · 2023-11-28 18:55
j`eychaxor: I would suggest using fedora, the arch variant is not as well maintained#asahi · 2023-11-28 18:55
j`eyoh, archlinux..#asahi · 2023-11-28 18:55
j`eyuh, they should be there#asahi · 2023-11-28 18:54
chaxorAh, I think I see the issue. I installed the plasma and removed it with 'pacman -Rns (kde/plasma stuff)'. That seemed to remove all devices and files in /sys/class/backlight . Perhaps the minimal install includes this /sys/class/backlight/* files? (Perhaps not?)#asahi · 2023-11-28 18:54
j`eybetter yet you can use dbus to do it as non-super-user#asahi · 2023-11-28 18:52
PaulFertserchaxor: yes, just write whatever you want to /sys/class/backlight/*/brightness or wdym?#asahi · 2023-11-28 18:45
j`eychaxor: what exactly does that do? You can just change the backlight manually#asahi · 2023-11-28 18:44
chaxorUnfortunately at the moment 'powerdevil' ends up installing essentially the entire KDE plasma workspace for some reason.#asahi · 2023-11-28 18:43
chaxorcapability and hibernation is key.#asahi · 2023-11-28 18:43
chaxorIs there a way to get the brightness backlight changing capabilities of "org.kde.powerdevil.backlighthelper" from the plasma desktop install, but on the minimal setup? I am interested in making a simpler system on awesomewm (or sway if wayland is required / preferred), but battery life is one of the most important aspects of a mac laptop experience (>40h work time is the goal), so very low backlight #asahi · 2023-11-28 16:16
handlerugWhy is the asahi/mesa issue tracker disabled? https://gitlab.freedesktop.org/asahi/mesa/-/issues There's a link to it on https://github.com/AsahiLinux/linux/issues/72#asahi · 2023-11-28 14:42
FoxboronIt's not.. an elegant solution when you peak under the hood#asahi · 2023-11-28 14:41
FoxboronIt's probably easier to explain nixos as a symlink farm, that also rewrites rpath in binaries#asahi · 2023-11-28 14:12
j`eyDannyB: hey, can you join #asahi-alt?#asahi · 2023-11-28 13:36
arif so, probably ends up using less disk space than nixos then. determining if things are "identical" in nix/nixos sense is a bit more involved and takes into account also identicality of all dependencies a thing has. hardlinks can be used to reduce disk space usage, but many things have things like paths from /nix/store in them