#
…

2022-05-15

00:00tiagom has quit [Quit: WeeChat 3.5]
00:00tiagom has joined #asahi
00:04yyyyyyyyyydltdsea^ has quit [Remote host closed the connection]
00:14StephanvanSchaik has quit [Remote host closed the connection]
00:19StephanvanSchaik has joined #asahi
00:27rrrrrrrrrrrrrrrrrrrrrrdltdsea^ has joined #asahi
00:31tiagom has quit [Ping timeout: 480 seconds]
01:17nicolas17I had seen him in ccc talks
01:36darkapex1 has joined #asahi
01:39darkapex has quit [Ping timeout: 480 seconds]
01:46kode54watched the whole thing
02:01Bai-Chiang has quit [Ping timeout: 480 seconds]
02:02rrrrrrrrrrrrrrrrrrrrrrdltdsea^ has quit [Remote host closed the connection]
02:09linearcannon has joined #asahi
02:12phiologe has joined #asahi
02:15PhilippvK has quit [Ping timeout: 480 seconds]
03:06Telvana has quit [Ping timeout: 480 seconds]
03:16Telvana has joined #asahi
03:37marvin24 has joined #asahi
03:41marvin24_ has quit [Ping timeout: 480 seconds]
03:52nicolas17 has quit [Quit: Konversation terminated!]
04:08yyyyyyyyyyyyyyyyyyyyyydltdsea^ has joined #asahi
04:32loliy has joined #asahi
04:38farzit has quit [Ping timeout: 480 seconds]
04:38Ry_Darcy has joined #asahi
06:14Ry_Darcy has quit [Remote host closed the connection]
06:14Ry_Darcy has joined #asahi
06:17Ry_Darcy has quit [Remote host closed the connection]
06:29mipi[m]I tried out Darktable. It's running nicely on Apple M1. For building it I used the original PKGBUILD and just added aarch64 to the architectures array. I just requested to add that package to Arch Linux ARM.
06:32Ry_Darcy has joined #asahi
06:45enick_60 is now known as Skirmisher[m]
07:11darkapex1 has quit [Ping timeout: 480 seconds]
07:21chengsun has joined #asahi
07:32giskard has joined #asahi
07:37cmalvi[m]<mipi[m]> "I tried out Darktable. It's..." <- Thank you, i think is always a good news if a new software is added to repo :)
08:10chengsun has quit [Ping timeout: 480 seconds]
08:14chengsun has joined #asahi
08:15ciggi has quit [Read error: Connection reset by peer]
08:16ciggi has joined #asahi
08:18jluthra has quit [Remote host closed the connection]
08:19jluthra has joined #asahi
08:29eroux has joined #asahi
08:56cmalvi[m]* from pacman before build
09:14cmalvi[m]Does anyone tried to setup canon scanner? I have a canon ts5150, no problem with printing because i have the correct ppd but scanner isn't detected and i can't install scangear due to unavaiability for aarch64 of required dependencies
09:18m1n1m4[m]<j`ey> "Anthony Glyadchenko: mps..." <- I tried gnome and it worked just fine BTW
09:23Ry_Darcy has quit [Remote host closed the connection]
09:23mpsmipi[m]: yes, on alpine nearly everything works out-of-the-box
09:23* mpswonders why m_arcan didn't selected alpine :)
09:46m1n1m4[m]Very interesting also that RUST is going to the kernel, lots of cool stuff happening!
09:55djorz has joined #asahi
09:57* mpshate rust in kernel
10:17m1n1m4[m]I do not want to go too much off topic here, but seems like a brilliant idea to sanitize and bring safety by default to anyone. I mean i love assembly and C but with RUST overall advantages i must agree. :D
10:17m1n1m4[m]Torvalds didn't seem horrified at the idea—in fact, he requested that Rust compiler availability be enabled by default in the kernel-build environment. This didn't mean that Rust-code submissions would be accepted into the kernel willy-nilly. Enabling automatic checks for Rust-compiler presence simply meant that it should be as easy as possible to get any potential submissions built (and automatically tested) properly like any other kernel
10:17m1n1m4[m]code would.
10:31m1n1m4[m]The top vulns have been there for decades, i agree it is time our industry embraces newer solutions, for the benefit of all. RUST is an exciting project, growing side by side with totally new and faster firefox. ALSO its community is growing really fast!
10:34kettenisgood luck building a kernel with some rust code included natively on an arm64 board with 512MB of memory
10:39paciento[m]<m1n1m4[m]> "I do not want to go too much off..." <- Which is why I am curious about constructive suggestions of why not to introduce Rust in OS kernels
10:40ciggi has quit [Read error: No route to host]
10:47ChaosPrincesscompiler slow, llvm supports less platforms than linux does, users do not want to install an extra compiler, programmers being afraid that they will have to learn rust
10:55___nick___ has joined #asahi
10:55ciggi has joined #asahi
10:55___nick___ has quit []
10:57___nick___ has joined #asahi
11:29m1n1m4[m]ChaosPrincess: Regarding learning resources for RUST, i had a look at them some months ago and i was impressed with the docs, and learning videos, conferences and online learning platform. Really this is something a lot of people is giving a lot of attention. https://www.rust-lang.org/
11:32m1n1m4[m]Great community effort also
11:34m1n1m4[m]Everything well organized and pretty much in one place.
11:36cmalvi[m]Can I resize the asahi and macOS partition after asahi install safely? I’d like to give more space to Linux partition
11:47mazkettenis: and good luck finding a definition of the memory model for C and Rust interactions. what seems to work on x86 in very unlikely to work on arm64...
11:47mazs/in/is/
11:47ChaosPrincesscmalvi[m]: yea, but its gonna be hard to grow the linux partition, you will have to boot from usb and move the linux partition backwards
11:48cmalvi[m]ChaosPrincess: So i cannot just resize using disk partition from macOS?
11:48ChaosPrincessyou can shrink the macos partition from that
11:49mazcmalvi[m]: you can resize partitions, but resizing the FS has to happen from within Linux.
11:49cmalvi[m]ChaosPrincess: and then i can use gParted to grow the linux partition?
11:49ChaosPrincessyes, but you most likely will have to perform an offline grow
11:49ChaosPrincesssince the linux partition is after macos
11:50ChaosPrincessimo, tar up your linux install, nuke/reinstall it, and untar the backup
11:50ChaosPrincesswould be easier
11:50cmalvi[m]ChaosPrincess: i think i haven't undestood well this part
11:51cmalvi[m]ChaosPrincess: sure but maybe is a good change to lean something new
11:51ChaosPrincessso, [macos][linux] -> [macos][empty][linux] -> [macos][linux][empty] -> [macos][linux]
11:51ChaosPrincessthis are the things you need to do
11:52kettenisthere is that pesky ESP (EFI System Partition) to deal with as well
11:53ChaosPrincesswell, [linux] is actually [apfs stub][esp][linux rootfs][swap or something i guess]
11:53cmalvi[m]ok let me recap so i can figure if i understood correctly:
11:53cmalvi[m]- shring macOS partition from macOS (macOS gui tool is good?)
11:53cmalvi[m]- move empty partition at the end from gParted (from linux)
11:53ChaosPrincessyes, but use console diskutil
11:53cmalvi[m] * ok let me recap so i can figure if i understood correctly:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/vcYpdkWKTBUYIPoBcyIdzQmE)
11:54cmalvi[m]ChaosPrincess: ok i'll give a try thank you
12:03eroux has quit [Quit: Textual IRC Client: www.textualapp.com]
12:09eroux has joined #asahi
12:19cmalvi[m]<ChaosPrincess> "yes, but use console diskutil" <- Sorry for bothering you, but i can't figure out the correct use for diskutil apfs, i'm supplying the correct volume (disk4s5) but it need a "container reference disk or a physical store disk"
12:20firefox317_ has quit [Ping timeout: 480 seconds]
12:21mpsrust is terrible even for userspace, for kernel it is disaster (sorry for OT). security is in 'mind of programmer and not tools'
12:21yyyyyyyyyyyyyyyyyyyyyydltdsea^ has quit [Remote host closed the connection]
12:22Core8584 has joined #asahi
12:23cmalvi[m]> <@_oftc_ChaosPrincess:matrix.org> yes, but use console diskutil
12:23cmalvi[m]Edit: seems i'm doing it, hope it will works 😂
12:23cmalvi[m] * Sorry for bothering you, but i can't figure out the correct use for diskutil apfs, i'm supplying the correct volume (disk4s5) but it need a "container reference disk or a physical store disk"
12:26ChaosPrincessmps: yea, who needs a seat belt, just drive carefully, lol
12:29m1n1m4[m]ChaosPrincess: :D, it would obsolete roads...
12:32mpsChaosPrincess: right, never liked nor needed seat belts
12:33mpswe can continue on #asahi-offtopic
12:43tiagom has joined #asahi
12:44Core8584 has quit [Quit: CoreIRC for Android - www.coreirc.com]
12:46cmalvi[m]Seems i can't move the linux data partition...strange
12:48ChaosPrincessare you booted from it?
12:50cmalvi[m]in my other pc, if i recall correctly, i haven't any problem doing it
12:54ChaosPrincesswell, you shouldnt be, boot from a usb instead
12:54Bai-Chiang has joined #asahi
12:54cmalvi[m]oh ok thank you
12:55norris[m]are thunderbolt ports supported on macboook airs yet sorry havent checked docs in awhile
12:55j`eynorris[m]: no
12:55ChaosPrincessusb2 is supported, usb3 is somewhere out there, thunderbolt isnt at all
12:56norris[m]im doomed
12:56j`eywe all are
12:57bakk[m]Is there some estimation of when gpu acceleration is going to work well for simple desktop use? I'm struggling to understand how much progress has been done
12:58bakk[m]I'm just waiting for brightness control and preferable some gpu acceleration, before trying it out
12:59j`eyI suspect Lina might get something basic working in the next month or so?
12:59bakk[m]Oh wow exciting!
13:00j`eyjust a guess, from watching the streams and stuff
13:00bakk[m]Yeah of course, I understand that it's difficult to estimate these things
13:00mpsinteresting thing is that I yesterday built kernel with filesystem on external usb ssd disk, it took about 5-6 minutes
13:00jannaubrightness control is in dcp, I know how it works on my mbp 14" but I haven't tried it yet
13:01jannauj`ey: wasn't the conservative estimate in the floss weekly "this year"
13:02j`eyyeah, I just meant that I can imagine something really basic working soon, rather than just the current streams which is all about tracing
13:04bakk[m]Something that's at least a bit better than what it's like now would be neat
13:05j`eymaybe displaying a triangle with m1n1 or something
13:06bakk[m]Oh from the flossdaily talk: "we're going to go from nothing in Linux to accelerate desktop in probably a few weeks... *once the kernel driver gets to that point*"
13:07j`eythat's not a few weeks from now :P
13:11opticronthe big one for me is suspend, that's really the critical thing I need to make it a daily driver
13:11opticronafter that, it's speakers and then GPU
13:12j`eydont use wifi, and suspend to idle works :P
13:16cmalvi[m]how can i boot my macbok air m1 from a usb to resize partition?
13:21j`eyjannau: btw can you treat DCP like a simple fb? I was just wondering if you could create a really simple/dumb driver
13:23norris[m]<cmalvi[m]> "how can i boot my macbok air..." <- probably just boot into recovery mode and use disk utils
13:24jannauhow would that differ from simpledrm?
13:24cmalvi[m]norris[m]: i need to resize the asahi partition
13:25cmalvi[m]Already moved the other partiiton, now i just need to merge [unallocated] and [asahi]
13:26cmalvi[m]but i can't do it from linux neither from macOS (because macOS can't do those operation on ext4)
13:27cmalvi[m]so i'm trying to make an usb live but i can't find what iso i can use for this
13:27j`eyjannau: well it could include brightness control
13:27j`eyjannau: and might be easier as an incremental thing, in terms of getting people using DCP sooner
13:29tiagom has quit [Ping timeout: 480 seconds]
13:31jannauI don't see how that would make things simpler. brightness control still needs the full dcp rpc interface
13:31j`eyfair enough, was just a thought
13:39jannauthere's not that much to do to have dcp in state for testing. I was working on other stuff and waited for the dt bindings for the bootloader mappings
13:42mpscmalvi[m]: i have ready img to be dd-ed to usb and boot https://arvanta.net/alpine/install-alpine-m1/
13:42mpsthough it is alpine and not arch linux
13:42mpsbut it contains resize2fs binary
13:43cmalvi[m]never used alpine ahah but i hope there is a tool to do it thanks
13:43cmalvi[m]like gparted
13:43mpsfdisk is there
13:43mpsand resize2fs
13:44skipwich has quit [Quit: DISCONNECT]
13:45mpsthough I didn't used resize2fs, so not sure will it work, but don't see why wouldn't
13:51cmalvi[m]resize2fs semms not avaiable
13:51cmalvi[m]s/semms/seems/
13:54cmalvi[m]and from fdisk i can't move partition
13:55mpscmalvi[m]: apk add e2fsprogs-extra
13:55mpsbut first install wifi firmware and set up wifi
13:56mpsI tried to make this usb image small as possible
13:56skipwich has joined #asahi
13:57cmalvi[m]mps: sorry i can ask you how?
13:57mpscmalvi[m]: read the guide there, it is short
13:58cmalvi[m]oh you're right, i forgot to keep it open
14:00mpstwo days ago I tested install again and have some improvements but didn't yet updated guide to be simpler, but if you basic unix/linux knowledge it shouldn't be complicated
14:00mpss/you/you have/
14:01cmalvi[m]no isn't a problem for me, i've just forgot to keep the page open
14:02cmalvi[m]also italian layout keyboard doen't help me in those cases ahah
14:02mpscmalvi[m]: signore e italliano?
14:04mpsio studiato italliono ma dimenticato troppe perche non usato molto
14:04mpstroppo*
14:05cmalvi[m]"cd /lib/firmware && tar xvf /mnt/vendorfw/firmware.tar" no such file or directory
14:06mpscmalvi[m]: there is update-vendor-firmware in /root
14:06cmalvi[m]mps: on your own or at school?
14:07mpsbut it expects nvme uefi partition mounted in /mnt
14:07cmalvi[m]i've mounted it in mnt
14:08mpsnot in school, in my free time perche mi molto piace cultura italliana (I like italian culture)
14:08mpsthen you run `sh update-vendor-firmware`
14:09cmalvi[m]i've mounted the wrong partition before 🤦
14:10mpsheh, happens
14:11mpsmaybe I should extend this img more to be used as general rescue system
14:11mpsnot sure what tools to add
14:15leo60228 has quit [Quit: ZNC 1.8.2 - https://znc.in]
14:15leo60228 has joined #asahi
14:20cmalvi[m]ok resize2fs installed
14:29timetheory[m]What updates has there been since the last alpha release? Couldn’t find any “monthly progress updates” since March
14:29AdryzzOLEDEdition[m]i saw some italian and i got scared
14:30j`eytimetheory[m]: upstreaming work, and GPU RE
14:30cmalvi[m]AdryzzOLEDEdition[m]: why? 😂
14:30AdryzzOLEDEdition[m]because i am italian
14:30AdryzzOLEDEdition[m]and i did not expect it here
14:31mpscmalvi[m]: does resize2fs worked?
14:32timetheory[m]j`ey: Any concrete new user features or just behind the scenes stuff?
14:32cmalvi[m]mps: seems not suitable for my case
14:32j`eytimetheory[m]: behind the scenes
14:32mpscmalvi[m]: I didn't used resize2fs for few years, 5-8 iirc
14:33cmalvi[m]because i already have an empty partition that is placed before the linux partition, and i need to merge those two
14:33ChaosPrincessyou need to use gparted
14:33ChaosPrincesscan't grow ext4 backwards
14:33cmalvi[m]so a graphical live environment would be perfect to use gparted
14:33cmalvi[m]ChaosPrincess: yes
14:33mpscmalvi[m]: apk add gparted
14:34mpsuhm, no
14:34cmalvi[m]mps: with no gui?
14:34mpsgparted is gui, doesn't make sense install it on this small system
14:35cmalvi[m]yes i know
14:35mpsmaybe gptfdisk could do this
14:36ChaosPrincessiirc it can't move partitions eithr
14:36mpsbut I don't know
14:36cmalvi[m]but i can do a thing
14:36cmalvi[m]grow the usb partition to all the usb device so i can install a desktop environment like kde or another else and after use gparted from here
14:38mpsyes, this could help
14:40cmalvi[m]gnome give me error so i''m going with kde
14:40cmalvi[m] * gnome gave me error for dependencies so i''m going with kde
14:43cmalvi[m]mps: can i write you in private to suggest some improvement to use as an rescue iso?
14:44mpscmalvi[m]: https://arvanta.net/alpine/install-x/ this is outdated but could give hints to install xfce on alpine
14:44mpscmalvi[m]: sure, and thanks in advance
14:44cmalvi[m]so we don't full this channel about off topic
15:35Moprius has joined #asahi
15:42nicolas17 has joined #asahi
15:44loliy has quit [autokilled: This host violated network policy. Contact support@oftc.net for further information and assistance. (2022-05-15 15:44:18)]
15:54c10l has quit [Quit: Bye o/]
15:54c10l has joined #asahi
16:08kov has joined #asahi
16:12eroux_ has joined #asahi
16:14eroux has quit [Read error: No route to host]
16:28tiagom has joined #asahi
16:52tiagom has quit [Ping timeout: 480 seconds]
17:18eroux_ has quit []
17:36holyspirit[m] has joined #asahi
17:36eroux has joined #asahi
17:42axboe has quit [Remote host closed the connection]
18:05tiagom has joined #asahi
18:08timokrgr has quit [Quit: User left the chat]
18:12timokrgr has joined #asahi
18:19eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:31murlachmara[m] has joined #asahi
18:31eroux has joined #asahi
19:08giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
19:13eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:16eroux has joined #asahi
19:18eroux has quit []
19:25Telvana has quit []
19:26Telvana has joined #asahi
20:08___nick___ has quit [Ping timeout: 480 seconds]
20:19bakk[m]Does btrfs work with asahi?
20:25mpsbakk[m]: if it is enabled in kernel there is no reason to not work
20:27bakk[m]It's on the "software known to have issues with 16k page size" wiki page, with the following text: "blocksize==pagesize works, 4K blocksize support with 16K pages needs more work"
20:27bakk[m]I guess this means it would work fine if you set the blocksize to 16k?
20:28mpsbakk[m]: I know that f2fs doesn't work with 16K
20:28bakk[m]Ohh nice
20:28mpsdidn't checked btrfs
20:50Bai-Chiang has quit [Quit: Konversation terminated!]
20:53garret has joined #asahi
20:54kode54mps: btrfs must be made with the smallest page size you're going to use, otherwise it won't work with smaller page sizes
20:54kode54ie. you can specify 4k when creating it
20:58mpskode54: thanks. but as I reading kernel commits on every update and seeing a lot of changes for btrfs I don't dare to use it
20:58kode54it's probably not a good idea to use an unstable FS anyway
20:58kode54I briefly used it on my NAS, which was a bad idea
20:59kode54converting storage from ZFS to btrfs by removing a mirror and stashing files across
20:59kode54the resulting btrfs volume took two minutes to mount on every boot
20:59kode54I got tired of that real quick
21:10nicolas17btrfs stories seem to be "worked fine for me" or "I had catastrophic data loss and couldn't recover from it" with nothing in between :P
21:13cds has joined #asahi
21:13Cy8aer[m]btrfs and RAID? hm... but I guess you will not raid on the macs by now?
21:17Cy8aer[m]there was just a post on planet debian: https://anarc.at/blog/2022-05-13-brtfs-notes/
21:18Cy8aer[m]But I use btrfs for years now and never had problems unless the fs is nearly full.
22:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
22:02yrlf has joined #asahi
22:37Telvana has quit [Read error: Connection reset by peer]
23:00Telvana has joined #asahi
…