2023-01-13
00:11hertz has quit [Ping timeout: 480 seconds]
00:12hertz has joined #asahi
00:22jeffmr has joined #asahi
00:23jeffmrIf I want to re-install openbsd without erasing the volume with diskutil how can I do that from the boot prompt > ?
00:24jeffmrI select sd1 which is the obsd usb drive. When it asks for swap I choose sd0a and it panics.
00:39jeffmr has quit []
01:06capta1nt0ad has joined #asahi
01:06bps2 has quit [Ping timeout: 480 seconds]
01:08capta1nt0adanyone know why I can't hotplug USB storage devices? The drive gets turned on, but it never shows up in lsblk (unless I have it available while booting)
01:10possiblemeatball has joined #asahi
01:22jamespmorgan has joined #asahi
01:28jamespmo_ has quit [Ping timeout: 480 seconds]
01:39yumasi_ has joined #asahi
01:47capta1nt0ad has quit [Quit: Konversation terminated!]
01:47yumasi_ has quit [Ping timeout: 480 seconds]
01:47capta1nt0ad has joined #asahi
02:22Brainium has quit [Quit: Konversation terminated!]
02:39julio7359 has joined #asahi
02:47amarioguy has quit [Remote host closed the connection]
02:50julio7359 has quit [Remote host closed the connection]
02:59possiblemeatball has quit [Ping timeout: 480 seconds]
03:01julio7359 has joined #asahi
03:04capta1nt0ad has quit [Ping timeout: 480 seconds]
03:13possiblemeatball has joined #asahi
03:17julio7359 has quit [Ping timeout: 480 seconds]
03:17julio7359 has joined #asahi
03:20julio7359 has quit [Remote host closed the connection]
03:45yumasi_ has joined #asahi
03:53yumasi_ has quit [Ping timeout: 480 seconds]
03:54mini0n has joined #asahi
04:04derzahl has quit [Quit: auf wiedersehen]
04:04derzahl has joined #asahi
04:18marcanShadowJonathan: I'm not aware of any "evil checks" ever existing in Apple products, that's just a myth/misconception that keeps coming up whenever this third party OS stuff is discussed which is why I mentioned it
04:19marcanone big FUD instance was when T2 Macs came out, and some YouTuber or something claimed they "lock out the HDD from being used by Linux" and started a whole cycle of fake news
04:19marcanreality: Linux just needed a patch to its NVMe driver since Apple's hardware is slightly nonstandard
04:20marcanbut this kind of stuff happens all the time with Apple because people don't understand how these secure boot systems actually work and how companies actually implement these things and what is "security" vs "just undocumented"
04:21marcaneven today we still have people throwing around expectations that Asahi Linux will never support SEP/Touch ID/whatever because they expect it to be "locked down" in some vague way (it's not, nothing is locked down from third-party OSes except decrypting DRMed content)
04:25capta1nt0ad has joined #asahi
04:28jamespmo_ has joined #asahi
04:34jamespmorgan has quit [Ping timeout: 480 seconds]
04:34pthariensflame has joined #asahi
04:38mstephenson6 has joined #asahi
04:38i509vcb has joined #asahi
04:38mini0n has quit []
04:40i509vcbHello! I couldn't find precise info in the channel logs, is the brightness control on the M2 Air adjustable on the edge kernel or is it still a binary brightness setting?
04:52capta1nt0ad@i509vcb Yes, it should be in the brightness settings in most DE's or you can write a value from 0 to 255 in '/sys/class/backlight/apple-panel-bl/brightness' ('/sys/class/leds/kbd_backlight/brightness' for the keyboard backlight).
04:54marcan(actually it wasn't even binary on M2 for the brief period before that on edge, it was just outright always on, since we disable the binary brightness hack on edge)
04:57marcanthere was just a brief limbo period for edge where DCP didn't support M2 but we unconditionally disable that hack on the edge kernels, so M2 machines wound up with neither
04:58marcanDCP is also probably getting to the point where we could promote it to stable, except for the part where it hurts performance without the GPU drivers, which is a bit of a conundrum (you gain brightness support but lose desktop perf)
05:00marcanwhich completely changes how display output works, from a dumb framebuffer to a proper modern atomic modesetting driver
05:01marcanthing is the dumb framebuffer driver is more optimized for software rendering platforms, and also doesn't have vsync which also helps performance when you are right on the edge of smoothness with software rendering
05:02marcanit actually should hurt performance even more if it mapped buffers properly, I'm pretty sure what it does right now is technically not legal as far as the hardware goes (but it works anyway)
05:02pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
05:04capta1nt0ad has quit [Ping timeout: 480 seconds]
05:05jeffmr has joined #asahi
05:06i509vcbThe proper atomic modesetting driver I assume is having to deal with copying data from the CPU side? I'd think that would make sense as to why the perf is worse there.
05:06possiblemeatball has quit [Ping timeout: 480 seconds]
05:07marcansoftware rendering is always copying data on the CPU anyway, but I think specifically with the modesetting driver you end up doing full updates, while I think the simpledrm driver has better support for damage regions?
05:07marcanhonestly I'm not sure exactly how it all works out in the software rendering path and I don't really care to find out, I just know it's noticeably slower with DCP (particularly on Wayland)
05:09i509vcbI guess I should also ask, I assume the gpus support hardware planes in KMS (pending the driver to wire all that up)?
05:09marcanwe can in theory support at least 2 or 3 depending on the platform, but we still have some things to figure out and make that practical
05:10marcanthere are 4 plane slots in the firmware API but not all can be used at once, and some seem to have special behavior on some platforms, so for now it's best to just keep the supported configurations simple
05:11marcanthere's also a very annoying quirk that the DCP firmware doesn't support XRGB8888 (i.e. alphaless standard RGB). we can emulate that for a single plane by treating it as ARGB8888 with premultiplied alpha, which is what we do now, but that doesn't work for overlay planes
05:12marcanso unless we find a way to disable alpha (maybe with matrix stuff / some property?) for a given plane, we either have to drop support for XRGB8888 (will break some userspace) or only support it on some planes (not sure how practical that is)
05:12i509vcbyeah I've heard of horror stories with hardware planes on some hardware and the somewhat odd requirements you sometimes need to meet
05:13marcanwe should look into that first since it gives the best quality/bandwidth/etc ratio for a single plane and is what KDE ought to use by default if supported
05:14marcan(it's what macOS does most of the time too, single X2RGB10 + A8 biplane layer with compression)
05:17capta1nt0ad has joined #asahi
05:21i509vcbThanks for the info. You might see me vanish however since I had to use the webchat to talk here (matrix was yeeted)
05:21i509vcb has left #asahi [#asahi]
05:29eroc1990 is now known as Guest1226
05:29eroc1990 has joined #asahi
05:37Guest1226 has quit [Ping timeout: 480 seconds]
06:04SSJ_GZ has joined #asahi
06:15yumasi_ has joined #asahi
06:23yumasi_ has quit [Ping timeout: 480 seconds]
06:35cylm has quit [Ping timeout: 480 seconds]
06:38LinuxM1 has joined #asahi
06:45yumasi_ has joined #asahi
06:58yumasi_ has quit [Remote host closed the connection]
07:07yumasi_ has joined #asahi
07:11creechy has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
07:15yumasi_ has quit [Ping timeout: 480 seconds]
07:15capta1nt0ad has quit [Ping timeout: 480 seconds]
07:18creechy has joined #asahi
07:20rkjnsn_ has joined #asahi
07:21mstephenson6 has quit [Quit: Konversation terminated!]
07:37capta1nt0ad has joined #asahi
07:44yumasi_ has joined #asahi
07:58yumasi_ has quit [Ping timeout: 480 seconds]
08:03cy8aer has quit [Remote host closed the connection]
08:58rvalue has quit [Read error: Connection reset by peer]
08:58rvalue has joined #asahi
09:17MajorBiscuit has joined #asahi
09:23bps2 has joined #asahi
09:39Guest1197 has quit [Quit: G-line: User has been permanently banned from this network.]
09:40vx has joined #asahi
09:41vx is now known as Guest1238
09:49ChaosPrincess has quit [Quit: WeeChat 3.7.1]
09:49ChaosPrincess has joined #asahi
10:03q3k2 is now known as q3k
10:14LinuxM1 has quit [Ping timeout: 480 seconds]
10:16bps2 has quit [Ping timeout: 480 seconds]
10:18cylm has joined #asahi
10:18leitao has joined #asahi
10:30thansen has quit [Quit: The Lounge - https://thelounge.github.io]
10:31thansen has joined #asahi
10:37bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:43jluthra has quit [Remote host closed the connection]
10:43jluthra has joined #asahi
11:28cylm has quit [Ping timeout: 480 seconds]
11:37paolo_kuk__ has quit [Quit: Connection closed for inactivity]
11:46bps2 has joined #asahi
12:27MajorBiscuit has quit [Quit: WeeChat 3.6]
12:37Techcable has quit [Ping timeout: 480 seconds]
12:43Techcable has joined #asahi
12:46zalyx has quit [Quit: later alligator]
12:47zalyx has joined #asahi
12:47zalyx has quit []
12:49zalyx has joined #asahi
12:54tim has joined #asahi
12:55tim is now known as Guest1251
13:02Zopolis4 has joined #asahi
13:07possiblemeatball has joined #asahi
13:11jacksonchen666 has quit [Remote host closed the connection]
13:11jacksonchen666 has joined #asahi
13:24StupidYui has quit [Ping timeout: 480 seconds]
13:24nico_32 has quit [Ping timeout: 480 seconds]
13:29leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:34nico_32 has joined #asahi
13:37kefu_ is now known as kefu
13:42leitao has joined #asahi
13:48bisko has joined #asahi
13:50chadmed_ has quit [Remote host closed the connection]
14:00mofux has joined #asahi
14:01mofux has quit [Remote host closed the connection]
14:15balor has joined #asahi
14:17delsol has joined #asahi
14:19hightower2 has quit [Ping timeout: 480 seconds]
14:34flokli has joined #asahi
15:04hightower2 has joined #asahi
15:08nicolas17 has joined #asahi
15:11possiblemeatball has quit [Ping timeout: 480 seconds]
15:29hightower2 has quit []
15:34unicordion has joined #asahi
15:48jamespmo_ has quit [Ping timeout: 480 seconds]
16:11balor has quit [Quit: balor]
16:12bcrumb has joined #asahi
16:27possiblemeatball has joined #asahi
16:29derzahl has quit [Remote host closed the connection]
16:29mps has quit [Quit: Lost terminal]
16:31mps has joined #asahi
16:40derzahl has joined #asahi
16:44bcrumb has quit [Quit: WeeChat 3.7.1]
16:44derzahlwhat would cause my backlight to stop working after a recent update and reboot? As soon as the edge kernel boots the backlight shuts off. It cannot be adjusted even after booting into DE on either xorg or wayland. /sys/class/backlight directory is empty
16:46derzahltried reinstalled linux-asahi-edge, regenerating initrd, etc. none of the updates fron yesterday seem like anything that would affect the back light
16:53derzahlapple-dcp 231c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:3684: IOMFB: Could not find Backlight service
16:58bcrumb has joined #asahi
16:58derzahlnot sure about when the backlight was working, but i do not see any systemd service with 'backlight' in the name currently:)
16:58bcrumb has quit []
17:02derzahloh, i also saw that same error message going back weeks in my logs so i figured it could be a red herring
17:06j`eyok, it should print (from linux) 'Unable to register backlight device' if it fails on the linux side
17:07amarioguy has joined #asahi
17:12Zopolis4 has quit [Quit: Connection closed for inactivity]
17:15mpshm, I have this 'apple-dcp 38bc00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:3684: IOMFB: Could not find Backlight service' but brightness works fine
17:27jacksonchen666 has quit [Remote host closed the connection]
17:31nicolas17 has quit [Ping timeout: 480 seconds]
17:42eroux has quit [Remote host closed the connection]
17:52delsol_ has joined #asahi
17:52delsol has quit [Read error: Connection reset by peer]
17:56eroux has joined #asahi
17:58landscape15 has joined #asahi
18:03landscape15_ has joined #asahi
18:03leftas has joined #asahi
18:05eroux has quit [Read error: No route to host]
18:05eroux has joined #asahi
18:06landscape15_ has quit []
18:09delsol has joined #asahi
18:09delsol_ has quit [Read error: No route to host]
18:10delsol_ has joined #asahi
18:10landscape15 has quit [Ping timeout: 480 seconds]
18:14possiblemeatball has quit [Quit: Leaving]
18:15Moprius has joined #asahi
18:17delsol has quit [Ping timeout: 480 seconds]
18:17jacksonchen666 has joined #asahi
18:19jeffmr has quit [Quit: leaving]
18:22eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:25eroux has joined #asahi
18:25DarkShadow4444 has joined #asahi
18:26DarkShadow4444 has quit [Remote host closed the connection]
18:26DarkShadow4444 has joined #asahi
18:28Moprius has quit [Ping timeout: 480 seconds]
18:32DarkShadow44 has quit [Ping timeout: 480 seconds]
18:33hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:40sethbrasile has joined #asahi
18:41sethbrasile is now known as SethTheGreat
18:42SethTheGreat is now known as seeeath
18:53delsol_ has quit [Remote host closed the connection]
19:02jacksonchen666 has quit [Remote host closed the connection]
19:03jacksonchen666 has joined #asahi
19:04abby has quit [Ping timeout: 480 seconds]
19:10abby has joined #asahi
19:18leitao has quit [Quit: Textual IRC Client: www.textualapp.com]
19:24seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:24nicolas17 has joined #asahi
19:24sethbrasile has joined #asahi
19:30nicolas17I know the USB controller on the macs support acting as both host and device (m1n1 uses device mode for the proxy thing afaik) but I don't know if the Linux driver to do that role selection is working
19:32rkjnsn_ has quit [Remote host closed the connection]
19:33jamespmorgan has joined #asahi
19:41nicolas17how crazy would it be to configure one port as a host, another as a device, and "proxy" packets between them in software, thus getting a software sniffer? maybe someone here with more USB experience can point out the flaw in my plan
19:44balor has joined #asahi
19:46balrog has quit [Quit: Bye]
19:49nicolas17my Lenovo laptop (Intel i5-8250U) has a single USB-C port, but there's no /sys/class/typec (it might not support USB-PD at all?), and there's a /sys/class/usb_role/intel_xhci_usb_sw-role-switch, but if that even works, I think it would affect *all* ports
19:50balrog has joined #asahi
19:51mxz has quit [Quit: cya]
19:52mxz has joined #asahi
19:57pthariensflame has joined #asahi
20:03jamespmorgan has quit [Remote host closed the connection]
20:04pthariensflame has quit [Quit: Textual IRC Client: www.textualapp.com]
20:06pent1ckel has joined #asahi
20:24delsol has joined #asahi
20:36leftas has quit [Quit: Bye!]
20:36leftas has joined #asahi
20:36leftas has quit []
20:37leftas has joined #asahi
21:10tim has joined #asahi
21:10leitao has joined #asahi
21:10tim is now known as Guest1286
21:12leitao has quit [Read error: Connection reset by peer]
21:14jannauproblem might however be "RTKit: syslog message: nifiedPipeline.cpp:6548: set_digital_out_mode returned 8000000b"
21:16jannauderzahl: are you sure it is just the backlight and not the whole display? please provide asahi-diagnose output
21:17Guest1251 has quit [Ping timeout: 480 seconds]
21:19Guest1286 has quit [Ping timeout: 480 seconds]
21:47ayke has joined #asahi
22:20sethbrasile has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:22seeeath has joined #asahi
22:33ten157237 has quit [Remote host closed the connection]
22:33ten157237 has joined #asahi
22:37delsol_ has joined #asahi
22:37delsol has quit [Read error: No route to host]
22:38delsol has joined #asahi
22:40axboe has quit [Quit: Lost terminal]
22:40SSJ_GZ has quit [Ping timeout: 480 seconds]
22:40chadmed_ has joined #asahi
22:42axboe has joined #asahi
22:45delsol_ has quit [Ping timeout: 480 seconds]
23:36unicordion has quit [Ping timeout: 480 seconds]
23:37ten157237 has quit [Remote host closed the connection]
23:37ten157237 has joined #asahi
23:39derzahlthe whole display? I am using the display right now. pixels work, just no backlight since i rebooted yesterday
23:48capta1nt0ad has quit [Remote host closed the connection]