#
…

2023-06-05

01:06crabbedhaloablut has quit [Ping timeout: 480 seconds]
01:09yuyichao has quit [Quit: Konversation terminated!]
01:20nsklaus has quit [Ping timeout: 480 seconds]
01:28marcanmps: mesa doesn't care about machine differences and if you had kernel GPU problems I would expect faults in dmesg, so that sounds like a random userspace problem
01:28marcanI haven't tested on all machines yet, but if I can't repro it anywhere I think you'll have to debug that one yourself. could be a musl thing.
02:00gabuscus has quit []
02:19gabuscus has joined #asahi-dev
03:16crabbedhaloablut has joined #asahi-dev
03:22nicolas17 has joined #asahi-dev
05:49ncopa has quit []
06:48roxfan2 has joined #asahi-dev
06:54ellyq_ has joined #asahi-dev
06:54roxfan has quit [Ping timeout: 480 seconds]
06:54roxfan has joined #asahi-dev
06:57roxfan2 has quit [Ping timeout: 480 seconds]
06:59ellyq has quit [Ping timeout: 480 seconds]
07:07ellyq_ is now known as ellyq
07:29mkurz has quit [Ping timeout: 480 seconds]
07:30nimprod3l has joined #asahi-dev
07:40nimprod3l has quit [Ping timeout: 480 seconds]
07:41mpsmarcan: binaries on both machines are same versions and same build. Even I could try to boot both from external usb ssd to check
07:43mpsand I forgot to mention that X crashes with sigabort when starting with asahi-mesa 20230603
07:43mpswhile sway/wayland works fine with it
07:45mpsonly non standard thing is local patches which enables speakers in kernel
07:46mpsbut to repeat, this is not much important to me because I've got it working with older asahi-mesa (for which I forgot to write exact git commit from which I built it)
07:51ncopa has joined #asahi-dev
08:02mkurz has joined #asahi-dev
08:20mpsmarcan: sorry for noise. it works fine on j293 when booted from usb ssd which is full copy of rootFS from j314s
08:20mpsand thank you for the hints
08:21mps(I guessing 'apk upgrade' skipped something)
08:22marcancrashing X sounds like what happens when you build regular mesa with the asahi driver enabled
08:22marcan(particularly older versions, that got fixed recently)
08:23mpsI expected UAPI difference warning but didn't seen it
08:25mpsfor long I use only asahi-mesa on these machines and not regular mesa from alpine repo
08:26mpsbtw, with asahi kernel 6.3-5 battery lasts longer
08:27marcanthan with -4?
08:27marcancompared to what?
08:27mpscompared to 6.2 series
08:27marcanwell yes, that's kinda the point :p
08:27marcan< mps> I expected UAPI difference warning but didn't seen it <- if you build non-asahi mesa with asahi enabled there is no UAPI, that code is broken and never supposed to run at all
08:27mpsheh yes. just wanted to report
08:28marcanthat's what the lovely manjaro people enabled for us which broke the ALARM mesa
08:28marcannewer mesa properly neutered that driver entirely so now it's just dead code
08:29mpsI tried just once (about month ago) to build regular mesa and use with asahi kernel but (as expected) it didn't worked and I deleted it
08:30mpsnow everything is very fine. thank you all devs
08:46cylm has quit [Ping timeout: 480 seconds]
08:58odak_ has joined #asahi-dev
09:02odak_ has quit []
09:02odak_ has joined #asahi-dev
10:14bps3 has joined #asahi-dev
11:25nsklaus has joined #asahi-dev
11:25odak_ has quit [Quit: odak_]
11:58bps3 has quit [Ping timeout: 480 seconds]
12:27mkurz has quit [Ping timeout: 480 seconds]
13:01mkurz has joined #asahi-dev
13:09chadmed_ has joined #asahi-dev
13:13chadmed has quit [Ping timeout: 480 seconds]
13:31r0ni has quit [Ping timeout: 480 seconds]
13:52bps3 has joined #asahi-dev
14:40Dementor has quit [Read error: Connection reset by peer]
14:40Dementor has joined #asahi-dev
14:54i509vcb has joined #asahi-dev
15:02axboeis it known the the latest kernels (update from a today, few days ago, and the one asahi-wip before that) don't wotk with X and accelleration?
15:03axboeI just get llvm-pipe on those
15:03axboef72b509e14dcaea5aa7fcd21083e25d60a20bcc3 seems like the last known good one on my end in terms of that
15:04mpsaxboe: you need new asahi-mesa
15:05axboeah shoot
15:05axboewhy didn't I think of that
15:05axboebuilding...
15:17maria has quit [Remote host closed the connection]
15:17axboelooks like I need a newer directx-headers first
15:18psykoseis there a reason to enable that at all? i don't think it has uses outside of WSL integration
15:19psykose(specifically gallium d3d12 thing)
15:19psykoseidk if anything else uses those
15:19axboewas thinking that too, maybe I can just disable directx
15:21psykosefor that one it's just not adding d3d12 to -Dgallium-drivers
15:23psykoseyep, quick grep shows it's just that, experimental-vulkan (also for wsl), and then platform==windows stuff
15:25axboebuilding, let's see...
15:31maria has joined #asahi-dev
15:40mpsaxboe: here is my ugly hacked alpine APKBUILD https://tpaste.us/JRLq
15:40mpsbut it works
15:41maria has quit [Remote host closed the connection]
15:42maria has joined #asahi-dev
15:42psykosecould probably delete half of that :p
15:43mpspsykose: yes, but who cares, it build fast anyway
15:43psykoseof course :)
15:44mpsactually I had smaller one but in last two builds added some options to be closer to regular asahi
15:44psykoseit's a bit unintuitive to get such an override to work with apk but that provides= per name works, so you got it, it's what i would have done
15:45mpsimagine working in frenzy ;-)
15:53zachole has joined #asahi-dev
15:53maria has quit [Remote host closed the connection]
15:53maria has joined #asahi-dev
16:00maria has quit [Remote host closed the connection]
16:01maria has joined #asahi-dev
16:04brolin has joined #asahi-dev
16:32axboemps: yep that worked
16:35brolin has quit [Ping timeout: 480 seconds]
16:35mpsaxboe: you are using X?
16:35axboeyep, thanks for the hint. not sure why I didn't think of a mesa upgrade...
16:35axboeusing X, yep
16:35mpsdoes TearFree option works for you
16:36axboeI think I tried it back when it was a separate patch, but haven't run it since
16:37mpsI still have sometimes in some apps cursor flickering
16:39axboeyeah that one I have too for some web pages
16:41Guest2187 has quit [Quit: Bridge terminating on SIGTERM]
16:41rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:42mpsyes, also I have it just for some pages
16:42mpss/just/only/
16:42* mpsis self taught in english
16:43axboedoes the tearfree fix it for you?
16:44axboeI didn't have any noticeable tearing in videos etc, and the flickering for some pages wasn't bad enough for me to care about testing it any further
16:44Jamie has joined #asahi-dev
16:45brolin has joined #asahi-dev
16:45rhysmdnz has joined #asahi-dev
16:45mpsaxboe: no, Tearfree doesn't help for those web pages in my case
16:45Jamie is now known as Guest2261
16:51axboeI'm on xfce4, looks like they do have some experimental wayland support going. once that works, I'll likely just switch away from X, I have no sentimental attachment to it :)
16:53brolin has quit [Ping timeout: 480 seconds]
16:58mpsI'm contemplating build hyprland for alpine and test it. if it works fine maybe also will switch from X
16:59mpsbut don't have enough time for such things for now
17:00psykosei could built it for you but it's mostly a pile of shit
17:01brolin has joined #asahi-dev
17:03mpspsykose: hm, could be, I have very little experience with wayland and only used sway for some testing
17:04mpswhat is your advice for heavy and long time awesome wm user
17:05psykosei don't think there's something quite like awesome
17:05mpsto me hyprland looks close but I"m not sure
17:06psykosethe most polished non-major-de wm is sway which you already tried, ofc nowhere near the same
17:06mpsI like lua scripting with awesome
17:08psykosedepending on what the scripting does (i don't remember, though i used awesome for a year before) most of it is implementable with whatever hooks/shortcuts that then interact via api client (i.e. on sway, swaymsg sends stuff, there's various 3rdparty things to make sway do stuff, ..) and most of the compositors have some ctl command
17:08mpspsykose: anyway, here is where I reached with hyprland, https://tpaste.us/rjNj
17:08psykosethat said, a bit offtopic
17:08psykosesure, sure, i'll build it
17:08mpsit will need patch for glvnd which we don't have in alpine
17:09mpsand right, we are really off-topic here, sorry
17:10brolin has quit [Ping timeout: 480 seconds]
17:11brolin has joined #asahi-dev
17:13r0ni has joined #asahi-dev
17:20brolin has quit [Ping timeout: 480 seconds]
17:22amarioguy has joined #asahi-dev
17:28brolin has joined #asahi-dev
17:30cylm has joined #asahi-dev
17:41axboe has quit [Remote host closed the connection]
17:44axboe has joined #asahi-dev
17:49brolin has quit [Ping timeout: 480 seconds]
17:59brolin has joined #asahi-dev
18:08brolin has quit [Ping timeout: 480 seconds]
18:15brolin has joined #asahi-dev
18:24brolin has quit [Ping timeout: 480 seconds]
18:32brolin has joined #asahi-dev
18:47brolin has quit [Ping timeout: 480 seconds]
18:48mkurz has quit [Ping timeout: 480 seconds]
18:49aafeke has joined #asahi-dev
18:56brolin has joined #asahi-dev
19:00bps3 has quit [Ping timeout: 480 seconds]
19:05aafeke has quit [Quit: aafeke]
19:05brolin has quit [Ping timeout: 480 seconds]
19:05aafeke_ has joined #asahi-dev
19:15brolin has joined #asahi-dev
19:25brolin has quit [Ping timeout: 480 seconds]
19:35jannauPCIe looks weird on the mac pro. the HDMI ports are on Apple I/O card on a 4 lane PCIe Gen3 slot. are they using unused contacts for DP/HDMI?
19:35aafeke_ has quit [Quit: aafeke_]
19:35mkurz has joined #asahi-dev
19:35aafeke_ has joined #asahi-dev
19:36jannau4 8x and 2 16x PCIe Gen4 slots but no information how many lanes the m2 utra has
19:37aafeke_ has quit []
19:39aafeke_ has joined #asahi-dev
19:51brolin has joined #asahi-dev
20:08brolin has quit [Ping timeout: 480 seconds]
20:13brolin has joined #asahi-dev
20:30brolin has quit [Ping timeout: 480 seconds]
20:36qyliss has quit [Quit: bye]
20:38brolin has joined #asahi-dev
20:39qyliss has joined #asahi-dev
20:57brolin has quit [Ping timeout: 480 seconds]
20:58chadmed_ is now known as chadmed
21:12aafeke_ has quit [Quit: aafeke_]
21:16nickchan has left #asahi-dev [#asahi-dev]
21:27brolin has joined #asahi-dev
21:47marcanthe Mac Pro PCIe lane count baffles me
21:47marcanI'm starting to think it's a big cheat with PCIe switches and it's all funneled down to 16 lanes on the SoC side
21:48marcanlike they planned this for a real, separate Mac Pro chip with actually more PCIe, canceled that, and "made it work" with M2 Ultra
21:50ChaosPrincessthere is something that is called a pcie-switch on the i2c bus in the dt
21:52ChaosPrincessalso, it appears that they are in fact connecting most slots to 2nd die
21:52ChaosPrincessin dts, it has all the slots, while the first die's apcie-ge has the io card connected
21:53marcanyeah, that tracks
21:54ChaosPrincessswitch-mgmt-ep
21:54ChaosPrincessoh, would you look at that
22:06ChaosPrincessmarcan: wrt nand chips, are they using pcie phys to connect those? cause i didnt think pcie and nv-ddr use the same phys
22:09marcanapple doesn't use that
22:09marcanapple NANDs are PCIe
22:09marcanit's custom
22:09marcanthey have their own controllers on the NANDs
22:11ChaosPrincessoh, i thought they used off the shelf nand and just put the controller inside the m-chip
22:11marcanthe SSD controller is in the SoC
22:11marcanbut each NAND chip has its own sub-controller
22:11marcana whole ass 64-bit ARM too
22:11marcan(because that's how Apple rolls)
22:14ChaosPrincessinb4 the new controller also still has broken arm pcie as usual
22:23marcanI should test that on the machines I have...
22:23marcanthis at least explains why the changes to the PCIe controller I guess, if they were planning to use the same old APCIe for slots
22:26brolin has quit [Ping timeout: 480 seconds]
22:34marcanohh but this is interesting
22:34marcanthe MMIO addresses for apcie-ge are totally different
22:35marcanso maybe the digital side is a completely separate controller from "traditional" apcie
22:35marcanand they just share the same PHYs
22:35marcanthat said, the device tree regs look exactly like normal apcie except a single port (which makes sense since it goes to the bridge chip)
22:35marcanso probably easy to support
22:52pzc is now known as zspec
22:55zspec has quit []
22:56zspec has joined #asahi-dev
23:16alyssa has joined #asahi-dev
23:16alyssamarcan: what's the status on releasing the new kernel+mesa?
23:16alyssaare we bottlenecked on me writing my dang blog post? T_T
23:16marcanalyssa: ... am I supposed to answer that question? :p
23:19alyssashit I'll write it ok ok ok
23:39kesslerdupont has joined #asahi-dev
23:43roxfan has quit [Ping timeout: 480 seconds]
23:48roxfan has joined #asahi-dev
…