marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | 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
tomtastic_ has quit [Ping timeout: 480 seconds]
tomtastic has joined #asahi
yuyichao has joined #asahi
malvo has quit [Read error: Connection reset by peer]
malvo has joined #asahi
yuyichao has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi
yuyichao has quit []
yuyichao has joined #asahi
grange_c2 has joined #asahi
maz_ has joined #asahi
maz has quit [Ping timeout: 480 seconds]
grange_c has quit [Ping timeout: 480 seconds]
grange_c2 is now known as grange_c
hspak has quit [Quit: The Lounge - https://thelounge.chat]
phiologe has quit [Ping timeout: 480 seconds]
hspak has joined #asahi
malvo has quit [Read error: Connection reset by peer]
malvo has joined #asahi
kov has quit [Quit: Coyote finally caught me]
flying_sausages has quit [Ping timeout: 480 seconds]
flying_sausages has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
darkapex4 has joined #asahi
darkapex3 has quit [Ping timeout: 480 seconds]
sailorek1234 has joined #asahi
maz_ is now known as maz
_chamomile has quit [Ping timeout: 480 seconds]
kov has joined #asahi
kettenis has quit [Quit: leaving]
kettenis has joined #asahi
skipwich has quit [Remote host closed the connection]
aleasto has joined #asahi
skipwich has joined #asahi
chamomile has joined #asahi
yuyichao has quit [Quit: Konversation terminated!]
chamomile has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
chamomile has joined #asahi
chamomile has quit [Ping timeout: 480 seconds]
<mort_> once I get a great amount of spare time where I nonetheless have the energy to do kernel hacking work (aka never) I'll try to figure out everything I need to know to play with graphics drivers on my 14" pro
yuyichao has quit [Ping timeout: 480 seconds]
chamomile has joined #asahi
chamomile has quit [Remote host closed the connection]
chamomile has joined #asahi
yuyichao has joined #asahi
chamomile has quit [Ping timeout: 480 seconds]
jmr2 has joined #asahi
<jmr2> jannau: apple_m1/dt-for-5.17_v4 isn't on github yet.
sailorek1234 has quit []
darkapex has joined #asahi
darkapex4 has quit [Ping timeout: 480 seconds]
pg12 has quit [Ping timeout: 480 seconds]
pg12 has joined #asahi
<_jannau_> jmr2: I forgot to push. thanks for notifying me
<jmr2> jannau: My pleasure. Thanks for your work.
<_jannau_> pushed
<mps> _jannau_: could you give url
<_jannau_> it is the branch for this kernel patch series: https://lore.kernel.org/all/20211123224926.7722-1-j@jannau.net/ nothing new just a few dts changes
<mps> _jannau_: thanks. want to look if something could be useful to add to my local kernel build
<_jannau_> it add dts files for all M1 models and adds i2c/usb-pd controller nodes in preparation for usb support
<mps> I see, looking on them
psykose has quit [Remote host closed the connection]
amw has quit [Ping timeout: 480 seconds]
Darksecond has quit [Quit: The Lounge - https://thelounge.chat]
Darksecond has joined #asahi
nctcf^ has joined #asahi
chamomile has joined #asahi
squags has quit [Ping timeout: 480 seconds]
chamomile has quit [Ping timeout: 480 seconds]
jmr2 has quit [Quit: Page closed]
squags has joined #asahi
squags has quit [Ping timeout: 480 seconds]
squags has joined #asahi
X-Scale` has joined #asahi
X-Scale has quit [Ping timeout: 480 seconds]
pg12 has quit [Ping timeout: 480 seconds]
ferty has joined #asahi
pc has joined #asahi
pc has quit [Remote host closed the connection]
ferty has quit [autokilled: Spambot. Don't mail support@oftc.net if you think this is in error. (2021-11-24 18:00:56)]
<Dcow> @povik, hello.
<Dcow> are you working on the mac mini audio or all m1's use the same audio pipeline?
pg12 has joined #asahi
X-Scale has joined #asahi
X-Scale` has quit [Ping timeout: 480 seconds]
chamomile has joined #asahi
<mps> I attached external usb audio card and driver is loaded, alsamixer works with it (increase/decrease volume and mute/unmute) but playing audio audio with mpv and mpg123 doesn't work. both players are 'stuck' on start
<mps> tested with two cards and both works on other machine
<mps> kernel is 5.16-rc1 with patches jannau collected in https://github.com/jannau/AsahiLinux-PKGBUILD
___nick___ has joined #asahi
___nick___ has quit []
___nick___ has joined #asahi
yuyichao_ has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
klaus has quit [Quit: Lost terminal]
<povik> Dcow: hello. all use the same pipeline with some differences in configuration
<povik> i am working toward a general driver which can work with all the configurations
palmer_ has joined #asahi
palmer_ has quit [Remote host closed the connection]
<povik> it works on the mac mini now, it will work elsewhere once it's generalized
<j_ey> povik: does the audio jack work?
chamomile has quit [Ping timeout: 480 seconds]
<povik> oh that's right
<povik> even the jack is missing from the driver as-is, on mini
<povik> forgot about that
<marcan> it uses a different codec, right?
chamomile has joined #asahi
palmer_ has joined #asahi
palmer_ has quit [Remote host closed the connection]
palmer_ has joined #asahi
palmer_ has quit [Remote host closed the connection]
<povik> marcan: it does, but that is easy to handle
<povik> the differences in MCA configuration (some due to the codec) is where the work is
klaus has joined #asahi
squags_ has joined #asahi
squags has quit [Ping timeout: 480 seconds]
<cth451_desktop> mps: I'm using an apple c-to-3.5 dongle and it works for me
<cth451_desktop> might need to fiddle with kernel config and grab pulse or any other userspace stuff
<cth451_desktop> The most primal test would be using aplay to make some sound directly via alsa
<cth451_desktop> If that works then the problem is probably not in the kernel
___nick___ has quit [Ping timeout: 480 seconds]
<mps> cth451_desktop: I tried with aplay but it is also stuck
<cth451_desktop> Does `aplay -l` say anything?
<mps> yes
<cth451_desktop> might help to strace aplay and see where it got stuck
<mps> it shows usb audio device
<mps> ppoll(((fd3 ...
<mps> and I copied kernel config sound section from kernel which works on another arm64 machine
<mps> other usb devices I tested works
<mps> wifi dongle, mouse, ssd disk and usb disk dongle
<jannau> includes the pmgr driver and the PCIe reset patches and updates some patches
<mps> jannau: thanks, will try to build it tomorrow
<cth451_desktop> I might be wrong but this sounds like some process already opened the alsa device
<cth451_desktop> but on my system any other process try to open a card in use gets a -EBUSY
<mps> cth451_desktop: no, nothing use card
<cth451_desktop> Out of ideas.
<mps> cth451_desktop: np, also I'm
<mps> impatiently waiting for povik to release driver
<cth451_desktop> It might be helpful to see what happened before aplay got into ppoll
<cth451_desktop> jannau: 0054-fixup-arm64-dts-apple-Add-missing-M1-t8103-devices.patch seems to be empty
<mps> cth451_desktop: it is not important to me for now because I don't have much time to work on it and test
<mps> cth451_desktop: anyway, thank for trying to help me to solve problem
<jannau> cth451_desktop: I forgot to drop it
yuyichao has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
yuyichao_ has quit [Ping timeout: 480 seconds]
<cth451_desktop> I'm getting "powercontroller@3b0: PS dispdfr_be: Failed to reach power state 0xf (now: 0xb4f)"
<cth451_desktop> and 10GE is gone from lspci agian
<cth451_desktop> * again
<cth451_desktop> on 5.16-rc2
<jannau> cth451_desktop: please try to back out "PCI: apple: Fix #PERST polarity", "arm64: dts: apple: t8103: Fix PCIe #PERST polarity" and "PCI: apple: Follow the PCIe specifications when resetting the port"
<cth451_desktop> Will try.
<cth451_desktop> jannau: the error message is still there but ethernet port is back and working.
<j_ey> :|