Mesa package that provides WebGL is broken in version 23.1.4, affecting Obsidian graph view

Steps to reproduce

  1. Update to mesa 23.1.4
  2. Launch Obsidian
  3. Open graph view

The graph view will either be empty (no text, no arrows, no links and no nodes) or only nodes will be missing.


Did you follow the troubleshooting guide?

Yes. This issue is present regardless of the theme, plugins and installation.

An upstream implementation of underlying libraries currently causes this bug. To fix it, downgrade or roll back to mesa version 23.1.3.

Developer Console Logs

WebGL: INVALID_OPERATION: drawElements: no valid shader program in use
pixi.min.js:381 WebGL: INVALID_OPERATION: drawElements: no valid shader program in use
pixi.min.js:381 WebGL: INVALID_OPERATION: drawElements: no valid shader program in use
pixi.min.js:381 WebGL: INVALID_OPERATION: drawElements: no valid shader program in use
pixi.min.js:381 WebGL: INVALID_OPERATION: drawElements: no valid shader program in use
This goes on for 720 lines…

Related bug report on Arch Linux Bugs: FS#79200 : mesa 23.1.4-2 breaks implementations of WebGL, causing obsidian to malfunction

1 Like

Closed for failing to read the big report template and troubleshooting guide.

I ran into the same issue for myself, there is a workaround.

OP posted about the same problem in the mesa gitlab here. A dev suggested to remove the GPU cache in the chrome (electron?) config folder that obsidian has.

Running rm -rf ~/.config/obsidian/GPUCache, while obsidian is not running, and then starting obsidian fixed the problem.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.