Skip to content

GPUAdapter.name considered harmful #2191

Closed

Description

@litherum

Identifying the user's device by name is an anti-pattern on the web.

There are 2 reasons:

  1. Tracking/fingerprinting. GPUAdapter.name is particularly insidious because it can indicate the user's socioeconomic status.
  2. Correctness: Consider the User-Agent string, and all the strife that has caused. For example, we don't want websites to say if (adapter.name.indexOf("NVIDIA") != -1) { /* enable bells and whistles because we know we're on a fast device */ }. These kind of assumptions about device manufacturers always end up being wrong in the long term.

If an application needs to know whether or not they have to work around some bug on some driver, the way they should be doing that is by observing if the bug actually occurs, not by reading the device's name.

It is not sufficient to defend GPUAdapter.name by saying that browsers can just lie. Doing so is misleading the app developer; making them think they have access they don't actually have.

Activity

  1. added this to the V1.0 milestone on Oct 16, 2021
  2. magcius commented on Oct 17, 2021

    @magcius

    There's often very few ways of detecting these bugs other than reading back textures from the GPU. Doing this at startup is slow and costly, and often these bugs need to be detected before the rest of the rendering algorithm is built.

    The comparison with User-Agent is basically spot on; while there is a lot of content that uses the User-Agent for bad purposes, and is meant to be used with last resort, I have personally encountered multiple issues that require me to use its presence, after all other approaches have been exhausted. And due to the more prickly nature of GPU drivers, I expect this to be a much bigger concern in practice.

  3. juj commented on Oct 17, 2021

    @juj

    the way they should be doing that is by observing if the bug actually occurs, not by reading the device's name.

    I think it is fine to limit identifying features on the basis of tracking and fingerprinting, but while doing so, it would be good to acknowledge that "observing if the bug actually occurs" is an utopia that is not at all feasible in many scenarios.

    Just a recent example off the top of my head is that when using WebGL on Chrome with Intel integrated GPUs, GPU memory utilization would spike through the roof. There is no WebGL API way to detect this issue. I am sure that everyone who's been on web browser bug duty can come up with a number of other bugs where feature testing is not feasible. We should not ignore that reality.

    Anonymizing the hardware will limit the stability of the WebGPU-leveraging sites shipped on the web and impact the productivity of the teams developing those sites.

    I am not saying that should be a reason not to anonymize, but I would recommend the spec to be honest about the situation and think about what could be helped about this.

    Currently the spec does not have too many diagnosis features to help users diagnose issues that arise. For example such a memory issue above is not possible to debug at all, there is no machinery for this.

    The arguments in style of bullet point 2 read bad, because they build a straw man argument about a developer using the information to write bad code, or to be lazy or incapable - whereas the reality is more likely that the browser specs were too weak to do a practical feature test instead, or it is really a hard problem or hard work to write a feature test that does not impair performance or take weeks to build the scaffolding around. In many cases the source of an instability cannot be reliably found, except to note in analytics dashboards that "Adreno 3xx crash 20x more often than other devices".

    What does the spec do to help the non-strawmen who actually do want to feature test the bugs? What categories/classes of WebGPU issues are planned to be readily feature-testable? It would be great if the spec was hardened against these types of scenarios.

  4. Kangz commented on Oct 18, 2021

    @Kangz
    Contributor

    Thank you for starting this discussion. See #2195 for some other ideas.

    Tracking/fingerprinting. GPUAdapter.name is particularly insidious because it can indicate the user's socioeconomic status.

    This is misleading because there are many ways to know a user's socioeconomic status anyway. For example Android vs. iPhone is simple to detect (and my guess is that iPhone on average means higher income). Or the specific iPhone model too (with the window's size) so you can know how much money they spent on it.

    An actual GPU name would give a good indication of price point but a GPU vendor name isn't really. Same for the architecture for a specific vendor because it is the number of "execution units" or the binning of the chip that makes the prices vary more.

    if (adapter.name.indexOf("NVIDIA") != -1) { /* enable bells and whistles because we know we're on a fast device */ }

    As @juj mentioned the use for this information is mostly useful to detect and work around bugs and is important for the stability of sites that developers using WebGPU will produce. @kenrussell: you collected a list of uses for the WebGL unmasked renderer strings is there a summary or a doc we can share?

    I agree that we should help developers not have to do brittle regex string matching to detect what hardware they run on. The information that the browser provides could be structured so there's less chance for bugs. For example by splitting vendor, architecture and name with increasing levels of precision. Having architecture will also help developers because they won't have to match Adreno 3\d\d but instead just look for Adreno 300. Of course undefined could be a valid value for any of them if the browser can't or doesn't want to provide this information.

    It is not sufficient to defend GPUAdapter.name by saying that browsers can just lie. Doing so is misleading the app developer; making them think they have access they don't actually have.

    As noted above, this can be solved by making GPUAdapter.name a DOMString? instead of DOMString. A browser that doesn't want to give the information can just give undefined.

  5. mehmetoguzderin commented on Oct 18, 2021

    @mehmetoguzderin
    Member

    I don't want to water this discussion with Tweetish observations, but I think @litherum point stands correct about the socioeconomic implications of GPU. Phone analogy doesn't hold up because people and families are way more likely to accept more burden to afford a better phone due to high utility, especially if that's what they'll only be able to provide to their children. GPUs, compared, stand as a non-essential affordance that sports your budget for such people and places of low income.

  6. toji commented on Oct 25, 2021

    @toji
    Member

    I wanted to echo @juj's sentiments that simply "observing if the bug occurs" is not a realistic approach for a wide variety of GPU-based applications.

    Real world example: I recently published a WebGPU based game where a blur effect was found to cause transient artifacts with random pixels turning white on older Intel GPUs on MacOS. The nature of this bug meant reveals several issues with attempting to observe it:

    • The rendering appeared to work correctly from an API standpoint. The only way to detect the issue would be to read back the output texture, a costly operation on a GPU that was already struggling to run the content.
    • The corrupted pixels were not in consistent locations frame-to-frame, so every pixel of the render target (or at the very least a large swath of them) would need to be checked to observe the problem.
    • Because the effect was transient and random, not every rendered frame was guaranteed to contain the corruption. As a result multiple frames would have to be read back and fully examined to determine if the issue was occurring.

    Thus while observing the issue was technically possible it's not trivial from a technical or performance perspective, and would adversely affect the experience of every user in order to try and observer a driver issue on a single GPU.

    Additionally, it's worth considering that while in this case the workaround for the issue would have been to drop the blur effect, in some cases the most desirable workaround for a problem may be either loading a different set of assets or requesting a different adapter entirely. In those cases the user-facing experience is even worse since the content must be loaded, run for a bit, watched carefully for issues (with the potential performance impacts associated) and if one is observed the content must be effectively reloaded from scratch.

    Or, in the worst case scenario, the issue in question may be a crash, in which case the page will have no opportunity to observe the issue at all. (And yes, browsers or driver vendors should be addressing crash issues, not individual pages. But there will always be latency between developers discovering an issue and it getting fixed upstream.)

    No company that values their users experience will be willing to allow the first several seconds of their app to be a slow, flickering mess and/or crash over issues they could have been proactive about with a bit of additional system information. In fact, i would be willing to bet that they will simply fall back to less accurate signifiers (UA strings + resolution, etc) to guess at the device architecture and penalize a much larger pool of users than necessary in the process.

    With all that said, I'm not trying to advocate for reporting exact driver names or anything like that. I would very much like to encourage us to find ways to allow developers to quickly identify potentially problematic groups of devices that don't rely on direct observation of an issue in action.

  7. mrshannon commented on Oct 25, 2021

    @mrshannon
    Contributor

    So there are three legitimate uses I can think of for knowing what GPU, and even driver version someone is using:

    • Avoiding bugs
    • Changing optimizations
    • Hardware survey

    Avoiding Bugs: This requires knowing the vendor, architecture, and driver version. There are cases where knowing the exact model may be important but I would think those 3 pieces of information might be enough for the majority of the time. I second @toji statement that the fix is sometimes choosing another adapter. There are cases where I will probably force software rendering (if available) to avoid bugs. Some bugs can be found by checking for the bug directly and in my use case the load times are already long enough I can probably afford to do the readback in most cases, though this will not be the case for more typical usage of WebGPU. Also as @toji pointed out, this does not work for bugs that appear randomly.

    Changing Optimizations: What is really good on one vendor/architecture is not good on another. There are common optimizations for AMD cards (of certain architectures) which I have measured a nearly 2X performance loss on NVIDIA and a 1.5X loss on Intel. While it's probably pretty rare to put much effort into per-vendor optimization, when this falls in the category of changing a few tuning parameters (as it does in some cases) it is nice to be able to get the vendor and architecture and adjust accordingly.

    Hardware Survey: Useful for knowing when you can up system requirements without harming too much of your customer base. This would need the exact GPU name, not just vendor/architecture. This can be handled via benchmarking and grabbing VRAM until the browser says no more but those are rather intrusive (and unreliable) methods to conduct such a survey.

    So my point is that while knowing the exact GPU is nice. Knowing the vendor, architecture, and driver version is pretty critical. It's somewhat of a mute point anyways since all this information is available via WebGL. If a developer needs the information, not having it in WebGPU is only forcing them to launch an extra canvas to get it.

    Because of this, I think the API should expose as much detail as we can (vendor, architecture, driver version, name) but allow it to be undefined. Everywhere this information is already exposed via WebGL it should be replicated through WebGPU. But this does allow for removing it one day, when WebGL is no more. Though as a user of WebGPU I would prefer this information to always exist.

  8. litherum commented on Oct 25, 2021

    @litherum
    ContributorAuthor

    avoiding bugs

    Adreno 3xx crash 20x more often than other devices

    GPU Process crashes will presumably be discoverable as context lost.

    memory utilization would spike through the roof. There is no WebGL API way to detect this issue.

    WebGPU has an out-of-memory error, which is detectable.

    Changing optimizations

    #2195 is a really great example of a developer doing it wrong. They're trying to say "if I'm on Nvidia Kepler, use this shader which I've pre-optimized for that architecture" without any thought as to devices that are not Nvidia Kepler. What happens if the Nvidia-Kepler-optimized shader runs faster on M1? They should be saying "does X shader run faster than Y; if so, use X."

    Hardware Survey

    What do you plan on doing with this information? Why is knowing the vendor more useful than knowing which extensions are most popular? Or what limits are popular? Those are the bits of information you'd use when developing future applications. Developers making WebGPU applications should be targeting functionality, not specific devices.

    vendor, architecture, driver version, name

    That's definitely way way too much information.

  9. litherum commented on Oct 25, 2021

    @litherum
    ContributorAuthor

    If the most recent version of a driver has a bug in it, developers don't know which yet-to-be-released version of the driver will fix this bug. It's quite unfortunate if web developers would take a different codepath on all Adreno devices, when the bug has since been fixed and the drivers have been upgraded.

    From the device driver's point of view, this makes it impossible to ever fix any bugs, because even if they're fixed, applications won't use it. The only way for a web developer to know when a bug is fixed is to observe it - not use a fairly meaningless proxy.

  10. litherum commented on Oct 25, 2021

    @litherum
    ContributorAuthor

    The other objection is a somewhat procedural one - the full description of this field is:

    A human-readable name identifying the adapter. The contents are implementation-defined.

    What this means, in effect, is that it will be defined by the dominant browser, and applications will be written according to the behavior of that browser. If the dominant browser starts putting driver version numbers in there, authors will start writing code that assumes they can check the driver version numbers. It essentially provides a backdoor to the standardization process.

  11. litherum commented on Oct 25, 2021

    @litherum
    ContributorAuthor

    The last point I wanted to make was that, today, as far as I'm aware, all major browsers are in the process of freezing their UA string. GPUAdapter.name essentially adds another UA string to the web, contradicting that effort.

  12. mrshannon commented on Oct 25, 2021

    @mrshannon
    Contributor

    If the most recent version of a driver has a bug in it, developers don't know which yet-to-be-released version of the driver will fix this bug. It's quite unfortunate if web developers would take a different codepath on all Adreno devices, when the bug has since been fixed and the drivers have been upgraded.

    From the device driver's point of view, this makes it impossible to ever fix any bugs, because even if they're fixed, applications won't use it. The only way for a web developer to know when a bug is fixed is to observe it - not use a fairly meaningless proxy.

    This is true for Windows where drivers are upgraded independent of the OS and the solution is to tell users to upgrade their drivers. But on Linux and Android (someone correct me if I am wrong) drivers are often locked to the OS and thus are never upgraded, so it can sometimes be required to implement a fix in app because (insert driver version here) shipped with (insert Linux distro here) has a bug.

    Not sure if this is enough to warrant presenting the driver version, but its not a non-issue.

  13. mrshannon commented on Oct 25, 2021

    @mrshannon
    Contributor

    To be clear, I would be happy with:

    • GPUAdapter.vendor
    • GPUAdapter.architecture

    And architecture could be further grouped as all 5 generations of GCN are close enough.

  14. litherum commented on Oct 25, 2021

    @litherum
    ContributorAuthor

    it can sometimes be required to implement a fix in app because (insert driver version here) shipped with (insert Linux distro here)

    Right, that's exactly the point I'm making. You have no knowledge of whether driver version + 1 (or linux distro release + 1) fixed the bug, because those versions don't exist yet. So you can't target "just the driver versions with the bug" and have the right thing happen on driver version + 2 which actually fixed it.

  15. mrshannon commented on Oct 25, 2021

    @mrshannon
    Contributor

    You have no knowledge of whether driver version + 1 (or linux distro release + 1) fixed the bug. So you can't target "just the driver versions with the bug" and have the right thing happen on driver version + 2 which actually fixed it.

    You can if you test it. But the most reasonable process would be to blacklist only that version and report the bug upstream, assuming it will be fixed in the next release. If it is not then add another entry to the blacklist.

  16. 23 remaining items

  17. krogovin commented on Dec 8, 2021

    @krogovin

    If the GPU is not identified, the alternative will come down to:

    • listing bugs of a GPU and driver known by the browser
    • listing performance idiosyncrasies of a GPU and driver known by the browser

    Which is not really going to fly very well since different complicated graphics application will hit different bugs and performance issues on different GPU's. The browsers essentially track the issues they encounter in rendering 2D content.

    The part that I find really frustrating about the entire conversation here is that once one has JS and a graphics API, the device can be fingerprinted anyways. Thus, not providing that data does not prevent any fingerprinting but just makes life a pain. Worse, if the data is not provided, libraries to perform GPU fingerprinting will be developed.

  18. doug-moen commented on Dec 8, 2021

    @doug-moen
    Contributor

    @krogovin I agree with what you said.

    BUT as an indy (single person) developer,

    • I don't want to have to test the GPU identifier directly in my own code. This goes against what makes WebGPU compelling to me: an easy to use, high level, portable API that lets me code against a single interface and deploy to desktops, mobile and web. I don't have the resources to test my code against all of the popular GPU/driver/platform combinations, and write 'if GPU-id then' code that works on all those combinations. Any such code that I did write would only work reliably with machines I have personally tested.
    • Litherium's assertion that I should simply "observe if the bug actually occurs" is insane. This code is not easy to write, and may have a serious performance cost, as others have noted. With WebGPU set to become the universal high level GPU API, I hope that this will lead to the availability of high level WebGPU libraries, so I don't have to code everything from the ground up. How do these libraries "observe if the bug actually occurs"?
    • The biggest problem with this suggestion: once you start writing behavioural testing code to fingerprint a GPU, then you are engaged in an arms race against the browser makers, who will be looking for live examples of behavioural testing code on the web, and updating their browsers to prevent the code from working.
    • What I want is a standard GPU capability database that lets me write portable code for working around bugs, behaviour and performance variances. Using this standard database, I can write code that is impervious to problems that I haven't experienced in my own testing. Testing the GPU ID directly (as opposed to indirectly through a high level 3rd party library) is a last resort that I would only use reluctantly.

    You are right that we can't expect browser developers to provide this capability database. They aren't game developers, they don't have the knowledge or expertise to know what capabilities need to be listed.

    So maybe this GPU capability database should be a third party open source project. It will test the GPU id and populate a capability database. To make this code simple and efficient, WebGPU should provide an API exposing a GPU ID in a format that facilitates this.

  19. kenrussell commented on Dec 8, 2021

    @kenrussell
    Member

    Folks, please be respectful. Derogatory comments about others' statements are not acceptable.

    I'm not sure that continuing this conversational thread will be fruitful at this point. Let me suggest closing this issue in favor of deciding on a better framework for exposing GPU information in #2195 .

  20. krogovin commented on Dec 8, 2021

    @krogovin

    I don't know what was disrespectful by anyone.

    @doug-moen has a pretty good point that it is a major PAIN to test against GPU ID to make work arounds. I admit that the idea of a bug database sounds really nice, but the way GPU and driver bugs come up, the manifestations of bugs is really hard to describe ... often shader compiler bugs are immensely hard to isolate to a simple case (and that is even when knowing the implementation of the shader compiler!). Hardware bugs can be even more tricky to specify (they are hard to isolate in a driver and oodles much harder to isolate from application).

    I think that the promise that "it will just work" is not the the case for dealing with GPU's unless one is doing relatively simpler things. Cutting edge techniques with cutting edge features is where so much pain is at typically.

  21. kenrussell commented on Dec 8, 2021

    @kenrussell
    Member

    Saying that so-and-so's point of view "is insane" is disrespectful and won't be tolerated in our community.

  22. krogovin commented on Dec 8, 2021

    @krogovin

    I suppose I can see that; however, I don't think closing the discussion from that single line is proportional. Others had objected to the same point, but with nicer words.

    I have found the discussion quite educational for myself, in particular the responses from @toji and @juj about iframes have made me realized that iframes have their important uses and shutting them out which I advocated is not a feasible (or even a good idea).

    I do admit that the closing of the issue leaves a very bad taste in my mouth.

  23. greggman commented on Dec 9, 2021

    @greggman
    Member

    My 2¢,

    Back in the WebGL days I was also very much against providing this info. My position was browsers should work around the bugs or blacklist the drivers. My position changed though as I saw both how many bugs there are and how long it takes for a work around to reach end-users.

    Devs need the info otherwise they can't support their customers.

    Some website that uses GPU (WebGL or WebGPU) needs to support all of its users. If one day a driver is updated and 5% of their users can no longer use the site, it's not reasonable to tell them "We'll work on this and maybe in 3 to 6 months we'll have a workaround for those users." In the meantime what are they supposed to do? Some will say "test, if the test fails then don't use that feature", but is it really an acceptable solution to tell them to add .5 to 3 seconds of startup time to their app for all users just so it doesn't have issues on those 5%? And what if, as others have found, there is no good and performant way to test for the issue?

    Parsing strings considered harmful

    Let me also get more controversial though, after seeing this set of bugs (chrome, firefox, safari) I'm leery of returning a string that could in any way be parsed. I'd push for either a record of separated values {vendor: "Intel", device: "32"} with no spaces, periods, dashes, underscores nor mixed alphanumerics. In other words, anything returned must pass this regular expression /^[A-Za-z]+|[0-9]+$/ so there's nothing to parse (no "Intel 630", no "NVidia234", no "32.0.12". Or, arguably better, just ints. {vendor: 0x8086, device: 0x3e9b}. If we let devs parse they will parse and they'll parse incorrectly.

    I get the concern that some dev might go do

    const kNVIDIA = 0x10DE;
    if (gpuAdaptor.vendor === kNVIDIA) {
      // do fast thing
    } else {
      // do slow thing
    }
    

    But to me that's a self solving problem as they're intentionally giving some of their customers a bad experience and therefore it's bad for their bottom line so it seems eventually self correcting, one way or another.

    Fingerprinting

    As others have pointed out, to some degree these APIs lets you fingerprint without this info. I tested an iPhone6S+, iPhone11Pro and iPhone13Pro on WebGL and all 3 returned different results for filtering such that without a device ID I could tell which was which, this is even without adding in limits (maxTextureSize etc...) to the signature. Adding in that info increased the fingerprinting, and of course, adding in screen.width, screen.height, preferred language, local time, prefered color scheme, and other device specific things, even without the device info it would be pretty easy to fingerprint. That's not to say we shouldn't try to prevent fingerprinting, but like others have suggested, if your browser is trying to prevent fingerprinting it has to happen at a higher level (let the user disable the API, prompt the user, let the user set per site permissions, etc....) The absence of vendor/device is not some magic bullet that fixes this issue.

  24. kainino0x commented on Dec 11, 2021

    @kainino0x
    Contributor

    But to me that's a self solving problem as they're intentionally giving some of their customers a bad experience and therefore it's bad for their bottom line so it seems eventually self correcting, one way or another.

    I absolutely agree with this. Devs doing suboptimal vendor/device checks was one of the points Myles brought up against exposing vendor/device info. While I agree it's a problem, it's absolutely dwarfed by the need for developers to access (even limited) vendor/device info in order to serve their users. In particular:

    2. if (adapter.name.indexOf("NVIDIA") != -1) { /* enable bells and whistles because we know we're on a fast device */ }

    We can't guard against all bad code on the entire internet. We make significant efforts to prevent people from writing code that looks OK but works poorly. This code doesn't look OK - it's obviously bad, and I don't think we should worry about guarding against it.

    #2195 is a really great example of a developer doing it wrong. They're trying to say "if I'm on Nvidia Kepler, use this shader which I've pre-optimized for that architecture" without any thought as to devices that are not Nvidia Kepler. What happens if the Nvidia-Kepler-optimized shader runs faster on M1? They should be saying "does X shader run faster than Y; if so, use X."

    I don't think it should be our business to prevent developers from doing this. If there were no detriment, sure, but the value of vendor/device info to developers has been conclusively shown. Firstly, the detriment of this scenario occurring is minuscule: the code will just run a bit less optimized on some hardware. I think it will almost never be more than a small performance difference - architecture specific optimizations are extremely sensitive to the exact architecture (for bank conflict optimizations for example). And the hardware that benefits is going to be inherently rarer, because those developers who are optimizing for particular architectures already are the same ones who are testing on diverse architectures.

  25. kdashg commented on Jan 22, 2022

    @kdashg
    Contributor
    WGSL meeting minutes 2022-01-19
    • (And discuss Brandon's proposal in Exposing GPU hardware information to web developers in WebGPU #2195)
    • BJ: we have the GPUAdapter.name considered harmful #2191 post, going over reasons why Apple didn't want to expose GPU name, but more generally identifying info for the GPU. Other issue linked here is proposals for how we could expose GPU info in a more user friendly way, and less immediately fingerprintable way.
    • BJ: for the group right now, I think over the course of these discussions we've expressed pretty well the reason for this information. So whether we expose any information at all about the GPU is probably well discussed. I think we could close GPUAdapter.name considered harmful #2191 and focus on concrete proposals. For people concerned about fingerprinting (everybody?), focus on exposing the info in a way as user centric / privacy preserving as possible.
    • MM: I don't think we should close GPUAdapter.name considered harmful #2191. Reason: I don't understand why we have 2 issues in the first place. 1 discussion with 2 issues. Closing half of the issues doesn't make sense either.
    • MM: we have relaxed a little bit since last discussion. Previously position I described is that we should not expose this for initial version, but wait for devs to tell us they need it in WebGPU. Now we're willing to have this discussion before V1 ships, but only if TAG / PING (ideally those two, but not necessarily specifically them) are involved.
    • MM: one option - there's a spectrum - one result is, no browser exposes any information. That's one end of the spectrum, but it is on the spectrum. We shouldn't close out any concern until we've consulted with experts.
    • KG: what forum would that be in?
    • MM: historically - held in joint meetings. Two groups will join the same call. Doesn't have to be that way.
    • KG: this sounds reasonable to me. There's a desire for more expertise from people who we'll need to satisfy anyway. Shouldn't have too prolonged a discussion here if we have to take it to another group and have the discussion again there.
    • KG: to that end, it sounds like the first step - the PING, rather than the TAG. Sounds like their reason for being.
    • KG: concurrently, useful to brainstorm ideas. Maybe don't get caught up on making a decision when we aren't the final decision makers.
    • BJ: seems reasonable reflection of how I'd like it to go. My experience with the TAG has been that most effective communication with them is putting up a proposal, or a couple of different options and saying: here's the direction we're trending, and let them critique. Don't want to figure out all technical details if we think it'll change. But if they can see where our thinking's going it'll facilitate the conversation better.
    • KG: don't want to invite them to join a debate. Point well taken.
    • MM: at one point there was a proposal in this group - timestamps or similar- didn't know the form it would take, moved into a separate document, then planned to move back - that would be valuable from our point of view.
    • KG: is this something we could use branches for, or other docs / explainers in the repo?
    • MM: we don't have any opinion about that.
    • BJ: I've seen explainers used successfully for that in the past. Focused on a single topic. It's conducive to bouncing ideas off groups like the TAG.
    • KG: good idea. Don't want TAG to have to trace through our massive spec just to handle this issue. Will have to go to them with the whole thing eventually. Like the idea of a separate explainer.
    • MM: it'd be an explainer instead of what's currently in the spec right now.
    • KG: was imagining it, we point them to the explainer and say ignore what's in the spec right now. Do you want to affirmatively remove things from the spec first?
    • MM: just because there's a prior example. I think it was pipeline statistics. We have 3 different proposals.
    • BJ: I think GPU name exists in the spec today. I don't' have any particular opposition to removing that. Don't think anyone will implement what's in the spec right now. Pulling up the explainer in its place seems reasonable. I'm happy to draw up a first draft of the explainer unless someone wants to jump in. Will pull in the discussions so far, why we want the feature, and a skeleton of a proposal, and we can discuss it in the group before going to the PING.
    • MM: sounds reasonable. This is an issue we've discussed "maximally" - we've talked up and down the management chain in our company. Have come up with 17 different ways it could work. I've intentionally refrained from proposing them because I didn't want to have the discussion. But since we've relaxed a bit, writing that document would be helpful, but we'll probably add a bunch to it before the TAG/PING get involved.
    • KG: suggest to make this a HackMD or Google Doc rather than initially a text file in the repo for ease of initial collaboration. That way we don't need tons of PRs - need brainstorming.
    • MM: if I understand correctly - we agree that Brandon will start writing a document, then I'll make a tentative PR removing GPUAdapter.name and add a comment pointing to the discussions in the other document.
    • KG: I'll talk with Corentin and Domenic about reaching out to the PING.
  26. toji commented on Jan 24, 2022

    @toji
    Member

    As requested during the last call, I've put together an explainer capturing my proposal from #2195 and put it up as a HackMD document for easy collaboration here: https://hackmd.io/@Toji/S1rvjZD6t

    As we discussed, the goal should be to use this document to work out any broad issues with the proposal as a group (For example, I expect the exact structure of the interface we return will undergo some changes vs. what I've put there initially.) Then, once any large concerns have been addressed we'll loop in the PING and work out the remaining details with their input.

  27. toji commented on Jan 26, 2022

    @toji
    Member

    At @litherum's request in today's call, the above document has been mirror into this repo at https://github.com/gpuweb/gpuweb/blob/main/design/AdapterIdentifiers.md to facilitate pull requests.

  28. Kangz commented on Apr 26, 2022

    @Kangz
    Contributor

    Tentatively closing since the explainer landed and the group agreed that it is a possible direction forward. Works is now happening in iteration of the GPUAdapter identifiers PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions