• IllNess@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    So this is interesting.

    I am running this on a Mac (Intel), on clean install of Firefox.

    It didn’t work.

    If anyone is curious I’ll post what I think might be relevant.

    I got this error:

    Uncaught (in promise) TypeError: can't access property "getPreferredCanvasFormat", navigator.gpu is undefined
        main https://auberon.xyz/deathray/:15
    

    But I looked at the documentation for getPreferredCanvasFormat() and it exist.

    mdn_: GPU: getPreferredCanvasFormat() method

    So I looked at about:config and I listed what I think might be relevant:

    config set to
    dom.webgpu.enabled false
    webgl.forbid-hardware false
    webgl.disabled false
    • Elvith Ma'for@feddit.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 days ago

      The problem is not the missing getPreferredCanvasFormat(), but that a field named navigator.gpu is undefined/not set. That might be because of the disabled webgpu in your settings?

      • IllNess@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Yeah, I figured.

        So a clean install of Firefox on an Intel Mac should technically be fine. I guess Mozilla turned it off for abuses like this.

        Thank you for your input.

        • 123@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          YouTube on Firefox was very crappy on Linux (bazzite). I had to disable hardware acceleration a few years ago to have videos properly render colors. I just remembered recently since I reinstalled my browser and the problem came back. Any chance you might have disabled that at some point as well on your Mac for some reason ?

          • IllNess@infosec.pub
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            I don’t think so. I use Firefox Developer Edition as my default browser. It is possible that I disabled those flags at some point but I would think it would reset after a clean install and not being logged in to Sync.

    • Euphoma@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 days ago

      The site says at the top that it uses webgpu to freeze macs. And you have webgpu disabled