ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-alt
jamespmorgan has joined #asahi-alt
jamespm__ has quit [Ping timeout: 480 seconds]
jacksonchen666 has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-alt
swaggie has joined #asahi-alt
Doliometer has quit [Remote host closed the connection]
lea_ has joined #asahi-alt
lea_ has quit []
leaneko has joined #asahi-alt
leaneko has quit [Quit: Textual IRC Client: www.textualapp.com]
leaneko has joined #asahi-alt
leaneko has quit [Quit: Textual IRC Client: www.textualapp.com]
kode54 has quit [Quit: Ping timeout (120 seconds)]
kode54 has joined #asahi-alt
kode54 has quit [Quit: Ping timeout (120 seconds)]
KDDLB has quit [Quit: Ping timeout (120 seconds)]
Doliometer has joined #asahi-alt
<Doliometer> Glanzmann, thanks for the suggestion. I installed fvwm (replacing blackbox) and added the key statements to the default config file. Now the screen will blank after inactivity but not wake up completely, instead returning to the very dim state first observed. Also strange: my brightness controls, F1 and F2, have no effect.
KDDLB has joined #asahi-alt
kode545 has joined #asahi-alt
kode545 is now known as kode54
jamespmo_ has joined #asahi-alt
kode54 has quit [Quit: Ping timeout (120 seconds)]
KDDLB has quit [Quit: Ping timeout (120 seconds)]
KDDLB has joined #asahi-alt
kode54 has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
Glanzmann has joined #asahi-alt
<Glanzmann> Doliometer: In order for it to work, you need to install sudo (apt-get install sudo) and configure it to let your user to commands as root without password prompt: visudo and add the following line to the bottom: username ALL=(ALL) NOPASSWD: ALL
<Glanzmann> My sudoers looks like that, my username is 'sithglan': https://pbot.rmdir.de/3e1fdlNLA59BMaEhLGdI7A
<Glanzmann> Also make sure that you have 'light' installed: apt install -y light
<Glanzmann> Let us knwo if it works for you.
<ahdeb[m]> just adding a user to the sudo group is easier and safer than editing the sudo configuration... su -c adduser foobar sudo
kode54 has quit [Quit: Ping timeout (120 seconds)]
kode54 has joined #asahi-alt
<mps_> hm, on alpine I solved this by adding normal user to video group, not need for sudo
<ahdeb[m]> cy8aer: debian.net is not official debian infrastructure. Any DD can request and redirect/reconfigure hosts on debian.net for any purpose. Also http.debian.net used to be a DNS RR/geodns service but had many problems and was shut down many years ago... it has since been pointed to deb.debian.org which is fastly CDN. Just use deb.debian.org directly instead.
kode54 has quit [Quit: Ping timeout (120 seconds)]
KDDLB has quit [Quit: Ping timeout (120 seconds)]
<jannau> Doliometer: it is a strange bug in the DCP firmware. It doesn't happen on all devices. previous brightness is only restored ~3 minutes after powering the display off
<jannau> there are workarounds for that in place but those don't work reliable on X11
kallisti has joined #asahi-alt
dgb has joined #asahi-alt
<mps_> untar it with tar
<mps_> and you will find 'usr/share/OVMF/QEMU_EFI.fd' file
<kallisti> ok
<mps_> move QEMU_EFI.fd to your working dir
dgb has quit [Quit: dgb]
<mps_> and then try as root or with sudo this https://tpaste.us/QNVb script
<mps_> I'm going to prepare black tea now
<kallisti> mps_: thanks. I will give it a shot. Should be under 5 minutes.
<mps_> ncopa: fyi, we lost ovmf pkg in latest release
<cy8aer> @adheb[m]: Ah thanks for this information. Looks like there is some inflation of deb packages repository cdns. Will use deb.debian.org in future.
<kallisti> mps_: I am booted into the environment
<kallisti> -drive if=virtio,id=hd1,format=raw,file=/dev/disk0s6 \
<kallisti> should I see a device `hd1`?
swaggie has quit [Remote host closed the connection]
swaggie has joined #asahi-alt
<kallisti> I don't see it. But I do see /dev/disks*
<kallisti> Should I just try mounting disk0s6?
<kallisti> Think I need to chroot the env
<kallisti> wrong, I was looking in the wrong terminal. I don't see the /dev/disks* devices
<kallisti> ir gd1
<kallisti> *or hd1*
KDDLB has joined #asahi-alt
kode54 has joined #asahi-alt
<kallisti> [ 0.375889] virtio_blk virtio3: [vda] 105192 512-byte logical blocks (53.9 MB/51.4 MiB) [ 0.377398] vda: vda1 vda2 vda3 [ 0.378271] virtio_blk virtio4: [vdb] 959631360 512-byte logical blocks (491 GB/458 GiB)
<kallisti> [ 0.455711] EXT4-fs (vdb): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
swaggie has quit [Ping timeout: 480 seconds]
<kallisti> So assume I just need to mount vdb and passwd --root MOUNT_POINT USER_NAME
<mps_> kallisti: so you booted it?
<kallisti> yeah i am booted into it. Those are dmesg lines above
<mps_> yes, vdb should be you asahi partition
<kallisti> yeah it says mounted in dmesg or whatever but i don't see that via mount
<mps_> cat /proc/mounts
<kallisti> I mounted it manually
<kallisti> seems to have mounted
<mps_> so, last thing is to change password
<kallisti> yeah, it looks like it doesn't support the --root parameter
<kallisti> so I can't set the mount directory as root to change the password
<mps_> yes, it is busybox passwd applet
<kallisti> So then I assume I actually need to chroot into the environment to change it
<mps_> I don't have idea, I always change password with VI editor
<kallisti> ? like edit /etc/passwd?
<mps_> 'root::19344:0:::::' in my /etc/shadow :)
<kallisti> ls -halt /media/vdb/etc/shadow* -rw------- 1 root root 741 Dec 4 07:24 /media/vdb/etc/shadow -rw------- 1 root root 741 Dec 4 07:24 /media/vdb/etc/shadow-
<kallisti> seems to be two of them
<mps_> this with '-' at end is backup
<kallisti> Ok. Then I guess I'm just going to wipe out whatever looks like a hash. looks like there are two of them.
<mps_> in shadow file second field is hashed and salted password
<kallisti> so if I wipe them out, then I will just be able to login without a password?
<mps_> kallisti: yes, if your distro does not try to be smart
<kallisti> it's the asahi default -> arch linux arm
<mps_> never tried to install it
<kallisti> Looks like some users are like usbmux:!*
<kallisti> perhaps no login?
<mps_> yes, forbidden login
<kallisti> Looks like some users are like usbmux:*
<kallisti> and some without either
<kallisti> well guess i'm ready to write it and try to reboot and see if I can login
<kallisti> thanks for the help mps_ . I will give that a shot and come back and let you know if it worked.
<mps_> so 'root::............' should allow paswordless login for root
<mps_> not blindly as I typed it
<mps_> I mean, second field is empty
<kallisti> I just tried to wipe my user account
<kallisti> don't think i had a root password set
swaggie has joined #asahi-alt
<kallisti> right well time to give it a shot
<kallisti> brb
<mps_> ok, good luck
kallisti has quit [Quit: brb]
kallisti has joined #asahi-alt
<kallisti> mps_: looks like the password reset worked. Thank you kindly for all the help!
<mps_> kallisti: np, you are welcome
mps_ is now known as mps
<mps> ncopa: ok, found it, it is renamed to aavmf
<mps> and don't see it in release notes
<kallisti> heading out. it's almost 4am here. I'll come back again and reach out then.
kallisti has quit []
swaggie has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-alt
cylm_ has joined #asahi-alt
swaggie has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-alt
<Glanzmann> mps: with the latest mesa changed mpv -vo gpu improved a lot for me.
<Glanzmann> When I use compton I also don't have tearing with my worst video https://tg.st/u/man_over_bord_small.mp4
<mps> Glanzmann: yes, also with '-vo=gpu-next' it is better
<Glanzmann> mps: For me it is worst with -vo=gpu-next.
<Glanzmann> worse*
<Glanzmann> At lease with my test video.
<Glanzmann> Also something seems to change regarding dcp performance.
<Glanzmann> Previously when I resized windows it was very slow. But that problem is also gone.
<Glanzmann> Only thing that still gives me trouble is xfreerdp. It is very slow and sometimes don't draw areas of the screen.
swaggie has quit [Ping timeout: 480 seconds]
<mps> Glanzmann: hm, so we have opposite with gpu-next, interesting and I have no idea why
<Glanzmann> mps: Have you tried playing https://tg.st/u/man_over_bord_small.mp4
<Glanzmann> Is this fast for you with mpv -vo gpu-next?
<Glanzmann> If so, then I'll compile the most recent mpv and try again.
<mps> Glanzmann: yes, it tears with gpu
<Glanzmann> mps: For me with compton in fullscreen, I don't see tearing.
<Glanzmann> However if I put a window in front, or I have the mpv controlls layed over or if I play in a video it is okay.
<Glanzmann> mps: But with -vo gpu it is now using only 250% CPU before it was almost 800%.
<mps> for me works fine with -vo xv and x11
<Glanzmann> With -vo gpu-next it is back to 800% CPU for me.
<Glanzmann> mps: Yes, that worked fine for me before as well. However with the lastes mesa updates, no -vo gpu improved a lot as written by alyssa.
<mps> hm, I see new commits in mesa, maybe should rebuild now
<Glanzmann> I had a bug in my mesa build script so it fetched the newest release but did not check it out. I just fixed that. So I ended up always building the same mesa version ...
<Glanzmann> ahdeb[m] / Doliometer I also added my user to the group 'video' that way I no longer need the sudo for 'light'.
<mps> now building mesa again, will rerun tests in a minutes
<Glanzmann> mps: Let me know.
<mps> sure
<Glanzmann> ahdeb[m]: Is there a debian infrastructure ready to use that creates a fresh build root for building every package? So that the build environment only contains the base packages + the build deps of the package I'm building?
<mps> Glanzmann: ah yes, it is now a lot better with -vo=gpu
<mps> and now gpu-next is worse
<Glanzmann> Yep. Same for me.
<Glanzmann> mps: Also the resizing of windows in Xorg has improved a lot. But I don't know since when. Maybe it was a mesa change or gpu change that I did not notice.
<mps> Glanzmann: resizing window was always fine for me
<mps> could be because I don't use any borders or decors for windows
<mps> ok, there were for few days lag with one of DCP/DRM versions
<mps> lag when maximizing windows
<Glanzmann> mps: Yep. This is waht I meant. It is gone for me now.
<Glanzmann> xfreerdp is also more usable with: xfreerdp /u:Administrator /p:'Pa$$w0rd' -grab-keyboard /cert-ignore /f /bpp:32 /v:localhost:4000 -gfx /rfx
<mps> it's gone for me with first gpu version I tried
<Glanzmann> So the last two options '-gfx /rfx' improve it a lot. But I still sometimes have screen arefacts.
<Glanzmann> mps: Interesting. For me it is gone only very recently. Maybe it were the gpu changes marcan did in the last stream. No idea.
<Glanzmann> But since I have not pulled a new kernel it needs to be something related to mesa.
<mps> (don't force me to go back ;) )
<Glanzmann> I won't. :-)
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-alt
Doliometer has quit [Remote host closed the connection]
swaggie has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-alt
Doliometer has joined #asahi-alt
swaggie has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-alt
swaggie has joined #asahi-alt
cylm_ has quit [Ping timeout: 480 seconds]
swaggie has quit [Ping timeout: 480 seconds]
<Doliometer> Glanzmann, thanks for response. My username is in the sudo group. No problem there. I've installed "Light" now, and a superuser can control screen brightness. I have yet to untangle permission settings so that a user can use F1 and F2 to affect screen brightness.
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
swaggie has joined #asahi-alt
cylm_ has joined #asahi-alt
cylm has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-alt
dgb has joined #asahi-alt
swaggie has quit [Ping timeout: 480 seconds]
<zzywysm> tpw_rules: i've posted some pull requests for your NixOS setup: https://github.com/tpwrules/nixos-m1/pulls
dgb has quit [Quit: dgb]
swaggie has joined #asahi-alt
swaggie has quit [Ping timeout: 480 seconds]
<ahdeb[m]> glanzmann: sbuild is used by official debian buildd for clean chroots. I personally use pbuilder because of old habits and it (atleast in a decade old past) was easier.
<ahdeb[m]> there's also git-buildpackage which can use cowbuilder (or sbuild too I assume) behind the scenes.
swaggie has joined #asahi-alt
swaggie has quit [Ping timeout: 480 seconds]
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-alt
Dcow has quit [Ping timeout: 480 seconds]
jamespmorgan has joined #asahi-alt
jamespmo_ has quit [Ping timeout: 480 seconds]