#
✕ nick:dottedmag
#asahi-dev · 2023-09-17 13:39
dottedmagwonders why violet case was printed with a lack of linear advance, while blue one seems to be perfect. Different plastics?
#asahi-dev · 2023-09-17 13:37
dottedmagjannau: I guess a case this small can be packed into a letter, so not annoying at all.
#asahi-dev · 2023-09-04 08:54
dottedmaghttps://drmdb.emersion.fr/properties/3435973836/BACKGROUND
#asahi-dev · 2023-09-04 08:53
dottedmagThere are some properties, varying from driver to driver: https://drmdb.emersion.fr/properties/3233857728/backlight https://drmdb.emersion.fr/properties/4008636142/brightness https://drmdb.emersion.fr/properties/4008636142/contrast
#asahi-dev · 2023-09-04 08:52
dottedmagSeriously, there is no DDC/CI in KMS/DRM? Not even as an output property of a DRM driver?
#asahi-dev · 2023-09-01 07:37
dottedmagknedlik: daniels here
#asahi-dev · 2023-08-29 11:36
dottedmagntk: This is a channel for Asahi development, please use #asahi
#asahi-dev · 2023-07-30 11:55
dottedmagmarcan: JFYI I won't be able to work on xkb in foreseeable future due to other obligations. (I have released that yak back to the unclaimed pool on wiki)
#asahi-dev · 2023-07-16 08:37
dottedmagjannau: you mean CTM update should return and fold the change into next screen update?
#asahi-dev · 2023-07-16 07:39
dottedmagYep, so the swap returns after the previous framebuffer has been dealt with. This leaves uncertainty when swap can return during the vblank (which is still >=4% of the frame length). I guess I'd better empirically test it.
#asahi-dev · 2023-07-16 07:32
dottedmagOr anywhere in between?
#asahi-dev · 2023-07-16 07:31
dottedmagI see. So when in the lifecycle of the frame swap unblocks? I'm not sure how it works. I guess at some point DCP should stop reading from one framebuffer and start reading from another. I guess that without further nudging it does not do that within the frame, so it's somewhere within vblank? Is it when DCP releases the previous framebuffer after it's done with the frame, or when DCP starts reading the new one?
#asahi-dev · 2023-07-16 07:25
dottedmagjannau: So, do I get it right that for now DRM_IOCTL_MODE_ATOMIC blocks, and DRM_MODE_ATOMIC_NONBLOCK is not supported?
#asahi-dev · 2023-07-16 07:14
dottedmagI see previous discussion on lack of vblank IRQ (good riddance!) Does DCP provide a event+timestamp for "this fb/crtc configuration is being presented", and is it exposed by DRM somehow? 16ms is quite a bit of time room, so it would be nice to be able to synchronize with actual refresh.
#asahi-dev · 2023-07-13 12:50
dottedmagusers are not supposed to set this flag
#asahi-dev · 2023-07-13 12:49
dottedmagnote that you are in developers' channel
#asahi-dev · 2023-06-15 15:00
dottedmagIt will help if "does not work" could be a bit more detailed.
#asahi-dev · 2023-05-11 18:20
dottedmagballsyasahiuser: this is a channel for Asahi development
#asahi-dev · 2023-04-29 08:00
dottedmagmarcan: Yes, I'll talk to daniels
#asahi-dev · 2023-04-29 06:48
dottedmagmarcan: JFYI I'll take XKB change
#asahi-dev · 2023-04-29 06:27
dottedmagYou can clone it as git repo and push changes back
#asahi-dev · 2023-04-29 06:27
dottedmageiln_: BTW, GH wiki is also version-controlled
#asahi-dev · 2023-04-18 09:09
dottedmagmarcan: that's the charge limit applied my macos, right?
#asahi-dev · 2023-04-15 14:24
dottedmagjannau: neat. sounds like something M1/M2-specific compositor/compositor plugin can utilize fully.
#asahi-dev · 2023-04-14 16:56
dottedmagAnd "DOC: standard connector properties" in drivers/gpu/drm/drm_connector.c confirms it
#asahi-dev · 2023-04-14 16:53
dottedmagThe property description kinda says it's up to userspace: "Optional connector property indicating how the lcd-panel is mounted inside the casing (e.g. normal or upside-down)"
#asahi-dev · 2023-04-11 06:34
dottedmagjannau: Yep, TB. OK.
#asahi-dev · 2023-04-11 05:45
dottedmagjannau: Would you like to see the more traces from that two-tile 5K monitor, or the ones I made last year are enough to understand how M1 drives it?
#asahi-dev · 2023-04-02 08:00
dottedmag be running as a separate isolated subsystem, not as a part of userspace program.
#asahi-dev · 2023-04-02 08:00
dottedmagMesa is basically a GPU driver in userspace (among other things). NVidia userspace part is the same. This is the breakage I'm talking about: Flatpak has to take on a role of abstracting hardware, the role customarily reserved for OS kernel. For the most of the hardware kernel ABI is the interface, and userspace is more-or-less insulated from the vagaries of hardware. Not so with GPUs. In a microkernel design GPU driver would probably
#asahi-dev · 2023-04-02 06:55
dottedmagFlatpack isolation idea really breaks down with huge-GPU-piece-of-code-in-userspace situation.
#asahi-dev · 2023-03-20 08:07
dottedmagI don't think I understand the question. Are you asking about the VT/Linux console layouts? They can be generated from XKB nowadays. IIRC Debian folks has created a tool other distros use to convert XKB -> console layout.
#asahi-dev · 2023-03-20 07:31
dottedmagTheoretically Wayland supports configuration mechanisms other than XKB, but in practice 1) no other format is defined in specification; 2) no compositor supports anything else; 3) most importantly, clients support only XKB
#asahi-dev · 2023-03-15 10:26
dottedmagmps: IANAL, better check with the real one. However https://github.com/ipmitool/ipmitool was archived by GH today, due to a having developer from that company.
#asahi-dev · 2023-03-15 09:42
dottedmagsomething about chaining? I don't remember the details.
#asahi-dev · 2023-03-15 09:42
dottedmagsven: You have mentioned Thunderbolt-related patchset that wasn't upstreamed couple of weeks ago, it was produced by ppl from this company
#asahi-dev · 2023-03-15 09:32
dottedmagsven: A heads-up (in case it's important for you) about that Thunderbolt patchset. YADRO is on US sanctions list: https://home.treasury.gov/policy-issues/financial-sanctions/recent-actions/20220915
#asahi-dev · 2023-03-13 08:19
dottedmagmaybe something else is screwed up and it's not gettext?
#asahi-dev · 2023-03-13 08:19
dottedmagwhy there is a lock in gettext anyway
#asahi-dev · 2023-03-13 07:04
dottedmagjannau: So this is also a problem for small cursors, not only partially off-screen ones, right?
#asahi-dev · 2023-03-13 06:57
dottedmagugh, ugly
#asahi-dev · 2023-03-13 06:54
dottedmagSomething like this (assuming that DCP has a notion of a stride): https://gist.github.com/dottedmag/4f48d81c143d56b93249926ec1d29bd7
#asahi-dev · 2023-03-13 06:51
dottedmaga stupid question: if it's RGBA (it's RGBA, right?) can we play with w/h/stride of the buffer to tell DCP that the plane is exactly the size to fit on screen (and thus effectively hide the part of buffer that'd be rendered offscreen)
#asahi-dev · 2023-03-02 06:21
dottedmagoops, sorry
#asahi-dev · 2023-03-02 06:20
dottedmagtelerga
#asahi-dev · 2023-03-01 10:45
dottedmaghaha, "yadro" literally means "kernel" in Russian.
#asahi-dev · 2023-02-08 11:49
dottedmagjannau: This happens on boot, couldn't one supply bluez with the files in /var/lib/bluetooth directly? Though the file format is documented as "discouraged to access directly", of course.
#asahi-dev · 2023-02-07 22:37
dottedmagt: camera?
#asahi-dev · 2023-01-14 09:16
dottedmagchadmed: To use these examples: blessing is not in glossary, and boot policy is mentioned in SEP article, but not on its own. More important, glossary says "what thing is", not "where do I find it when I look at the system, and what does it contain"
#asahi-dev · 2023-01-14 08:56
dottedmagchadmed: Very nice writeup. Is there another place that grounds the terms used in it to the actual bits? I'm looking for something like "per-container boot polices are files this and that on partition foo" and "blessing means creating a signature using this key over hashes of these files and storing it in here"

plus ›