01:18 cheako: Confirmed mesa-vulkan-drivers built from 25.1.0-rc1 is messed up. Switching back/fourth consistently.
01:28 cheako: For those looking at what's changed... ignore the reported version, it must match i686 or debian refuses to install. https://www.irccloud.com/pastebin/kZ3cvJrj/
04:47 chirs241097: Don't know if this is the correct place for this, but is there any interest in adding proper support for PWM brightness adjustment for older Intel laptops with an OLED panel (e.g. ThinkPad X1 yoga 1st gen)? I've recently got a reverse engineered prototype working.
07:04 jamfrompearls: it's Europes fault, that abortion leftovers like Ryan Houdek, aids carriers like Dave Airlie and other steroid munchers like Doug Freed are still humans, and they go against the low to harvest subtsances from victims like me. It's nothing to do with Russians and their beliefs, if such hospitals are in fact violating laws, they also should be attacked. So will you be under heavy
07:04 jamfrompearls: shelling. The real theory should be, you do not do bread from shit, where that shit is you not me very clearly said, cause your protein folding folks were harvesting substances from me, when i was under ten years of age.
08:00 cheako: chirs241097: Try asking in #intel-gfx
13:01 tomba: Could a maintainer check "[PATCH v12 0/5] drm/atomic-helper: Re-order CRTC and Bridge ops" (https://lore.kernel.org/all/20250406131642.171240-1-aradhya.bhatia%40linux.dev/ )? It's blocking two other serieses. I've been testing it a lot, but just on a few platforms... I would be nice to merge the series early in the cycle.
17:29 cheako: Does anyone have tips for using multiple versions of an icd? I don't think I'd want the json in `/home/cheako/.local/share/vulkan/icd.d`, because I don't want to chance it loading when it's not supposed to? I feel like I'd want to use `/home/cheako/.local/share/vulkan-git/icd.d/intel_icd.x86_64.json`, and then set `VK_ICD_FILENAMES` to something like
17:29 cheako: `/home/cheako/.local/share/vulkan-git/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.i686.json`.
18:19 cheako: When I first ran oblivion it spent like 30min building shaders, but now even though I changed driver(from rc1 to main and back) it doesn't seem to mind.
19:28 cheako: Is it a bug if that shader building(for oblivion) happens on a single thread? Because as I watched the progress bar, I obviously checked with gkrellm and top.
19:29 HdkR: cheako: Shader compilation behaviour is up to the application to decide if it is threaded or not.
19:29 HdkR: Monster hunter wilds as an example will thread shader/pso compilation up to five threads maximum, and that's their choice.
19:29 cheako: HdkR: Is there a list of vulkan calls that can block?
19:31 cheako: I've never seen any notes in the API docks of, you should call this in parallel.
19:31 HdkR: Probably anything with vkCreate*Pipeline* or whatever
19:31 cheako: What's the purpose of the docks, if at the end of the day you are still guessing?
19:32 HdkR: Because technically I think any API call can block.
19:33 HdkR: When you're creating pipelines you're just expecting the driver to be doing real work.
19:34 cheako: I don't think it's be wise to run, for example, `vkAllocateDescriptorSets` from several threads... that call will normally return right away.
19:34 HdkR: We're not in the world with KHR_parallel_shader_compile doing magic behind our backs anymore. Applications are expected to be smarter :)
19:35 cheako: probably/expecting? We app devs need to "know"
19:35 HdkR: Oh, I didn't realize you're an Oblivion developer. You should probably compile pipelines on multiple threads then.
19:35 HdkR: The driver won't do it for you.
19:36 cheako: If a call can to take a few seconds, but none of the other calls do... that's important to have documented.
19:36 cheako: That's the no truce scotts man falacy.
19:36 cheako: Like there are more app devs than just the guys who work on AAA games.
19:41 cheako: The choice to have vkCreate*Pipeline* block seems arbitrary from my PoV and if AAA games are under the same understanding that this should not block... guess who is correct.
19:42 Sachiel: how would you know the pipeline is usable if it doesn't block? Callbacks everywhere?
19:42 psykose: what's the difference between when an application is compiling shaders itself and when steam is doing it(?) on all threads automatically before launch
19:43 HdkR: KHR_parallel_shader_compile behaviour, just hitch as soon as the shader/pso is attempted to be used.
19:43 HdkR: :)
19:46 DemiMarie: What would be useful, IMO, is a way to compile all shaders at install time, returning a binary that can be passed to the driver later.
19:47 Sachiel: and then have to recompile them all again when the driver gets updated and invalidates the cache
19:47 HdkR: psykose: fossilize knows how to thread correctly, but can only hit shaders that are living in the cache already. Game update or games that programmatically generate shaders negate it a bit.
19:48 psykose: hmm
19:48 cheako: psykose: I had a question about that as well. But it's more of a how does steam work question. My launch options set's ICD_FILES, so does steam use the correct driver to build the shaders?
19:48 psykose: does it do something special to put them in the cache? it works even for freshly installed games
19:48 HdkR: psykose: Steam scrapes the caches from mesa and can distribute them to people
19:49 psykose: ahhh
19:49 psykose: so the shaderdb thing is a huge precache of stuff the game outputs, reuploaded for others
19:49 psykose: that makes so much sense
19:50 HdkR: It works great especially if you have a high core count system.
19:52 cheako: Sachiel: It's my dunnkruger kicking in... I'm just looking at the docs and wondering how I'd know when to call clone.
19:53 cwabbott: you can't really learn vulkan just from the specification
19:53 cheako: If I go by what testing shows, that's relying on undefined behavior.
19:54 cwabbott: it's of course important, but there are so so many things where the spec is written a certain way for a particular reason and there's no context behind those design decisions in a specification
19:54 cwabbott: there's now an official vulkan guide at https://docs.vulkan.org/guide/latest/ which is supposed to complement the spec, plus all the tutorials/blog posts/etc. out there
19:58 HdkR: Do like some games do, create and teardown 720 threads/second, surely that'll be fine for performance :)
19:59 cheako: Yes, that resource addresses my assumptions. But changes the answer of will this call block to "it depends" and that's not great, do apps really send off a watcher thread looking for vk calls to block?
20:00 cwabbott: every single vulkan call "blocks"
20:01 cwabbott: the driver never ever creates a thread behind the app's back
20:01 cwabbott: there is one exception for queue submission, but you don't have to worry about that as queue submission is obvious asynchronous anyway
20:02 cwabbott: that was an explicit design goal since vulkan 1.0 and I believe communicated at the time - when we say vulkan is "explicit" that's one of the key parts of it
20:03 cwabbott: that in turn was guided by developer's frustrations with non-blocking calls in GL
20:16 cheako: Thanks for putting up with me, I'm a better dev now.
20:21 cheako: google `"https://docs.vulkan.org/guide" -site:https://docs.vulkan.org` There is no way to find the document without talking to someone.
20:29 psykose: -site: excludes a site, what did you expect that to do
20:30 cheako: Search the internet for ANYTHING discussing this link. I excluded it's self to avoid the obvious circular logic, of finding something only being possible after you've found it.
20:31 psykose: i've found this guide (and others) multiple times before just by looking for 'vulkan guide', nobody led me to it
20:32 cheako: Right, that's circular... how did you learn that there was a guide to search for?
20:33 psykose: searching `foo guide` is inherent to learning things for me in general, i do that for most things
20:33 psykose: how do others find things? where would you expect to see it mentioned?
20:35 cheako: I searched for `vulkan tutorial`, perhaps b4 that guide existed. I wouldn't count on ppl finding things by walking a thesaurus.
20:37 cwabbott: searching "vulkan tutorial" takes me to https://www.vulkan.org/learn which has the official tutorial and guide linked
20:37 psykose: are you saying it should be the first direct result on google for `vulkan tutorial/guide/etc`? or that people should be discussing it around the internet? i'm not sure i understand
20:41 cheako: I learned from https://vulkan-tutorial.com/ and yeah that was long time ago. Still that sire isn't getting much SEO if there are no other sites linking to it.
20:43 cheako: ohh, sorry I've autism so am more confusing than a LLM.