ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
heat_ has quit [Remote host closed the connection]
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
Daanct12 has joined #dri-devel
camus has joined #dri-devel
camus1 has joined #dri-devel
camus has quit [Ping timeout: 480 seconds]
nuh^ has quit [Ping timeout: 480 seconds]
nuh^ has joined #dri-devel
TMM has joined #dri-devel
ella-0 has joined #dri-devel
ella-0_ has quit [Read error: Connection reset by peer]
mszyprow has joined #dri-devel
nuh^ has quit [Remote host closed the connection]
mszyprow has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
adarshgm has joined #dri-devel
rsalvaterra has joined #dri-devel
kts has joined #dri-devel
aravind has joined #dri-devel
bmodem has joined #dri-devel
bmodem has quit []
JohnnyonFlame has quit [Ping timeout: 480 seconds]
sarnex has quit [Ping timeout: 480 seconds]
sarnex has joined #dri-devel
adarshgm has quit [Ping timeout: 480 seconds]
maxzor_ has quit [Ping timeout: 480 seconds]
<linkmauve> Danct12, usually you’ll get a backtrace in dmesg containing enough information for Mesa devs to figure out what caused it.
<linkmauve> You may also report an issue with a save file or instructions to reproduce.
Duke`` has joined #dri-devel
toolchains has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #dri-devel
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #dri-devel
Daanct12 has quit [Remote host closed the connection]
aravind has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
lemonzest has joined #dri-devel
ppascher has quit [Quit: Gateway shutdown]
mszyprow has joined #dri-devel
ppascher has joined #dri-devel
shankaru1 has quit [Remote host closed the connection]
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
toolchains has quit [Remote host closed the connection]
toolchains has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
tzimmermann has joined #dri-devel
mwalle has joined #dri-devel
shankaru1 has joined #dri-devel
frieder has joined #dri-devel
rgallaispou has joined #dri-devel
camus1 has quit [Remote host closed the connection]
camus has joined #dri-devel
fahien has joined #dri-devel
icecream95 has joined #dri-devel
jfalempe has joined #dri-devel
ahajda has joined #dri-devel
lynxeye has joined #dri-devel
ahajda_ has joined #dri-devel
pcercuei has joined #dri-devel
ahajda has quit [Ping timeout: 480 seconds]
fahien has quit [Remote host closed the connection]
fahien has joined #dri-devel
kts has joined #dri-devel
mvlad has joined #dri-devel
ahajda__ has joined #dri-devel
ahajda_ has quit [Ping timeout: 480 seconds]
ahajda__ has quit [Read error: Connection reset by peer]
ahajda__ has joined #dri-devel
airlied has joined #dri-devel
pochu has joined #dri-devel
toolchains has quit [Remote host closed the connection]
toolchains has joined #dri-devel
MajorBiscuit has joined #dri-devel
toolchains has quit [Read error: Connection timed out]
ahajda_ has joined #dri-devel
toolchains has joined #dri-devel
heat has joined #dri-devel
ahajda__ has quit [Ping timeout: 480 seconds]
rkanwal has joined #dri-devel
toolchains has quit [Ping timeout: 480 seconds]
frankbinns has joined #dri-devel
JohnnyonFlame has joined #dri-devel
toolchains has joined #dri-devel
pendingchaos_ is now known as pendingchaos
aravind has quit [Ping timeout: 480 seconds]
gawin has joined #dri-devel
icecream95 has quit [Ping timeout: 480 seconds]
aravind has joined #dri-devel
toolchains has quit [Ping timeout: 480 seconds]
<javierm> tzimmermann: your aperture helper unification series is awesome. Quite happy that we are finally getting there
<tzimmermann> ha, thanks
j_j has joined #dri-devel
j_j has quit [Remote host closed the connection]
fahien has quit [Ping timeout: 480 seconds]
adarshgm has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
kts has joined #dri-devel
<tzimmermann> jani, hi. i've found drm_connector_helper_get_modes() from one of your recent edid patchsets. but it's unused. is it avaialble for use by drivers?
aravind has quit [Ping timeout: 480 seconds]
aravind has joined #dri-devel
ahajda has joined #dri-devel
ahajda_ has quit [Ping timeout: 480 seconds]
ahajda has quit [Ping timeout: 480 seconds]
gawin has quit [Ping timeout: 480 seconds]
ahajda has joined #dri-devel
ahajda_ has joined #dri-devel
ahajda has quit [Ping timeout: 480 seconds]
<zmike> jenatali: it's great that we can have these deep technical discussions at such convenient times for you
<jenatali> zmike: Yep. The joys of having a baby. I've been up since 3:45am
<zmike> not too bad
<zmike> you could still grab another nap before morning begins
<jenatali> Yeah I slept most of the night though and I'm terrible at napping :P
<zmike> sounds like a good candidate for a 2H performance goal
<jenatali> Thanks for taking a look at that MR even though it's WIP
<zmike> the external objects thing needs work in general
<zmike> there's a layout param for the base spec that was never implemented, which makes the interop not actually work for most cases
<jenatali> Yeah I noticed that :(
<jenatali> Dunno if I'd go as far as "most cases" since it'll probably work if the layout is general/common
<zmike> yeah if the app codes itself to work with the mesa impl it'll be fine
<jenatali> I moreso mean that general/common is what I'd expect to be the most common interop layout
aravind has quit [Ping timeout: 480 seconds]
aravind has joined #dri-devel
alyssa has joined #dri-devel
mclasen has joined #dri-devel
fahien has joined #dri-devel
toolchains has joined #dri-devel
<jenatali> zmike: Fair, but as the author of a few interop APIs (11on12/9on12) I'd like to say it's an informed opinion? :P
<zmike> I dunno, I'm still trying to monday my way out of my email backlog
<zmike> I'll get back to you
MajorBiscuit has quit [Quit: WeeChat 3.5]
toolchains has quit [Ping timeout: 480 seconds]
<jenatali> No rush
MajorBiscuit has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
toolchains has joined #dri-devel
gawin has joined #dri-devel
mbrost has joined #dri-devel
zehortigoza has joined #dri-devel
jewins has joined #dri-devel
aravind has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
gawin has quit [Ping timeout: 480 seconds]
mclasen_ has joined #dri-devel
mclasen has quit [Ping timeout: 480 seconds]
<alyssa> hey speaking of having too many alignment macros
<alyssa> do we have an IS_ALIGNED macro?
kts has quit [Ping timeout: 480 seconds]
toolchains has quit [Read error: Connection reset by peer]
toolchains has joined #dri-devel
mbrost has joined #dri-devel
kts has joined #dri-devel
Danct12 has quit [Remote host closed the connection]
nchery has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
adarshgm has quit [Ping timeout: 480 seconds]
Danct12 has joined #dri-devel
Company has joined #dri-devel
ahajda__ has joined #dri-devel
ahajda_ has quit [Ping timeout: 480 seconds]
mbrost_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
ahajda_ has joined #dri-devel
ahajda__ has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
bmodem has joined #dri-devel
fxkamd has quit []
frieder has quit [Remote host closed the connection]
mbrost has joined #dri-devel
mbrost_ has quit [Read error: Connection reset by peer]
srslypascal is now known as Guest4742
srslypascal has joined #dri-devel
Guest4742 has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
MrCooper has quit [Remote host closed the connection]
saurabhg has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
MrCooper has joined #dri-devel
ybogdano has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
<alyssa> Hm.
<alyssa> Now that we've deleted the classic drivers, do we still need the quad_buffers emulation for glClear() in the state tracker?
<alyssa> Gallium drivers "should" be able to use u_blitter to emulate anything they can't do
<alyssa> E.g. I think every Gallium driver could be setting PIPE_CAP_CLEAR_SCISSORED, using u_blitter for the equivalent emulation instead of mesa/st
<alyssa> (and then we don't need the CAP)
<alyssa> Colour masks would require extending the Gallium API. I don't think anyone can do a masked clear without some sort of quad-based emulation
<alyssa> but on some hardware, u_blitter could do the masked clear more efficiently than mesa/st can do
<alyssa> namely, on drivers that implement blitter->draw_rectangle
<alyssa> (Currently just the AMD drivers, soon Panfrost.)
<zmike> I raised this for radeonsi some time ago https://gitlab.freedesktop.org/mesa/mesa/-/issues/5056
<alyssa> (Lima could implement it too)
<alyssa> zmike: eyes emoji
<alyssa> zmike: "Scissored clears would have to use the slow clear in radeonsi"
<alyssa> Right, but not implementing the CAP is also getting the slow clear, it's just hidden from you because mesa/st makes it look like a draw..
<zmike> post on the ticket, don't shout into the void
<alyssa> zmike: it's not gone for good if i shout here
<alyssa> i can get someone a void* to it later
<zmike> (void)alyssa;
mbrost_ has joined #dri-devel
<alyssa> zmike: posted
mbrost has quit [Ping timeout: 480 seconds]
heat has quit [Ping timeout: 480 seconds]
SO_PEERCRED has joined #dri-devel
heat has joined #dri-devel
ahajda_ has quit []
jewins has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
<robclark> alyssa: what do classic drivers have to do w/ mesa/st and PIPE_CAP_CLEAR_SCISSORED?
<zmike> I think they were the primary consumer of non-scissored draws
<airlied> the clear path was in st not mesa
<zmike> hm then I misremembered and have no idea
<zmike> also welcome back
toolchains has quit [Remote host closed the connection]
toolchains has joined #dri-devel
SO_PEERCRED has quit []
toolchains has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
<alyssa> robclark: nothing, apparnetly.
<alyssa> apparently, even
<alyssa> (I thought maybe that emulation was in mesa instead of gallium because there were non-gallium consumers, but yeah, that was in the st, oops.)
<anarsoul> alyssa: I thought that mesa/st is just draws a quad for scissored clear
<robclark> correct
<anarsoul> how come blitter->draw_rectangle is more efficient?
<robclark> I guess a tiler could realize that it doesn't need to restore some tiles? Hmm, I thought I had some wip patches at some point to add an invalidate_region() thing that the clear_with_quad() path could use
<anarsoul> robclark: I thought that most drivers restore only tiles with damage (at least lima does so)
<robclark> I mean, if you do a scissored clear and then a bunch of draws following, you don't need to restore the cleared tiles
<robclark> you generally don't know what tiles are damaged, unless you implement a sw rasterizer ;-)
remexre has joined #dri-devel
toolchains has joined #dri-devel
<alyssa> anarsoul: skip the VS
<alyssa> (+ more tricks for mipmap gen)
toolchains has quit [Ping timeout: 480 seconds]
fahien has quit [Quit: fahien]
toolchains has joined #dri-devel
MrCooper has quit [Ping timeout: 480 seconds]
toolchains has quit [Ping timeout: 480 seconds]
macromorgan has joined #dri-devel
saurabhg has quit [Ping timeout: 480 seconds]
ybogdano has quit [Read error: Connection reset by peer]
ybogdano has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
toolchains has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
Haaninjo has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
toolchains has quit [Ping timeout: 480 seconds]
toolchains has joined #dri-devel
toolchains has quit [Ping timeout: 480 seconds]
toolchains has joined #dri-devel
ybogdano has quit [Ping timeout: 480 seconds]
mbrost_ has quit [Ping timeout: 480 seconds]
toolchains has quit [Ping timeout: 480 seconds]
mszyprow has quit [Ping timeout: 480 seconds]
mbrost_ has joined #dri-devel
mbrost has joined #dri-devel
mbrost_ has quit [Read error: Connection reset by peer]
gouchi has joined #dri-devel
ybogdano has joined #dri-devel
toolchains has joined #dri-devel
toolchains has quit [Ping timeout: 480 seconds]
MrCooper has joined #dri-devel
lina has quit [Quit: Lost terminal]
nchery has quit [Ping timeout: 480 seconds]
lynxeye has quit [Quit: Leaving.]
mvlad has quit [Remote host closed the connection]
srslypascal is now known as Guest4754
srslypascal has joined #dri-devel
rsalvaterra has quit []
rsalvaterra has joined #dri-devel
jewins has joined #dri-devel
Guest4754 has quit [Ping timeout: 480 seconds]
stuart has joined #dri-devel
<ajax> does anyone claim to understand **/st_manager.c ?
heat has joined #dri-devel
<ajax> its logic for drawable lifetimes seems... bad... to me
* zmike reluctantly raises his hand
<ajax> like: unbinding context A doesn't mean releasing its references to the drawables that were bound to it
<ajax> just because you're switching to context B doesn't mean A's resources don't matter
<ajax> which makes me think the else branch of st_api_make_current is wrong
<ajax> the only time a context drops its ref to a drawable is if it 1) attaches something else instead or 2) is destroyed and then unbound
toolchains has joined #dri-devel
lemonzest has quit [Quit: WeeChat 3.5]
<zmike> that does seem plausible with the disclaimer that I'm fully in couch mode now and am browsing in the gitlab ui to refresh my memory from last year when I did know how this worked
alyssa has left #dri-devel [#dri-devel]
<jenatali> ajax: Doesn't the context also reference the drawables?
<jenatali> In _mesa_make_current there's _mesa_reference_framebuffer(&curCtx->...)
<jenatali> Oh I see what you're saying. Nevermind I'm missing the point
YuGiOhJCJ has joined #dri-devel
rkanwal has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
zehortigoza has quit [Remote host closed the connection]
toolchains has quit [Ping timeout: 480 seconds]
<ajax> feel like i'm tugging on a very dangerous thread here
<YuGiOhJCJ> hello, I have just bought a RX 6600 XT to replace my old RX 580, but when I type "startx" I only get a black screen (linux 5.18.10, linux-firmware 20220610, mesa 21.1.8, xf86-video-amdgpu 22.0.0, xorg-server 1.19.7), there are no errors in the Xorg log when I grep "EE" on it, so I don't know what's the problem, can you help me please?
<ajax> 1.19.7?
<ajax> who do i need to shame
<YuGiOhJCJ> you think it's too old?
<ajax> over three years... i dunno, maybe your distro backports a lot
<YuGiOhJCJ> ok then I will upgrade xorg
<kisak> YuGiOhJCJ: the 6600 XT released somewhere around July 2021. Mesa 21.1.X is older than that.
nchery has joined #dri-devel
<YuGiOhJCJ> https://www.mesa3d.org/news/page/3/ mesa 21.1.8 September 8, 2021 and https://www.amd.com/en/products/graphics/amd-radeon-rx-6600-XT 6600 XT 8/11/2021 so it should be good
toolchains has joined #dri-devel
<kisak> mesa 21.1 branchpoint -> April 2021
<YuGiOhJCJ> OK I will try with the last mesa first, then if it does not work I will upgrade xorg
<YuGiOhJCJ> wow! thanks! upgrading mesa to 22.1.3 fixed the problem
<ezequielg> pinchartl: heads-up, I picked this todo item, "Replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi". I'm almost done, I hope nobody picked it...
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
rsalvaterra has quit []
gouchi has quit [Remote host closed the connection]
rsalvaterra has joined #dri-devel
ybogdano is now known as Guest4757
ybogdano has joined #dri-devel
icecream95 has joined #dri-devel
<jenatali> zmike: You still around? I'm annoyed at a behavior of gallium w.r.t. importing external stuff and I'm curious your take on it
<zmike> jenatali: reluctantly
<zmike> what annoys you
<jenatali> Specifically, gallium specifies all the PIPE_BIND_* flags at import time that you might ever want to use with the resource. Right now I reject the import if the imported resource can't do all those things
toolchains has quit [Ping timeout: 480 seconds]
<jenatali> Which essentially means that if you're importing a buffer, you'd better have specified that you want SSBO and color buffer flags on it
mbrost has quit [Ping timeout: 480 seconds]
<zmike> you're actually looking at bind flags?
<zmike> sensible-chuckle.gif
<jenatali> And I could remove that validation, but then if you actually try to do any of those things you'll get a random blowup instead of an import failure
<zmike> yeah I think that's just how layered drivers die
<zmike> there's not much alternative with how the GL api is designed
<jenatali> Yeah fair
<jenatali> Maybe I just remove the validation :(
<zmike> bind flags are mostly useless anyway
mbrost has joined #dri-devel
<zmike> just do what you gotta
mbrost_ has joined #dri-devel
mbrost has quit [Read error: Connection reset by peer]
Guest4757 has quit [Ping timeout: 480 seconds]
<ajax> gallium should probably do less of that
ybogdano has quit [Read error: Connection reset by peer]
toolchains has joined #dri-devel
ybogdano has joined #dri-devel
Jeremy_Rand_Talos has quit [Remote host closed the connection]
<jenatali> Seems like for imported stuff, the state tracker could be smarter and ask the driver the bind flags it imported and then have sane fallback paths when you try to go outside of those, e.g. bind a buffer for rendering
<jenatali> But that also sounds like a lot of work for dubious value
<zmike> yeah those types of problems are definitely a solve-if-they-occur type of thing
<jenatali> Yeah I guess. Fair enough, will delete my validation then
<zmike> just cc jekstrand if you're utilizing his patented development methodology
toolchains has quit [Ping timeout: 480 seconds]
krushia has joined #dri-devel
Peuc has quit [Quit: Peuc]
Peuc has joined #dri-devel
toolchains has joined #dri-devel
pcercuei has quit [Quit: dodo]
mbrost_ has quit [Remote host closed the connection]
mbrost_ has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
mbrost_ has quit [Remote host closed the connection]
ybogdano has quit [Ping timeout: 480 seconds]
ybogdano has joined #dri-devel
toolchains has quit [Ping timeout: 480 seconds]
OftenTimeConsuming has quit [charon.oftc.net dacia.oftc.net]
OftenTimeConsuming has joined #dri-devel
toolchains has joined #dri-devel
FireBurn has quit [Quit: Konversation terminated!]
YuGiOhJCJ has joined #dri-devel
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
toolchains has quit [Ping timeout: 480 seconds]