<jeffmr>
If I want to re-install openbsd without erasing the volume with diskutil how can I do that from the boot prompt > ?
<jeffmr>
I've tried boot -a and it boots and asks for the boot drive
<jeffmr>
I select sd1 which is the obsd usb drive. When it asks for swap I choose sd0a and it panics.
<jeffmr>
What do I choose for swap if the flash drive doesn't have one?
jeffmr has quit []
capta1nt0ad has joined #asahi
bps2 has quit [Ping timeout: 480 seconds]
<capta1nt0ad>
anyone 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)
possiblemeatball has joined #asahi
jamespmorgan has joined #asahi
jamespmo_ has quit [Ping timeout: 480 seconds]
yumasi_ has joined #asahi
capta1nt0ad has quit [Quit: Konversation terminated!]
yumasi_ has quit [Ping timeout: 480 seconds]
capta1nt0ad has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
julio7359 has joined #asahi
amarioguy has quit [Remote host closed the connection]
julio7359 has quit [Remote host closed the connection]
possiblemeatball has quit [Ping timeout: 480 seconds]
julio7359 has joined #asahi
capta1nt0ad has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi
julio7359 has quit [Ping timeout: 480 seconds]
julio7359 has joined #asahi
julio7359 has quit [Remote host closed the connection]
yumasi_ has joined #asahi
yumasi_ has quit [Ping timeout: 480 seconds]
mini0n has joined #asahi
derzahl has quit [Quit: auf wiedersehen]
derzahl has joined #asahi
<marcan>
ShadowJonathan: 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
<marcan>
one 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
<marcan>
reality: Linux just needed a patch to its NVMe driver since Apple's hardware is slightly nonstandard
<marcan>
but 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"
<marcan>
even 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)
capta1nt0ad has joined #asahi
jamespmo_ has joined #asahi
jamespmorgan has quit [Ping timeout: 480 seconds]
pthariensflame has joined #asahi
mstephenson6 has joined #asahi
i509vcb has joined #asahi
mini0n has quit []
<i509vcb>
Hello! 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?
<capta1nt0ad>
@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).
<marcan>
i509vcb: it is, that was added shortly after the first announcement of edge
<marcan>
(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)
<i509vcb>
nice
<i509vcb>
I think I implied the binary brightness from hearing about the m1 machines
<marcan>
it is binary on m2 on non-edge kernels (and always has been)
<marcan>
there 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
<marcan>
that was only like a week or so
<marcan>
DCP 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)
<marcan>
so it will probably wait until we consider the GPU stuff stable enough to promote
<i509vcb>
yeah, I kind of expect I will be using the edge kernels for some time
<i509vcb>
How does brightness control break desktop perf btw?
<marcan>
it goes together with the whole display controller driver
<marcan>
which completely changes how display output works, from a dumb framebuffer to a proper modern atomic modesetting driver
<marcan>
thing 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
<marcan>
it 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)
<marcan>
but none of that matters when rendering is done by the GPU
<i509vcb>
The 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.
<i509vcb>
I am not familar with the hardware as you can tell
possiblemeatball has quit [Ping timeout: 480 seconds]
<marcan>
software 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?
<marcan>
honestly 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)
<marcan>
not really worth spending time on software rendering when we have GPU drivers :)
<i509vcb>
I guess I should also ask, I assume the gpus support hardware planes in KMS (pending the driver to wire all that up)?
<marcan>
the GPU and display controller are independent
<marcan>
the DCP driver currently supports a single hardware plane
<marcan>
we 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
<marcan>
there 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
<marcan>
there'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
<marcan>
so 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)
<i509vcb>
yeah I've heard of horror stories with hardware planes on some hardware and the somewhat odd requirements you sometimes need to meet
<marcan>
also there's the whole story with multiplanar formats and framebuffer compression
<marcan>
we 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
<marcan>
(it's what macOS does most of the time too, single X2RGB10 + A8 biplane layer with compression)
capta1nt0ad has joined #asahi
<i509vcb>
Thanks for the info. You might see me vanish however since I had to use the webchat to talk here (matrix was yeeted)
i509vcb has left #asahi [#asahi]
<marcan>
np, we also have logs (see topic)
eroc1990 is now known as Guest1226
eroc1990 has joined #asahi
Guest1226 has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #asahi
yumasi_ has joined #asahi
yumasi_ has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
LinuxM1 has joined #asahi
yumasi_ has joined #asahi
yumasi_ has quit [Remote host closed the connection]
yumasi_ has joined #asahi
creechy has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
yumasi_ has quit [Ping timeout: 480 seconds]
capta1nt0ad has quit [Ping timeout: 480 seconds]
creechy has joined #asahi
rkjnsn_ has joined #asahi
mstephenson6 has quit [Quit: Konversation terminated!]
capta1nt0ad has joined #asahi
yumasi_ has joined #asahi
yumasi_ has quit [Ping timeout: 480 seconds]
cy8aer has quit [Remote host closed the connection]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #asahi
MajorBiscuit has joined #asahi
bps2 has joined #asahi
Guest1197 has quit [Quit: G-line: User has been permanently banned from this network.]
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi
cylm has quit [Ping timeout: 480 seconds]
paolo_kuk__ has quit [Quit: Connection closed for inactivity]
bps2 has joined #asahi
MajorBiscuit has quit [Quit: WeeChat 3.6]
Techcable has quit [Ping timeout: 480 seconds]
Techcable has joined #asahi
zalyx has quit [Quit: later alligator]
zalyx has joined #asahi
zalyx has quit []
zalyx has joined #asahi
tim has joined #asahi
tim is now known as Guest1251
Zopolis4 has joined #asahi
possiblemeatball has joined #asahi
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi
StupidYui has quit [Ping timeout: 480 seconds]
nico_32 has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nico_32 has joined #asahi
kefu_ is now known as kefu
leitao has joined #asahi
bisko has joined #asahi
chadmed_ has quit [Remote host closed the connection]
mofux has joined #asahi
mofux has quit [Remote host closed the connection]
balor has joined #asahi
delsol has joined #asahi
hightower2 has quit [Ping timeout: 480 seconds]
flokli has joined #asahi
hightower2 has joined #asahi
nicolas17 has joined #asahi
possiblemeatball has quit [Ping timeout: 480 seconds]
hightower2 has quit []
unicordion has joined #asahi
<kettenis>
jeffmr: just boot into a ramdisk by typing bsd.rd at the boot> prompt
jamespmo_ has quit [Ping timeout: 480 seconds]
balor has quit [Quit: balor]
bcrumb has joined #asahi
possiblemeatball has joined #asahi
derzahl has quit [Remote host closed the connection]
mps has quit [Quit: Lost terminal]
mps has joined #asahi
derzahl has joined #asahi
bcrumb has quit [Quit: WeeChat 3.7.1]
<derzahl>
what 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
<derzahl>
tried reinstalled linux-asahi-edge, regenerating initrd, etc. none of the updates fron yesterday seem like anything that would affect the back light
<j`ey>
anything in the dmesg?
<derzahl>
apple-dcp 231c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:3684: IOMFB: Could not find Backlight service
<bcrumb>
I am here to report that latest Tor Browser Ports version 12.0 works on Asahi Linux :]
<derzahl>
not sure about when the backlight was working, but i do not see any systemd service with 'backlight' in the name currently:)
bcrumb has quit []
<derzahl>
j`ey: nah, i broke macos ages ago and dont use it
<j`ey>
jannau: any ideas?
<derzahl>
is there actually a systemd-backlight service running on yours?
<derzahl>
i can try reinstalling whatever package that comes from...systemd?
<derzahl>
oh, i also saw that same error message going back weeks in my logs so i figured it could be a red herring
<j`ey>
oh
<sven>
yeah, that message is normal I think
<sven>
I’ve seen it a few times as well
<j`ey>
ok, it should print (from linux) 'Unable to register backlight device' if it fails on the linux side
amarioguy has joined #asahi
Zopolis4 has quit [Quit: Connection closed for inactivity]
<mps>
hm, I have this 'apple-dcp 38bc00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:3684: IOMFB: Could not find Backlight service' but brightness works fine
jacksonchen666 has quit [Remote host closed the connection]
nicolas17 has quit [Ping timeout: 480 seconds]
eroux has quit [Remote host closed the connection]
delsol_ has joined #asahi
delsol has quit [Read error: Connection reset by peer]
eroux has joined #asahi
landscape15 has joined #asahi
landscape15_ has joined #asahi
leftas has joined #asahi
eroux has quit [Read error: No route to host]
eroux has joined #asahi
landscape15_ has quit []
delsol has joined #asahi
delsol_ has quit [Read error: No route to host]
delsol_ has joined #asahi
landscape15 has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Leaving]
Moprius has joined #asahi
delsol has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi
jeffmr has quit [Quit: leaving]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #asahi
DarkShadow4444 has joined #asahi
DarkShadow4444 has quit [Remote host closed the connection]
DarkShadow4444 has joined #asahi
Moprius has quit [Ping timeout: 480 seconds]
DarkShadow44 has quit [Ping timeout: 480 seconds]
hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sethbrasile has joined #asahi
sethbrasile is now known as SethTheGreat
SethTheGreat is now known as seeeath
delsol_ has quit [Remote host closed the connection]
jacksonchen666 has quit [Remote host closed the connection]
seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicolas17 has joined #asahi
sethbrasile has joined #asahi
<nicolas17>
what's the status of usb type-c controller support?
<nicolas17>
I 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
rkjnsn_ has quit [Remote host closed the connection]
jamespmorgan has joined #asahi
<nicolas17>
hmm "/sys/class/typec/port?" exists
<j`ey>
that's worked for a while, it was usb3 that wasnt
<nicolas17>
can I implement a USB device then? :)
<nicolas17>
how 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
balor has joined #asahi
balrog has quit [Quit: Bye]
<nicolas17>
my 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
<nicolas17>
however it seems feasible on the Mac...
balrog has joined #asahi
mxz has quit [Quit: cya]
mxz has joined #asahi
pthariensflame has joined #asahi
jamespmorgan has quit [Remote host closed the connection]