neonking_ has joined #wayland
neonking has quit [Ping timeout: 480 seconds]
co2umbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
silver has quit [Quit: One for all, all for One (2 Corinthians 5)]
silver has joined #wayland
boistordu_old has joined #wayland
boistordu has quit [Ping timeout: 480 seconds]
blue_penquin is now known as test
<mstoeckl> observation: sysctl vm.max_map_count reports 65530, and creating that many windows (each shm pool = 1 mmap)...
<mstoeckl> ... leads to memory allocation failure, and crashes; notably weston after an EGL_BAD_ALLOC
test is now known as blue_penquin
blue_penquin has quit [Quit: authenticating]
blue_penquin has joined #wayland
danvet has joined #wayland
DwarfSec has quit []
Arnavion has quit [Remote host closed the connection]
Arnavion has joined #wayland
hardening has joined #wayland
SunWuKung has joined #wayland
<emersion> i've also seen EGL_BAD_ALLOC when creating a shm buffer that is too large
<emersion> (but haven't seen a wlroots crash)
pochu has joined #wayland
pnowack has joined #wayland
<zzag> jadahl: how does mutter handle additional state attached to the surface state, e.g. xdg-surface state, in the wp_transactions implementation?
<zzag> or rather how does mutter associate additional state with the surface state?
<zzag> I guess it's a better way to put it
<zzag> in kwin, we keep things such as double-buffered xdg-surface state in the associated xdg_surface object, but I think it won't fly with the wp_transactions protocol
<jadahl> zzag: kind of. the "ack" serial is part of the cached state
<jadahl> so when its finally applied, the right configuration (given the ack serial) is picked up
<pq> mstoeckl, I guess that's just yet another way to get malloc()/calloc() return NULL? Weston mostly pretends to handle that, but there are gaps, I'm sure.
<pq> mstoeckl, I mean, *alloc a big enough thing, and it's implemented with mmap()'ing something, IIRC. Explicitly called mmap() I'd hope has checks and just disconnects clients when it happens.
<pq> but, probably has gaps
<zzag> jadahl: ack's are not universal though, this will not work with pointer constraints (wp_locked_pointer_v1 or wp_confined_pointer_v1), will it?
<pq> and yes, Weston never checks shm buffer dimensions against maximum texture size in GL ES. But how does that turn into an EGL error?
<pq> I suppose vm.max_map_count is yet another reason why malloc() failures really should be handled.
<gitlab-bot> wayland issue (Merge request) 142 in wayland "Draft: macOS and OpenBSD/FreeBSD kqueue(2) support" [Opened]
<jadahl> zzag: pointer constraints care about the buffer/window geometry like things though I guess? that state will be part of the cache machinery too
st3r4g has joined #wayland
bjorn1 has joined #wayland
letoram has quit [Read error: Connection reset by peer]
bjorn1 has quit []
letoram has joined #wayland
<zzag> jadahl: correct, so my question is how is the additional state associated with the surface state? is it simply embedded in the surface state? or does mutter do something fancier to avoid wasting ram if the associated surface has no pointer constraints, etc?
<jadahl> zzag: in mutter there is the "active" state, and a list of pending configurations (with associated serial numbers)
<jadahl> pointer constraint stuff is using a gobject concept called "qdata" that can attach auxiliary data on objects, i.e. it's "attach" on demand on the cached state/surface state
<zzag> oh, interesting. is the qdata copied to the cached state or is the qdata and its ownership moved to the cached state?
<jadahl> zzag: can't remember the details i'm afraid, i wrote that transaction stuff over a year ago
<zzag> heh, np :)
sca has joined #wayland
hesperos66 has quit [Quit: leaving]
<zzag> pq: https://gitlab.freedesktop.org/wayland/weston/-/issues/494 is weston_paint_item the same as weston_paint_node?
<gitlab-bot> wayland issue 494 in weston "Use paint nodes everywhere" [Core Compositor, Epic, Testing, Opened]
<pq> zzag, yes. daniels talked about paint items, but somehow in my head it turned into paint node.
<pq> so now they are paint nodes
* daniels shrugs
<daniels> if our biggest issue is the exact name, then we're doing well :)
<pq> daniels, a nice rabbit hole you found in #504 :-D
<pq> I guess the question is just about how to understand the text in #494 because it still talks about paint items
<pq> I'll fix that
klltkr has joined #wayland
<daniels> pq: srsly
<pq> enum weston_color_transfer_function_type { WESTON_COLOR_TRANSFER_FUNCTION_TYPE_LUT_3x1D, ...
<pq> gets a bit long :-/
<pq> enum weston_color_tf_type { WESTON_COLOR_TF_TYPE_LUT_3x1D, ...
<pq> is that too cryptic?
<pq> trfn?
<pq> "transfer function" comes from EOTF/EOTF^-1 or even OETF or OOTF, so I can't just call it EOTF.
<pq> tferfn? eh
<pq> bleh, weston_color_transfer_function_type it is
klltkr has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
sca has quit []
tzimmermann has joined #wayland
tzimmermann has quit []
tzimmermann has joined #wayland
neonking__ has joined #wayland
neonking_ has quit [Ping timeout: 480 seconds]
agd5f has joined #wayland
robert_mader has joined #wayland
mhayden has joined #wayland
robert_mader has quit [Read error: Connection reset by peer]
enilflah has joined #wayland
boistordu_old has quit [Remote host closed the connection]
blue__penquin has joined #wayland
klltkr has joined #wayland
ajax has joined #wayland
sca has joined #wayland
klltkr has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
sca_ has joined #wayland
tzimmermann has quit []
tzimmermann has joined #wayland
sca has quit [Ping timeout: 480 seconds]
tzimmermann has quit []
tzimmermann has joined #wayland
blue__penquin has quit []
blue__penquin has joined #wayland
AJ_Z0 has quit [Quit: ZNC 1.6.1+deb1~ubuntu12.04.2 - http://znc.in]
AJ_Z0 has joined #wayland
_whitelogger has joined #wayland
blue__penquin has quit []
spstarr has joined #wayland
vmeson has joined #wayland
feaneron has joined #wayland
sca_ has quit []
SunWuKung has quit [Remote host closed the connection]
SunWuKung has joined #wayland
silver has quit [Quit: One for all, all for One (2 Corinthians 5)]
silver has joined #wayland
DwarfSec has joined #wayland
glisse has quit [Quit: leaving]
glisse has joined #wayland
glisse has quit [Quit: leaving]
glisse has joined #wayland
glisse has quit []
glisse has joined #wayland
danvet has quit [Ping timeout: 480 seconds]
mhayden has quit [Quit: The Lounge - https://thelounge.chat]
mhayden has joined #wayland
tzimmermann has quit [Quit: Leaving]
boistordu_ex has joined #wayland
Arnavion has quit [Ping timeout: 480 seconds]
boistordu_ex has quit []
boistordu_ex has joined #wayland
boistordu_ex has quit [Remote host closed the connection]
spstarr has quit [Remote host closed the connection]
pnowack has quit [Quit: pnowack]
boistordu_ex has joined #wayland
Arnavion has joined #wayland
Arnavion has joined #wayland
DwarfSec has quit []
SunWuKung has quit [Remote host closed the connection]
hardening has quit [Quit: http://quassel-irc.org - Discuter simplement. Partout.]
st3r4g has quit [Quit: おやすみ]
CME_ has joined #wayland
andyrtr has quit [Remote host closed the connection]
CME has quit [Ping timeout: 480 seconds]