ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
alyssa has quit [Quit: leaving]
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
adavy has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
<airlied> ajax: 17155 might be one for you
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
tfiga has joined #dri-devel
rg3igalia has joined #dri-devel
rib___ has joined #dri-devel
mclasen has quit [Ping timeout: 480 seconds]
The_Company has quit []
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
mhenning has joined #dri-devel
icecream95 has joined #dri-devel
Daanct12 has joined #dri-devel
mhenning has quit [Quit: mhenning]
saurabhg has joined #dri-devel
aravind has joined #dri-devel
lyudess has quit []
Lyude has joined #dri-devel
Duke`` has joined #dri-devel
Daanct12 has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
tzimmermann has joined #dri-devel
shankaru has joined #dri-devel
Daanct12 has joined #dri-devel
mclasen has joined #dri-devel
shankaru has quit [Quit: Leaving.]
shankaru has joined #dri-devel
itoral has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
devilhorns has joined #dri-devel
devilhorns has quit []
mclasen has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #dri-devel
danvet has joined #dri-devel
saurabhg has quit [Ping timeout: 480 seconds]
alanc has quit [Remote host closed the connection]
sul has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
sul has joined #dri-devel
MajorBiscuit has joined #dri-devel
frieder has joined #dri-devel
saurabhg has joined #dri-devel
alanc has joined #dri-devel
jkrzyszt has joined #dri-devel
Lyude has quit [Ping timeout: 480 seconds]
mvlad has joined #dri-devel
lygstate has joined #dri-devel
<lygstate> What's the point of use_elf_tls and USE_ELF_TLS, I've seen them are always defined? can we remove them?
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #dri-devel
lemonzest has joined #dri-devel
<pq> MrCooper, robclark, the only case where LUT and CTM could achieve the same effect is if the CTM is a diagonal matrix, and LUT does not have a limitation that 1.0 input must produce 1.0 output. In any other case there simply is no possible conversion. Those are very severe limitations making the substitution impossible in practise.
<airlied> jenatali: ^ lygstate question, probably last person to touch it :)
saurabhg has quit [Ping timeout: 480 seconds]
<pq> MrCooper, vsyrjala, robclark, a proper way to implement Night Light is to use CTM in light-linear space, meaning you need both DEGAMMA and GAMMA LUTs around it. This will allow changing the white point, which makes the image fool the eye as if not much was changed while blue component is reduced significantly, which is the whole point of Night Light.
saurabhg has joined #dri-devel
<pq> vsyrjala, it is ok to expose rgb->ycbcr matrix as CTM (assuming it's a generic matrix) if you also do not make false promises about the DEGAMMA and GAMMA LUT position in the pipeline, e.g. not advertising the CRTC LUTs at all.
tursulin has joined #dri-devel
lygstate_ has joined #dri-devel
lygstate has quit [Read error: Connection reset by peer]
<pq> Implementing Night Light with a LUT only produces a lower quality effect than with a linear-light CTM. It distorts the perceived colors more.
frankbinns1 has quit []
frankbinns has joined #dri-devel
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
mi6x3m has joined #dri-devel
mi6x3m has quit []
mi6x3m has joined #dri-devel
<mi6x3m> Hey, I'm experiencing a major performance drop with 22.1.2 compared with 22.1.1
<mi6x3m> I use crocus and softpipe, did something major changed with the new version?
<mi6x3m> I also updated libdrm (all 32-bit)
Lyude has joined #dri-devel
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
lynxeye has joined #dri-devel
kts has joined #dri-devel
rgallaispou has quit [Read error: Connection reset by peer]
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
pixelcluster has joined #dri-devel
saurabhg has quit [Ping timeout: 480 seconds]
pcercuei has joined #dri-devel
saurabhg has joined #dri-devel
apinheiro has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
lumag_ has quit [Ping timeout: 480 seconds]
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
flacks has quit [Quit: Quitter]
flacks has joined #dri-devel
Daanct12 has quit [Ping timeout: 480 seconds]
<danvet> MrCooper, just cc'ed you on a not-super-public patch, would be great if you can check my thinking
<MrCooper> sure, haven't seen it yet though
rkanwal has joined #dri-devel
srslypascal is now known as Guest2745
srslypascal has joined #dri-devel
Guest2745 has quit [Ping timeout: 480 seconds]
rasterman has joined #dri-devel
dhromw^ has joined #dri-devel
mi6x3m has quit [Quit: Leaving]
camus1 has quit [Remote host closed the connection]
camus has joined #dri-devel
sul has quit [Read error: Connection reset by peer]
flacks has quit [Quit: Quitter]
flacks has joined #dri-devel
saurabhg has quit [Read error: Connection reset by peer]
saurabhg has joined #dri-devel
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
saurabh_1 has joined #dri-devel
saurabhg has quit [Remote host closed the connection]
kj has joined #dri-devel
lumag_ has joined #dri-devel
icecream95 has quit [Ping timeout: 480 seconds]
pcercuei has quit [Quit: brb]
saurabh_1 has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
pcercuei has joined #dri-devel
shankaru has quit [Quit: Leaving.]
saurabhg has joined #dri-devel
kj has quit [Remote host closed the connection]
saurabhg has quit [Ping timeout: 480 seconds]
pixelcluster has quit [Remote host closed the connection]
pixelcluster has joined #dri-devel
pcercuei has quit [Quit: brb]
pcercuei has joined #dri-devel
Company has joined #dri-devel
sul has joined #dri-devel
rasterman has quit [Read error: Connection reset by peer]
rasterman has joined #dri-devel
sul has quit [Read error: Connection reset by peer]
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
sul has joined #dri-devel
dv_ has joined #dri-devel
gpiccoli has joined #dri-devel
aravind has quit []
sul has quit [Ping timeout: 480 seconds]
kj has joined #dri-devel
saurabhg has joined #dri-devel
<jenatali> @_oftc_lygstate:matrix.org: Yeah, they weren't always defined. Windows used the broken non-TLS path until relatively recently
sul has joined #dri-devel
lumag_ has quit [Remote host closed the connection]
lumag_ has joined #dri-devel
<jenatali> I think some platforms like Haiku still use the non-TLS path
sul has quit [Ping timeout: 480 seconds]
sul has joined #dri-devel
<karolherbst> haiku doens't have tls?
lumag_ has quit [Ping timeout: 480 seconds]
itoral has quit [Remote host closed the connection]
sul has quit [Read error: Connection reset by peer]
saurabhg has quit [Ping timeout: 480 seconds]
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
saurabhg has joined #dri-devel
Akari has quit [Ping timeout: 480 seconds]
apinheiro has quit [Ping timeout: 480 seconds]
mclasen has joined #dri-devel
nchery has joined #dri-devel
pjakobsson has joined #dri-devel
frieder has quit [Quit: Leaving]
<jenatali> Not looking at code yet this morning but that's what I remember from when I tried to fix the buggy non-TLS path before I just added Windows support
sul has joined #dri-devel
<jenatali> And speaking of TLS I need someone to sign off on my fix for non-shared-glapi on Windows... It broke a while ago because you can't share TLS across DLL boundaries
sul has quit [Remote host closed the connection]
nchery has quit [Remote host closed the connection]
nchery has joined #dri-devel
mriesch_ has quit []
mriesch has joined #dri-devel
nchery has quit [Ping timeout: 480 seconds]
dhromw^ has quit [Ping timeout: 480 seconds]
jkrzyszt has quit [Ping timeout: 480 seconds]
lygstate has joined #dri-devel
lygstate_ has quit [Read error: Connection reset by peer]
Net147_ has joined #dri-devel
Net147 has quit [Read error: Connection reset by peer]
shankaru has joined #dri-devel
<ajax> airlied: oi, egl/x11 doesn't have shm support? you wanna fix that or should i?
shashanks has joined #dri-devel
shashanks has quit []
shashanks has joined #dri-devel
saurabhg has quit [Ping timeout: 480 seconds]
<demarchi> tursulin: airlied ok to merge first patch, touching drivers/char/agp/intel-gtt.c, via drm-intel-gt-next? https://patchwork.freedesktop.org/series/105321/
sul has joined #dri-devel
sul has quit [Read error: Connection reset by peer]
ybogdano has joined #dri-devel
Akari has joined #dri-devel
<jenatali> karolherbst: Ah looks like Haiku TLS got turned on with https://gitlab.freedesktop.org/mesa/mesa/-/commit/8570a2a280587a1e43ac11ad46ad62dfdd6c7b39
<jenatali> So, yeah all platforms are using TLS these days, cool, the non-TLS version of glapi and u_current can be deleted
<anholt_> \o/
rgallaispou has joined #dri-devel
tobiasjakobi has joined #dri-devel
dj-death_ has left #dri-devel [#dri-devel]
dj-death has joined #dri-devel
<jani> hwentlan____: 4562236b3bc0 ("drm/amd/dc: Add dc display driver (v2)") added toggling of aconnector->base.override_edid, and I don't really understand why. I'd really like that to be reserved for the debugfs & drm_edid stuff, and having dc modify it makes refactoring of the override code unnecessarily hard
<jani> hwentlan____: e7b07ceef2a6 ("drm/amd/display: Merge amdgpu_dm_types and amdgpu_dm") moved it to drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
alyssa has joined #dri-devel
saurabhg has joined #dri-devel
MajorBiscuit has quit [Quit: WeeChat 3.5]
unerlige4 has left #dri-devel [#dri-devel]
unerlige has joined #dri-devel
nchery has joined #dri-devel
jewins has joined #dri-devel
JohnnyonFlame has quit [Ping timeout: 480 seconds]
X512 has joined #dri-devel
<X512> jenatali: Haiku support ELF TLS with __tls_get_addr.
<X512> Haiku do not support statically linked executables and all executables are linked with `-shared` flag.
JohnnyonFlame has joined #dri-devel
<karolherbst> anybody working on isaspec?
tursulin has quit [Ping timeout: 480 seconds]
<karolherbst> austriancoder: ohh, seems like you have been working on > 64 bit support in isaspec?
<karolherbst> looks like I can just start playing around with it and see where it goes
<austriancoder> karolherbst: jup - should be usable now. I hope to push a WIP MR for etnaviv this year. I got decoding and encoding working but need to look into the a backend IR to finish it.
kj has quit [Remote host closed the connection]
<karolherbst> austriancoder: I am currently looking into describing the ISA for nvidia GPUs with it and see how far I get
gouchi has joined #dri-devel
<austriancoder> karolherbst: have fun ;)
<alyssa> Joy... separate_shader isn't getting set for ttn programs
<karolherbst> thanks
<alyssa> TGSI_PROPERTY_SEPARABLE_PROGRAM does exist
<alyssa> but it's absolutely unused
Akari has quit [Ping timeout: 480 seconds]
<alyssa> maybe ttn should always set separate_shaders, it might be too conservative but trying to fix up the TGSI tree sounds like a world of pain
<alyssa> everything in u_simple_shaders assumes a separate shader model, I think
<alyssa> ditto for HUD
<alyssa> unsure about nine
<alyssa> nine looks also separate shader model
iive has joined #dri-devel
* alyssa wonders if virglrenderer uses the property
rkanwal has quit [Ping timeout: 480 seconds]
<alyssa> morally unused in virglrenderer
<alyssa> (parsed out and ignored)
<alyssa> italove: ^^^
<karolherbst> austriancoder: mhh.. can we have hex support for fields like <gen min=0x170"/> ?
<karolherbst> mhh I guess python parses it as a string
<karolherbst> ahh should be easy to fix
<alyssa> italove: I guess you introduced that in https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16308
<alyssa> I don't understandd the rationale
<alyssa> "TGSI currently has no concept of a separable shader, and virgl might need in TGSI for performance improvements."
<alyssa> It's the other way around ... linked shaders can be optimized in ways that separable shaders can't.
<alyssa> If you don't know if a shader is linked or separable, the default (in Gallium) is separable.
<alyssa> So I'm not sure what that property was supposed to convey, especially wirht regards to backwards compatibility.
<alyssa> If there really is an optimization you want in virgl, it should be a TGSI_PROPERTY_LINKED_PROGRAM property, no?
Duke`` has joined #dri-devel
<alyssa> I see you wrote a bit about this internally
<alyssa> I don't quite understand the explanation there, could you explain here? thanks :)
<karolherbst> austriancoder: do I really have to copy this isa_decode_options struct?
<karolherbst> or do you have some patches pending, which clean up such common things?
<anholt_> alyssa: the separable shader prop got added and I couldn't imagine any possible way you could use it.
<alyssa> anholt_: OK. Would you be ok with a patch to ttn setting nir->info.separate_shaders unconditionally?
<anholt_> seems reasonable to me.
<alyssa> (Currently it never sets separate_shader which is breaking panfrost/u_blitter)
<alyssa> ack, will send that patch, indepdnent of what hapens with the prop
<austriancoder> karolherbst: at the moment you need to copy it.. I am not in front of a pc right now but I think I do not have a cleanup patch for this in my wip branch
<karolherbst> okay
Akari has joined #dri-devel
maxzor has joined #dri-devel
saurabhg has quit [Ping timeout: 480 seconds]
vjaquez has left #dri-devel [#dri-devel]
cheako has quit [Quit: Connection closed for inactivity]
sul has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
maxzor has quit [Ping timeout: 480 seconds]
sul has quit [Ping timeout: 480 seconds]
X512 has quit [Quit: Vision[]: i've been blurred!]
rkanwal has joined #dri-devel
maxzor has joined #dri-devel
sul has joined #dri-devel
sul has quit [Ping timeout: 480 seconds]
cheako has joined #dri-devel
tobiasjakobi has quit []
mbrost has joined #dri-devel
<karolherbst> austriancoder: is there a good way to define common "display" bits?
<karolherbst> ohh wait... I know
<karolherbst> and no, I guess you have to define it for every instruction, you can just group stuff I suspect
<austriancoder> karolherbst: maybe use an enum in the xml for common bits?
<karolherbst> yeah.. something
<karolherbst> we have this sched block on each instruction where you define stalls, "barriers" and stuff
<austriancoder> karolherbst: for grouping you can use just a bitset
<karolherbst> yeah.. I suspect that I will put this sched stuff in a bitset
<austriancoder> karolherbst: I use an own bitset for an alu src .. something like this: https://www.toptal.com/developers/hastebin/orowirulud.xml
<karolherbst> okay
Haaninjo has joined #dri-devel
jhli has joined #dri-devel
ngcortes has joined #dri-devel
jewins has quit [Ping timeout: 480 seconds]
shankaru has quit [Quit: Leaving.]
<Lyude> Hey, do we have any way of figuring out why a particular patch hasn't appeared on patchwork?
<alyssa> Lyude: [insert FUD about email-based patch review here]
<Lyude> yeah it's a terrible system lmao
tzimmermann has quit [Quit: Leaving]
maxzor has quit [Ping timeout: 480 seconds]
sul has joined #dri-devel
ella-0_ has joined #dri-devel
ella-0 has quit [Remote host closed the connection]
shashank_sharma has joined #dri-devel
<airlied> ajax: yeah no MIT-SHM in there
<airlied> I started looking at adding it, but it started hurting my brain too much
alyssa has left #dri-devel [#dri-devel]
shashanks has quit [Ping timeout: 480 seconds]
<ajax> suppose we should fix that, lest we completely nerf llvmpipe perf
* ajax appends to todo
LexSfX has joined #dri-devel
rgallaispou1 has joined #dri-devel
<airlied> ajax: should we be calling xcb_discard_reply for the put_image reply?
<airlied> wsi does it, egl doesn't
rasterman has quit [Quit: Gettin' stinky!]
<ajax> yes
rgallaispou has quit [Ping timeout: 480 seconds]
<ajax> well. i think so anyway. though PutImage doesn't generate a reply...
<airlied> best to be consistent I suppose
maxzor has joined #dri-devel
<airlied> ajax: 17155, has the wsi fix in it as well if you want to just take a quick look
neonking has joined #dri-devel
kennylevinsen has joined #dri-devel
jewins has joined #dri-devel
rgallaispou1 has quit [Read error: Connection reset by peer]
rgallaispou has joined #dri-devel
<karolherbst> uhhhh.. can we drop support for MSVC?
<karolherbst> we can add it later after it became a real compiler
apinheiro has joined #dri-devel
<karolherbst> next time I nack all patches removing _Atomic :P
<HdkR> karolherbst: Can just switch over to c11 atomics I thought? :)
<karolherbst> HdkR: heheh.. no
<karolherbst> apparently people remove _Atomic because MSVC
<HdkR> huh
<HdkR> I thought MSVC was C11 at this point. Kind of required to support that keyword at that point
<karolherbst> it seems like that atomics are optional
<jannau> yes, there's __STDC_NO_ATOMICS__
<HdkR> Ah, tested on godbolt. It doesn't support `_Atomic int` but it does support `atomic_int`, that's wacky
toolchains has quit [Remote host closed the connection]
<karolherbst> HdkR: wait... seriously?
<karolherbst> but I suspect Atomic_ is a bit annoying,b ecause I think you can put it on everything
<karolherbst> uhm.. _Atomic
<karolherbst> "although unlike other qualifiers, the atomic version of type-name may have a different size, alignment, and object representation" :D
<karolherbst> but yeah.. guess we should use atomic_* instead
<HdkR> Sounds reasonable to me
<jannau> it's still strange as C11 stipulates that 'atomic_int' is a typedef of '_Atomic int'
<HdkR> yea
<jannau> I guess it conflicts somehow with the C++11 typedefs in MSVC
<jannau> looks cursed
<HdkR> The same could be said for all compiler religions
<karolherbst> nah.. I am sure only C is that cursed :P
<Sachiel> C++ursed doesn't read all that well
<karolherbst> why are you changing C++ instead of just using Rust :P
gouchi has quit [Remote host closed the connection]
Duke`` has quit [Ping timeout: 480 seconds]
mvlad has quit [Remote host closed the connection]
enunes- has quit []
enunes has joined #dri-devel
<anholt_> https://gitlab.freedesktop.org/anholt/deqp-runner/-/merge_requests/41 <-- open to feedback on deqp-runner --fraction and --include behavior.
<jenatali> _Atomic is on the roadmap apparently, but yeah not there yet
<karolherbst> austriancoder: can I encode "special values" in isaspec? Like I want a range of bits to be a register index, but the value 255 should be treated as "RZ"
ngcortes has quit [Remote host closed the connection]
soreau has quit [Read error: Connection reset by peer]
soreau has joined #dri-devel
danvet has quit [Ping timeout: 480 seconds]
ngcortes has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
rkanwal1 has joined #dri-devel
rkanwal has quit [Read error: Connection reset by peer]
rasterman has joined #dri-devel
rkanwal1 has quit [Ping timeout: 480 seconds]
nchery has quit [Remote host closed the connection]
enunes has quit [Quit: ZNC - https://znc.in]
nchery has joined #dri-devel
apinheiro has quit [Quit: Leaving]
enunes has joined #dri-devel
maxzor has quit [Ping timeout: 480 seconds]
pixelcluster has quit [Quit: Konversation terminated!]
pcercuei has quit [Quit: dodo]
FireBurn has joined #dri-devel