#
…

2022-12-18

00:16jacksonchen666 has quit [Remote host closed the connection]
00:16jacksonchen666 has joined #asahi-alt
00:30jamespmorgan has joined #asahi-alt
00:36jamespm__ has quit [Ping timeout: 480 seconds]
00:54jacksonchen666 has quit [Ping timeout: 480 seconds]
00:55jacksonchen666 has joined #asahi-alt
00:55swaggie has joined #asahi-alt
01:17Doliometer has quit [Remote host closed the connection]
01:36lea_ has joined #asahi-alt
01:37lea_ has quit []
01:47leaneko has joined #asahi-alt
01:52leaneko has quit [Quit: Textual IRC Client: www.textualapp.com]
01:56leaneko has joined #asahi-alt
01:58leaneko has quit [Quit: Textual IRC Client: www.textualapp.com]
02:35kode54 has quit [Quit: Ping timeout (120 seconds)]
02:35kode54 has joined #asahi-alt
02:43kode54 has quit [Quit: Ping timeout (120 seconds)]
02:43KDDLB has quit [Quit: Ping timeout (120 seconds)]
02:58Doliometer has joined #asahi-alt
03:05DoliometerGlanzmann, 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.
03:39KDDLB has joined #asahi-alt
03:44kode545 has joined #asahi-alt
03:44kode545 is now known as kode54
05:13jamespmo_ has joined #asahi-alt
05:18kode54 has quit [Quit: Ping timeout (120 seconds)]
05:18KDDLB has quit [Quit: Ping timeout (120 seconds)]
05:18KDDLB has joined #asahi-alt
05:19kode54 has joined #asahi-alt
05:19jamespmorgan has quit [Ping timeout: 480 seconds]
05:37Glanzmann has joined #asahi-alt
05:39GlanzmannDoliometer: 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
05:39GlanzmannMy sudoers looks like that, my username is 'sithglan': https://pbot.rmdir.de/3e1fdlNLA59BMaEhLGdI7A
05:40GlanzmannAlso make sure that you have 'light' installed: apt install -y light
05:40GlanzmannLet us knwo if it works for you.
08:19ahdeb[m]just adding a user to the sudo group is easier and safer than editing the sudo configuration... su -c adduser foobar sudo
08:20kode54 has quit [Quit: Ping timeout (120 seconds)]
08:21kode54 has joined #asahi-alt
08:21mps_hm, on alpine I solved this by adding normal user to video group, not need for sudo
08:27ahdeb[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.
08:48kode54 has quit [Quit: Ping timeout (120 seconds)]
08:48KDDLB has quit [Quit: Ping timeout (120 seconds)]
09:40jannauDoliometer: 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
09:41jannauthere are workarounds for that in place but those don't work reliable on X11
10:45kallisti has joined #asahi-alt
10:45dgb has joined #asahi-alt
10:48mps_untar it with tar
10:48mps_and you will find 'usr/share/OVMF/QEMU_EFI.fd' file
10:49mps_move QEMU_EFI.fd to your working dir
10:49dgb has quit [Quit: dgb]
10:50mps_and then try as root or with sudo this https://tpaste.us/QNVb script
10:50mps_I'm going to prepare black tea now
10:51kallistimps_: thanks. I will give it a shot. Should be under 5 minutes.
10:52mps_ncopa: fyi, we lost ovmf pkg in latest release
10:52cy8aer@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.
10:57kallistimps_: I am booted into the environment
10:58kallisti -drive if=virtio,id=hd1,format=raw,file=/dev/disk0s6 \
10:58kallistishould I see a device `hd1`?
10:59swaggie has quit [Remote host closed the connection]
10:59swaggie has joined #asahi-alt
10:59kallistiI don't see it. But I do see /dev/disks*
11:00kallistiShould I just try mounting disk0s6?
11:00kallistiThink I need to chroot the env
11:02kallistiwrong, I was looking in the wrong terminal. I don't see the /dev/disks* devices
11:02KDDLB has joined #asahi-alt
11:05kode54 has joined #asahi-alt
11:06kallisti[ 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)
11:07kallisti[ 0.455711] EXT4-fs (vdb): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
11:08swaggie has quit [Ping timeout: 480 seconds]
11:09kallistiSo assume I just need to mount vdb and passwd --root MOUNT_POINT USER_NAME
11:09mps_kallisti: so you booted it?
11:09kallistiyeah i am booted into it. Those are dmesg lines above
11:10mps_yes, vdb should be you asahi partition
11:10kallistiyeah it says mounted in dmesg or whatever but i don't see that via mount
11:11mps_cat /proc/mounts
11:13kallistiI mounted it manually
11:13kallistiseems to have mounted
11:13mps_so, last thing is to change password
11:15kallistiyeah, it looks like it doesn't support the --root parameter
11:15kallistiso I can't set the mount directory as root to change the password
11:15mps_yes, it is busybox passwd applet
11:16kallistiSo then I assume I actually need to chroot into the environment to change it
11:16mps_I don't have idea, I always change password with VI editor
11:18kallisti? like edit /etc/passwd?
11:19mps_'root::19344:0:::::' in my /etc/shadow :)
11:20kallistils -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-
11:21kallistiseems to be two of them
11:21mps_this with '-' at end is backup
11:22kallistiOk. Then I guess I'm just going to wipe out whatever looks like a hash. looks like there are two of them.
11:23mps_in shadow file second field is hashed and salted password
11:23kallistiso if I wipe them out, then I will just be able to login without a password?
11:24mps_kallisti: yes, if your distro does not try to be smart
11:24kallistiit's the asahi default -> arch linux arm
11:24mps_never tried to install it
11:25kallistiLooks like some users are like usbmux:!*
11:25kallistiperhaps no login?
11:26mps_yes, forbidden login
11:26kallistiLooks like some users are like usbmux:*
11:26kallistiand some without either
11:27kallistiwell guess i'm ready to write it and try to reboot and see if I can login
11:28kallistithanks for the help mps_ . I will give that a shot and come back and let you know if it worked.
11:28mps_so 'root::............' should allow paswordless login for root
11:29mps_not blindly as I typed it
11:29mps_I mean, second field is empty
11:30kallistiI just tried to wipe my user account
11:30kallistidon't think i had a root password set
11:30swaggie has joined #asahi-alt
11:30kallistiright well time to give it a shot
11:30mps_ok, good luck
11:30kallisti has quit [Quit: brb]
11:36kallisti has joined #asahi-alt
11:36kallistimps_: looks like the password reset worked. Thank you kindly for all the help!
11:37mps_kallisti: np, you are welcome
11:38mps_ is now known as mps
11:39mpsncopa: ok, found it, it is renamed to aavmf
11:40mpsand don't see it in release notes
11:40kallistiheading out. it's almost 4am here. I'll come back again and reach out then.
11:40kallisti has quit []
11:41swaggie has quit [Ping timeout: 480 seconds]
11:49swaggie has joined #asahi-alt
12:00cylm_ has joined #asahi-alt
12:07swaggie has quit [Ping timeout: 480 seconds]
12:18swaggie has joined #asahi-alt
12:20Glanzmannmps: with the latest mesa changed mpv -vo gpu improved a lot for me.
12:20GlanzmannWhen I use compton I also don't have tearing with my worst video https://tg.st/u/man_over_bord_small.mp4
12:22mpsGlanzmann: yes, also with '-vo=gpu-next' it is better
12:23Glanzmannmps: For me it is worst with -vo=gpu-next.
12:23GlanzmannAt lease with my test video.
12:25GlanzmannAlso something seems to change regarding dcp performance.
12:25GlanzmannPreviously when I resized windows it was very slow. But that problem is also gone.
12:25GlanzmannOnly thing that still gives me trouble is xfreerdp. It is very slow and sometimes don't draw areas of the screen.
12:28swaggie has quit [Ping timeout: 480 seconds]
12:31mpsGlanzmann: hm, so we have opposite with gpu-next, interesting and I have no idea why
12:32GlanzmannIs this fast for you with mpv -vo gpu-next?
12:32GlanzmannIf so, then I'll compile the most recent mpv and try again.
12:33mpsGlanzmann: yes, it tears with gpu
12:34Glanzmannmps: For me with compton in fullscreen, I don't see tearing.
12:34GlanzmannHowever 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.
12:35Glanzmannmps: But with -vo gpu it is now using only 250% CPU before it was almost 800%.
12:35mpsfor me works fine with -vo xv and x11
12:35GlanzmannWith -vo gpu-next it is back to 800% CPU for me.
12:35Glanzmannmps: 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.
12:35mpshm, I see new commits in mesa, maybe should rebuild now
12:36GlanzmannI 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 ...
12:37Glanzmannahdeb[m] / Doliometer I also added my user to the group 'video' that way I no longer need the sudo for 'light'.
12:38mpsnow building mesa again, will rerun tests in a minutes
12:38Glanzmannmps: Let me know.
12:39Glanzmannahdeb[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?
12:46mpsGlanzmann: ah yes, it is now a lot better with -vo=gpu
12:48mpsand now gpu-next is worse
12:49GlanzmannYep. Same for me.
12:50Glanzmannmps: 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.
12:51mpsGlanzmann: resizing window was always fine for me
12:51mpscould be because I don't use any borders or decors for windows
12:52mpsok, there were for few days lag with one of DCP/DRM versions
12:52mpslag when maximizing windows
12:53Glanzmannmps: Yep. This is waht I meant. It is gone for me now.
12:53Glanzmannxfreerdp is also more usable with: xfreerdp /u:Administrator /p:'Pa$$w0rd' -grab-keyboard /cert-ignore /f /bpp:32 /v:localhost:4000 -gfx /rfx
12:53mpsit's gone for me with first gpu version I tried
12:53GlanzmannSo the last two options '-gfx /rfx' improve it a lot. But I still sometimes have screen arefacts.
12:54Glanzmannmps: Interesting. For me it is gone only very recently. Maybe it were the gpu changes marcan did in the last stream. No idea.
12:54GlanzmannBut since I have not pulled a new kernel it needs to be something related to mesa.
12:55mps(don't force me to go back ;) )
12:58GlanzmannI won't. :-)
13:02Dcow has joined #asahi-alt
13:11Dcow has quit [Ping timeout: 480 seconds]
13:13Dcow has joined #asahi-alt
13:24Dcow has quit [Ping timeout: 480 seconds]
13:42Dcow has joined #asahi-alt
13:57Dcow has quit [Ping timeout: 480 seconds]
14:26Dcow has joined #asahi-alt
14:34Dcow has quit [Ping timeout: 480 seconds]
14:59Dcow has joined #asahi-alt
15:08Dcow has quit [Ping timeout: 480 seconds]
15:21swaggie has joined #asahi-alt
15:25Doliometer has quit [Remote host closed the connection]
15:29swaggie has quit [Ping timeout: 480 seconds]
15:33Dcow has joined #asahi-alt
15:42Dcow has quit [Ping timeout: 480 seconds]
17:00swaggie has joined #asahi-alt
17:03Doliometer has joined #asahi-alt
17:08swaggie has quit [Ping timeout: 480 seconds]
17:16cylm has joined #asahi-alt
17:18swaggie has joined #asahi-alt
17:18cylm_ has quit [Ping timeout: 480 seconds]
17:27swaggie has quit [Ping timeout: 480 seconds]
17:28DoliometerGlanzmann, 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.
17:30Dcow has joined #asahi-alt
17:38Dcow has quit [Ping timeout: 480 seconds]
18:05Dcow has joined #asahi-alt
18:13Dcow has quit [Ping timeout: 480 seconds]
19:51swaggie has joined #asahi-alt
19:56cylm_ has joined #asahi-alt
20:02cylm has quit [Ping timeout: 480 seconds]
20:07Dcow has joined #asahi-alt
20:21dgb has joined #asahi-alt
20:56swaggie has quit [Ping timeout: 480 seconds]
21:20zzywysmtpw_rules: i've posted some pull requests for your NixOS setup: https://github.com/tpwrules/nixos-m1/pulls
21:23dgb has quit [Quit: dgb]
21:34swaggie has joined #asahi-alt
21:42swaggie has quit [Ping timeout: 480 seconds]
22:38ahdeb[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.
22:40ahdeb[m]there's also git-buildpackage which can use cowbuilder (or sbuild too I assume) behind the scenes.
22:55swaggie has joined #asahi-alt
23:03swaggie has quit [Ping timeout: 480 seconds]
23:09Dcow has quit [Remote host closed the connection]
23:24Dcow has joined #asahi-alt
23:32Dcow has quit [Ping timeout: 480 seconds]
23:43jamespmorgan has joined #asahi-alt
23:50jamespmo_ has quit [Ping timeout: 480 seconds]
…