nerdopolis has quit [Quit: No Ping reply in 180 seconds.]
nerdopolis has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
kts_ has joined #dri-devel
kts_ has quit [Remote host closed the connection]
sguddati has joined #dri-devel
sguddati has quit [Ping timeout: 480 seconds]
sguddati has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
epoch101 has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
KAL9000 has quit [Read error: Connection reset by peer]
parthi has quit []
parthiban has joined #dri-devel
lfryzek has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
lfryzek has quit []
crabbedhaloablut has joined #dri-devel
OftenTimeConsuming has quit [Remote host closed the connection]
kts has joined #dri-devel
OftenTimeConsuming has joined #dri-devel
Daanct12 has quit [Ping timeout: 480 seconds]
lfryzek has joined #dri-devel
lfryzek has quit []
feaneron has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
Daanct12 has joined #dri-devel
sima has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
kzd has quit [Ping timeout: 480 seconds]
fab_ has joined #dri-devel
fab_ is now known as Guest5212
lfryzek has joined #dri-devel
lfryzek has quit []
coldfeet has joined #dri-devel
bolson has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
coldfeet has quit [Quit: Lost terminal]
kts has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
valpackett has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
valpackett has joined #dri-devel
valpackett has quit [Remote host closed the connection]
valpackett has joined #dri-devel
valpackett has quit [Remote host closed the connection]
valpackett has joined #dri-devel
sguddati has quit [Ping timeout: 480 seconds]
lfryzek has joined #dri-devel
karenw has quit [Ping timeout: 480 seconds]
lfryzek has quit []
valpackett has quit [Remote host closed the connection]
valpackett has joined #dri-devel
dolphin has joined #dri-devel
valpackett has quit [Remote host closed the connection]
valpackett has joined #dri-devel
sguddati has joined #dri-devel
Guest5212 has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
sguddati has quit [Ping timeout: 480 seconds]
sukuna has joined #dri-devel
fab has joined #dri-devel
mehdi-djait339716569521228247 has joined #dri-devel
tyalie has joined #dri-devel
fab has quit [Quit: fab]
fab has joined #dri-devel
fab has quit [Remote host closed the connection]
tzimmermann has joined #dri-devel
fab has joined #dri-devel
tyalie has quit []
tyalie has joined #dri-devel
tyalie has quit [Read error: Connection reset by peer]
tyalie has joined #dri-devel
fab has quit [Remote host closed the connection]
fab has joined #dri-devel
sguddati has joined #dri-devel
lfryzek has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
lfryzek has quit []
jkrzyszt has joined #dri-devel
sguddati has quit [Ping timeout: 480 seconds]
epoch101 has joined #dri-devel
JRepin has quit []
JRepin has joined #dri-devel
sguddati has joined #dri-devel
LeviYun has joined #dri-devel
lynxeye has joined #dri-devel
glennk has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
sgerhold has joined #dri-devel
dsimic is now known as Guest5221
dsimic has joined #dri-devel
Guest5221 has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
frankbinns has quit [Remote host closed the connection]
vliaskov has joined #dri-devel
lfryzek has joined #dri-devel
LeviYun has joined #dri-devel
frankbinns has joined #dri-devel
lfryzek has quit []
LeviYun has quit [Ping timeout: 480 seconds]
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit [Remote host closed the connection]
rasterman has joined #dri-devel
sukuna has quit [Remote host closed the connection]
kaiwenjon has quit [Quit: WeeChat 3.8]
kaiwenjon has joined #dri-devel
mehdi-djait3397165695212282475 has joined #dri-devel
xroumegue has quit [Ping timeout: 480 seconds]
mehdi-djait339716569521228247 has quit [Ping timeout: 480 seconds]
xroumegue has joined #dri-devel
rgallaispou has joined #dri-devel
jsa1 has joined #dri-devel
LeviYun has joined #dri-devel
lfryzek has joined #dri-devel
lfryzek has quit []
LeviYun has quit [Ping timeout: 480 seconds]
itoral has joined #dri-devel
<hummer12007>
a stupid libdrm question: why does drmModeGetProperty blob for a connector's EDID return NULL, while /sys/class/drm/<connector>/edid file has the EDID?
<emersion>
hm, can't think of a reason why this would happen
<emersion>
maybe invalid prop ID or object ID?
<emersion>
do you see the EDID with drm_info?
<hummer12007>
yes, i figured i fucked up somewhere in my code
<hummer12007>
i'm passing the prop_id as returned by drmModeGetProperty
<sima>
hummer12007, you're missing one indirection
<sima>
the property id isn't the value, just the id of the property
<hummer12007>
yeah, i found an example on getting the blob id
<hummer12007>
thanks!
<sima>
so you need to take what your get_property_id() returns, ask the connector for the value of that property
<sima>
and then use that value as the blob id
<sima>
hummer12007, nw
<sima>
was just worried for a moment that you've found a really hilarious kernel bug, they do happen :-)
<hummer12007>
and another stupid question i had: can i get the corresponding connector name (card0-DP-1 etc.) with the connector object?
LeviYun has joined #dri-devel
<hummer12007>
except by enumerating /sys/class/drm/*/connector_id
jljusten has quit [Quit: WeeChat 4.4.3]
<emersion>
drmGetDevice2() can give you "card0"
<emersion>
there is a type field in drmModeConnector, and a libdrm function to get the type string
<emersion>
there is "connector_type_id" which gives you the "1"
<emersion>
out of curiosity, why do you need to access sysfs? for i2c related things?
simon-perretta-img has joined #dri-devel
Peuc_ has quit [Ping timeout: 480 seconds]
Peuc has joined #dri-devel
<hummer12007>
yeah, i want to get the i2c bus
simon-perretta-img__ has quit [Ping timeout: 480 seconds]
<emersion>
makes sense
<hummer12007>
i wasn't sure if the numbering is shared or not on multi-gpu systems so i didn't want to make assumptions on that
<emersion>
it is shared
<hummer12007>
ack
<hummer12007>
ah
feaneron has joined #dri-devel
<hummer12007>
connector_type_id
<hummer12007>
thanks!!
<emersion>
IWO, DP-1 is enough to identify a unique connector on multi-GPU setups
<emersion>
it's first come first served
<hummer12007>
not persistent though
lfryzek has joined #dri-devel
<ukleinek>
..ooOO(persistent while the driver is bound)
<hummer12007>
it depends on gpu probe ordering from what i understand
<hummer12007>
so as soon as you reboot it might change
<emersion>
correct
lfryzek has quit []
epoch101 has joined #dri-devel
pcercuei has joined #dri-devel
epoch101 has quit []
<dolphin>
hummer12007: As far as I know, you can use /sys/bus/pci/devices for locating connectors per device
<dolphin>
and /dev/dri/by-path if you know the target system runs specific udev config
<hummer12007>
i'm not sure if it'll work with mst setups
<dolphin>
I would expect a single PCI driver instance to still own them
<dolphin>
(under /sysy/bus/pci that is)
<dolphin>
but that is slightly beyond my expertise, so can't say for sure. I would only expect hotpluggable GPUs to maybe be difficult to locate that way
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
apinheiro has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
sguddati has quit [Ping timeout: 480 seconds]
lfryzek has joined #dri-devel
jljusten has joined #dri-devel
lfryzek has quit []
itoral has quit [Quit: Leaving]
simon-perretta-img_ has joined #dri-devel
lfryzek has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
sguddati has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
dolphin has quit [Quit: Leaving]
Daanct12 has quit [Quit: WeeChat 4.4.4]
LeviYun has joined #dri-devel
bolson has joined #dri-devel
sguddati has quit [Ping timeout: 480 seconds]
rasterman has quit [Remote host closed the connection]
rasterman has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
frankbinns1 has joined #dri-devel
fab has quit [Quit: fab]
frankbinns has quit [Ping timeout: 480 seconds]
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
fab has joined #dri-devel
rcf has quit [Ping timeout: 480 seconds]
lumo_e has joined #dri-devel
LeviYun has joined #dri-devel
kts has joined #dri-devel
vliaskov has quit [Read error: Connection reset by peer]
rcf has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
sguddati has joined #dri-devel
oneforall2 has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
sguddati1 has joined #dri-devel
<rodrigovivi>
sima airlied: gentle ping on this: https://lore.kernel.org/intel-gfx/Z2WB9KDsuRN-xgo-@intel.com/ any issue there? I'm going to do the PR for both drm-xe-next and drm-intel-next today, but I'm not sure if I should do a PR for drm-intel-next with full long or on top of this previous one...
sguddati has quit [Ping timeout: 480 seconds]
<sima>
rodrigovivi, might just have fallen through cracks, somehow I didn't get a pile of mails from lore despite that the archive has them all
<sima>
rodrigovivi, nah so I got both those and your follow-up
<rodrigovivi>
sima, cool then, thank you!
<sima>
hm fdo patchwork has it too (that's the one airlied checks I think)
<sima>
rodrigovivi, let me do some pr processing
LeviYun has joined #dri-devel
kasper93 has quit [Ping timeout: 480 seconds]
kasper93 has joined #dri-devel
<sima>
rodrigovivi, looks all fine to me, I guess airlied just missed it
<sima>
or maybe wanted to delay due to the drm_connector_dynamic_init rework that went in through drm-misc (there was a conflict)
LeviYun has quit [Ping timeout: 480 seconds]
kasper93 has quit [Ping timeout: 480 seconds]
oneforall2 has joined #dri-devel
davispuh has joined #dri-devel
Duke`` has joined #dri-devel
sguddati1 has quit [Ping timeout: 480 seconds]
frankbinns1 is now known as frankbinns
soreau has quit [Quit: Leaving]
soreau has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
The_Company has quit []
Company has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
LeviYun has joined #dri-devel
amarsh04 has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
mbrost_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
benjaminl has quit [Read error: Connection reset by peer]
benjaminl has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
kts has quit [Quit: Leaving]
mehdi-djait3397165695212282475 has quit []
lumo_e has quit [Ping timeout: 480 seconds]
fab has quit [Read error: Connection reset by peer]
anujp has quit [Read error: Connection reset by peer]
anujp has joined #dri-devel
coldfeet has joined #dri-devel
heat has joined #dri-devel
LeviYun has joined #dri-devel
mbrost has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
jkrzyszt has quit [Quit: Konversation terminated!]
mbrost_ has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
sima has quit [Remote host closed the connection]
sima has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
<rodrigovivi>
sima: thank you... will prepare the following up, and last one of this round right now...
coldfeet has quit [Quit: Lost terminal]
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
parthiban has quit [Remote host closed the connection]
parthiban has joined #dri-devel
LeviYun has joined #dri-devel
yuq825_ has joined #dri-devel
<sima>
rodrigovivi, airlied ok pushed it now, got a bit distracted
kaiwenjon has quit [Read error: Connection reset by peer]
<rodrigovivi>
sima: now worries, I assumed you had left that for tomorrow because of the conflicts, but I did the PR now considering you would get that first... thank you
<zmike>
lynxeye: the working group meets regularly and oddhack merges trivial stuff independently
lumo_e has joined #dri-devel
jsa1 has quit [Ping timeout: 480 seconds]
<soreau>
how is weston able to run in wslg with the 'native' gl/d3d12 driver but wlroots gles renderer fails gbm_bo_create?
<DemiMarie>
Is every major GPU able to import linear buffers that are 256-byte aligned, have row pitches that are a multiple of 256, and have no more than 255 bytes of padding per row?
<soreau>
alternatively, is there a way to run a wayland compositor with gles on zink on dzn in wslg?
<soreau>
(I guess the former should be a #wlroots question)
kaiwenjon has joined #dri-devel
coldfeet has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
<jenatali>
soreau: d3d12 doesn't do gbm?
<soreau>
idk, you tell me
<jenatali>
I'm telling you, it doesn't
<soreau>
oh
<soreau>
so weston uses the 'magic' of freerdp-server gfx redirection?
<jenatali>
Yeah IIRC it uses "RAIL" to basically do rdp remoting of individual windows. The bits for the window flow over a network channel to the host instead of shared memory
crabbedhaloablut has quit []
<soreau>
ah ok
<jenatali>
And for cross-process stuff within the host it's all just plain shared system memory, no dmabuf or anything else
<jenatali>
Er, within the gues*
<jenatali>
guest*
<soreau>
some folks managed to build wslg with udmabuf config and get wayfire running with udmabuf allocator in software llvmpipe, but I was wondering how weston seems to use the GL driver and not fail on gbm.. but I guess it's not using gbm at all in this case
haaninjo has quit [Quit: Ex-Chat]
<jenatali>
Yeah
nerdopolis has joined #dri-devel
<jenatali>
Theoretically the d3d12 driver could export fds for shared resources, but they're not dmabuf, they're WDDM shared resources, so it's an ecosystem problem to be able to consume them
<jenatali>
At some point we'd talked about trying to get a path at least to XWayland and Weston to avoid the GPU -> CPU hop that every GL app currently hits in wslg
<soreau>
I see
<DemiMarie>
jenatali: Could WDDM shared resources be wrapped in dmabufs?
mbrost has joined #dri-devel
anujp has quit [Ping timeout: 480 seconds]
<jenatali>
No
<DemiMarie>
Is this because of different semantics, the lack of implicit sync in WDDM2, or the lack of an open-source userspace for upstreaming?
parthiban has quit [Remote host closed the connection]
parthiban has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
<jenatali>
Different semantics. Dmabuf is a bag-of-bytes with sync attached. WDDM shared resources are strongly typed
<jenatali>
Dmabuf also implies that a DRM driver is the one responsible for it, but the wslg dxgkrnl driver isn't a DRM driver
<DemiMarie>
Dmabuf is used by non-DRM drivers too.
<DemiMarie>
At least V4L2 and accelerator drivers also use dmabuf.
anujp has joined #dri-devel
parthiban has quit [Remote host closed the connection]
parthiban has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
lumo_e has quit []
<airlied>
jenatali: dma-buf is not drm-buf, it is meant for non-drm drivers as well
<jenatali>
Maybe I'm misremembering then
mbrost_ has joined #dri-devel
LeviYun has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
lynxeye has quit [Quit: Leaving.]
mbrost has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
mbrost_ has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
mbrost_ has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit []
mbrost has quit [Ping timeout: 480 seconds]
apinheiro has quit [Quit: Leaving]
LeviYun has quit [Remote host closed the connection]