From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: google-chrome can render pages after update
Date: Mon, 12 Jun 2023 21:26:22 +0100 [thread overview]
Message-ID: <3449878.QJadu78ljV@lenovo> (raw)
In-Reply-To: <u67iqa$3bc$1@ciao.gmane.io>
[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]
On Monday, 12 June 2023 17:57:47 BST Grant Edwards wrote:
> On 2023-06-12, Michael <confabulate@kintzios.com> wrote:
> >> It seems to be a variation on this bug which affects only AMD GPUs:
> >> https://bugs.gentoo.org/907431
> >>
> >> Clearing the GPU driver cache or using the
> >> -disable-gpu-driver-bug-workarounds option avoids the problem.
> >>
> >> In my case, It wasn't a mesa update that triggered the problem. I
> >> think it was the llvm update (I haven't confirmed that).
> >
> > Did you (re)compile anything graphics related using llvm, which
> > might be used by the Chrome binary?
>
> No -- but as I understand it, mesa uses llvm (at runtime) to generate
> GPU object code. Based on the work-around, it looks like compiled GPU
> object code is cached by Chrome/Chromium, and updates to mesa and/or
> llvm can result attempts to use old, incompatible GPU object code.
>
> As pages are rendered, there was a constant stream of "link failure"
> messages on the console window where Chrome is running.
Yes, you're right. Gallium llvmpipe driver uses llvm in runtime for
rasterisation. I wasn't aware of this and thought llvm is only a build time
compiler! :-)
This also explains why clearing the cache fixes the problem of what is
essentially stale code.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2023-06-12 20:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 15:46 [gentoo-user] google-chrome can render pages after update Grant Edwards
2023-06-12 16:05 ` [gentoo-user] " Grant Edwards
2023-06-12 16:38 ` Michael
2023-06-12 16:57 ` Grant Edwards
2023-06-12 20:26 ` Michael [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3449878.QJadu78ljV@lenovo \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox