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-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
Pika has quit [Read error: Connection reset by peer]
VasilisTheChu has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
vmeson has quit [Ping timeout: 480 seconds]
beeblebrox has joined #asahi
ciggi has quit [Ping timeout: 480 seconds]
aguadelamiseria has quit [Quit: Ping timeout (120 seconds)]
aguadelamiseria has joined #asahi
Swiftloke has quit [Quit: ABANDON SHIP!]
Swiftloke has joined #asahi
Hotswap has joined #asahi
HotSwap` has quit [Read error: Connection reset by peer]
ciggi has joined #asahi
ciggi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Raito_Bezarius has quit []
refi64 has quit [Quit: The Lounge - https://thelounge.chat]
refi64 has joined #asahi
Raito_Bezarius has joined #asahi
beeblebrox has quit [Quit: Konversation terminated!]
weitcis has quit [Remote host closed the connection]
Treibholz has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
das_j has quit [Remote host closed the connection]
das_j has joined #asahi
weitcis has joined #asahi
Treibholz has joined #asahi
user982492 has joined #asahi
julio7359 has joined #asahi
cylm has joined #asahi
weitcis has quit [Remote host closed the connection]
opticron_ is now known as opticron
mxz has quit [Quit: cya]
weitcis has joined #asahi
mxz has joined #asahi
weitcis has quit []
weitcis has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
weitcis has quit [Remote host closed the connection]
weitcis has joined #asahi
Stroller has quit [Quit: Stroller]
wereiyou has quit [Ping timeout: 480 seconds]
julio7359 has quit [Ping timeout: 480 seconds]
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
julio7359 has joined #asahi
dcavalca has quit [Quit: Ping timeout (120 seconds)]
ids1024 has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
julio7359 has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
pthariensflame has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
guillaume_g has joined #asahi
pthariensflame has joined #asahi
pthariensflame has quit []
SSJ_GZ has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
<bluetail> yuka because I would assume it would at least allow external sound cards...
millenialhacker has joined #asahi
eroux has quit [Remote host closed the connection]
millenialhacker has quit [Ping timeout: 480 seconds]
marvinkurock has joined #asahi
marvinkurock has left #asahi [#asahi]
mdfx has joined #asahi
Ry_Darcy has joined #asahi
<povik> bluetail: no, nothing is done to pipewire or ALSA that would prevent an external sound card from showing up
<povik> check with 'aplay -l' whether the sound card registers at kernel level
Ry_Darcy has quit [Quit: Page closed]
jjido has joined #asahi
<bluetail> povik the soundcard does not register at kernel level but sudo dmesg | grep RME registers my card and alsamixer lists my card under /proc/asound/cards. It is particularly weird. Could it be I have to use a USB type C port instead of a usb type a port?
bluetail1 has joined #asahi
<bluetail1> dang, I dc'ed. povik did u get my message?
<bluetail1> it appears theres no difference using the usb type c port
<bluetail1> I mean if you look at the log, it says it cannot startup because of errors
<bluetail1> sigh. Is there a way to reset pipewire-pulse? I already have reinstalled pipewire, pipewire-pulse, replaced wireplumber with 'pipewire-media-session', because thats something I found as a recommended step from the maintainers... and no diff
<bluetail1> And I deleted the config files already
bluetail has quit [Ping timeout: 480 seconds]
bluetail1 is now known as bluetail
<bluetail> is there a chance audio wouldnt work when connectred through VNC?
<bluetail> I try now compiling https://aur.archlinux.org/packages/wireplumber-git for aarch64 and report back... I suspect an issue with wireplumber
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
bluetail has joined #asahi
<bluetail> that did fix it!
<bluetail> compiling the latest wireplumber-git and installing it fixed my issue!
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
<bluetail> it did ask me to replace some packages with jack, which I said agreed on, too.
Agua has joined #asahi
Agua has quit [Remote host closed the connection]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
mdfx has quit [Quit: WeeChat 3.7.1]
Tano70 has joined #asahi
russell__ has joined #asahi
russell__ has quit [Quit: Konversation terminated!]
<povik> if it shows up under /proc/asound/cards, the card *did* register at kernel level
millenialhacker has joined #asahi
<bluetail> I see. but aplay -l did not report it at all
<bluetail> as said, using wireplumber from git fixed the issue
<bluetail> s/wireplumber from git/wireplumber-git
<povik> huh
<povik> what did aplay -l say then?
<bluetail> no sound card detected. above log was aplay -lL
<bluetail> I did not save the log of aplay -l
<povik> ah, i suspect there's a message missing. maybe because it was too long and that's why you got disconnected
jjido has joined #asahi
<bluetail> I post it
<bluetail> this was aplay -lL
<bluetail> when it wasnt working
<povik> no, that's systemctl status
<bluetail> oh
<bluetail> I'm so sorry. Anyhow, aplay -l did not list any soundcard before
<bluetail> I post what it does now
<bluetail> oh wait, perhaps I can scroll back
<povik> doesn't matter, it just doesn't make sense aplay -l wouldn't show a card that other alsa tools see
<bluetail> oh, I understand!
<bluetail> my assumption is either a misconfiguration or a wireplumber issue still
millenialhacker has quit [Ping timeout: 480 seconds]
<capta1nt0ad> Hi, I've been having an issue where SDDM won't start an X session often, but it will work on the second, third, or fourth tries (it just goes to a black screen then back to SDDM). As well as this, running startx from a tty always fails with it failing to load simpledrm because /usr/lib/dri/simpledrm_dri.so doesn't exist. However, it exits with 0, and the only alarming line of the Xorg log is '[ 98220.808] (EE) Failed to load module "fbdev" (module does
<povik> no, wireplumber shouldn't have anything to do with that
<capta1nt0ad> not exist, 0)'. This has only been happening for a week or so, and I'm using linux-asahi 19.5.0. It doesn't happen with Wayland, but in Wayland Plasma seems to be quite broken. Anyone else having this problem?
<povik> it works at a higher level
MajorBiscuit has quit [Ping timeout: 480 seconds]
<bluetail> I don't get it then. wireplumber-git reinstalled a couple packages. And if I remember properly, something pipewire was in conflict with jack, so I allowed it to use jack instead
MajorBiscuit has joined #asahi
<bluetail> capta1nt0ad I know a workaround - you can use emptty as a display manager instead. It works on my end
capta1nt0ad has quit [Remote host closed the connection]
capta1nt0ad has joined #asahi
capta1nt0ad has quit [Remote host closed the connection]
capta1nt0ad has joined #asahi
capta1nt0ad has quit []
Major_Biscuit has joined #asahi
MajorBiscuit has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
millenialhacker has quit [Ping timeout: 480 seconds]
vmeson has joined #asahi
DarkShadow44 has joined #asahi
DarkShadow44 has quit []
DarkShadow44 has joined #asahi
Tano70 has quit [Quit: Leaving]
wereiyou has joined #asahi
<as400> guys, any hint how to wake up the screen after dcp turned it off ? On asahi-edge
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
<mps> as400: I solved it by switching to console and back
<_jannau_> which device? if you have try the brightness hotkeys
<as400> t6000
<as400> switching consoles does not work, brightness keys don't work too
<mps> for me also brightness doesn't help but switch works, on m1pro macbook
<as400> fn+ctrl+option+F2/F3 ?
<blazra> for me as well - same as mps
<mps> as400: I use different keys, specific setup for awesome wm
<blazra> I don't have function keys under fn, so just ctrl+option+F2
<as400> I must admit I succeeded once with switching consoles. This time no luck :)
<mps> as400: sorry, I should say that I use tweaked kernel and official asahi-edge
<as400> cat /sys/class/backlight/apple-panel-bl/brightness
<as400> says 0, soooo
<_jannau_> as400: echo 140 > /sys/class/backlight/apple-panel-bl/brightness
<mps> hm, this doesn't work for, and I check that the 300 is written to /sys/class/backlight/apple-panel-bl/brightness after resume
<mps> for me*
DarkShadow4444 has joined #asahi
DarkShadow4444 has quit [Read error: Connection reset by peer]
DarkShadow44 has quit [Ping timeout: 480 seconds]
ciggi has joined #asahi
DarkShadow44 has joined #asahi
<yuka> huh, suspend and brightness just works for me on the 6.1-rc5-9 kernel
<_jannau_> for me too. I think it's mostly an issue of desktop environment and x11 or wayland
<scardracs> Any idea why? ^
snil4 has joined #asahi
<mps> _jannau_: you have simpledrm in kernel config?
<as400> jannau: are you using x11 or wayland ?
<_jannau_> simpledrm built -in, appledrm as module but that shouldn't matter once appledrm is loaded
<_jannau_> wayland
<as400> maybe that makes a difference
<mps> oh there is CONFIG_BACKLIGHT_GPIO=y, maybe this is my issue
<as400> I'm on x11 - for me it's seems smoother
<_jannau_> the gpio backlight can be still used to turn the backlight off completely
int16h has joined #asahi
danielnechtan has quit [Ping timeout: 480 seconds]
ciggi has quit [Ping timeout: 480 seconds]
<ahdeb[m]> I'm running debian version of asahi .... tried building updated kernel based on asahi-6.1-rc5-9 tag to hopefully get some DCP sweetness, but gdm did not want to start after update. :/ .... anyone got ideas where I should be looking (and if the newer version has a chance of getting my m1pro hdmi output working)?
giskard has quit [Ping timeout: 480 seconds]
snil4 has quit [Remote host closed the connection]
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
snil4 has joined #asahi
SSJ_GZ has quit [Read error: No route to host]
SSJ_GZ has joined #asahi
snil4 has quit [Ping timeout: 480 seconds]
Stroller has joined #asahi
codingkoopa9 has quit [Ping timeout: 480 seconds]
codingkoopa9 has joined #asahi
c10l1 has joined #asahi
snil4 has joined #asahi
snil4 has quit []
c10l has quit [Ping timeout: 480 seconds]
farghal has joined #asahi
<ahdeb[m]> https://paste.debian.net/plain/1260910 <--- I guess simple-framebuffer not initializing is bad and related.... seems like basically the same error as before though but now it stops initialization from happening.
farghal has quit [Ping timeout: 480 seconds]
amarioguy2 has quit [Remote host closed the connection]
<ahdeb[m]> hmm, apparently not the same error... one is from `devm_request_mem_region` which is non-fatal, but `devm_aperture_acquire_from_firmware` before that errors out.
danielnechtan has joined #asahi
int16h has quit [Ping timeout: 480 seconds]
guillaume_g has quit []
LinuxM1 has joined #asahi
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
Glanzmann has joined #asahi
<Glanzmann> kettenis_: Works for me. Thank you for taking care of that.
<Glanzmann> kettenis_: So with your u-boot, the asahi kernel config and the non edge branch, everything works expect ethernet.
<Glanzmann> The interface is there, I can configure it but the link stays down.
<Glanzmann> This is on the mini.
<Glanzmann> luckily wlan works.
<Glanzmann> sven: USB3 also seems to work, I'm getting 160 MB/s read from the usb stick. \o/
<bluetail> Glanzmann on usb type a or usb type c?
<bluetail> I can tell you, I get 560mb/s on the usb type c port with my sata ssd
leafpaw has quit [Remote host closed the connection]
<bluetail> but like, type A was slow
<bluetail> 10/20MB/s with dropouts
leafpaw has joined #asahi
<Glanzmann> bluetail: That is a usb-a stick using a usb-a to usb-c dongle on the minis usb-c port.
<Glanzmann> bluetail: Yeah, I'm supposed to watch my kids in another room, so I picked whatever usb device was lying around ... But I can check with an intel 550 sata ssd later.
<bluetail> you don't have to
<bluetail> I mean, mine maxed out already on the type c port
<Glanzmann> If someone wants to reproduce it, here is what i used to build: https://pbot.rmdir.de/SavDsaUhW8y7w3kfhpHpgQ
xcpy0 has quit [Remote host closed the connection]
<Glanzmann> bluetail: I thought the usb-a on mini was always USB3. But I think I never benchmarked it.
<bluetail> it is usb a but it doesnt work for high-bandwidth yet it seems
<bluetail> I mean it does on macos, but not on asahi... using a ugreen enclosure
<Glanzmann> Let me check.
<Glanzmann> bluetail: I can reproduce. First 30 seconds or so is 256 MB/s and than it drops ... giving me an average of 70 MB/s and I know the device can do sustained 550 MB/s. I connected an intel 520 ssd using a usb-c to usb-a dongle to the mini usb-a port. Let me check the usb-c.
<bluetail> Glanzmann its worse than that, it actually seems to drop connection at some time, doing non-sensical thingies
<Glanzmann> happened to me to
<Glanzmann> after 30 seconds i got silch.
<Glanzmann> first one is usb-a second one is usb-c: https://pbot.rmdir.de/dQkXorcNgtX5uOEB9oLhvA
leafpaw has quit [Ping timeout: 480 seconds]
LinuxM1 has quit [Quit: Leaving]
tertu has quit [Quit: so long...]
<Glanzmann> bluetail: Read for the usb-c: https://pbot.rmdir.de/jfK84ULjvdXjGpXbPGxGuQ
<Glanzmann> What I don't understand is that on my Intel nuc I get 100 MB/s more, but the usb-c appears to be stable and is fast enough for a spinning disk.
<bluetail> Me neither.
tertu has joined #asahi
leafpaw has joined #asahi
JTL has quit [Ping timeout: 480 seconds]
JTL has joined #asahi
Glanzmann has quit [Quit: n8]
<sven> so, uh, usb-c work better?
mdfx has joined #asahi
<bluetail> yy
mdfx has quit []
mdfx has joined #asahi
mdfx has quit []
mdfx has joined #asahi
Glanzmann has joined #asahi
<Glanzmann> sven: Yes, usb-c works better. Good job. Let me compare to my intel nuc. I'll benchmark and paste the numbers.
<jannau> using a SuperSpeed Plus Gen 2x1 USB to nvme adapter: "256060514304 bytes (256 GB, 238 GiB) copied, 263,103 s, 973 MB/s"
<Glanzmann> jannau: wow.
<sven> ok. benchmarks are more interesting vs mac os. intel nuc is different hardware so there's too many differences
<Glanzmann> Sven, let me benchmark vs macos than.
<jannau> usb-c port of the m2 macbook pro 13"
<sven> macos will be different as well but if there are major differences there might be something missing
<Glanzmann> jannau: Can you paste me where I can buy such a thing?
<sven> such a pity these things only support 2x2 speeds in usb4 mode
<sven> but we'll get there eventually ;)
farghal has joined #asahi
<Glanzmann> jannau: Thank you.
<jannau> maybe look for something with a larger case. it gets warm/hot
<jannau> sven: lol, I must be doing something wrong. same dd command results in 88MB/s on macOS
<sven> lol :D
<sven> i'm not gonna complain if linux is >10x faster but i kinda doubt that :D
<mps> for me `dd if=/dev/zero of=testf bs=1M count=4096 oflag=direct` gives: 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 5.43384 s, 790 MB/s
<mps> so, without OS cache
<mps> it is on usb-c with Western Digital My Passport 264F
Major_Biscuit has quit []
<jannau> yes, I was doing something wrong. /dev/diskX is strange. using /dev/rdisk8 it read at 740MB/s. so ~30% faster
<Glanzmann> jannau: TO late, already ordered. :-)
<sven> hah, still pretty nice
<jannau> which looks quite bad for macOS
<sven> though probably nothing we specifically can take credit for ;)
<Glanzmann> jannau: Can you paste the command you used on macos to benchmark?
<sven> macos usually configured everything in usb3+dp instead of usb3-only mode but i seriously doubt that makes any difference
<sven> *configures
<jannau> Glanzmann: dd if=/dev/rdiskX of=/dev/null bs=8M status=progress
<Glanzmann> THanks.
<Glanzmann> jannau: I get permission denied as root, when I try that: https://pbot.rmdir.de/8cj9c536du3gjhObDLg2Yw
farghal has quit [Ping timeout: 480 seconds]
<mps> hm, reading from disk with latest asahi kernel i've got: 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 4.3567 s, 986 MB/s
<jannau> work with sudo for me in macOS
<Glanzmann> jannau: strange.
<Glanzmann> jannau: I'm currently updating to Ventura.
<jannau> I tested on ventura
ah_ has joined #asahi
<Glanzmann> jannau: Will report once the upgrade has finished.
jjido has joined #asahi
<Glanzmann> jannau: On Ventura it works for me.
<Glanzmann> sven: When reading, I get the same speed on macos that I get on Linux.
<sven> sounds good
<Glanzmann> sven: Yep.
<Glanzmann> So probably noone wants to hear this, but when I boot the same kernel, I booted before after the ventura updates, my ethernet works. And the dmesg looks a lot different: https://pbot.rmdir.de/2PTInU3oVVwCzTtJXOZ-FQ
<opticron> system firmware upgrade?
<Glanzmann> opticron: If I understood Pedro Sánchez correctly, than our working theory is that the firmware comes from the currently selected boot device.
<Glanzmann> So me updating another macos install on the same system should not have any affect on my LInuyx partition which I have not touched for ages.
<Glanzmann> But maybe I screwed something up, or missed something different.
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
<opticron> Glanzmann, I thought there were 2 different sets of firmware, the boot-linked firmware and then system firmware. I may be wrong, though
<sven> yes, there’s ANS, SEP, SMC, and possibly something I forgot which are all system wide
<Glanzmann> opticron / sven: I see, thank you for bringing me up2speed.
jlinton has quit [Read error: Connection reset by peer]
jlinton has joined #asahi
mdfx has quit [Quit: WeeChat 3.7.1]
millenialhacker has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
Techcable has quit [Ping timeout: 480 seconds]
ten15 has quit [Remote host closed the connection]
ten15 has joined #asahi
xcpy0 has joined #asahi
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
___nick___ has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi
ten15 has quit [Remote host closed the connection]
ten15 has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
ten15 has quit [Remote host closed the connection]
ten15 has joined #asahi
millenialhacker has joined #asahi
int16h has joined #asahi
danielnechtan has quit [Ping timeout: 480 seconds]
ten15 has quit [Remote host closed the connection]
ten15 has joined #asahi
Glanzmann has quit [Quit: leaving]
tim1124 has joined #asahi
millenialhacker has quit [Remote host closed the connection]
tim1124 has quit [Remote host closed the connection]
millenialhacker has joined #asahi
jamespmorgan has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]
<jamespmorgan> s
jamespmorgan has quit []
jamespmorgan has joined #asahi
cylm has joined #asahi
jamespmo_ has joined #asahi
<jamespmo_> I just installed AsahiLinux
<jamespmo_> 1. can I run a pacman update?
<jamespmo_> 2. can I get the Magic Mouse to connect?
<tpw_rules> 1. yes
<tpw_rules> 2. you might have to update and reboot a couple times to get all the bluetooth firmware loaded, and idk if the bluetooth stuff is installed by default
jamespmorgan has quit [Ping timeout: 480 seconds]
<jamespmo_> gotcha
<jamespmo_> thanks
zalyx has quit [Quit: later alligator]
zalyx has joined #asahi
SSJ_GZ has quit [Ping timeout: 480 seconds]
ten15 has quit [Remote host closed the connection]
ten15 has joined #asahi
lanodan_ has quit [Ping timeout: 480 seconds]
ten15 has quit [Remote host closed the connection]
ten15 has joined #asahi
millenialhacker has joined #asahi
lanodan_ has joined #asahi
zalyx has quit [Quit: later alligator]
zalyx has joined #asahi
millenialhacker has quit [Ping timeout: 480 seconds]