ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
rasterman has quit [Quit: Gettin' stinky!]
Haaninjo has quit [Quit: Ex-Chat]
mbrost has quit [Read error: Connection reset by peer]
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
iive has quit [Quit: They came for me...]
nukelet has quit [Ping timeout: 480 seconds]
zxrom has quit []
kzd has quit [Ping timeout: 480 seconds]
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
neg2led has joined #dri-devel
ayaka_ has joined #dri-devel
tarceri_ has joined #dri-devel
RAOF has quit [singleton.oftc.net coherence.oftc.net]
cef has quit [singleton.oftc.net coherence.oftc.net]
neggles has quit [singleton.oftc.net coherence.oftc.net]
ayaka has quit [singleton.oftc.net coherence.oftc.net]
tarceri has quit [singleton.oftc.net coherence.oftc.net]
ayaka_ is now known as ayaka
RAOF has joined #dri-devel
kts has joined #dri-devel
cef has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
yyds has joined #dri-devel
mbrost has joined #dri-devel
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
Company has quit [Quit: Leaving]
mbrost has quit [Ping timeout: 480 seconds]
yyds has quit [Remote host closed the connection]
heat has quit [Ping timeout: 480 seconds]
bluesman has quit [Quit: Leaving]
pcercuei has quit [Ping timeout: 480 seconds]
glennk has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
rauji____ has joined #dri-devel
Duke`` has joined #dri-devel
bluesman has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
kzd has joined #dri-devel
kts has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Leaving]
eukara has quit []
kts has joined #dri-devel
u-amarsh04 has quit []
warpme has joined #dri-devel
u-amarsh04 has joined #dri-devel
warpme has quit []
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
junaid has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
jsa has joined #dri-devel
kts has quit [Quit: Leaving]
yyds has joined #dri-devel
kts has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
Haaninjo has joined #dri-devel
pjakobsson_ has quit [Remote host closed the connection]
kts has joined #dri-devel
pjakobsson has joined #dri-devel
sima has joined #dri-devel
warpme has joined #dri-devel
Ojus1_ has joined #dri-devel
jsa has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
MrCooper has quit [Remote host closed the connection]
kts has quit [Quit: Leaving]
MrCooper has joined #dri-devel
pcercuei has joined #dri-devel
Ojus1_ has quit [Remote host closed the connection]
warpme has quit []
OftenTimeConsuming has quit [Remote host closed the connection]
OftenTimeConsuming has joined #dri-devel
warpme has joined #dri-devel
fab has quit [Quit: fab]
fab has joined #dri-devel
kts has joined #dri-devel
kts has quit []
kts has joined #dri-devel
warpme has quit []
beritwoman has joined #dri-devel
warpme has joined #dri-devel
kts has quit [Quit: Leaving]
glennk has joined #dri-devel
junaid has quit [Remote host closed the connection]
warpme has quit []
yyds has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<beritwoman> You sound like i have not contributed any sanity, scala compiler can be lifted to proper method for modern computing, i already showed the algorithm, it accesses two elements, predessor and successor, since on increasing set determines that sucessor is certain coefficent at least larger than successor, there is no loop needed, but you need btiwise two tact fast pot division, if one does not have bitwise can be emulated with lower paradigm i already
<beritwoman> dwfreed brags how he discriminates me and proper sanity, be he michigan technology uni professor, but he is just a terrorist, and just like all others drags me into your initiated war, but he is going to lose it for sure.
<beritwoman> it's not much hard work, but only some testing is needed, cause in scala for instance likely only one file needs to be changed to do the magic.
<beritwoman> both of the under the hood algorithms and all methods were already offered, since i am under tap anyhow, i contributed it to you all.
<beritwoman> i can also contribute the whole solution, but you have to promise me that you at least try to detach my sole and guilt from terror from me bringing some offtopic to the channel at times as exchange.
agd5f_ has quit [Remote host closed the connection]
beritwoman has left #dri-devel [#dri-devel]
Ojus1_ has joined #dri-devel
yyds has joined #dri-devel
Ojus1_ has quit [Remote host closed the connection]
yyds has quit [Remote host closed the connection]
yyds has joined #dri-devel
yyds has quit [Remote host closed the connection]
kts has joined #dri-devel
kts has quit [Read error: Connection reset by peer]
yyds has joined #dri-devel
kts has joined #dri-devel
kts_ has joined #dri-devel
kts_ has quit []
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Ojus1_ has joined #dri-devel
junaid has joined #dri-devel
Ojus1_ has quit [Remote host closed the connection]
bluesman has quit [Ping timeout: 480 seconds]
zxrom has joined #dri-devel
Company has joined #dri-devel
yyds has quit [Remote host closed the connection]
kts has joined #dri-devel
kts has quit [Remote host closed the connection]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
Ojus1_ has joined #dri-devel
Ojus1_ has quit []
Ojus1_ has joined #dri-devel
Ojus1_ has quit [Remote host closed the connection]
glennk has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
kts has joined #dri-devel
Ojus1_ has joined #dri-devel
Ojus1_ has quit []
kzd has joined #dri-devel
jsa has joined #dri-devel
snow has joined #dri-devel
snow has quit []
aljazmc has joined #dri-devel
IceySnow has joined #dri-devel
<karolherbst> guess there is a second reason to dlopen LLVM now: supply chain attacks ala xz... apparently systemd already moved to dlopening dependencies, so they are only loaded when actually needed...
bluesman has joined #dri-devel
<IceySnow> Hello, I need an assist with an issue I encountered after building and installing mesa from source.
<pac85> karolherbst: does loading llvm really make a difference if nothing that uses it is loaded? It wouldn't be exposed by anything in that case right?. In fact AFAIK libraries are loaded lazily so until they are actually called into they aren't even available in the address space
<karolherbst> pac85: yes, because that was the situation with ssh + xz
<karolherbst> xz got loaded through libsystemd and used glibcs ifunc features to redirect functions
<karolherbst> *ssh's
<karolherbst> so the mere presense of the xz lib caused this backdoor to work
<pac85> Uhm interesting
<karolherbst> there was an MR to systemd to dlopen instead roughly a month ago which also might explain why that xz dude pressed so hard to get everybody to update
<karolherbst> before everybody gets the systemd update
<karolherbst> "in the past" the issue with linking against LLVM was that every drive loaded LLVM
<karolherbst> *driver
simon-perretta-img has quit [Ping timeout: 480 seconds]
<dwfreed> pac85: distros tend to do immediate binding so that the table that maps symbols to addresses can be readonly at runtime
simon-perretta-img has joined #dri-devel
<pac85> Uhm makes sense
glennk has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
jsa has joined #dri-devel
rsalvaterra has quit [Ping timeout: 480 seconds]
eukara has joined #dri-devel
eukara has quit []
eukara has joined #dri-devel
eukara has quit []
jsa has quit [Ping timeout: 480 seconds]
rsalvaterra has joined #dri-devel
<Company> karolherbst: what I don't have understood yet is why libxz can add ifuncs to libssh
<karolherbst> why can LD_PRELOAD intercept malloc?
<Company> I would expect LD_PRELOAD to not be implemented via ifuncs
<karolherbst> yeah.. dunno, but at least it doesn't feel like something which people tried to prevent
<karolherbst> I mean..
<Company> I would have expected that ifuncs come with a static table of all possible implementations
<karolherbst> how do we know what a symbol is even supposed to belong to
<karolherbst> it's just random strings
<Company> yeah, you'd need stronger guarantees for that
<Company> at which point you should probably consider static linking again
<Company> you might get away with changing the symbols to refer to the library name
<Company> ie instead of linking to "malloc", you make the linker refer to "libc::malloc"
kts has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #dri-devel
rsalvaterra_ is now known as rsalvaterra
<Company> but I don't think this is something that libraries can solve, it needs work on the linker or maybe ELF
ghishadow has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
bluesman has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
Marcand has joined #dri-devel
fab has quit [Quit: fab]
fab has joined #dri-devel
alanc has quit [Remote host closed the connection]
<DavidHeidelberg> Anyone using GLUT these days (esp. for Piglit)?
alanc has joined #dri-devel
<DavidHeidelberg> I noticed EGL and WGL doesn't build with it, so I assume people who tests purely GLX... and I would assume that's number close to 0, but feel free to convince me otherwise
jsa has joined #dri-devel
<dwfreed> Company: karolherbst: https://sourceware.org/glibc/wiki/GNU_IFUNC explains a lot of this
<dwfreed> iirc, the original oss-security post explained how the ifuncs contributed to wiring up the backdoor
mbrost has joined #dri-devel
<dwfreed> the ifunc was mostly just a way to take advantage of binding not having been finished yet, so things like the PLT and GOT were still writable and could be manipulated
<Company> oh, I had misread that
<Company> I had thought it uses ifuncs to make the linker think there's an ifunc it should use, not that it replaced the resolver
rauji____ has quit []
jsa has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
<Company> but yeah, it sounds very much like ifunc resolvers are a problem
<dwfreed> they aren't in themselves; it's just they run while PLT and GOT are still writable, and so offer an attacker an ability to tell the linker to do things that affect later binding
<dwfreed> they're incredibly useful normally for performance sensitive code, because they avoid the cost of using a vtable
Marcand has quit [Ping timeout: 480 seconds]
<linkmauve> “19:25:49 pac85> karolherbst: does loading llvm really make a difference if nothing that uses it is loaded? […]”, on my PinePhone, it takes about 100 ms to resolve all of LLVM’s symbols when compiled in, even though Lima doesn’t use it, that’s why I build Mesa without llvmpipe or amdgpu for my phone.
jsa has joined #dri-devel
<linkmauve> For every application that means about 6 frames of additional latency when opening it, not doing anything useful.
fab has quit [Quit: fab]
<Company> sounds like it'd make sense to build things so they only link llvm on the drivers that use it?
ghishadow has quit [Remote host closed the connection]
<linkmauve> Many many years ago, Mesa switched to building only a single shared object that would contain all drivers, because the downsides were less important than linking the same core parts in every single driver for distributions, I think that project was called megadrivers.
ghishadow has joined #dri-devel
junaid has quit [Remote host closed the connection]
<Company> I was thinking about when I build the driver on my rpi and all the time it's wasting with llvm
<HdkR> dlopen for libllvm makes sense so you can namespace the binary as well
<Company> though I guess I do use llvmpipe for testing, so it's not entirely bad
ghishadow has quit [Remote host closed the connection]
<linkmauve> Company, nowadays there is also rusticl which needs it, so it makes sense to link it in all relevant drivers.
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
eukara has joined #dri-devel
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
i509vcb has joined #dri-devel
Ntemis has joined #dri-devel
aljazmc has quit []
rtissera has joined #dri-devel
<Ntemis> welcome
Marcand has joined #dri-devel
CME_ has quit []
CME has joined #dri-devel
rsalvaterra has quit []
rsalvaterra has joined #dri-devel
<jenatali> DavidHeidelberg: there's freeglut for Windows. Why do you ask?
simon-perretta-img has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
Ntemis has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
yrlf has joined #dri-devel
simon-perretta-img has joined #dri-devel
<DavidHeidelberg> jenatali: yup, I found there was a small bug (or feature), so in cmake it looked like you need to use waffle for Windows too, but ofc it builds fine without Waffle
<DavidHeidelberg> question is if it's necessary to keep GLUT around or just switch to Waffle (and remove a bit of complexity, since GLUT cannot be used for EGL for example)
<jenatali> DavidHeidelberg: fine by me
<jenatali> I recently (2yrs ago?) switched Mesa CI to use waffle for Windows
atiltedtree has joined #dri-devel
<DavidHeidelberg> I wonder where it may cause troubles.. maybe MacOS..
sima has quit [Ping timeout: 480 seconds]
<DavidHeidelberg> jenatali: btw. feel free to drop a word here: https://gitlab.freedesktop.org/mesa/piglit/-/issues/101
<DemiMarie> linkmauve: dlopen() makes sense for the namespacing reasons (so long as LLVM is built with `-Wl,-Bsymbolic`, which it should hopefully be, and I’m not missing anything) and to reduce startup time.
heat has quit [Remote host closed the connection]
sima has joined #dri-devel
IceySnow has quit [Remote host closed the connection]
sima has quit [Ping timeout: 480 seconds]
Marcand has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]