ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
Lun has joined #dri-devel
* alyssa wonders why clipflat is causing so much grief for so many arm drivers
Lun has quit [Remote host closed the connection]
fxkamd has joined #dri-devel
iive has quit [Quit: They came for me...]
Haaninjo has quit [Quit: Ex-Chat]
fxkamd has quit []
pcercuei has quit [Quit: dodo]
coailtb^ has joined #dri-devel
sul has quit [Ping timeout: 480 seconds]
sul has joined #dri-devel
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
djbw has quit [Read error: Connection reset by peer]
chloekek has quit []
<alyssa> or how "arb_color_buffer_float-render sanity" possible passes for anybody
<alyssa> Oh I see what's happening. Subtle.
* alyssa missed 3 words in the spec.
JohnnyonFlame has quit [Ping timeout: 480 seconds]
Lucretia has quit [Read error: No route to host]
Lucretia has joined #dri-devel
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #dri-devel
heat_ has quit [Remote host closed the connection]
heat_ has joined #dri-devel
Danct12 has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
Danct12 has quit [Remote host closed the connection]
sul has quit [Ping timeout: 480 seconds]
heat_ has quit [Ping timeout: 480 seconds]
rmckeever has quit [Quit: Leaving]
fab has joined #dri-devel
lplc has quit [Ping timeout: 480 seconds]
mhenning has quit [Quit: mhenning]
srslypascal is now known as Guest136
srslypascal has joined #dri-devel
junaid has joined #dri-devel
Guest136 has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
lemonzest has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
dcz_ has joined #dri-devel
Duke`` has joined #dri-devel
junaid has quit [Remote host closed the connection]
junaid has joined #dri-devel
camus has joined #dri-devel
JohnnyonFlame has joined #dri-devel
rasterman has joined #dri-devel
sul has joined #dri-devel
<MrCooper> airlied: didn't think gnome-terminal used GL, does it?
<jadahl> it doesn't, gnome-terminal is gtk3
<MrCooper> thanks for confirming
underpantsgnome[m] has quit []
pcercuei has joined #dri-devel
JohnnyonF has joined #dri-devel
JohnnyonFlame has quit [Ping timeout: 480 seconds]
danvet has joined #dri-devel
kts has joined #dri-devel
Haaninjo has joined #dri-devel
junaid has quit [Remote host closed the connection]
i-garrison has quit []
i-garrison has joined #dri-devel
thaytan has quit [Ping timeout: 480 seconds]
camus has quit [Ping timeout: 480 seconds]
gouchi has joined #dri-devel
kts has quit [Quit: Leaving]
tzimmermann has joined #dri-devel
darkbasic4 has quit [Remote host closed the connection]
sul has quit [Read error: Connection reset by peer]
gouchi has quit [Remote host closed the connection]
heat_ has joined #dri-devel
yuq825 has left #dri-devel [#dri-devel]
junaid has joined #dri-devel
<kchibisov> Is there a way to simulate GPU reset with EGL/GLX, so I can test how my app handles it?
<tleydxdy> you could trigger a reset manually I think
<i509VCB> Webgl has an extension to test that, but I'm not sure about desktop
<kchibisov> I think I shouldn't touch old resources like textures when getting reset? Like I shouldn't try to drop them.
junaid has quit [Ping timeout: 480 seconds]
Jeremy_Rand_Talos__ has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
heat_ has quit [Read error: Connection reset by peer]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
heat_ has joined #dri-devel
kts has joined #dri-devel
<ishitatsuyuki> kchibisov: You're responsible for destroying the old context and old resources (but don't use it as conceptually the "VRAM is lost").
<ishitatsuyuki> https://registry.khronos.org/OpenGL/extensions/ARB/ARB_robustness.txt explicitly mentions that "the application can safely destroy the context".
<ishitatsuyuki> For manually triggering a reset, if you're running an AMD GPU, you can do so by reading `/sys/kernel/debug/dri/N/amdgpu_gpu_recover` (replace N with device index) as root.
<ishitatsuyuki> (by "don't use it" I mean to not access the resource in any way other than destroying)
<kchibisov> ishitatsuyuki: ah yeah, that's what I want to know. I basically run gl::DeleteXXX in destructors, so was curious whether I should disable such calls or not.
<kchibisov> But from the spec it seems like it will generate context loss error at max and should be fine to run them.
Haaninjo has quit [Read error: Connection reset by peer]
<zamundaaa[m]> That's correct, all OpenGL calls except for GetGraphicsResetStatus just no-op
<zamundaaa[m]> All you need to do in application code is to not crash when creating fences, mapping vbos and so on fails. Then just destroy and recreate everything
tzimmermann has quit [Quit: Leaving]
<Ristovski> Is there any alternative to libstrangle that works well with EGL? Currently strangle is broken under wayland due to RTLD_LOCAL
<Ristovski> seems like apitrace hit a similar issue https://github.com/apitrace/apitrace/issues/349 if I understand it correctly
Haaninjo has joined #dri-devel
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
Company has joined #dri-devel
JohnnyonFlame has joined #dri-devel
JohnnyonF has quit [Ping timeout: 480 seconds]
OftenTimeConsuming is now known as Guest156
OftenTimeConsuming has joined #dri-devel
Guest156 has quit [Remote host closed the connection]
sul has joined #dri-devel
mhenning has joined #dri-devel
<jenatali> Mis012: Your messages aren't making it to IRC here. I suspect you aren't authed: https://people.freedesktop.org/~cbrill/dri-log/?date=today
<HdkR> Seemingly from one of my users I've found a regression in Mesa from 22.2, but the setup is so ridiculous that I can't fathom reproducing it. Android->Termux->proot->vncserver->FEX+Mesa-git, apparently llvmpipe works on 22.2 but not the version I shipped.
Mis012[m] has quit []
luc4 has joined #dri-devel
Mis012[m] has joined #dri-devel
<alyssa> HdkR: that is ... a setup
<alyssa> trying to run x86 linux software on an android phone?
<alyssa> why not throw WINE in there for good measure? :-p
<HdkR> alyssa: The user did!
<HdkR> Absolutely nutty
Mis012[m] has quit []
Mis012[m] has joined #dri-devel
<HdkR> I'm surprised it even runs at 10fps with all the seccomp faulting that has to be occuring
<alyssa> HdkR: incredible.
<HdkR> proot is unbelievably slow due to all the syscall emulation it needs to do
kts has quit [Quit: Leaving]
<Mis012[m]> test
<Mis012[m]> yaaaay
<HdkR> That test was a success
<Mis012[m]> I was sent https://people.freedesktop.org/~cbrill/dri-log/?date=today to check for myself :P
<Mis012[m]> so @oftc-irc:matrix.org is broken...?
<Mis012[m]> had to use NickServ directly
<HdkR> Matrix sucks at nickserv and doesn't understand +M
<Mis012[m]> considering Matrix kinda forces you to send passwords in plaintext I'd think they would be all for implementing pubkey auth...
<Mis012[m]> HdkR: well, as far as Linux chroots on android go, at least it's more honest than Halium
<Mis012[m]> which is defacto the same thing, just changing which processes run in chroot :P
<HdkR> Fancy
<Mis012[m]> or one could write a few drivers and run mainline
<Mis012[m]> but the halium people are too dense
<Mis012[m]> aynway, time to resend the stuff that didn't make it to IRC
<Mis012[m]> getting zero configs here
<Mis012[m]> they don't seem to request the pbuffer bit: https://github.com/terryky/android_openxr_gles/blob/main/common/util_egl.c#L157, but then it just fails with BAD_MATCH trying to create the pbuffer
<Mis012[m]> when I edit the code to literally just ask for any config with pbuffer bit, I still get nothing
<Mis012[m]> fwiw I use x86_64 monado, not whatever the included loader is
<Mis012[m]> compiled for Linux, so I needed to intercept some stuff
<Mis012[m]> it wanted to use some android-specific extension, which currently isn't compiled in on !android
<Mis012[m]> but in any case, the pbuffer part doesn't seem like it should be affected by any of this
<Mis012[m]> sorry for the cadence, it looked more natural when I was sending it first time :P
tango_ has quit [Ping timeout: 480 seconds]
<HdkR> Mis012[m]: Probably because `EGL_SURFACE_TYPE` is being turned in to `EGL_DONT_CARE` which isn't valid I don't think
<HdkR> Well, valid but -1 turning in to a mask that means it must support /everything/
<HdkR> Got to be careful with these attributes, they can be a bit spicy
<Mis012[m]> HdkR: well, when I set that to the PBUFFER_BIT, I get zero configs...
<Mis012[m]> HdkR: I literally replaced the config attribs with this, and still get zero configs
<HdkR> Oh, probably just a lack of pbuffer support
<HdkR> eglinfo should confirm that, or just give it a null config and get the attribute for all of them
coailtb^ has quit [Remote host closed the connection]
<Mis012[m]> this is an x86_64 laptop with amgpu
<Mis012[m]> and I used pbuffer before :P
<Mis012[m]> *amdgpu
<HdkR> Which window platform though? GBM doesn't support pbuffer at all
<HdkR> X11 will, wayland...probably
<Mis012[m]> HdkR: does Monado somehow change the EGL default display?
<Mis012[m]> outside Monado I have wayland, and I have used pbuffer successfully
<HdkR> I've never tinkered with Monado so no sure what it'll give you there
<HdkR> Maybe it behaves like a GBM client
fxkamd has joined #dri-devel
<Mis012[m]> why does the app want a pbuffer so bad then
<HdkR> Offscreen rendering using pbuffers I guess?
<HdkR> Kind of the only way to get it in ES 2.0 land
<Mis012[m]> so we're saying that not only does it supply EGL_DONT_CARE instead of asking for PBUFFER_BIT, but it expects eglGetDisplay (EGL_DEFAULT_DISPLAY) to be something other than the GBM display?
<Mis012[m]> HdkR: technically iirc `eglGetDisplay (EGL_DEFAULT_DISPLAY);` was the XWayland display last time I had issues with that...
<HdkR> At least it is expecting the default display to support pbuffers
<Mis012[m]> hm, actually..
<Mis012[m]> HdkR: I even already dealt with this for X11...
<Mis012[m]> so it should be using the wayland display
<Mis012[m]> which blatantly supports pbuffers
<HdkR> tricksy
<Mis012[m]> should probably have it print YOU MADE AN ASSUMPTION THAT APPEARS TO BE WRONG and crash when that function is called with something other than 0 xD
<Mis012[m]> but as it stands, it would seem that the app should get a display with pbuffer support...
<Mis012[m]> if it wants to or not
<HdkR> Seems like you'll need to send it a null attribute list and eglGetConfigAttrib the EGL_SURFACE_TYPE and print it out. Maybe it is still getting some surface types that don't support what you need
junaid has quit [Remote host closed the connection]
<Mis012[m]> well, when I specify EGL_SURFACE_TYPE EGL_PBUFFER_BIT I don't get any configs back
gouchi has joined #dri-devel
<Mis012[m]> even when I don't specify an other requirement
<Mis012[m]> *any
<HdkR> Yea, that's why I'm suggesting using an empty configuration list to pull attributes just like eglinfo
<HdkR> That way you can see what configs are even provided
<Mis012[m]> well, worth a try
<Mis012[m]> but if any one of them had the pbuffer bit set, I would presumably get it :P
<Mis012[m]> so clearly none of them will
<Mis012[m]> hm, actually
<Mis012[m]> HdkR: I guess my own pbuffer code must have been using the default display, which is XWayland
<HdkR> :)
<HdkR> So wayland doesn't support pbuffers, good to know.
<Mis012[m]> now how do I deal with this...
<jenatali> Almost makes me wonder if I should kill pbuffers on the Win32 side of things
<jenatali> It's just creating a hidden window these days
<Mis012[m]> I really wouldn't care what pbuffers would do on wayland
<Mis012[m]> as long as I don't have to implement them myself -_-
<Mis012[m]> making an interposer implementation for eglCreatePbufferSurface doesn't sound fun at all
<Mis012[m]> EGL extensions string:
<Mis012[m]> EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync
junaid has joined #dri-devel
<Mis012[m]> there's already this
<Mis012[m]> on wayland
<Mis012[m]> "supporting pbuffers" doesn't even have android in the name ;)
warpme____ has quit []
<HdkR> Also sounds like Wayland really doesn't want to implement pbuffers
<Mis012[m]> can we have a Mesa env to use (in)visible windows for pbuffers on wayland :P
Lucretia has quit []
Lucretia has joined #dri-devel
<HdkR> Maybe there could be some mindshare to get Wayland to support pbuffers instead ;)
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
<Mis012[m]> that would obviously be the preferred solution
<Mis012[m]> I'm just preparing for the WONTFIX :P
OftenTimeConsuming is now known as Guest165
OftenTimeConsuming has joined #dri-devel
<HdkR> Might just end up needing to force it down the xwayland path
lemonzest has quit [Quit: WeeChat 3.6]
<Mis012[m]> well, as long as you do it in Mesa and I don't need to do some real ugly magic to track the state with wrappers to determine someone is trying to use pbuffers...
Guest165 has quit [Remote host closed the connection]
<HdkR> Sounds like a terrible hack instead of fixing the ecosystem.
<HdkR> Where you seemingly don't have control as what the application is doing
<HdkR> Middle ground API between Mesa<->API<->Application I guess? :P
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
<Mis012[m]> or just have pbuffers on on Wayland :(
tango_ has joined #dri-devel
tango_ is now known as Guest169
tango_ has joined #dri-devel
Guest169 has quit [Ping timeout: 480 seconds]
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
<jadahl>
fab has quit [Quit: fab]
Duke`` has quit [Ping timeout: 480 seconds]
dgm78 has joined #dri-devel
<dgm78> Hi! My RX5500 drop from 19k to 6k in glxgears after update mesa from 21.x to 22.x, why?
junaid has quit [Remote host closed the connection]
rasterman has quit [Quit: Gettin' stinky!]
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
junaid has joined #dri-devel
dgm78 has quit [Quit: Page closed]
dcz_ has quit [Ping timeout: 480 seconds]
gouchi has quit [Remote host closed the connection]
junaid has quit [Ping timeout: 480 seconds]
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
danvet has quit [Ping timeout: 480 seconds]
Major_Biscuit has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
<DavidHeidelberg[m]> dgm78: glxgears isn't benchmark :D
<DavidHeidelberg[m]> I think that sentence should be legendary these days :)
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
Major_Biscuit has quit [Ping timeout: 480 seconds]
<alyssa> +1
alyssa has left #dri-devel [#dri-devel]
<jenatali> Sounds like a new channel topic
Jeremy_Rand_Talos__ has quit [Remote host closed the connection]
Jeremy_Rand_Talos__ has joined #dri-devel
OftenTimeConsuming has quit [charon.oftc.net dacia.oftc.net]
OftenTimeConsuming has joined #dri-devel