2023-10-08
00:34hightower3 has joined #asahi-dev
00:39jeisom has quit [Ping timeout: 480 seconds]
00:41hightower2 has quit [Ping timeout: 480 seconds]
01:13AnuthaDev_ has quit []
01:15as400 has quit [Remote host closed the connection]
01:20as400 has joined #asahi-dev
01:46hex-spell has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:13hex-spell has joined #asahi-dev
02:56gabuscus has joined #asahi-dev
03:24DannyB has joined #asahi-dev
03:44cylm has quit [Ping timeout: 480 seconds]
03:45tristan2_ has joined #asahi-dev
03:47tristan2 has quit [Ping timeout: 480 seconds]
04:11hex-spell has quit [Ping timeout: 480 seconds]
04:33dylanchapell has quit [Read error: Connection reset by peer]
04:42jason1923 has joined #asahi-dev
04:43jason1923 has left #asahi-dev [#asahi-dev]
04:49dylanchapell has joined #asahi-dev
04:50DannyB has quit [Ping timeout: 480 seconds]
04:55jason1923 has joined #asahi-dev
04:55jason1923 has quit []
05:23midou has quit [Remote host closed the connection]
05:47midou has joined #asahi-dev
05:58crabbedhaloablut has joined #asahi-dev
06:05balrog has quit [Ping timeout: 480 seconds]
06:09balrog has joined #asahi-dev
06:58lena6 has quit [Remote host closed the connection]
07:08chadmedmarcan: m1n1 1.4.0 build fails with clang 17 https://github.com/AsahiLinux/m1n1/pull/339
07:47compassion17850 has joined #asahi-dev
07:52leiomarcan: could we turn the speakers on for the Studios at m1n1 level, where they don't really have tweeners to blow up and would need a kernel arg still? Or that would give too much an impression for the rest to start risking?
07:53r0ni has quit [Ping timeout: 480 seconds]
07:53compassion1785 has quit [Ping timeout: 480 seconds]
07:53compassion17850 is now known as compassion1785
07:58leioyeah, I had to patch dts for M2 Ultra Studio, pass kernel option, grab chadmed's ucm tree and tweak one thing in alsamixer and it's working great
08:00jannegI guess for the m2 someone needs to run the audio tracer to see how macos configures the amplifier
08:02jannegheadphone jack should work just with the UCM files which haven't been updated for the 2023 machines
08:03leioif asahi UCM stuff wan't installed, it worked to the extent of very silent microphone only, no sound out of headset
08:03leioif it was with Mac Studio J475.conf file added to do same as J375, it broke that too to this dummy output
08:04leiowith chadmed's production branch it needed speaker enabled to work for the time being and get the UCM tweaks applied which improved microphone volume and then kept sound output working as well
08:06leioI guess that basically the UCM stuff assumes speakers are there or otherwise error out overall
08:09marcanwe already went through that with the M1 desktops, where if you didn't have speakers they broke at one point, but not any more
08:10leioanyhow, if things are coming together and you think we should just wait for that, I'm good, I know what I need to patch on kernel upgrades
08:11leiowhat do we need to do with DCP, is it being worked on or is it something to try to work on myself somehow
08:13leiook, please do let me know if I can help in any way; testing, grunt work, anything. I've made this my daily driver already and quite motivated. Though my graphics driver and similar experience dates back to Geode LX times
08:13marcanleio: testing on j375 the headphone jack works just bringing up the volume in alsamixer, so j475 should be the same. I'm running this one headless so I haven't tested pipewire/ucm/etc, but it should definitely work if the configs are right.
08:14jannegheadphones with alsa should work without ucm files on j475d if the alsa device is configured correctly, not sure if pipewire will interfere with the config
08:14leiomaybe it was the volume level problem then and chadmed steered me towards trying the upcoming UCM stuff
08:15marcanit's possible the upcoming UCM stuff borks without speakers again, not sure if that's been tested.
08:16marcanleio: quick fix would have been to just look in /usr/share/alsa/ucm2/conf.d/macaudio and copy&replace everything mentioning j375 into j475
08:16leiothe upcoming configs initially gave stuff like https://bpa.st/ZRPQ without speakers enabled, etc
08:16jannegchadmed was planning to remove the speaker detection so I would expect that that breaks again without speakers
08:18leioI do have it working with the new UCM stuff now, speakers too, that's why I'm just asking if we should enable at m1n1 level for M2 Studio at this point
08:19marcanbasically we're working on a bunch of things at once, and trying to enable half-assed support partway along the way is just a distraction, when the machine isn't really usable for other reasons.
08:20leioM2 Ultra is so fast and silent that even 30% all cores for llvmpipe rasterize_scene stuff makes it quite usable for non-games on OpenGL gnome-shell :) but yes, not a normal thing to "support"
08:20marcan(basically replaced by a watchdog-capable magic handshake with userspace, that falls back to not no audio, but rather just a very low volume cap)
08:33chadmedjanneg: yeah my branch currently has no speaker detection so any acp/ucm interaction will fail on the missing mixer elems. the problem for leio initially was indeed the jack mixer elems not being set to sane defaults without ucm or kcontrol fixup in macaudio
08:57lina has quit [Remote host closed the connection]
09:06kidplayer666They didn't even launch an iMac pro..
09:06kidplayer666I got a feeling that the Mac category, despite the recent apple silicon revolution is kinda getting divested from
09:08kidplayer666did it die cause of mistreatment or simply because Google hasn't in 7 years figured out QC yet
09:09kidplayer666I bet you, in a month there will be reports of the new Pixel 8 breaking down in some hilarious way
09:13hightower3 has quit [Ping timeout: 480 seconds]
09:15kidplayer666marcan: I heard that when it came to the camera cracking thing they weren't covering it under warranty
09:15kidplayer666So I wasn't sure how well it was covered when it came to the rest
09:16kidplayer666chadmed: I feel that the chance for asahi to even exist is slimming down as Apple tries to strenghthen control over the platform
09:16kidplayer666An AppStore exclusive Mac doesn't feel too farfetched (it's now called an iPad)
09:17j`eyhttps://discussion.fedoraproject.org/t/what-happens-to-asahi-if-apple-stops-allowing-booting-non-macos-operating-systems/90405/9
09:18zalyx0 has quit [Quit: later alligator]
09:19chadmed has quit [Remote host closed the connection]
09:19kidplayer666j`ey: thanks
09:20zalyx0 has joined #asahi-dev
09:20jeisom has joined #asahi-dev
09:24zalyx0 has quit []
09:31chadmed has joined #asahi-dev
09:36zalyx0 has joined #asahi-dev
09:38cyrinux has quit []
09:40cyrinux has joined #asahi-dev
09:40cyrinux has quit []
09:40cyrinux has joined #asahi-dev
09:41cyrinux has quit []
09:41cyrinux has joined #asahi-dev
09:48Deewiant has quit [Remote host closed the connection]
09:49Deewiant has joined #asahi-dev
09:52espo has quit [Quit: WeeChat 4.0.5]
09:56cy8aerBecause it is still not in asahi-6.5-11: Would it be possible to offer the camera resolutions needed for web applications that are offered with macOS on mbpro14/m1 please? According to https://webcamtests.com/resolution these are VGA, HD, and FHD. With Linux only FHD is offered. I know it is hopefully only a bit dtp but it would be very useful on many web applications.
09:58espo has joined #asahi-dev
10:14hex-spell has joined #asahi-dev
10:20darkapex has quit [Ping timeout: 480 seconds]
10:43eilncy8aer: they are in https://github.com/AsahiLinux/linux/blob/asahi-wip/arch/arm64/boot/dts/apple/isp-imx558-cfg0.dtsi
10:47marcannon-cfg0 (t600x) does not have them, instead it has some funnier resolutions that come straight from sensor presets. we may or may not want to add the extra resolutions there too.
10:48cy8aer has quit [Remote host closed the connection]
10:56cy8aer has joined #asahi-dev
10:57jeisom has quit [Ping timeout: 480 seconds]
11:38darkapex has joined #asahi-dev
11:46flom84 has joined #asahi-dev
11:52flom84 has quit [Quit: Leaving]
11:55flom84 has joined #asahi-dev
12:07jeisom has joined #asahi-dev
12:08DannyB has joined #asahi-dev
12:12dcow has joined #asahi-dev
12:12ChaosPrincess has quit [Quit: ChaosPrincess]
12:13ChaosPrincess has joined #asahi-dev
12:20DannyB has quit [Ping timeout: 480 seconds]
12:41r0ni has joined #asahi-dev
12:45DannyB has joined #asahi-dev
12:58AnuthaDev has joined #asahi-dev
13:19espo has quit [Quit: WeeChat 4.0.5]
13:58DannyBATL has joined #asahi-dev
13:58DannyB has quit [Read error: No route to host]
14:01espo has joined #asahi-dev
14:03DannyBATL@marcan: Just FYI - i found a wifi point that, when scanned, crashes the 4388 driver (even without the 6G patches). So you'll have at least one more patch once i figure out what's going on, i'll rebase to the asahi-wip branch. I suspect we have one of the structure versions wrong but they didn't modify it enough to matter in most cases.
14:11janneglooks like we need to handle missing calicration files in older versions of appleh13camerad gracefully
14:17hightower2 has joined #asahi-dev
14:18flom84 has quit [Ping timeout: 480 seconds]
14:38hightower2 has quit [Read error: Connection reset by peer]
14:49AnuthaDev has quit [Ping timeout: 480 seconds]
14:57dcow has quit [Remote host closed the connection]
15:03zalyx0 has quit [Quit: later alligator]
15:05zalyx0 has joined #asahi-dev
15:05dcow has joined #asahi-dev
15:10hightower2 has joined #asahi-dev
15:17dcow has quit [Ping timeout: 480 seconds]
15:19hightower3 has joined #asahi-dev
15:19hightower2 has quit [Read error: Connection reset by peer]
15:21hightower4 has joined #asahi-dev
15:24darkapex has quit [Remote host closed the connection]
15:24darkapex has joined #asahi-dev
15:26hightower4 has quit [Read error: Connection reset by peer]
15:28hightower3 has quit [Ping timeout: 480 seconds]
15:41jeisom has quit [Ping timeout: 480 seconds]
15:43jannegmarcan: see https://github.com/AsahiLinux/linux/issues/207 (5/6 probably 12.4) and https://tpaste.us/PEvJ (maybe 12.3)
15:44zalyx0 has quit [Quit: later alligator]
15:50dcow has joined #asahi-dev
15:51DannyBATL has quit [Ping timeout: 480 seconds]
15:58dcow has quit [Ping timeout: 480 seconds]
16:06hightower2 has joined #asahi-dev
16:11zalyx0 has joined #asahi-dev
16:17dcow has joined #asahi-dev
16:21dcow has quit [Remote host closed the connection]
16:25dcow has joined #asahi-dev
16:29jannegany idea why simpledrm could end up with such a bogus looking resource on fedora: "simple-framebuffer simple-framebuffer.0: [drm] *ERROR* could not acquire memory range [bus ffff5581cc480580-ffff80008006bae0 flags 0xffffc578ca683088]:"?
16:33dcow has quit [Ping timeout: 480 seconds]
16:39dcow has joined #asahi-dev
16:43cyrinux has quit []
16:45dcow has quit [Remote host closed the connection]
16:45cyrinux has joined #asahi-dev
16:45dcow has joined #asahi-dev
17:05dcow has quit [Remote host closed the connection]
17:08dcow has joined #asahi-dev
17:11dcow has quit [Remote host closed the connection]
17:11dcow has joined #asahi-dev
17:18dcow has quit [Remote host closed the connection]
17:25jacksonchen666 has quit [Ping timeout: 480 seconds]
17:26dcow has joined #asahi-dev
17:35zzywysm has joined #asahi-dev
17:36zzywysmmarcan: are you intending to update the m1n1 subproject within asahi-installer to something newer than 1.3.3?
17:46jeisom has joined #asahi-dev
17:50dcow has quit [Remote host closed the connection]
17:57dcow has joined #asahi-dev
17:57psykose has quit [Remote host closed the connection]
17:58psykose has joined #asahi-dev
18:05dcow has quit [Ping timeout: 480 seconds]
18:05jannegj`ey: no, simpledrm intentionally doesn't do that. simpledrm should only grab the aperture if it is free. otherwise it could race with the proper drm driver if both are built-in or modules
18:06jannegI tried to block eififb's initcall but that didn't change anything, also did not look like efi grabbed the framebuffer from sysfs
18:10dcow has joined #asahi-dev
18:12dcow has quit [Remote host closed the connection]
18:16dcow has joined #asahi-dev
18:19dcow has quit [Remote host closed the connection]
18:19jannegdespite of the error simpledrm still seems to work. error is before the kernel calls init but with "rhgb quiet" removed from cmdline args it still print systemd startup messages
18:22jannegI don't see any of efifb's messages in the kernel log, blocking efifb_probe makes no difference
18:29jannegthe issue seesm to be that kwin apparently can't deal with simpledrm + asahi failing to work
18:50j`eyI'll submit that message fix in a few days, that'll at least avoid the 'wtf are those numbers' issue
18:54jannegthanks, yes it lead me into the wrong direction. I wonder if we have to do something to register the framebuffer as aperture
18:55hex-spell has quit [Quit: WeeChat 4.0.5]
18:56j`eyI would double check if it's failing in devm_aperture_acquire / overlaps, that means something else ahs grabbed it
19:05jannegok, the issue I saw is that software can't handle simpledrm + working GL driver which can't interact with simpledrm
19:07richyliu21 has joined #asahi-dev
19:08jannegbut I think that case works in other setups, i.e. I always had a working desktop when booting with nomodeset
19:12richyliu2 has quit [Ping timeout: 480 seconds]
19:12richyliu21 is now known as richyliu2
19:26lynndotpy has quit [Quit: bye bye]
19:26lynndotpy has joined #asahi-dev
19:45AnuthaDev has joined #asahi-dev
19:51SalimTer- has joined #asahi-dev
19:52Z750 has quit [Quit: bye]
19:52Z750 has joined #asahi-dev
19:55SalimTerryLi has quit [Ping timeout: 480 seconds]
20:14hex-spell has joined #asahi-dev
20:56AnuthaDev has quit []
21:05cylm has joined #asahi-dev
21:19crabbedhaloablut has quit []
23:09jeisom has quit [Remote host closed the connection]
23:11jeisom has joined #asahi-dev
23:52dcow has joined #asahi-dev