ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
ngcortes has joined #dri-devel
mvlad has quit [Remote host closed the connection]
ngcortes_ has joined #dri-devel
ngcortes has quit [Ping timeout: 480 seconds]
ngcortes has joined #dri-devel
<agd5f> mareko, gmail not longer delivers anything from gitlab or the mailing lists. AMD is somewhat better, but still seems to miss a lot
ngcortes_ has quit [Ping timeout: 480 seconds]
mbrost__ has quit [Ping timeout: 480 seconds]
ngcortes has quit [Ping timeout: 480 seconds]
ManMower has quit [Ping timeout: 480 seconds]
shashanks__ has joined #dri-devel
iive has quit [Quit: They came for me...]
shashanks_ has quit [Ping timeout: 480 seconds]
i-garrison has quit [Read error: Connection reset by peer]
ManMower has joined #dri-devel
Leopold has joined #dri-devel
ngcortes has joined #dri-devel
Leopold has quit [Remote host closed the connection]
alanc has quit [Remote host closed the connection]
<zmike> mareko: you mean like loading R8 and converting? probably
alanc has joined #dri-devel
<zmike> not much point trying when dynamic vertex input exist and the vk driver can just do it better and smarter
mbrost has joined #dri-devel
i-garrison has joined #dri-devel
ngcortes has quit [Ping timeout: 480 seconds]
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
ngcortes has joined #dri-devel
sassefa has joined #dri-devel
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #dri-devel
ngcortes has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
konstantin_ has joined #dri-devel
konstantin has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
<mareko> zmike: more like supporting R8G8B8
<mareko> zmike: or R8G8B8A8 with 1-byte alignment
kts has joined #dri-devel
<jenatali> mareko: if that code ended up in common gallium, I'd use it instead of the CPU emulation in vbuf
kts_ has joined #dri-devel
kts_ has quit [Remote host closed the connection]
kts has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
kts has joined #dri-devel
sassefa has quit []
Leopold has joined #dri-devel
sassefa has joined #dri-devel
sassefa has quit []
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
heat has quit [Ping timeout: 480 seconds]
<mareko> jenatali: as a utility that drivers can use, that's possible
<mareko> other than lowering vertex layouts, there is also indexbuf lowering, which could be done with compute shaders
<mareko> primitive restart lowering would run slower because it would only run 1 workgroup per index buffer, but everything else can be super parallel, and that would eliminate the perf cost of u_vbuf
<jenatali> Yeah that'd be great
<jenatali> We really don't want to add 8-bit index buffers to D3D but every now and then we bump into apps that use it and hit the vbuf path. With TC at least doing CPU-side caching it's not too bad but compute would be better
<zmike> mareko: vulkan requires stride to be aligned to the size of the format, so RGBA8 would be 4-byte alignment
<zmike> there's a pipe cap I added for this because (surprise!) it was added for amd
<mareko> jenatali: radeonsi uses a compute shader to lower it on gfx7 (Radeon RX 200) and older, it runs before each draw using 8-bit indices, see si_compute_shorten_ubyte_buffer, it does improve perf even with the barriers around it
<jenatali> Yeah, that'd be simple enough to add to our driver I guess. Just hasn't been important enough yet
<mareko> zmike: radeonsi doesn't use the CAP anymore, it supports byte-aligned VS inputs by loading each byte with separate loads if necessary, can the same be done is SPIR-V for Vulkan?
<mareko> *in
<zmike> I meant the vk spec part was added for amd
<mareko> zmike: yes but can it be lowered with shader variants?
<zmike> R8 or aligned RGBA8 are what you've got
<zmike> you can't have RGBA8 byte-strided
<zmike> would need an extension for it
<mareko> zmike: can you set the format to R8 and then load the 4 bytes from the same VS input?
<zmike> uhhh
<zmike> I don't think so?
<zmike> I'm pretty paged out on this stuff now though so maybe
<mareko> zmike: can't you add a relative offset to the VS input load?
<mareko> adding that into the Vulkan spec would allow you to lower everything
<zmike> most of this is restricted by how amd's compiler works
<jenatali> I thought VK allowed component alignment, not format alignment. I might be misremembering though
<zmike> it really can't handle anything but the most basic stuff in vertex attrs
<jenatali> So R8 byte-aligned would be fine but not R32
<zmike> pretty sure it's format alignment, but I'm literally in bed trying to sleep so probably not at the top of my game here lmao
<jenatali> We relaxed D3D's rules about this for dzn, but it might've just been that the offset *within* a vertex can be misaligned
<jenatali> zmike: get off your phone/laptop and go sleep
<zmike> I'm trying
<zmike> just not that hard
<mareko> zmike: now is the time to start playing a 4X game ;)
mbrost has quit [Ping timeout: 480 seconds]
yyds has quit [Remote host closed the connection]
yyds has joined #dri-devel
yyds_ has joined #dri-devel
yyds has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
yyds has joined #dri-devel
yyds_ has quit [Ping timeout: 480 seconds]
anujp has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
simondnnsn has quit [Read error: Connection reset by peer]
simondnnsn has joined #dri-devel
cheako has quit [Quit: Connection closed for inactivity]
bolson has quit [Remote host closed the connection]
NovumDXW has joined #dri-devel
NovumDXW has quit []
novum has joined #dri-devel
novum has quit []
NovumDXW has joined #dri-devel
fab has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
mclasen has joined #dri-devel
glennk has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
rooq9 has quit []
rooq9 has joined #dri-devel
Duke`` has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
konstantin_ is now known as konstantin
glennk has quit [Remote host closed the connection]
kzd has quit [Ping timeout: 480 seconds]
apinheiro has joined #dri-devel
mclasen has quit []
mclasen has joined #dri-devel
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
yyds_ has joined #dri-devel
yyds 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
paulk-bis has joined #dri-devel
paulk has quit [Read error: Connection reset by peer]
mclasen has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
simondnnsn has quit [Remote host closed the connection]
simondnnsn has joined #dri-devel
heat has joined #dri-devel
rasterman has joined #dri-devel
cheako has joined #dri-devel
simondnnsn has quit [Read error: Connection reset by peer]
simondnnsn has joined #dri-devel
simondnnsn has quit [Read error: Connection reset by peer]
simondnnsn 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
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
Leopold has joined #dri-devel
Leopold has quit [Remote host closed the connection]
Leopold has joined #dri-devel
cbraga has quit [Read error: Connection reset by peer]
jessica_24 has quit [Remote host closed the connection]
parellan has quit [Write error: connection closed]
abhinav__ has quit [Read error: Connection reset by peer]
sumits has quit [Write error: connection closed]
lumag has quit [Write error: connection closed]
cbraga has joined #dri-devel
jessica_24 has joined #dri-devel
Company has joined #dri-devel
parellan has joined #dri-devel
abhinav__ has joined #dri-devel
abhinav__ has quit []
cbraga has quit []
naseer79 has quit []
jessica_24 has quit []
parellan has quit []
Leopold has quit [Remote host closed the connection]
lumag has joined #dri-devel
parellan has joined #dri-devel
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
haasn` has quit []
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
sgm has quit [Ping timeout: 480 seconds]
sgm has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
DodoGTA has quit [Quit: DodoGTA]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
Leopold has quit [Remote host closed the connection]
sumits has joined #dri-devel
Leopold_ has joined #dri-devel
kts has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
DodoGTA has joined #dri-devel
Leopold_ has joined #dri-devel
heat_ has joined #dri-devel
heat has quit [Read error: No route to host]
heat_ has quit [Remote host closed the connection]
heat has joined #dri-devel
junaid has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
mclasen has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold has joined #dri-devel
Leopold has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
junaid has quit [Quit: Lost terminal]
Leopold_ has quit [Remote host closed the connection]
mripard has quit [Quit: mripard]
rasterman has quit [Ping timeout: 480 seconds]
yyds_ has quit [Read error: Connection reset by peer]
yyds has joined #dri-devel
cphealy has quit [Remote host closed the connection]
rasterman has joined #dri-devel
NovumDXW has quit []
Duke`` has quit []
Scorpi has left #dri-devel [#dri-devel]
Reiver has joined #dri-devel
rasterman has quit [Read error: Connection reset by peer]
rasterman has joined #dri-devel
Duke`` has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
cphealy has joined #dri-devel
Leopold_ has joined #dri-devel
yyds has quit [Remote host closed the connection]
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
konstantin_ has joined #dri-devel
konstantin has quit [Ping timeout: 480 seconds]
mclasen has quit [Ping timeout: 480 seconds]
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
mclasen has joined #dri-devel
kzd has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
glennk has joined #dri-devel
Reiver has quit []
simondnnsn has quit [Read error: Connection reset by peer]
simondnnsn has joined #dri-devel
gouchi has joined #dri-devel
konstantin_ is now known as konstantin
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
vyivel has quit [Remote host closed the connection]
paulk-bis has quit []
vyivel has joined #dri-devel
paulk has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
Duke`` has joined #dri-devel
konstantin_ has joined #dri-devel
mclasen has quit [Ping timeout: 480 seconds]
konstantin has quit [Ping timeout: 480 seconds]
dliviu has quit [Quit: Going away]
dliviu has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
macromorgan has quit [Remote host closed the connection]
Leopold_ has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
macromorgan has joined #dri-devel
simon-perretta-img has joined #dri-devel
Leopold_ has quit [Remote host closed the connection]
Haaninjo has joined #dri-devel
simondnnsn has quit [Remote host closed the connection]
simondnnsn has joined #dri-devel
junaid has joined #dri-devel
<evadot> eric_engestrom: thanks for the FreeBSD kcmp merge, I was just wondering today if I should ping some people here to have it reviewed/commited :)
rasterman has quit [Quit: Gettin' stinky!]
junaid has quit [Ping timeout: 480 seconds]
gouchi has quit [Read error: Connection reset by peer]
konstantin_ is now known as konstantin
ctusif^ has joined #dri-devel
fab has quit [Quit: fab]
Roadapthy has joined #dri-devel
<Roadapthy> Wow. 500 people in here? That's great!
<Roadapthy> I came in to ask if anybody could give me a working build config for MESA on Ubuntu 23.04. Well, in my case, it's Xubuntu 23.04. I have come very close but there's always some mistake.
<Roadapthy> I tried this and it just didn't work:
<Roadapthy> meson build --optimization=3 -Ddebug=false -Dc_args="-O3 -march=native" -Dosmesa=true -Dsse2=true -Dvulkan-drivers=amd,swrast,intel -Dglvnd=true -Dplatforms=x11,wayland -Dgallium-omx=disabled -Db_ndebug=false -Dbuild-tests=true -Dtools=drm-shim -Dglx-direct=true -Dgbm=enabled -Ddri3=enabled -Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc -Dllvm=enabled -Dgallium-opencl=icd -Dgallium-nine=true -Dgallium-va=enabled
abhinav__ has joined #dri-devel
<jenatali> "didn't work"?
<ccr> that's a lot of options, probably some are superfluous
<Roadapthy> Yes, I installed it and games were slower. I also rebooted the system and it couldn't find the graphics driver (some error of that kind)
<Roadapthy> That's what I thought too but I tried no options and just going with the default.
<ccr> most people do not need osmesa, for example
<Roadapthy> Which also did not work.
<Roadapthy> ohhh ok.
<Roadapthy> Oh, I have an AMD RX 6700 TX and I compiled the latest stable Kernel. Everything works great now but I have never been able to successfully build and install a working MESA.
<Roadapthy> I have also successfully build Valve's Proton and it's working great.
<Roadapthy> Oh, and in the past I have done the same with SDL2. I typically sneak in -O2 -march=native
<kisak> In this situation I'd update to 23.10 since 23.04 went end of life last week, and use the source packages of mesa in kisak-mesa or oibaf as a basis for a local build ... oh wait, I can't use myself as an origin
<kisak> (Debian salsa is upstream for me)
Leopold_ has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
soreau has quit [Ping timeout: 480 seconds]
<Roadapthy> Oh dang! Hello Kisak! Thank you for your hard work! I have used your PPA in the past successfully.
<Roadapthy> And I have 23.10 on another partition but 23.10 didn't have as broad support yet so I stuck with 23.04 on my main.
<Roadapthy> Kisak, how do you create those wonderful binaries like that? lol I'd love to create one on my system that has been juiced up with some -march=native.
soreau has joined #dri-devel
<kisak> over here it's https://salsa.debian.org/xorg-team/lib/mesa/-/tree/debian-experimental adapted to what the ubuntu releases want and some minor tweaks. Others do the heavy lifting.
Leopold_ has quit [Remote host closed the connection]
<Roadapthy> Oh, I was there and used that before. It's MESA version 24! I almost had that working.
sima has quit [Ping timeout: 480 seconds]
<Roadapthy> I didn't mean to download version 24 though. I compiled it, installed, and nearly everything worked but it was slow and after reboot came the dead end.
Haaninjo has quit [Quit: Ex-Chat]
<Roadapthy> So are you saying that I could do "git clone --branch mesa-staging/24.0 https://gitlab.freedesktop.org/mesa/mesa.git mesa24" and just compile using "meson .." and it should work on my system?
<Roadapthy> Sorry, correction: " git clone --branch debian-unstable https://salsa.debian.org/xorg-team/lib/mesa.git mesa2.3.5"
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #dri-devel
<Roadapthy> Because I have an AMD GPU, I always try to remove Intel, Nouveau and whatever else that I can but I don't know if that's making this worse or not.
<jenatali> Roadapthy: "games were slower." Like 5%, 50% or 5000% slower?
<Roadapthy> Oh, FPS in my games went from 80-120 to like 62-70
<Roadapthy> Which I know means I screwed something up.
<Company> did you check how Ubuntu compiles their packages?
<Roadapthy> I did and that's partially where I got my compile args but the apt-build also failed. It couldn't finish the build.
<Roadapthy> However, I was able to grab the information from that whole process.
<jenatali> Ok so like 50%. Probably not missing a driver then
<Roadapthy> I'm using the source now that Kisak gave me but I think my llvm is the wrong version. I tried 19 but that's probably too new.
<kisak> meanwhile I just pushed a security refresh of llvm 15 to the build farm.
<kisak> (which is going to be used for my next build)
<HdkR> One argument in that list of stuff is messed up. `-Db_ndebug=true` is what that one needs to be
<jenatali> Good catch
<jenatali> That's likely it
<Roadapthy> Ohhhh
<HdkR> I hate that NDEBUG variable being inverted. Very counter intuitive
<Roadapthy> Well, I'm removing llvm 19 and returning to llvm 15 and I can try `-Db_ndebug=true` for sure.
apinheiro has quit [Quit: Leaving]
<Roadapthy> I try to remove all debug, symbols, profiling, tracing, everything- I'm not a developer so I can't use that extra information anyway other than to ask AI.
<Roadapthy> Hdkr: Thank you for that info and I'll try it.
<Roadapthy> Kisak: Thank you for the link and the llvm 15 info.
<eric_engestrom> evadot: you're welcome, and thanks for upstreaming the freebsd patches :)
<kisak> llvm 15-17 should be normal for most distros right now, I'm stuck on llvm 15 due to other minor complications that is unrelated to your perf concerns.
<Roadapthy> Kisak: Ohhh I see. Ok. Thanks. I guess I could try 16 and 17.
<Roadapthy> My Linux GPT claims llvm 19 was the problem just now.
dviola has quit [Ping timeout: 480 seconds]
<Roadapthy> I can confirm that "meson .. --optimization=3 -Ddebug=false -Dc_args="-O3 -march=native" -Db_ndebug=true" does not work on Xubuntu 23.04, Debian MESA 23.3.5, using llvm 15. It builds, but after nothing works.
macromorgan has quit [Quit: Leaving]