ChanServ 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-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Techcable has joined #asahi
Techcable has quit [Remote host closed the connection]
Techcable has joined #asahi
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
<derzahl> im booting off an encrypted root now. yay, but it needs help...
<derzahl> first i get dropped into an emergency grub shell
<derzahl> i have to "set prefix=(hd0,gptX)/grub" and then "insmod normal ; normal"
<derzahl> where gptX = the boot partition
<derzahl> by default, prefix=(hd0,gptX)/boot/grub
<derzahl> anyone know how to fix this permanantly?
<bluetail[m]> could be wrong but is that something you could write into /etc/fstab ?
<chadmed> whatre the contents of /boot/grub/grub.cfg
<derzahl> i wouldnt think /etc/fstab would be involved but im open to being proven wrong
<derzahl> chadmed: you want me to post the full file?
<chadmed> on dpaste or pastebin or something
darkapex has joined #asahi
<chadmed> can you also paste the output of `mount` and lsblk
<chadmed> im thinking youve moved the /boot partition and grub still thinks its on the root filesystem
<Glanzmann> Phyx: In Debian, if grub hang it was the fbaa64.efi shim. Delete it and see if that works, if it doesn't use the monolithic grub from Debian. That works for sure: https://tg.st/u/grubaa64.efi drop me an email if you don't get it to work.
<Glanzmann> giskard: I don't have an API because as long as the dtb is not stable, we need to upgrade the kernel together with m1n1. So I have this script: curl -sL tg.st/u/ksh but there have been no user visiable changes for 4 weeks.
<Glanzmann> giskard: I hope that soon will be more upstreamed. After that we can use a vanilla kernel and Debian can pick it up. But probably that is more like a one to two year range.
<Glanzmann> giskard: s/API/apt repository/
<derzahl> chadmed: i did. i created a separate boot partition
<chadmed> did you then mount that to /boot in the filesystem and point the grub image to that?
<derzahl> but I thought grub should pick that up when I do a grub-install
<derzahl> oh, maybe i have to specify --boot-dir to grub-install?
<chadmed> it wont pick it up if you havent mounted it at /boot
Moprius has quit [Quit: Konversation terminated!]
<chadmed> furthermore after installing a new version of grub you need to run grub-mkconfig -o /boot/grub/grub.cfg
<chadmed> and obviously ensure your kernels and initrds are all in /boot
<derzahl> i have. its mounted
<derzahl> right, ive done all that stuff
<derzahl> but i forgot about specifying --boot-directory to grub install
<derzahl> i only specified --efi-directory
<derzahl> so maybe thats it?
<chadmed> you could try that yeah though if youve definitely mounted your new boot partition at /boot that shouldnt matter
<derzahl> yep, definely mounted. with /boot/efi on top of it
<derzahl> nope, didnt help
<chadmed> it may be something hard coded in the removeable boot image
<derzahl> i wonder if its something that the m1n1 thing passes
<chadmed> m1n1 does pass some stuff via chosen but i think that's just to identify the ESP, shouldnt affect /boot
<chadmed> shouldnt matter after u-boot has loaded the efi image
<derzahl> hm
<derzahl> oh...well, aits lready been reported
<derzahl> heh
<derzahl> guess they are hardcoding prefix in the update-grub script
<chadmed> oh easy change then :)
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chadmed has quit [Quit: Konversation terminated!]
user982492 has joined #asahi
user has joined #asahi
user is now known as Guest2602
Guest2602 is now known as wanderfull
derzahl has quit [Ping timeout: 480 seconds]
shieru[m] has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
chadmed has joined #asahi
CaptainYukinoshitaHachiman[m] has joined #asahi
Ry_Darcy has joined #asahi
derzahl has joined #asahi
derzahl has quit [Ping timeout: 480 seconds]
pg12_ has joined #asahi
pg12 has quit [Ping timeout: 480 seconds]
pg12_ has quit []
pg12 has joined #asahi
nicolas17 has quit [Quit: Konversation terminated!]
eroux has joined #asahi
YassineImounachen[m] has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
<asahi-test[m]> <mps_> "asahi-test: I wrote small..." <- thanks, i installed ff and invoking it, it asks me for the DISPLAY var which according to this:
<j`ey> asahi-test[m]: you still need X or Wayland
<asahi-test[m]> > <@asahi-test:matrix.org> thanks, i installed ff and invoking it, it asks me for the DISPLAY var which according to this:
<asahi-test[m]> I might not really need Xorg, DISPLAY=:0 firefox
<asahi-test[m]> j`ey: ys i read that DISPLAY will somehow point to X
<j`ey> asahi-test[m]: to be clear, mps uses a graphical environment.. just not KDE/GNOME etc
<asahi-test[m]> j`ey: OK, i see it' s just like a minimal window manager right?
<asahi-test[m]> how can i just install just X?
<asahi-test[m]> is X = (X)org?
<j`ey> yes
<asahi-test[m]> other than the browser and libreoffice and perhaps a pdf reader i do not need much more...
<j`ey> then use a minimal window manager
<asahi-test[m]> j`ey: xfce would be the more minimal, right?
<asahi-test[m]> asahi-test[m]: will follow mps guide here: https://arvanta.net/alpine/install-x/
<j`ey> that's its aim
<mps_> asahi-test[m]: do that what j`ey says, and read this https://arvanta.net/alpine/install-x/
<asahi-test[m]> mps_: I did, thanks
Ry_Darcy has joined #asahi
<mps_> but replace '3.12' there with 'edge'
<mps_> sorry 'v3.12' with 'edge'
Ry_Darcy has quit [Remote host closed the connection]
<asahi-test[m]> mps_: good, but if on these lines:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/rRRYtIShYePkWKmpDDqvuwmd)
Ry_Darcy has joined #asahi
<mps_> no, by this you set xfce as default window manager or DE
<asahi-test[m]> AHHH!
<asahi-test[m]> great!
<asahi-test[m]> will test, thanks brb
<mps_> and `/etc/init.d/slim start' is to start X display login manager manually
<mps_> if you want to start 'slim' (display manager) on boot you have to run `rc-update add slim'
<mps_> though I don't like to start it automatically, especially on testing machines, as is m1 for now
<asahi-test[m]> mps_: i normally do, but i'd rather not
<mps_> when the machine is stable it is ok to start it on boot automatically
<asahi-test[m]> mps_: i see your point, but for example yesterday i tested w3m for text browsing the news and even duckduckgo worked
<asahi-test[m]> asahi-test[m]: and you get rid of a whole class of attacks
<asahi-test[m]> asahi-test[m]: you dodge it completely.
<mps_> asahi-test[m]: this is never solved topic, i.e. security vs usability ;)
<asahi-test[m]> mps_: ahahahaah right
<mps_> nowadays some kind of gui is inevitable, so I'm running minimal but quite usable system
<mps_> I need pdf viewer, gui browser, libreoffice sometimes and some other gui apps
<mps_> oh, mpv player
<asahi-test[m]> mps_: yes, that is great. that is a good tradeoff between the two extremes.
<asahi-test[m]> mps_: yes but for audio one would not really need it
<mps_> imo, it is better to develop secure behavior in what I do than fanatically try technical solutions
<mps_> asahi-test[m]: yes, I use mpv for audio/video
<mps_> asahi-test[m]: now I see that I forgot to add 'adduser username audio' to above guide
<asahi-test[m]> asahi-test[m]: i meant the ui
<mps_> it is needed to play audio
<asahi-test[m]> mps_: nice
<asahi-test[m]> ok great, will test it
<asahi-test[m]> brb
<mps_> and 'adduser username netdev' if user wants/needs to control network
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bps has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Moprius has joined #asahi
richardb_ has joined #asahi
bps has quit [Ping timeout: 480 seconds]
richardburleigh has quit [Ping timeout: 480 seconds]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
richardburleigh has joined #asahi
eroux has joined #asahi
richardb_ has quit [Ping timeout: 480 seconds]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
Ry_Darcy has quit [Remote host closed the connection]
mps_ has quit [Ping timeout: 480 seconds]
mps has joined #asahi
ChaosPrincess has quit [Remote host closed the connection]
abbe_ has quit [Remote host closed the connection]
haonaturecom[m] has left #asahi [#asahi]
jochum_ has quit [Remote host closed the connection]
ChaosPrincess has joined #asahi
jochum has joined #asahi
DarkShadow44 has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi
coolshaurya has left #asahi [#asahi]
abbe has joined #asahi
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
<asahi-test[m]> got something to show...
<asahi-test[m]> asahi-test[m]: so i am typing on this window with ff started from command line like this ( as root still ) xinit firefox $* -- :1
<asahi-test[m]> asahi-test[m]: mps: used packages xterm mesa xorg-server xf86-input-libinput xinit mesa-dri-gallium ( eudev conflicted so did not use from your script ( ketp the one already there ) )
<asahi-test[m]> asahi-test[m]: got the start command here: https://support.mozilla.org/en-US/questions/1294382
<asahi-test[m]> asahi-test[m]: the rest following the error messages and your script mps GREAT!! Linux stuff!!!
<asahi-test[m]> <asahi-test[m]> "mps: used packages xterm mesa..." <- i tried with the other non root option, but i had no privileges to start xinit ( i want if possible avoid the sudo, but later ). Also i can open pdfs using the Opton + F ( option = alt )
<mps> asahi-test[m]: interesting endeavor ;)
<mps> there is startx command which should run from console as non root user
<mps> if you don't want DM (Display Manager)
<mps> XDM*
<mps> though i don't see any reason to not use some of simple window managers if you don't want DEs
<zv> are there any known issues with umount2 incorrectly returning EBUSY or failing for no logical reason?
<mps> zv: I didn't noticed
<mps> zv: do you have case
<zv> not yet; trying to rule out other causes.
<asahi-test[m]> <mps> "though i don't see any reason to..." <- yes you're right, i will use a minimalistic because i do not believe it would be possible to use libre office this way ( that i do not need all the time, hence i could have on a separate USB )
<asahi-test[m]> <asahi-test[m]> "mps: used packages xterm mesa..." <- and this one also needed libegl. Found it with the apk search from the error message
<asahi-test[m]> <mps> "there is startx command which..." <- will try that
<mps> asahi-test[m]: I use slim DM with autologin set, and awesome wm because I can tweak it programaticaly with lua and adding some applets also in lus
<mps> slim is really small code base
<asahi-test[m]> <mps> "asahi-test: I use slim DM with..." <- nice, very interesting
<asahi-test[m]> well this install has about 400MB and i no longer need to reboot to macOS to have a browser ihihihihih
<asahi-test[m]> <asahi-test[m]> "mps: used packages xterm mesa..." <- also from this list, i guess i will not need mesa-dri-gallium
<mps> asahi-test[m]: mesa-dri-gallium is needed afaik
<asahi-test[m]> mps: OK
<mps> because it contains drm drivers, swrast is currently used on M1
<asahi-test[m]> another thing, the open file does not work ( for the pdf ), also tried as an argument to firefox but i got an error because xinit assumed it as parameter for it
<asahi-test[m]> mps: good to know
<asahi-test[m]> s/it/itself/
<asahi-test[m]> to close firefox i close all tabs
<asahi-test[m]> ctrl+n works for a new window an ctrl+t also
<asahi-test[m]> also keyboard shortcut for zoom in and out works
<mps> I disabled pdf in firefox and use external program, zathura-pdf-mupdf
<asahi-test[m]> mps: good idea. But if you want to save a page as pdf from ff, you still can?
<mps> yes
<mps> zathura have save command
<asahi-test[m]> mps: great then
<asahi-test[m]> mps: right but for example a page on reading view, on firefox, can you still print it as pdf, having disabled it?
<mps> sure
<asahi-test[m]> mps: yep there should be quite a list of commands to lockdown firefox, will have a look at that
<mps> I mean, I disabled pdf view in firefox
<asahi-test[m]> mps: right right, so the rest works
gpanders__ has joined #asahi
millenialhacker has quit [Remote host closed the connection]
gpanders__ has quit [Remote host closed the connection]
gpanders is now known as Guest2639
gpanders has joined #asahi
Guest2639 is now known as gpanders__
kenzie has quit [Quit: The Lounge - https://thelounge.chat]
kenzie has joined #asahi
kenzie has quit []
ciggi has quit [Ping timeout: 480 seconds]
ciggi has joined #asahi
bpye has quit [Ping timeout: 480 seconds]
kenzie has joined #asahi
user982492 has joined #asahi
millenialhacker has joined #asahi
bpye has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
bpye1 has joined #asahi
bpye has quit [Ping timeout: 480 seconds]
bpye1 is now known as bpye
<asahi-test[m]> <asahi-test[m]> "another thing, the open file..." <- it does, it is possible to somehow start using the file system open file by going to the settings icon on the start page top right,
<asahi-test[m]> then changing the setting of download location, then browse. After alt ( option ) F opens the window to look for the pdf. This could be done offline.
<asahi-test[m]> asahi-test[m]: or using file:///root/some.pdf at the address bar
<mps> asahi-test[m]: last one
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bpye9 has joined #asahi
bpye has quit [Ping timeout: 480 seconds]
bpye9 is now known as bpye
bpye3 has joined #asahi
giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bpye has quit [Ping timeout: 480 seconds]
bpye3 is now known as bpye
user982492 has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yuyichao has joined #asahi
user982492 has joined #asahi
derzahl has joined #asahi
<derzahl> anyone get chromium running yet?