marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | https://asahilinux.org/2022/03/asahi-linux-alpha-release/ | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
tiagom has quit [Quit: WeeChat 3.5]
tiagom has joined #asahi
yyyyyyyyyydltdsea^ has quit [Remote host closed the connection]
StephanvanSchaik has quit [Remote host closed the connection]
StephanvanSchaik has joined #asahi
rrrrrrrrrrrrrrrrrrrrrrdltdsea^ has joined #asahi
tiagom has quit [Ping timeout: 480 seconds]
<nicolas17> I had seen him in ccc talks
darkapex1 has joined #asahi
darkapex has quit [Ping timeout: 480 seconds]
<kode54> watched the whole thing
Bai-Chiang has quit [Ping timeout: 480 seconds]
rrrrrrrrrrrrrrrrrrrrrrdltdsea^ has quit [Remote host closed the connection]
linearcannon has joined #asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
Telvana has quit [Ping timeout: 480 seconds]
Telvana has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Quit: Konversation terminated!]
yyyyyyyyyyyyyyyyyyyyyydltdsea^ has joined #asahi
loliy has joined #asahi
farzit has quit [Ping timeout: 480 seconds]
Ry_Darcy has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
Ry_Darcy has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
<mipi[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.
Ry_Darcy has joined #asahi
enick_60 is now known as Skirmisher[m]
darkapex1 has quit [Ping timeout: 480 seconds]
chengsun has joined #asahi
giskard has joined #asahi
<cmalvi[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 :)
chengsun has quit [Ping timeout: 480 seconds]
chengsun has joined #asahi
ciggi has quit [Read error: Connection reset by peer]
ciggi has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
eroux has joined #asahi
<cmalvi[m]> For anyone interested in use pamac:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/xYqBVbxofncgXSWPDmWogOca)
<cmalvi[m]> * from pacman before build
<cmalvi[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
<m1n1m4[m]> <j`ey> "Anthony Glyadchenko: mps..." <- I tried gnome and it worked just fine BTW
Ry_Darcy has quit [Remote host closed the connection]
<mps> mipi[m]: yes, on alpine nearly everything works out-of-the-box
* mps wonders why m_arcan didn't selected alpine :)
<m1n1m4[m]> Very interesting also that RUST is going to the kernel, lots of cool stuff happening!
djorz has joined #asahi
* mps hate rust in kernel
<paciento[m]> Why?
<m1n1m4[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
<m1n1m4[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
<m1n1m4[m]> code would.
<m1n1m4[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!
<kettenis> good luck building a kernel with some rust code included natively on an arm64 board with 512MB of memory
<paciento[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
ciggi has quit [Read error: No route to host]
<ChaosPrincess> compiler 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
___nick___ has joined #asahi
ciggi has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
<m1n1m4[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/
<m1n1m4[m]> Great community effort also
<m1n1m4[m]> Everything well organized and pretty much in one place.
<cmalvi[m]> Can I resize the asahi and macOS partition after asahi install safely? I’d like to give more space to Linux partition
<maz> kettenis: 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...
<maz> s/in/is/
<ChaosPrincess> cmalvi[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
<cmalvi[m]> ChaosPrincess: So i cannot just resize using disk partition from macOS?
<ChaosPrincess> you can shrink the macos partition from that
<maz> cmalvi[m]: you can resize partitions, but resizing the FS has to happen from within Linux.
<cmalvi[m]> ChaosPrincess: and then i can use gParted to grow the linux partition?
<ChaosPrincess> yes, but you most likely will have to perform an offline grow
<ChaosPrincess> since the linux partition is after macos
<ChaosPrincess> imo, tar up your linux install, nuke/reinstall it, and untar the backup
<ChaosPrincess> would be easier
<cmalvi[m]> ChaosPrincess: i think i haven't undestood well this part
<cmalvi[m]> ChaosPrincess: sure but maybe is a good change to lean something new
<ChaosPrincess> so, [macos][linux] -> [macos][empty][linux] -> [macos][linux][empty] -> [macos][linux]
<ChaosPrincess> this are the things you need to do
<kettenis> there is that pesky ESP (EFI System Partition) to deal with as well
<ChaosPrincess> well, [linux] is actually [apfs stub][esp][linux rootfs][swap or something i guess]
<cmalvi[m]> ok let me recap so i can figure if i understood correctly:
<cmalvi[m]> - shring macOS partition from macOS (macOS gui tool is good?)
<cmalvi[m]> - move empty partition at the end from gParted (from linux)
<ChaosPrincess> yes, but use console diskutil
<cmalvi[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)
<cmalvi[m]> ChaosPrincess: ok i'll give a try thank you
eroux has quit [Quit: Textual IRC Client: www.textualapp.com]
eroux has joined #asahi
<cmalvi[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"
firefox317_ has quit [Ping timeout: 480 seconds]
<mps> rust is terrible even for userspace, for kernel it is disaster (sorry for OT). security is in 'mind of programmer and not tools'
yyyyyyyyyyyyyyyyyyyyyydltdsea^ has quit [Remote host closed the connection]
Core8584 has joined #asahi
<cmalvi[m]> > <@_oftc_ChaosPrincess:matrix.org> yes, but use console diskutil
<cmalvi[m]> Edit: seems i'm doing it, hope it will works 😂
<cmalvi[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"
<ChaosPrincess> mps: yea, who needs a seat belt, just drive carefully, lol
<m1n1m4[m]> ChaosPrincess: :D, it would obsolete roads...
<mps> ChaosPrincess: right, never liked nor needed seat belts
<mps> we can continue on #asahi-offtopic
tiagom has joined #asahi
Core8584 has quit [Quit: CoreIRC for Android - www.coreirc.com]
<cmalvi[m]> Seems i can't move the linux data partition...strange
<ChaosPrincess> are you booted from it?
<cmalvi[m]> yes
<cmalvi[m]> in my other pc, if i recall correctly, i haven't any problem doing it
<ChaosPrincess> well, you shouldnt be, boot from a usb instead
Bai-Chiang has joined #asahi
<cmalvi[m]> oh ok thank you
<norris[m]> are thunderbolt ports supported on macboook airs yet sorry havent checked docs in awhile
<j`ey> norris[m]: no
<ChaosPrincess> usb2 is supported, usb3 is somewhere out there, thunderbolt isnt at all
<norris[m]> im doomed
<j`ey> we all are
<bakk[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
<bakk[m]> I'm just waiting for brightness control and preferable some gpu acceleration, before trying it out
<j`ey> I suspect Lina might get something basic working in the next month or so?
<bakk[m]> Oh wow exciting!
<j`ey> just a guess, from watching the streams and stuff
<bakk[m]> Yeah of course, I understand that it's difficult to estimate these things
<mps> interesting thing is that I yesterday built kernel with filesystem on external usb ssd disk, it took about 5-6 minutes
<jannau> brightness control is in dcp, I know how it works on my mbp 14" but I haven't tried it yet
<jannau> j`ey: wasn't the conservative estimate in the floss weekly "this year"
<j`ey> yeah, I just meant that I can imagine something really basic working soon, rather than just the current streams which is all about tracing
<bakk[m]> Something that's at least a bit better than what it's like now would be neat
<j`ey> maybe displaying a triangle with m1n1 or something
<bakk[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*"
<j`ey> that's not a few weeks from now :P
<bakk[m]> Yea ofc
<opticron> the big one for me is suspend, that's really the critical thing I need to make it a daily driver
<opticron> after that, it's speakers and then GPU
<j`ey> dont use wifi, and suspend to idle works :P
<opticron> genius!
<cmalvi[m]> how can i boot my macbok air m1 from a usb to resize partition?
<j`ey> jannau: btw can you treat DCP like a simple fb? I was just wondering if you could create a really simple/dumb driver
<norris[m]> <cmalvi[m]> "how can i boot my macbok air..." <- probably just boot into recovery mode and use disk utils
<jannau> how would that differ from simpledrm?
<cmalvi[m]> norris[m]: i need to resize the asahi partition
<cmalvi[m]> Already moved the other partiiton, now i just need to merge [unallocated] and [asahi]
<cmalvi[m]> but i can't do it from linux neither from macOS (because macOS can't do those operation on ext4)
<cmalvi[m]> so i'm trying to make an usb live but i can't find what iso i can use for this
<j`ey> jannau: well it could include brightness control
<j`ey> jannau: and might be easier as an incremental thing, in terms of getting people using DCP sooner
tiagom has quit [Ping timeout: 480 seconds]
<jannau> I don't see how that would make things simpler. brightness control still needs the full dcp rpc interface
<j`ey> fair enough, was just a thought
<jannau> there'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
<mps> cmalvi[m]: i have ready img to be dd-ed to usb and boot https://arvanta.net/alpine/install-alpine-m1/
<mps> though it is alpine and not arch linux
<mps> but it contains resize2fs binary
<cmalvi[m]> never used alpine ahah but i hope there is a tool to do it thanks
<cmalvi[m]> like gparted
<mps> fdisk is there
<mps> and resize2fs
skipwich has quit [Quit: DISCONNECT]
<mps> though I didn't used resize2fs, so not sure will it work, but don't see why wouldn't
<cmalvi[m]> resize2fs semms not avaiable
<cmalvi[m]> s/semms/seems/
<cmalvi[m]> and from fdisk i can't move partition
<mps> cmalvi[m]: apk add e2fsprogs-extra
<mps> but first install wifi firmware and set up wifi
<mps> I tried to make this usb image small as possible
skipwich has joined #asahi
<cmalvi[m]> mps: sorry i can ask you how?
<mps> cmalvi[m]: read the guide there, it is short
<cmalvi[m]> oh you're right, i forgot to keep it open
<mps> two 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
<mps> s/you/you have/
<cmalvi[m]> no isn't a problem for me, i've just forgot to keep the page open
<cmalvi[m]> also italian layout keyboard doen't help me in those cases ahah
<mps> cmalvi[m]: signore e italliano?
<cmalvi[m]> si
<mps> io studiato italliono ma dimenticato troppe perche non usato molto
<mps> troppo*
<cmalvi[m]> "cd /lib/firmware && tar xvf /mnt/vendorfw/firmware.tar" no such file or directory
<mps> cmalvi[m]: there is update-vendor-firmware in /root
<cmalvi[m]> mps: on your own or at school?
<mps> but it expects nvme uefi partition mounted in /mnt
<cmalvi[m]> i've mounted it in mnt
<mps> not in school, in my free time perche mi molto piace cultura italliana (I like italian culture)
<mps> then you run `sh update-vendor-firmware`
<cmalvi[m]> i've mounted the wrong partition before 🤦
<mps> heh, happens
<mps> maybe I should extend this img more to be used as general rescue system
<mps> not sure what tools to add
leo60228 has quit [Quit: ZNC 1.8.2 - https://znc.in]
leo60228 has joined #asahi
<cmalvi[m]> ok resize2fs installed
<timetheory[m]> What updates has there been since the last alpha release? Couldn’t find any “monthly progress updates” since March
<AdryzzOLEDEdition[m]> i saw some italian and i got scared
<j`ey> timetheory[m]: upstreaming work, and GPU RE
<cmalvi[m]> AdryzzOLEDEdition[m]: why? 😂
<AdryzzOLEDEdition[m]> because i am italian
<cmalvi[m]> me too
<AdryzzOLEDEdition[m]> and i did not expect it here
<cmalvi[m]> 😂
<mps> cmalvi[m]: does resize2fs worked?
<timetheory[m]> j`ey: Any concrete new user features or just behind the scenes stuff?
<cmalvi[m]> mps: seems not suitable for my case
<j`ey> timetheory[m]: behind the scenes
<mps> cmalvi[m]: I didn't used resize2fs for few years, 5-8 iirc
<cmalvi[m]> because i already have an empty partition that is placed before the linux partition, and i need to merge those two
<ChaosPrincess> you need to use gparted
<ChaosPrincess> can't grow ext4 backwards
<cmalvi[m]> so a graphical live environment would be perfect to use gparted
<cmalvi[m]> ChaosPrincess: yes
<mps> cmalvi[m]: apk add gparted
<mps> uhm, no
<cmalvi[m]> mps: with no gui?
<mps> gparted is gui, doesn't make sense install it on this small system
<cmalvi[m]> yes i know
<mps> maybe gptfdisk could do this
<ChaosPrincess> iirc it can't move partitions eithr
<mps> but I don't know
<cmalvi[m]> but i can do a thing
<cmalvi[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
<mps> yes, this could help
<cmalvi[m]> gnome give me error so i''m going with kde
<cmalvi[m]> * gnome gave me error for dependencies so i''m going with kde
<cmalvi[m]> mps: can i write you in private to suggest some improvement to use as an rescue iso?
<mps> cmalvi[m]: https://arvanta.net/alpine/install-x/ this is outdated but could give hints to install xfce on alpine
<mps> cmalvi[m]: sure, and thanks in advance
<cmalvi[m]> so we don't full this channel about off topic
<cmalvi[m]> thanks
Moprius has joined #asahi
nicolas17 has joined #asahi
loliy has quit [autokilled: This host violated network policy. Contact support@oftc.net for further information and assistance. (2022-05-15 15:44:18)]
c10l has quit [Quit: Bye o/]
c10l has joined #asahi
<nicolas17> https://www.twitch.tv/asahigpu alyssa is streaming
kov has joined #asahi
eroux_ has joined #asahi
eroux has quit [Read error: No route to host]
tiagom has joined #asahi
tiagom has quit [Ping timeout: 480 seconds]
eroux_ has quit []
holyspirit[m] has joined #asahi
eroux has joined #asahi
axboe has quit [Remote host closed the connection]
tiagom has joined #asahi
timokrgr has quit [Quit: User left the chat]
timokrgr has joined #asahi
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
murlachmara[m] has joined #asahi
eroux has joined #asahi
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #asahi
eroux has quit []
Telvana has quit []
Telvana has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
<bakk[m]> Does btrfs work with asahi?
<mps> bakk[m]: if it is enabled in kernel there is no reason to not work
<bakk[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"
<bakk[m]> I guess this means it would work fine if you set the blocksize to 16k?
<bakk[m]> o
<mps> bakk[m]: I know that f2fs doesn't work with 16K
<bakk[m]> Ohh nice
<mps> didn't checked btrfs
<bakk[m]> ye
<Cy8aer[m]> > Does btrfs work with asahi?... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/bVekQHztszaPOsAlSvVegaYU)
Bai-Chiang has quit [Quit: Konversation terminated!]
garret has joined #asahi
<kode54> mps: btrfs must be made with the smallest page size you're going to use, otherwise it won't work with smaller page sizes
<kode54> ie. you can specify 4k when creating it
<mps> kode54: 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
<kode54> it's probably not a good idea to use an unstable FS anyway
<kode54> I briefly used it on my NAS, which was a bad idea
<kode54> converting storage from ZFS to btrfs by removing a mirror and stashing files across
<kode54> the resulting btrfs volume took two minutes to mount on every boot
<kode54> I got tired of that real quick
<nicolas17> btrfs 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
cds has joined #asahi
<Cy8aer[m]> btrfs and RAID? hm... but I guess you will not raid on the macs by now?
<Cy8aer[m]> there was just a post on planet debian: https://anarc.at/blog/2022-05-13-brtfs-notes/
<Cy8aer[m]> But I use btrfs for years now and never had problems unless the fs is nearly full.
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #asahi
Telvana has quit [Read error: Connection reset by peer]
Telvana has joined #asahi