ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
androidc512l has quit [Ping timeout: 480 seconds]
digetx has quit [Remote host closed the connection]
heat_ has quit [Read error: No route to host]
camus has quit [Remote host closed the connection]
heat has joined #dri-devel
camus has joined #dri-devel
digetx has joined #dri-devel
camus has quit [Remote host closed the connection]
camus has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
camus has quit [Remote host closed the connection]
camus has joined #dri-devel
<karolherbst> fsleep :O
<karolherbst> how nice to have a helper like that
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
camus has quit [Remote host closed the connection]
camus has joined #dri-devel
androidc512l has joined #dri-devel
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
Daanct12 has joined #dri-devel
camus1 has quit [Remote host closed the connection]
camus has joined #dri-devel
camus has quit [Remote host closed the connection]
camus has joined #dri-devel
Daanct12 has quit [Quit: Leaving]
Daanct12 has joined #dri-devel
anujp_ has joined #dri-devel
anujp has quit [Ping timeout: 480 seconds]
sdutt has joined #dri-devel
icecream95 has joined #dri-devel
androidc512l has quit [Remote host closed the connection]
heat has quit [Ping timeout: 480 seconds]
ppascher has joined #dri-devel
hch12907_ has quit [Ping timeout: 480 seconds]
lemonzest has quit [Quit: WeeChat 3.4]
bmodem has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
Daaanct12 has joined #dri-devel
Daanct12 has quit [Ping timeout: 480 seconds]
mbrost has quit [Read error: Connection reset by peer]
ramaling has quit [Remote host closed the connection]
ramaling has joined #dri-devel
aravind has joined #dri-devel
bmodem has joined #dri-devel
Duke`` has joined #dri-devel
yyyyyyyyyyyyyyyyyyyyyydrtdsea^ has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
mhenning has quit [Quit: mhenning]
mszyprow has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
mvlad has joined #dri-devel
danvet has joined #dri-devel
dj-death has joined #dri-devel
frieder has joined #dri-devel
lynxeye has joined #dri-devel
Daaanct12 is now known as Daanct12
jimjams has quit [Quit: Connection closed for inactivity]
jfalempe has joined #dri-devel
tursulin has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit []
frieder has quit [Remote host closed the connection]
sdutt has quit [Ping timeout: 480 seconds]
frieder has joined #dri-devel
lemonzest has joined #dri-devel
Haaninjo has joined #dri-devel
rasterman has joined #dri-devel
mslusarz_ has left #dri-devel [#dri-devel]
mslusarz has joined #dri-devel
frankbinns has joined #dri-devel
rsalvaterra has quit []
<tomeu> danvet: robclark: regarding doing what dim does, afaics that would mean using info about the branch being tracked, which I guess we don't have in the CI checkouts?
rsalvaterra has joined #dri-devel
<tomeu> this is my understanding of what dim essentially does: git rev-list "$branch@{u}..$branch" --first-parent --committer="$committer_email" --no-merges
anarsoul|2 has joined #dri-devel
anarsoul has quit [Read error: Connection reset by peer]
pcercuei has joined #dri-devel
MajorBiscuit has joined #dri-devel
MajorBiscuit has quit []
MajorBiscuit has joined #dri-devel
MajorBiscuit has quit []
icecream95 has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #dri-devel
rkanwal has joined #dri-devel
calebccff_ has quit []
calebccff has joined #dri-devel
tzimmermann has joined #dri-devel
ahajda has joined #dri-devel
Daanct12 has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
gawin has joined #dri-devel
bmodem has joined #dri-devel
kts has joined #dri-devel
maxzor has joined #dri-devel
flacks has quit [Quit: Quitter]
pcercuei has quit [Quit: brb]
flacks has joined #dri-devel
pcercuei has joined #dri-devel
nchery has quit [Read error: Connection reset by peer]
pjakobsson has quit [Remote host closed the connection]
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
lumag_ has joined #dri-devel
<danvet> tomeu, yeah for MR this should be doable
<danvet> for others, could we look at when the last CI run was done?
<danvet> and maybe then also exclude the next higher level branch (like from drm.git or torvalds.git)
<danvet> but also I think if you'd only do these checks on MR then that's ok
<tomeu> for MR there is no problem, as GitLab tells us what is the target branch and repo
<tomeu> "for others, could we look at when the last CI run was done?" can you extend on that?
<karolherbst> ehhh.. trying to figure out what I am doing wrong here, but I thought that's more or less equivalent: https://gist.githubusercontent.com/karolherbst/5c0af85bb175b4b816c8432b549df6c8/raw/81b14eb87c3f073ff5240006d439daae4571e961/tmp.patch
<karolherbst> tldl: list_empty+list_entry replaced by list_for_each_entry crashes
<karolherbst> ohh wait...
<karolherbst> yeah.. my bad, I can't remove things while iterating oops
<karolherbst> but I thought the _safe variant crashed as well, but maybe I messed something up
tutu has joined #dri-devel
<karolherbst> yeah.. seems like it was my mistake :)
<tzimmermann> jfalempe, can you merge the gamma patch for mgag200?
JohnnyonF has joined #dri-devel
<jfalempe> tzimmermann, yes, sure ;)
<tzimmermann> thank you
gouchi has joined #dri-devel
gouchi has quit []
JohnnyonFlame has quit [Ping timeout: 480 seconds]
alyssa has joined #dri-devel
<alyssa> This upstreams the Asahi "wrap" library
<alyssa> (i.e. LD_PRELOAD for tracing, except more macOS)
<alyssa> That means including a small amount of Apple code
<alyssa> I think the licensing is handled correctly there, but would like acks before merging in case I made a mistake
<alyssa> The two bits of apple code there are "DYLD_INTERPOSE", which is glue for the macOS linker, available under 2-clause BSD from WebKit
<jfalempe> tzimmermann, done
<alyssa> and the IOKit function prototypes themselves... of course the US supreme court never did answer whether that's copyrightable
<alyssa> Just updating some reverse-engineered names ... of course the techniques project zero uses for r/e necessarily "differ" from my own
<alyssa> lina: ^^
<tzimmermann> jfalempe, cool thanks
thellstrom has joined #dri-devel
mbrost has joined #dri-devel
mclasen has joined #dri-devel
maxzor has quit [Ping timeout: 480 seconds]
feaneron has joined #dri-devel
sdutt has joined #dri-devel
nchery has joined #dri-devel
gawin has quit [Ping timeout: 480 seconds]
<feaneron> i think i have a voice now, can people on irc read me?
<feaneron> (lord please someone say yes this time)
<pendingchaos> yes
bluepenquin_ has joined #dri-devel
<feaneron> \o/ - thank you!
<feaneron> i have a question about egl, and pbuffers. are pbuffer surfaces formally deprecated? should they not be used on newly written code?
<feaneron> i see in the khronos wiki that fbos should be used instead, but it seems like fbos cannot be used for offscreen rendering when it involves exporting the underlying texture as a dma-buf
<feaneron> eglExportDMABUFImageQueryMESA() returns EGL_FALSE if i try and export EGLImages, and it seems like this only fails when these images are created on surfaceless contexts
ella-0_ has joined #dri-devel
gouchi has joined #dri-devel
gouchi has quit []
ella-0 has quit [Read error: Connection reset by peer]
yyyyyyyyyyyyyyyyyyyyyydrtdsea^ has quit [Ping timeout: 480 seconds]
FireBurn has joined #dri-devel
<pq> feaneron, exporting from OpenGL is a bad idea to begin with. You have very little or no control about what the buffer will be compatible with, leaving it up to luck.
<pq> and exporting API is probably abandoned and missing modern stuff, I guess
<pq> feaneron, pbuffers are only useful if you really want to have a EGLSurface without any window system backing.
<pq> feaneron, if you want a sharable dmabuf, you'd probably create a gbm_bo, import it through EGL, and render into it with an FBO.
<feaneron> yes. perhaps i have fallen into the x-y problem?
<alyssa> :q
alyssa has quit [Quit: leaving]
<feaneron> right, but that won't work on older nvidia i'm afraid
<pq> would anything work on any nvidia?
<feaneron> for context: i'm working on a library that produces video. currently, previewing the video requires handing the library a windowing system surface (x11 window, wl_surface, win32 hndw, etc), and it'll manually put the video contents in there.
<feaneron> this is bad because this library renders in a separate thread, and swap buffers in a separate thread, and it's all very delicate and deadlock-prone
yyyyyyyyyyyyyyyyyyyyyydrtdsea^ has joined #dri-devel
<feaneron> i'm trying to rework it by making it render in an offscreen surface / texture, and exporting a handle to the texture for previews to import and render
<daniels> feaneron: there is no past, present, or future, in which dma_buf_export is a) a good idea or b) works reliably
<pq> handles are by definition platform-specific I believe
<daniels> sorry to be the bearer of bad news
<feaneron> in my mind, this is a better approach, but if anyone disagrees, please shout - i have no idea what i'm doing
gawin has joined #dri-devel
<feaneron> dma-bufs in general, or just the dma_buf_export extension?
<zmike> anholt_: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16497 seem ok or do I need more jobs
hch12907 has joined #dri-devel
<daniels> feaneron: just the dma_buf_export extension; dma buf importing is absolutely rock solid as it's the foundation for both Wayland and X11 as well as a bunch of other stuff
<feaneron> it's okay if i need to use gbm directly, but if you tell me i shouldn't be sharing dma-bufs, i'll blindly believe
<daniels> feaneron: the issue with exporting is that GL textures aren't really a single buffer; they're materialised and mutated and destroyed pretty arbitrarily
<daniels> so 'give me a dmabuf for this texture' is not especially workable
<daniels> gbm_bo works well for this, because it's actually explicitly managed and controlled - plus you know up front what you actually have to allocate for
<pq> feaneron, I suppose you might be able to create your own opaque type wrapping platforms-specific handles, with platform-specific APIs to make it useful on each platform, if we are talking about win32, linux FOSS, and NVIDIA proprietary on either.
<feaneron> so creating a gbm_bo or surface; importing it on egl; and rendering on it, is the way to go there?
<pq> at least on Linux and FOSS, yes.
<feaneron> yes, on a higher level, the api design must be cross-platform - it doesn't matter what each platform uses internally (dma-bufs on linux, hndw on win32, iosurfaces on mac, etc)
<pq> gbm_bo specifically, not gbm_surface
<feaneron> for nvidia though, i just don't know what to do
<pq> I don't know NVIDIA either.
<feaneron> i'll probably have to add "if(nvidia) use old stuff; else use gbm" all around
<feaneron> anyway; good to know dma-buf sharing is the way to go. is it problematic in importing a dma-buf that was exported by the same process?
<feaneron> to import*
<daniels> not at all
X512 has joined #dri-devel
<X512> Vulkan allow to allocate GPU memory without gbm and easily import/export fd.
<feaneron> hm, interesting
<feaneron> i'm afraid i'm stuck with opengl for now though
<X512> vkAllocateMemory, vkGetMemoryFdKHR, VkImportMemoryFdInfoKHR
<daniels> yeah, Vulkan does it right
* karolherbst sighs in cl_khr_gl_sharing
sdutt has quit []
sdutt has joined #dri-devel
linearcannon has quit [Ping timeout: 480 seconds]
<ajax> is there a way to just bind a gbm bo to a name from glGenBuffers() ?
bmodem has quit []
<daniels> ajax: not so directly, no
<daniels> eglCreateImage -> glEGLImageTargetTexture2DOES
<daniels> you could do the TFP thing of directly binding to a texture/framebuffer name but is there any reason to?
<dolphin> robertfoss: did you just a win a race in resolving drm-tip conflict?
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
gawin has quit [Quit: Konversation terminated!]
<robertfoss> dolphin: I do believe so
<robertfoss> dolphin: are you seing any issues on your end?
<dolphin> no, I'm just fascinated by how the conflict resolved itself :)
<robertfoss> :p
<ajax> daniels: why limit yourself to images. render to vertex buffer or ssbo or whatever.
<dolphin> doing a build check before calling it a day, to make sure
<dolphin> yeah, built fine here, so no problem
<dolphin> robertfoss: thanks :) now calling it a day ->
heat has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
frieder has quit [Remote host closed the connection]
Duke`` has joined #dri-devel
yyyyyyyyyyyyyyyyyyyyyydrtdsea^ has quit [Remote host closed the connection]
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
mdnavare_ has quit [Remote host closed the connection]
thellstrom has quit [Read error: Connection reset by peer]
mdnavare has joined #dri-devel
thellstrom has joined #dri-devel
bluepenquin_ has quit [Quit: Connection closed for inactivity]
MajorBiscuit has quit [Ping timeout: 480 seconds]
thellstrom has quit [Quit: thellstrom]
tutu has quit [Remote host closed the connection]
alyssa has joined #dri-devel
<alyssa> how the heck does dEQP-GLES3.functional.shaders.fragdepth.compare.fragcoord_z pass on radeonsi
<alyssa> oh. I see.
lynxeye has quit [Quit: Leaving.]
Company has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
<tonyk> any tips on how to run igt kms tests on a dual GPU notebook? card0 runs fine, but when I try to run at card1 it says that there's no output available
kts has quit [Ping timeout: 480 seconds]
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
<karolherbst> nice.. rust doesn't use pthread directly for locks anymore and things become faster :D
<karolherbst> tonyk: does your second card even have outputs?
<karolherbst> you can check with "ls /sys/class/drm/" if card1 advertises any outputs
<feaneron> is gbm_surface deprecated these days?
<daniels> no
<daniels> why?
<tonyk> karolherbst: indeed, it doesn't advertise any output. it's a intel/nvidia laptop, so how can I test nouveau's kms?
<karolherbst> tonyk: some laptops allow you to put them into discrete only mode in the UEFI menu
<karolherbst> but.. you could have one of those, where the discrete GPU is really just for acceleration
<karolherbst> I don't think that all igt tests require an actual display, but most probably do
<tonyk> karolherbst: looking at UEFI menu, it seems that I don't have this option, so I think I won't be able to test it. thanks for the help :)
<karolherbst> if you want to test nouveau I can come up with 1000 other things to test, if you are that eager though :P
alyssa has left #dri-devel [#dri-devel]
<feaneron> daniels: thanks. no particular reason, i just had that impression over the years
<tonyk> karolherbst: hehe, I'm more focused at KMS for now, maybe next time :D
tzimmermann has quit [Quit: Leaving]
mszyprow has quit [Ping timeout: 480 seconds]
mbrost_ has joined #dri-devel
mbrost_ has quit [Remote host closed the connection]
mclasen has quit []
anholt has joined #dri-devel
Daanct12 has joined #dri-devel
DB062PV has joined #dri-devel
DB062PV has left #dri-devel [#dri-devel]
gouchi has joined #dri-devel
gouchi_ has joined #dri-devel
gouchi has quit [Read error: Connection reset by peer]
gouchi_ has quit []
<zmike> dcbaker: lmk if you have any issues with backports from the script, the latest batch I pushed might not apply cleanly to 22.0
krushia has quit [Quit: Konversation terminated!]
icecream95 has joined #dri-devel
mvlad has quit [Read error: Connection reset by peer]
gouchi has joined #dri-devel
gouchi has quit [Remote host closed the connection]
aswar002_ has quit []
aswar002 has joined #dri-devel
krushia has joined #dri-devel
rkanwal has quit [Quit: rkanwal]
mdnavare has quit []
mdnavare has joined #dri-devel
lemonzest has quit [Quit: WeeChat 3.4]
luci has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
neonking has quit [Remote host closed the connection]
danvet has quit [Ping timeout: 480 seconds]
<dj-death> I forgot, is there a NIR helper to tell if an instruction precedes another?
<karolherbst> dj-death: in a cfg kind of way?
<karolherbst> or within a block?
adjtm has quit [Quit: Leaving]
<dj-death> karolherbst: within a block
mszyprow has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
<anholt> dj-death: inst->index, if you've got the metadata
Lucretia has quit []
<dj-death> anholt: thanks, I don't :(
Lucretia has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
rasterman has quit [Quit: Gettin' stinky!]
X512 has quit [Quit: Vision[]: i've been blurred!]
krushia has quit [Ping timeout: 480 seconds]
adjtm has joined #dri-devel
ahajda has quit [Quit: Going offline, see ya! (www.adiirc.com)]
pcercuei has quit [Quit: dodo]
morphis has quit [Ping timeout: 480 seconds]
morphis has joined #dri-devel
mhenning has joined #dri-devel
mszyprow has quit [Ping timeout: 480 seconds]
LexSfX has quit []
LexSfX has joined #dri-devel
tursulin has quit [Read error: Connection reset by peer]