ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput
Arnavion has quit [Remote host closed the connection]
Arnavion has joined #wayland
kasper93 has joined #wayland
Brainium has joined #wayland
jrayhawk has joined #wayland
solomoncyj has joined #wayland
<solomoncyj>
hello
<solomoncyj>
does wayland have a protoocool for applications to request for a global keybind on the fly?
DMJC has joined #wayland
<DMJC>
is there a test application for DRM lease? I want to grab a lease device and draw a test pattern on it
<Arnavion>
solomoncyj: No, but there's an xdg-desktop-portal interface for that, or individual compositors might provide their own way
glennk has quit [Ping timeout: 480 seconds]
<solomoncyj>
also have the bug about flatpak x apps, eg podman desktop, not being able to share clipboards with the wayland system been fixed yet?
<bl4ckb0ne>
DMJC: i have a fork of kmscube with drm lease somewhere, but if you want to draw you need vk
<bl4ckb0ne>
its pretty straightforward tho
<solomoncyj>
is thre a way to "reject" a keybind and stop an application form listen it without telling the app?
nerdopolis has joined #wayland
solomoncyj has quit [Quit: Page closed]
fmuellner has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
<DMJC>
blk4ckb0ne: perfect, I don't need to change the picture atm. Just trying to test a PSVR2 on Linux
<DMJC>
I've got the headset activating the external cameras over USB, I want to see if I can get it to show a picture and get into VR mode.
Brainium has quit [Quit: Konversation terminated!]
<bl4ckb0ne>
have you tried monado?
<DMJC>
no, I haven't seen any PSVR2 support for them?
<bl4ckb0ne>
iirc it should work, otherwise it would not be far from the older one
<DMJC>
how do you use the drm lease with the vkcube application?
<DMJC>
I've got the kmscube application with DRM built
<DMJC>
it's trying to init the wrong display
<bl4ckb0ne>
i think i saw a drm vkcube somewhere
<bl4ckb0ne>
got a connector leased?
<DMJC>
xrandr lists lease-DP-1
<DMJC>
but I'm on wayland, I suspect my compositor (wayfire) might not support it
<DMJC>
./kmscube -l
<DMJC>
zwp_lease_manager_v1 global not available
<DMJC>
ah here we go, kde has it
DMJC has quit [Remote host closed the connection]
mohan43u has quit [Quit: WeeChat 4.4.0]
mohan43u has joined #wayland
mxz__ has joined #wayland
mxz___ has joined #wayland
mxz has quit [Ping timeout: 480 seconds]
mxz___ is now known as mxz
mxz_ has quit [Ping timeout: 480 seconds]
sima has joined #wayland
glennk has joined #wayland
bnason24 has joined #wayland
bnason21 has joined #wayland
rv1sr has joined #wayland
bnason21 is now known as bnason2
bnason24 has quit [Ping timeout: 480 seconds]
abhimanyu has joined #wayland
cptaffe` has joined #wayland
rv1sr has quit []
cptaffe has quit [Ping timeout: 480 seconds]
RAOF has quit [Remote host closed the connection]
RAOF has joined #wayland
kts has joined #wayland
kts has quit [Quit: Leaving]
kts has joined #wayland
kts has quit [Quit: Leaving]
tlwoerner has joined #wayland
tzimmermann has joined #wayland
mvlad has joined #wayland
glennk has quit [Read error: Connection reset by peer]
kts has joined #wayland
Hypfer has joined #wayland
leon-anavi has joined #wayland
mripard has joined #wayland
DMJC has joined #wayland
<DMJC>
hmm... so the PSVR2 appears as a 1080p device under Wayland/AMDGPU but on Intel with a USB-C -> DP adapter it appears as 4080x2000 pixels
<DMJC>
I also can't activate the DRM lease, I've tried and the cube application segfaults or says no permission
kts has quit [Quit: Leaving]
<kennylevinsen>
if you can't activate the drm lease, how do you know it shows up as a 1080p device?
<DMJC>
wayland-info
<DMJC>
connector id 107
<DMJC>
using DRM mode 1920x1080@0.000000Hz
<DMJC>
that's when I run the KMS Cube application
<kennylevinsen>
that doesn't mean it's the only mode, the lease application is free to modeset
<DMJC>
interesting, that's the only mode that xrandr and the cube application are detecting.
<linkmauve>
DMJC, maybe try drm_info instead?
<DMJC>
thanks, there's a lot of information there about texture formats etc.
<kennylevinsen>
it should also give you the available modes
<DMJC>
yeah it's failing to get the 4k mode
<DMJC>
only showing 1920x1080 at 23/24/50/60hz
<DMJC>
interesting, since on Windows it has the full range of 4k modes
<DMJC>
if I switch to the USB-C HDMI adapter I get the full list of modes.
<DMJC>
including 4000x2040@119.88
<kennylevinsen>
sounds like your gpu driver might be filtering the mode based on perceived link limitations then
<DMJC>
I might have just found the cause
rasterman has joined #wayland
<DMJC>
hmm ok, it's not the HDMI being plugged in, looks like some sort of limitation on Linux
<pq>
ramblurr, many wl_proxy_marshal_* functions are obsolete, but we cannot delete them because it would break library ABI. Problems with the older ones include e.g. subtle thread races leading to protocol errors.
<pq>
bl4ckb0ne, colinmarc, you could try the wayland-protocols experimental/ process already, see if it feels good - just cannot land anything upstream yet, but no harm in having MRs.
DMJC has quit [Remote host closed the connection]
MTCoster has joined #wayland
DMJC has joined #wayland
<DMJC>
I fell back to X11, I can access the headset including VR Mode just sending it 4k 120hz/4k 90hz data works.
<DMJC>
Looks like the headset auto-loads into VR Mode
___nick___ has joined #wayland
tlwoerner has quit [Quit: Leaving]
<linkmauve>
DMJC, can you run drm_info again now, and see if the new mode appeared?
___nick___ has quit []
___nick___ has joined #wayland
<bluetail>
misbehaving VR headsets can be detrimental for health... I'd be wary
flokli has quit [Ping timeout: 480 seconds]
flokli has joined #wayland
<wlb>
wayland-protocols Merge request !292 closed (Specify wl_surface.offset for toplevel-drag)
rv1sr has joined #wayland
lileo has quit [Quit: Connection closed for inactivity]
fmuellner has joined #wayland
<DMJC>
linkmauve, I tested in X11 on AMD and it still doesn't appear
feaneron has joined #wayland
DMJC has quit [Remote host closed the connection]
yaslam_ has joined #wayland
yaslam has quit [Read error: Connection reset by peer]
<ramblurr>
pq: which ones are deprecated? or rather, which ones should I be using in new lang binding code?
<pq>
ramblurr, I don't remember off-hand, but the newer would be better. There are also two alternative APIs, one used by wayland-scanner and the other for language bindings that are less fond of C.
<pq>
ramblurr, I think the "array" variants are more popular with language bindings, and the non-array ones are used by wayland-scanner.
<pq>
ramblurr, wl_proxy_marshal_array_flags() is probably the best thing.
nerdopolis has joined #wayland
<pq>
ramblurr, wl_proxy_add_dispatcher() may be best for language bindings for setting up event handling.
<pq>
ramblurr, wl_proxy_set_tag() may also be of interest, for identifying which component owns the proxy, to know whether to interpret its user_data.