ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
sukuna2 has joined #dri-devel
RAOF has quit [Remote host closed the connection]
RAOF has joined #dri-devel
sukuna has quit [Ping timeout: 480 seconds]
jkrzyszt_ has quit [Ping timeout: 480 seconds]
Daanct12 has joined #dri-devel
apinheiro has quit [Quit: Leaving]
checkfoc_us has quit []
checkfoc_us has joined #dri-devel
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #dri-devel
davispuh has quit [Ping timeout: 480 seconds]
guludo has quit [Quit: WeeChat 4.3.6]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #dri-devel
sassefa has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
alane has quit []
alane has joined #dri-devel
Company has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
<DemiMarie> What are AMD’s stride requirements?
sassefa has left #dri-devel [#dri-devel]
sukuna2 has quit [Remote host closed the connection]
tristianc670482 has quit []
sukuna has joined #dri-devel
sukuna has quit [Remote host closed the connection]
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
heat is now known as Guest1296
heat has joined #dri-devel
Calandracas has quit [Quit: Leaving]
Guest1296 has quit [Ping timeout: 480 seconds]
robertmader[m] has quit [Ping timeout: 480 seconds]
joantolo[m] has quit [Ping timeout: 480 seconds]
DemiMarie has quit [Ping timeout: 480 seconds]
jasuarez has quit [Ping timeout: 480 seconds]
kos_tom has quit [Ping timeout: 480 seconds]
tomba has quit [Ping timeout: 480 seconds]
dcbaker has quit [Ping timeout: 480 seconds]
Fell[m] has quit [Ping timeout: 480 seconds]
x512[m] has quit [Ping timeout: 480 seconds]
oeuaoeuoeu[m] has quit [Ping timeout: 480 seconds]
sergi has quit [Ping timeout: 480 seconds]
Calandracas has joined #dri-devel
Namarrgon has quit [Ping timeout: 480 seconds]
sassefa has joined #dri-devel
mbrost has joined #dri-devel
bbhtt has quit [Quit: Bye!]
Namarrgon has joined #dri-devel
alethkit has quit [Write error: connection closed]
alethkit has joined #dri-devel
mainiomano has quit [Read error: No route to host]
rosefromthedead has quit [Read error: No route to host]
mainiomano has joined #dri-devel
kuruczgy has quit [Read error: No route to host]
atiltedtree has quit [Write error: connection closed]
kennylevinsen has quit [Write error: connection closed]
hummer12007 has quit [Read error: No route to host]
kuruczgy has joined #dri-devel
hummer12007 has joined #dri-devel
nucfreq has quit [Read error: No route to host]
nucfreq has joined #dri-devel
cmarcelo has quit [Read error: No route to host]
cmarcelo has joined #dri-devel
ella-0 has quit [Write error: connection closed]
ella-0 has joined #dri-devel
kchibisov has quit [Read error: No route to host]
pitust has quit [Read error: No route to host]
ifreund has quit [Read error: No route to host]
rpigott has quit [Write error: connection closed]
ifreund has joined #dri-devel
DemiMarie has joined #dri-devel
DemiMarie is now known as Guest1303
Mary has quit [Quit: Ping timeout (120 seconds)]
Mary has joined #dri-devel
bl4ckb0ne has quit [Read error: No route to host]
ptrc has quit [Read error: No route to host]
ptrc has joined #dri-devel
Stary has quit [Remote host closed the connection]
emersion has quit [Read error: No route to host]
emersion has joined #dri-devel
pitust has joined #dri-devel
rpigott has joined #dri-devel
FireBurnUK has joined #dri-devel
robertmader[m] has joined #dri-devel
bl4ckb0ne has joined #dri-devel
pochu has quit [Remote host closed the connection]
pochu has joined #dri-devel
sassefa has quit []
feaneron has quit []
lplc has quit [Remote host closed the connection]
rosefromthedead has joined #dri-devel
fireburn has quit [Ping timeout: 480 seconds]
kchibisov has joined #dri-devel
kennylevinsen has joined #dri-devel
Stary has joined #dri-devel
lplc has joined #dri-devel
vjaquez has quit [Remote host closed the connection]
moony has quit [Ping timeout: 480 seconds]
kj2 has quit [Quit: Ciao!]
vjaquez has joined #dri-devel
kj2 has joined #dri-devel
moony has joined #dri-devel
karolherbst has quit [Remote host closed the connection]
aissen has quit [Ping timeout: 480 seconds]
karolherbst has joined #dri-devel
joantolo[m] has joined #dri-devel
bbhtt has joined #dri-devel
sigmaris_ has joined #dri-devel
atiltedtree has joined #dri-devel
jasuarez has joined #dri-devel
llyyrr has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
mal_ has joined #dri-devel
skinkie_ has joined #dri-devel
bbhtt has quit [reticulum.oftc.net liquid.oftc.net]
moony has quit [reticulum.oftc.net liquid.oftc.net]
robertmader[m] has quit [reticulum.oftc.net liquid.oftc.net]
digetx has quit [reticulum.oftc.net liquid.oftc.net]
cyrinux has quit [reticulum.oftc.net liquid.oftc.net]
dv_ has quit [reticulum.oftc.net liquid.oftc.net]
vedranm has quit [reticulum.oftc.net liquid.oftc.net]
tursulin_ has quit [reticulum.oftc.net liquid.oftc.net]
chaos_princess has quit [reticulum.oftc.net liquid.oftc.net]
jadahl has quit [reticulum.oftc.net liquid.oftc.net]
ptrc has quit [reticulum.oftc.net liquid.oftc.net]
jani has quit [reticulum.oftc.net liquid.oftc.net]
skinkie has quit [reticulum.oftc.net liquid.oftc.net]
DPA has quit [reticulum.oftc.net liquid.oftc.net]
pjakobsson has quit [reticulum.oftc.net liquid.oftc.net]
mal has quit [reticulum.oftc.net liquid.oftc.net]
rellla has quit [reticulum.oftc.net liquid.oftc.net]
llyyr has quit [reticulum.oftc.net liquid.oftc.net]
BesterGester has quit [reticulum.oftc.net liquid.oftc.net]
blaztinn has quit [reticulum.oftc.net liquid.oftc.net]
kxkamil has quit [reticulum.oftc.net liquid.oftc.net]
Danct12 has quit [reticulum.oftc.net liquid.oftc.net]
melonai56 has quit [reticulum.oftc.net liquid.oftc.net]
rsalvaterra has quit [reticulum.oftc.net liquid.oftc.net]
caitcatdev has quit [reticulum.oftc.net liquid.oftc.net]
Sid127 has quit [reticulum.oftc.net liquid.oftc.net]
robertfoss has quit [reticulum.oftc.net liquid.oftc.net]
lemonzest has quit [reticulum.oftc.net liquid.oftc.net]
mohan43u has quit [reticulum.oftc.net liquid.oftc.net]
azerov has quit [reticulum.oftc.net liquid.oftc.net]
yrlf has quit [reticulum.oftc.net liquid.oftc.net]
konstantin has quit [reticulum.oftc.net liquid.oftc.net]
uis has quit [reticulum.oftc.net liquid.oftc.net]
ao2_collabora has quit [reticulum.oftc.net liquid.oftc.net]
leandrohrb56 has quit [reticulum.oftc.net liquid.oftc.net]
BobBeck has quit [reticulum.oftc.net liquid.oftc.net]
dliviu has quit [reticulum.oftc.net liquid.oftc.net]
jeeeun841351908155 has quit [reticulum.oftc.net liquid.oftc.net]
q66 has quit [reticulum.oftc.net liquid.oftc.net]
sre54 has quit [reticulum.oftc.net liquid.oftc.net]
dbrouwer has quit [reticulum.oftc.net liquid.oftc.net]
ckinloch has quit [reticulum.oftc.net liquid.oftc.net]
robmur01 has quit [reticulum.oftc.net liquid.oftc.net]
sigmaris has quit [reticulum.oftc.net liquid.oftc.net]
klounge195 has quit [reticulum.oftc.net liquid.oftc.net]
dwlsalmeida has quit [reticulum.oftc.net liquid.oftc.net]
tyalie has quit [reticulum.oftc.net liquid.oftc.net]
Surkow|laptop has quit [reticulum.oftc.net liquid.oftc.net]
ndufresne has quit [reticulum.oftc.net liquid.oftc.net]
libv has quit [reticulum.oftc.net liquid.oftc.net]
krei-se has quit [reticulum.oftc.net liquid.oftc.net]
f_ has quit [reticulum.oftc.net liquid.oftc.net]
aissen has joined #dri-devel
BesterGester has joined #dri-devel
blaztinn has joined #dri-devel
mohan43u_ has joined #dri-devel
bbhtt has joined #dri-devel
ptrc has joined #dri-devel
moony has joined #dri-devel
robertmader[m] has joined #dri-devel
dv_ has joined #dri-devel
digetx has joined #dri-devel
vedranm has joined #dri-devel
tursulin_ has joined #dri-devel
chaos_princess has joined #dri-devel
DPA has joined #dri-devel
jadahl has joined #dri-devel
jani has joined #dri-devel
kxkamil has joined #dri-devel
rellla has joined #dri-devel
pjakobsson has joined #dri-devel
melonai56 has joined #dri-devel
Danct12 has joined #dri-devel
rsalvaterra has joined #dri-devel
caitcatdev has joined #dri-devel
Sid127 has joined #dri-devel
konstantin has joined #dri-devel
lemonzest has joined #dri-devel
robertfoss has joined #dri-devel
yrlf has joined #dri-devel
azerov has joined #dri-devel
f_ has joined #dri-devel
krei-se has joined #dri-devel
uis has joined #dri-devel
dliviu has joined #dri-devel
jeeeun841351908155 has joined #dri-devel
robmur01 has joined #dri-devel
Surkow|laptop has joined #dri-devel
tyalie has joined #dri-devel
libv has joined #dri-devel
q66 has joined #dri-devel
kos_tom has joined #dri-devel
ao2_collabora has joined #dri-devel
klounge195 has joined #dri-devel
lemonzest1 has joined #dri-devel
LeviYun has quit [Remote host closed the connection]
Surkow|laptop has quit [Ping timeout: 480 seconds]
lemonzest has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #dri-devel
rsalvaterra_ is now known as rsalvaterra
tomba has joined #dri-devel
dliviu has quit [Ping timeout: 480 seconds]
dv_ has quit [Ping timeout: 480 seconds]
dcbaker has joined #dri-devel
Surkow|laptop has joined #dri-devel
ckinloch has joined #dri-devel
Fell[m] has joined #dri-devel
oeuaoeuoeu[m] has joined #dri-devel
x512[m] has joined #dri-devel
sre54 has joined #dri-devel
sergi has joined #dri-devel
dv_ has joined #dri-devel
cyrinux has joined #dri-devel
dliviu has joined #dri-devel
LeviYun has joined #dri-devel
dbrouwer has joined #dri-devel
konstantin has quit [Remote host closed the connection]
konstantin has joined #dri-devel
libv has quit [Remote host closed the connection]
robertmader[m] has quit [Ping timeout: 480 seconds]
kzd has quit [Ping timeout: 480 seconds]
tomba has quit [Ping timeout: 480 seconds]
sergi has quit [Ping timeout: 480 seconds]
dcbaker has quit [Ping timeout: 480 seconds]
bbhtt has quit [Quit: Bye!]
ndufresne has joined #dri-devel
bbhtt has joined #dri-devel
dwlsalmeida has joined #dri-devel
jfalempe has quit [Quit: jfalempe]
libv has joined #dri-devel
leandrohrb56 has joined #dri-devel
cyrinux has quit []
ptrc has quit [Read error: No route to host]
ptrc has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
tomba has joined #dri-devel
glennk has joined #dri-devel
rcf has joined #dri-devel
ndufresne has quit [Quit: Ping timeout (120 seconds)]
sre54 has quit []
klounge195 has quit []
leandrohrb56 has quit []
dwlsalmeida has quit []
ckinloch has quit [Quit: Ping timeout (120 seconds)]
dbrouwer has quit []
ao2_collabora has quit []
ptrc has quit [Remote host closed the connection]
sergi has joined #dri-devel
ptrc has joined #dri-devel
dbrouwer has joined #dri-devel
dcbaker has joined #dri-devel
cyrinux has joined #dri-devel
nashpa has joined #dri-devel
jkrzyszt_ has joined #dri-devel
rcf has quit [Quit: WeeChat 3.8]
sre54 has joined #dri-devel
rcf has joined #dri-devel
dliviu has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
ckinloch has joined #dri-devel
jkrzyszt_ has quit [Ping timeout: 480 seconds]
robertmader[m] has joined #dri-devel
fab has joined #dri-devel
leandrohrb56 has joined #dri-devel
dwlsalmeida has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
klounge195 has joined #dri-devel
ndufresne has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
ao2_collabora has joined #dri-devel
mbrost_ has joined #dri-devel
coldfeet has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
BesterGester8 has joined #dri-devel
DPA has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
DPA has joined #dri-devel
vsyrjala has quit [Read error: Connection reset by peer]
vsyrjala has joined #dri-devel
BesterGester has quit [Ping timeout: 480 seconds]
Daanct12 has quit [Quit: WeeChat 4.4.1]
pjakobsson_ has joined #dri-devel
pjakobsson has quit [Ping timeout: 480 seconds]
mbrost_ has quit [Ping timeout: 480 seconds]
Haaninjo has joined #dri-devel
kts has joined #dri-devel
kts has quit []
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
Company has quit [Remote host closed the connection]
DarkShadow4444 has quit []
DarkShadow44 has joined #dri-devel
lemonzest1 has quit []
mal has joined #dri-devel
mal_ has quit [Ping timeout: 480 seconds]
lemonzest has joined #dri-devel
kts has joined #dri-devel
sravn has joined #dri-devel
bmodem has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
rasterman has joined #dri-devel
sima has joined #dri-devel
kts has joined #dri-devel
pochu has quit [Quit: reboot]
pochu has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Read error: Connection reset by peer]
coldfeet has quit [Remote host closed the connection]
kts has quit [Quit: Konversation terminated!]
kts has joined #dri-devel
oneforall2 has quit [Remote host closed the connection]
oneforall2 has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
pcercuei has joined #dri-devel
apinheiro has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Konversation terminated!]
coldfeet has joined #dri-devel
kts has joined #dri-devel
u-amarsh04 has quit []
kts has quit [Quit: Konversation terminated!]
oneforall2 has quit [Remote host closed the connection]
oneforall2 has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
siak has joined #dri-devel
siak_ has joined #dri-devel
u-amarsh04 has joined #dri-devel
siak has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
kts has joined #dri-devel
halves has quit [Quit: o/]
halves has joined #dri-devel
siak has joined #dri-devel
halves has quit []
halves has joined #dri-devel
siak_ has quit [Ping timeout: 480 seconds]
halves has quit []
halves has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
Company has joined #dri-devel
davispuh has joined #dri-devel
user has joined #dri-devel
user is now known as Guest1356
LeviYun has joined #dri-devel
<mareko> does anybody know how to make MS Teams screen sharing work with XWayland?
rasterman has joined #dri-devel
<mareko> AMD requires 256B pitch alignment for linear (it must exactly 256B, not less and not more); some AMD generations allow less, but Mesa always allocates with 256B alignment to make multi-GPU interop possible
<mareko> AFAIK Intel also allocates with 256B alignment for linear because it's the only way to have interop with AMD GPUs
* ccr thinks about the Holy Handgrenade.
<Company> I wonder if llvmpipe should do that, too
<Company> it currently does 64 I think
<mareko> ideally we would have linear modifiers for different alignments
<Company> that would be neat
warpme has quit []
<mareko> because the current linear modifier is always exposed but is not usable depending on the pitch alignment
<Company> yeah, GTK has fallbacks using mmap() for linear and doesn't accept LINEAR for fourccs it can't handle
<Company> and those fallbacks are SLOW
nerdopolis has joined #dri-devel
LeviYun has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
siak has quit [Ping timeout: 480 seconds]
siak has joined #dri-devel
siak has quit []
Guest1303 is now known as DemiMarie
<DemiMarie> mareko: what are the rules for offsets and for non-LINEAR modifiers?
<DemiMarie> Company: why fallback instead of failing?
<Company> 1. because the fallbacks aren't always slow
<Company> 2. because sometimes it doesn't matter that they're slow
<Company> 3. because nobody can handle failure
<jannau> should v3d (rpi4b) in the upstream kernel use DMA?
<DemiMarie> Company: how does one avoid the fallbacks?
<jannau> I'm seeing 'vc4-drm gpu: swiotlb buffer is full (sz: 540672 bytes), total 32768 (slots), used 1381 (slots)' and garbled graphics
<Company> DemiMarie: one uses drivers that don't need them
<DemiMarie> Company: which drivers?
<Company> DemiMarie: the ones you are using
<Company> you need to know what the target's requirements are and make sure your sources produce content that doesn't fallback
<DemiMarie> Does GTK help with that?
<Company> no
<DemiMarie> Does GTK provide enough information to know the target?
<Company> no
<DemiMarie> How can one discover the target?
<Company> you'd probably need to poke the GL and Vulkan default drivers
<Company> but even that won't help too much, because half that info isn't available that way
<DemiMarie> That doesn't seem reasonable. One doesn't know what GTK will be importing into.
<Company> that's correct
<DemiMarie> What is the solution?
<Company> the target and source offer compatible formats in all cases
<DemiMarie> How can one ensure that?
<Company> you talk to everyone involved and get them to agree
<DemiMarie> How does one do that?
<Company> I don't know that
<Company> which is why I implemented fallback
<Company> my hope is that it works well enough so that in the few cases where it doesn't, users file bugs against the drivers so their developers are aware of the issues and then go and fix things
<Company> or they come to GTK and suggest faster fallbacks
<DemiMarie> Is the proper solution an omniscient userspace allocator like gralloc or minigbm?
<Company> if I toggle some flags in GTK, my 4k video deadlocks my app for ~10s until an image appears and then another 10s for the next image
<Company> by default, GPU and CPU stay in low power and take like ~5% each while playing that same 4k video
<DemiMarie> In that case it might be better to fail and force the source to fallback to rendering to a CPU buffer.
<Company> yeah, but I can't do that
<DemiMarie> Why?
<Company> because I don't have any easy tools to achieve that
<Company> the source here is some random application developed by someone somewhere
<Company> which will hopefully work fine in >95% of cases
<Company> but sometimes some nerds read the Arch wiki and copy its tips into their /etc/environment.d
<Company> and sometimes somebody has a driver for some new mobile chip they want to test on
<DemiMarie> I found that GSK_RENDERER=cairo fixed some GTK apps that didn't render properly.
<Company> yeah, it's the slow fallback (that also can't do 3D, but most GTK apps don't do any 3D)
<Company> "slow" being relative there, because if you don't have a GPU, Cairo can be faster than GL/Vulkan software
<DemiMarie> It seems that on Fedora 40 the default renderer is buggy with software rendering and X11.
<Company> I'm not aware of any issues
<Company> but I've also done a ton of work on the renderer this cycle, so I might be losing track
gouchi has joined #dri-devel
<DemiMarie> It would be nice if there was a way for GTK to switch at runtime depending on whether 3D is in use, but this is off-topic.
<Company> It would be nice if people stopped running UIs on devices without a GPU
<Company> and didn't even consider it an option
<DemiMarie> Company: never going to happen
DodoGTA has quit [Quit: DodoGTA]
<Company> I'm pretty sure it's going to happen
<Company> because UI software will flat out stop working
uis[m] has joined #dri-devel
<DemiMarie> That would break tens of thousands of users
<DemiMarie> At least
<Company> absolutely
<Company> and then they will buy new hardware
DodoGTA has joined #dri-devel
<Company> GTK 4.18 will do color management and linear compositing
<Company> which will kill Cairo performance
<DemiMarie> Could llvmpipe be made faster with better use of SIMD?
<DemiMarie> Or is it memory bandwidth bound?
<Company> I do think llvmpipe is the better choice compared to Cairo, but I have no idea what the limits are there
<Company> the limit depends a bit on what you're doing, but on my machine llvmpipe stops getting much faster for my benchmark at ~4 threads
<Company> so I assume that's the memory bandwidth limit
<DemiMarie> Not everyone can afford new hardware.
<Company> they'll have to use older GTK versions with older hardware then
kts has joined #dri-devel
<DemiMarie> Or switch to non-GTK applications, which is what I may recommend to Qubes OS users
<Company> yeah, fine with me
<DemiMarie> Why are you okay with breaking working systems?
<Company> GTK runs on pretty much anything that supports GLES3, anything older doesn't usually even have the CPU power to do the tasks that GTK applications want to do
<DemiMarie> You forgot VDI, VMs, and systems where drivers are being brought up.
dsimic is now known as Guest1361
dsimic has joined #dri-devel
<Company> I don't forget them, I just don't think they should be holding anyone back
<Company> and VMs not getting their GPU story in order has been an ongoing thing for the last 10+ years
Guest1361 has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Konversation terminated!]
kts has joined #dri-devel
Duke`` has joined #dri-devel
<Company> DemiMarie: just tested it, the linear compositing color management stuff has pretty much no measurable impact on Mesa software rendering
<Company> it just trashes Cairo, because unlike GL/Vulkan, Cairo has no support for it
<emersion> could GTK disable the fancy color stuff with cairo?
<Company> no
<Company> well, it technically could, but it's a bad idea
<Company> because it changes the result too much
<emersion> it does
<emersion> but usable and different result would be better than unusable
<Company> yes and no
<Company> people blame GTK if things look like shit, not their setup
<emersion> and they don't blame GTK if it's super slow?
<Company> no, because they know their setup is bad
* emersion doesn't really get why a calculator app or a file manage would require a fancy GPU
<Company> I mean, they will initially, because they will see the regression from 4.16 => 4.18
<Company> a calculator doesn't need a fancy gpu
<emersion> a GTK4 calculator does
<Company> because you don't care if it takes 100ms to repaint
<emersion> and drains your battery?
<Company> it doesn't because it only repaints once
<Company> but file managers these days want to do smooth scrolling of fancy renderings for their files
<Company> it's not like 20 years ago where you dragged the scrollbar, then it repainted once and was done
<Company> you swipe the trackpad or wheel around
rasterman has quit [Ping timeout: 480 seconds]
<Company> and GTK won't stop running on those setups, it's just that people get annoyed once you get <10fps (roughly)
<Company> and I'm sure you could make software rendering a lot faster (both in Mesa and in GTK), but that would require some serious engineering effort
<Company> and nobody is willing to do that
bmodem has quit [Ping timeout: 480 seconds]
<DemiMarie> Company: this could be solved by making it a runtime flag
<Company> GTK_BROKEN_RENDERING=1
<DemiMarie> What kind of engineering effort, and how much faster? 2x?
<Company> it's hard to make such generic statements because they depend on use case
coldfeet has quit [Remote host closed the connection]
<Company> but to give some guesses:
<Company> I expect Cairo to lose 50% of rendering perf because of linear compositing - pixman supports reading images as SRGB but Cairo doesn't expose a CAIRO_FORMAT_SRGB
<Company> the Cairo renderer doesn't cache any converted images, and PNGs come out as unpremultiplied RGBA, but Cairo wants premultiplied BGRA - that's probably gonna buy you a bunch of speed on image-heavy cases (like a file manager showing a grid of thumbnails)
<Company> lavapipe recently gained dmabuf support, which seems to have made perf of the software Vulkan renderer go up by roughly 3x
<Company> but that's on a system with a GPU
<Company> no idea what you'd get from using Cairo with udmabuf instead of wl_shm
<Company> then GTK is absolutely not optimized for reducing shader instruction count
<Company> because we're usually either CPU-bound or VRAM memory bandwidth
<Company> but that is different on old hardware
<Company> on with software rendering with low CPU count
rasterman has joined #dri-devel
<Company> one could also write a GTK backend using skia
gouchi has quit [Remote host closed the connection]
ellyq has quit [Ping timeout: 480 seconds]
<mareko> DemiMarie: non-linear modifiers have complex alignment rules
kts has quit [Quit: Konversation terminated!]
<DemiMarie> mareko: are they written down anywhere?
<DemiMarie> Also, is there an opaque counterpart to every format that has an alpha channel? If so, is it safe to pass a buffer with an alpha channel with the opaque format, or will that break with non-linear modifiers?
<DemiMarie> If this is not safe, then I need to make a copy.
sima has quit [Ping timeout: 480 seconds]
<mareko> DemiMarie: yes, yes
<DemiMarie> mareko: where are the written down?
<mareko> nowhere
<mareko> I was replying to the second message
<mareko> trying to write down alignment rules for tiling is futile
<DemiMarie> Futile?
<mareko> yes
<DemiMarie> Why?
<mareko> every GPU is different
<DemiMarie> Does Mesa know the rules?
<DemiMarie> And if so, does it strictly validate them when importing external dmabufs?
<mareko> for some, yes; for others, it has to compute them based on which GPU is plugged in
<DemiMarie> Was the second yes “yes, it is safe” or “yes, you must make a copy”?
<mareko> it's safe
<mareko> but if you go RGBX->RGBA, A can be random
<DemiMarie> mareko: is it safe to treat RGBA as RGBX?
<mareko> yes
<mareko> DemiMarie: what are you working on?
<DemiMarie> Does that include lying to a Wayland compositor about the buffer type?
<DemiMarie> mareko: A Wayland proxy for Qubes OS
<mareko> I don't know much about compositors
<DemiMarie> Client requests come from guest VMs and are assumed malicious. Furthermore, transparency is not allowed: the guest (which runs its own proxy) is responsible for compositing subsurfaces, and each format that supports transparency is transformed into one that does not.
simon-perretta-img has joined #dri-devel
rasterman has quit [Remote host closed the connection]
<zamundaaa[m]> Demi: it's safe, but it'll cause a lot of problems for apps
simon-perretta-img__ has joined #dri-devel
<zamundaaa[m]> Oh, nvm, with subsurfaces out of the way, it should usually be fine
simon-perretta-img_ has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
<Company> it won't be fine
<Company> unless you take control over shadows
<Company> because Adwaita draws 60-90px wide shadows
<Company> people not running compositors on X11 still file bugs to this day
ity has quit [Quit: WeeChat 4.3.5]
tarceri has quit [Remote host closed the connection]
tarceri has joined #dri-devel
<karolherbst> jenatali: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30831 (there is a couple of more stuff, and I still need to figure out the interop parts, but I _think_ the nir/vtn/clc parts are correct)
tarceri has quit [Remote host closed the connection]
tarceri has joined #dri-devel
vliaskov has joined #dri-devel
<jenatali> karolherbst: cool, clc and vtn patches look good to me
vliaskov has quit [Read error: Connection reset by peer]
<karolherbst> feel free to use the MR as a checklist on what to add to your CL impl :D
<DemiMarie> Company: those shadows will be clipped
<karolherbst> anyway.. I think the interop stuff fails, because iris probably needs special handling for msaa exports
<DemiMarie> Company: but also Adwaita should support not drawing shadows that will be clipped anyway
<Company> there was some work along those lines, yeah
* Company didn't follow that
<DemiMarie> this is also why I posted the change to xdg-decoration, because for tiling compositors not drawing server-side decorations doesn’t make sense at all
<DemiMarie> but that is off-topic here
<Company> xdg-decoration first needs to learn to cooperate with GTK anyway
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
sima has joined #dri-devel
coldfeet has joined #dri-devel
sukuna has joined #dri-devel
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
rasterman has joined #dri-devel
gouchi has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Remote host closed the connection]
nerdopolis has joined #dri-devel
gbittencourt4 has quit [Ping timeout: 480 seconds]
gbittencourt4 has joined #dri-devel
flom84 has joined #dri-devel
<Company> so apparently my mesa shader cache has 50 parts
<Company> each of those have 2 files
<Company> and I have 2 GPUs and llvmpipe
<Company> so now I have 50 * 2 * 3 = 300 open fds
<Company> good news everyone: if I use Vulkan and GL, I get even more fds
rgallaispou has quit [Read error: Connection reset by peer]
sima has joined #dri-devel
iive has joined #dri-devel
flom84 has quit [Quit: Leaving]
<DemiMarie> Company: how would it cooperate?
<DemiMarie> There are compositors that will draw server-side decorations no matter what the client does. It’s up to the client to deal with this situation.
<DemiMarie> But that is a topic for #_oftc_#wayland:matrix.org
<Company> there are clients that will draw client-side decorations no matter what the compositor does. It's up to the compositor to deal with this situation.
<Company> now what?
<DemiMarie> duplicate decorations
<Company> that's not what the protocol says though
<DemiMarie> #_oftc_#wayland:matrix.org
<emersion> the protocol says the client must obey
<Company> exactly
<Company> and GTK can't do that
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
Kayden has quit [Quit: Leaving]
<DemiMarie> no, GTK can
<DemiMarie> "obey" does not mean "no CSDs"
rasterman has quit [Quit: Gettin' stinky!]
gouchi has quit [Remote host closed the connection]
Kayden has joined #dri-devel
gbittencourt4 has quit [Ping timeout: 480 seconds]
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has joined #dri-devel
coldfeet has quit [Remote host closed the connection]
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
Guest1356 has quit []
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
oneforall2 has quit [Remote host closed the connection]
oneforall2 has joined #dri-devel
ellyq has joined #dri-devel
LeviYun has joined #dri-devel
epoch101 has joined #dri-devel
epoch101_ has quit [Ping timeout: 480 seconds]
apinheiro has quit [Quit: Leaving]
heat has quit [Remote host closed the connection]
glennk has quit [Ping timeout: 480 seconds]
epoch101_ has joined #dri-devel
epoch101_ has quit []
iive has quit [Quit: They came for me...]
epoch101_ has joined #dri-devel
epoch101 has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
karolherbst has quit [Quit: Konversation terminated!]
karolherbst has joined #dri-devel
karenw has joined #dri-devel