Skip to content

fix(linux/nvidia): replace env var with __NV_PRIME_RENDER_OFFLOAD=1#233

Merged
Dimillian merged 1 commit intoDimillian:mainfrom
xlab:fix/linux-enable-compositing
Jan 25, 2026
Merged

fix(linux/nvidia): replace env var with __NV_PRIME_RENDER_OFFLOAD=1#233
Dimillian merged 1 commit intoDimillian:mainfrom
xlab:fix/linux-enable-compositing

Conversation

@xlab
Copy link
Copy Markdown
Contributor

@xlab xlab commented Jan 25, 2026

Hey I have added Linux support initially and it's a well known issue with NVIDIA cards and Tauri Apps that the app starts but the screen is blank. My original fix was to force WEBKIT_DISABLE_COMPOSITING_MODE=1 on Linux but this is too wide and actually just disables hardware acceleration, the app became more heavy lately and it causes problems.

I've replaced with __NV_PRIME_RENDER_OFFLOAD=1 which targets the issue with NVIDIA setup specifically and it works well as a workaround (I have RTX 4090). This obviously needs more feedback from other Linux users, but if you don't have NVIDIA card, you should be fine.

This is better than disabling hardware acceleration for the whole app on Linux!

Sources

@Dimillian Dimillian merged commit 7f3ecc8 into Dimillian:main Jan 25, 2026
5 checks passed
@xlab xlab deleted the fix/linux-enable-compositing branch January 27, 2026 12:51
gersmann pushed a commit to gersmann/codex-monitor-web that referenced this pull request Mar 10, 2026
zip700 pushed a commit to zip700/CodexMonitor that referenced this pull request Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants