ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
glennk has joined #wayland
kasper93 has quit [Remote host closed the connection]
feaneron has quit [Ping timeout: 480 seconds]
kasper93 has joined #wayland
feaneron has joined #wayland
tent4052 has joined #wayland
kasper93 has quit [Quit: kasper93]
kasper93 has joined #wayland
tlwoerner_ has joined #wayland
tlwoerner has quit [Ping timeout: 480 seconds]
ezzieyguywuf has joined #wayland
<ezzieyguywuf> why is the pointer coordinates provided as a Fixed, which includes decimal precision? what does it mean for the pointer to be at a fraction of a pixel location?
<ezzieyguywuf> I was looking at e.g. wl_pointer::motion
<ezzieyguywuf> also why is it signed? what is a negative pixel?
<danieldg> ezzieyguywuf: it's useful for things like a drawing program where you can paint a circle centered between pixels
<danieldg> negative pixels are seen in drags when they go above and left of the top of the window
<danieldg> also with scaling - a position of 1.5 might actually be 3 real pixels with scale 2
user21_ has joined #wayland
nerdopolis has quit [Ping timeout: 480 seconds]
Company has quit [Ping timeout: 480 seconds]
Moprius has quit [Quit: bye]
Company has joined #wayland
karenw has quit [Ping timeout: 480 seconds]
Brainium has joined #wayland
feaneron has quit [Ping timeout: 480 seconds]
garnacho has quit [Ping timeout: 480 seconds]
Brainium has quit [Read error: Connection reset by peer]
Brainium has joined #wayland
glennk has quit [Ping timeout: 480 seconds]
atticf has quit [Remote host closed the connection]
user21_ has quit [Remote host closed the connection]
atticf has joined #wayland
<whot> kennylevinsen: https://github.com/whot/wev/ has tablet support
<whot> should probably move this to gitlab wayland, the wev on sourcehut appears unmaintained
<whot> latex: the huion drivers that were part of digimend become part of the hid-uclogic driver in the kernel, but that's the huion ones only. others will be part of some other drivers in the kernel, as aproppriate. mind you, digimend is effectively dead now and we're planning to add future device support to udev-hid-bpf instead, so if the device doesn't work with the current kernel then
<whot> please file an issue there
Company has quit [Quit: Leaving]
mehdix has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
mehdix has joined #wayland
bodiccea has joined #wayland
<wlb> weston Issue #1014 opened by Manik Shekhar (manikshekhar15) weston-screenshooter error, weston --debug already enabled https://gitlab.freedesktop.org/wayland/weston/-/issues/1014
sima has joined #wayland
leon-anavi has joined #wayland
glennk has joined #wayland
<wlb> weston Issue #1014 closed \o/ (weston-screenshooter error, weston --debug already enabled https://gitlab.freedesktop.org/wayland/weston/-/issues/1014)
mvlad has joined #wayland
number0ne has joined #wayland
tzimmermann has joined #wayland
garnacho has joined #wayland
<MrCooper> whot: might it make sense to add wev to wayland-utils?
mdb977 has joined #wayland
iomari891 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
iomari891 has joined #wayland
<kennylevinsen> whot: oooh, I was wondering if there would be a fork but I didn't find yours - unfortunately, distro packages still point to the sourcehut one
bodiccea has quit [Ping timeout: 480 seconds]
andyrtr has quit [Ping timeout: 480 seconds]
<emersion> +1 for moving to gitlab and/or importing it in wayland-utils
iomari892 has joined #wayland
iomari891 has quit [Ping timeout: 480 seconds]
iomari892 has quit [Read error: Connection reset by peer]
<wlb> wayland-protocols Merge request !388 opened by Chris Morgan (chris-morgan) Tablet documentation tweaks (especially tool button values) https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/388
Brainium has quit []
rasterman has joined #wayland
nerdopolis has joined #wayland
mripard has quit [Quit: WeeChat 4.5.2]
<pq> whot, do you remember if anyone had a touchscreen input device emulator (uinput)?
<pq> hmm, just realized that such a thing could be combined with evdi to make it do both touch and screen.
<pq> or a kmsgrab hack what was it called
<kennylevinsen> not sure if anyone other than displaylink uses the evdi out-of-tree driver...
<kennylevinsen> but if it doesn't have to be *fully* emulated, at least in wlroots we can just create headless outputs that one can screencopy and create a window out of
<kennylevinsen> for touchscreen emulation purposes
<pq> displaylink uses evdi, but evdi itself is open, and it only loops the DRM FBs back to userspace
<pq> there is also a Qt app that shows the evdi "display"
<pq> but yeah, mirroring to vnc and manually laying a semi-transparent touch emulation window on top might work for Weston
Company has joined #wayland
feaneron has joined #wayland
Moprius has joined #wayland
* kennylevinsen looked into evdi recently to debug some issues, came out sad
<kennylevinsen> it doesn't loop back the fbs, it does a CPU copy to a user-provided buffer from the latched DRM FB :/
<pq> oh, yes.
<kennylevinsen> it's also racey and have broken vblank handling, but I only *just* reported that so we'll see
<pq> it's not efficient, but should be good enough for testing
<kennylevinsen> that's true
<pq> obvious reasons why it's not upstream :-)
<kennylevinsen> but evdi + a `DRM_EVDI_GRABPIX` client seems to give roughly the same as a headless output + screencopy client
<kennylevinsen> and seeing that touchpanels are a distinct display and touch digitizer, I wonder if that wouldn't be an easier/better approach
<pq> just need to be able to bind the two together, but it would be too easy to assume and an evdev device can only associate with a KMS output.
<pq> s/and/that/
<kennylevinsen> hmm, I'm not aware of there being any association other than perhaps a connector hint
<kennylevinsen> but I have a vague recollection of even that being deprecated - sway uses a heuristic on connector name
<pq> mostly compositor-specific, yeah
<pq> Weston uses an udev property on the input device to name the output which to bind to.
<pq> That used to be a libinput thing, but got deprecated or never well established.
<kennylevinsen> ah yeah, you mean that a particular compositor might be unwilling to logically map a touchscreen to a headless output?
<pq> yeah
<kennylevinsen> Fair enough yeah
<kennylevinsen> tbf, the tool could just screencopy a real connected display
<kennylevinsen> and associate with that
Moprius has quit [Remote host closed the connection]
number0ne has quit [Read error: Connection reset by peer]
number0ne has joined #wayland
rasterman has quit [Quit: Gettin' stinky!]
coldfeet has joined #wayland
<ezzieyguywuf> danieldg: I'm not sure what "scaling" is can you point me to any documentation? also, does this mean I can't solely rely on the x-y coordinates to relate directly to the x-y position of the pixels (i.e. do I need to account for this "scaling" thing?)
<ezzieyguywuf> for context I'm working on a vulkan renderer, and I want to use the x-y location of the mouse to determine if an item in the vulkan scene has been clicked on. in order for this to work I have to know the actual x-y pixel coordinate of the pointer
<kennylevinsen> ezzieyguywuf: the coordinates are in logical pixels. If someone has an output (display) running with a 2x scale (so stuff is 2x larger), each logical pixel spans two physical pixels
<kennylevinsen> and by virtue of being fixed point, you can know the pointer position with much higher resolution than either logical or physical pixels
Moprius has joined #wayland
andyrtr has joined #wayland
andyrtr has quit []
andyrtr has joined #wayland
<ezzieyguywuf> "know the pointer position with much higher resolution" I'm struggling to understand what this resolution actually accomplishes though. how is it helpful for me to know that the pointer is partially into a pixel? and how is wayland able to even calculate that? in my mental model the pixel is the lowest physical unit of resolution, so I can't gr0k a fraction of a pixel
<ezzieyguywuf> "the coordinates are in logical pixels" I see, this makes sense. so this means I _do_ need to account for scale for my implementation to work correctly.
<davidre> The mouse is an analog device
<davidre> so there is a difference between moving it from 1 to 2.5 or to 2.7
<davidre> but moving from 1.5 to 2.5 is the same as from 1 to 2
<davidre> it might matter for example for drag thresholds
<ezzieyguywuf> hm, ok I think I follow
number0ne has quit [Read error: Connection reset by peer]
number0ne has joined #wayland
tzimmermann has quit [Quit: Leaving]
rgallaispou has joined #wayland
rgallaispou has quit []
Brainium has joined #wayland
Company has quit [Remote host closed the connection]
coldfeet has quit [Quit: Lost terminal]
leon-anavi has quit [Quit: Leaving]
<paulk> hi folks, currently looking at multi-device support in the drm backend
<paulk> (as-in multi card nodes)
<paulk> There's a backend->drm pointer that's used all around and sometimes duplicated calls using backend->kms_list
<paulk> the issue I'm having is essentially that atomic commit fails when the drm device device is specified as additional
<paulk> and works when specified via --drm-device
<paulk> ultimately my goal here is to implement mirror mode across drm devices from two different cards
<paulk> so would it be welcome to have some refactoring to remove backend->drm
<paulk> and to always use the list instead?
<paulk> and also, is anyone working on this currently?
<paulk> there's also backend->gbm that should be moved to the drm device
<daniels> paulk: it's mostly mol who worked on that iirc, or was it pH5?
number0ne has quit [Read error: No route to host]
number0ne has joined #wayland
karenw has joined #wayland
feaneron has quit [Ping timeout: 480 seconds]
anabelae has joined #wayland
Calandracas__ has joined #wayland
Calandracas_ has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
karenw has quit [Ping timeout: 480 seconds]
nerdopolis_ has joined #wayland
nerdopolis is now known as Guest12343
nerdopolis_ is now known as nerdopolis
Guest12343 has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
anabelae has quit [Remote host closed the connection]
DodoGTA has quit [Read error: No route to host]
DodoGTA has joined #wayland
cyrinux9490 has quit []
cyrinux9490 has joined #wayland
number0ne has quit [Ping timeout: 480 seconds]
feaneron has joined #wayland