fix(linux): keep DMA-BUF on unless an old NVIDIA driver is readable
Facebook Messenger on your desktop, without the Facebook clutter
Brought to you by:
kristoffer-r
Originally created by: kristofferR
[#400] turned WebKit's DMA-BUF renderer back on by default, but still turned it off when /sys/module/nvidia/version existed but couldn't be parsed. The fallback should apply only to old NVIDIA drivers.
Now only a readable NVIDIA proprietary driver version below 555 turns DMA-BUF off. Intel, AMD and nouveau never load the nvidia module, so they keep DMA-BUF on, as does a version that can't be read or parsed. The tests cover both cases.
Ref [#31]
Originally posted by: kristofferR
@codex review
Originally posted by: chatgpt-codex-connector[bot]
Codex Review Summary: β Completed
This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | π **Code Review** | β **Completed** <relative-time datetime="2026-11-07T20:25:09.793922Z">2026-11-07T20:25:09.793922Z</relative-time> | `2e9d8b3` | Manual request |βΉοΈ About Codex in GitHub
[Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with π while any review is running, comments if it has suggestions, and reacts with π once all reviews finish with no findings.
Originally posted by: chatgpt-codex-connector[bot]
Codex Review: Didn't find any major issues. Already looking forward to the next diff.
Reviewed commit:
2e9d8b3aedβΉοΈ About Codex in GitHub
[Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with π. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Ticket changed by: kristofferR