wails/v3/internal/assetserver
Lea Anthony b35961f257 fix: auto-disable DMA-BUF renderer on Wayland with NVIDIA to prevent crashes
WebKitGTK has a known issue with the DMA-BUF renderer on NVIDIA proprietary
drivers running Wayland, causing "Error 71 (Protocol error)" crashes.

This fix automatically detects NVIDIA GPUs (via /sys/module/nvidia) and sets
WEBKIT_DISABLE_DMABUF_RENDERER=1 when running on Wayland.

Also removes leftover debug print statements from mobile platform merge.

See: https://bugs.webkit.org/show_bug.cgi?id=262607

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 08:39:15 +11:00
..
bundledassets [skip ci] Publish @wailsio/runtime v3.0.0-alpha.75 2025-12-10 11:12:45 +00:00
defaults Event cancellation for standard listeners. 2025-01-27 09:29:22 +11:00
webview Merge iOS support from v3-alpha-feature/ios-support 2025-12-10 18:34:21 +11:00
asset_fileserver.go add '.html' to requests with no extension and no file found 2025-03-07 14:43:47 +02:00
assetserver.go adding http.CloseNotifier and http.Flusher interface to assetserver.contentTypeSniffer, for Gin (and other framework) compatibility. 2025-03-09 14:38:22 +11:00
assetserver_android.go feat: Add Android support for Wails v3 2025-11-28 21:06:59 +11:00
assetserver_darwin.go Merge iOS support from v3-alpha-feature/ios-support 2025-12-10 18:34:21 +11:00
assetserver_dev.go [v3] Fix and optimise assetserver (#4049) 2025-02-09 00:02:54 +11:00
assetserver_ios.go Merge iOS support from v3-alpha-feature/ios-support 2025-12-10 18:34:21 +11:00
assetserver_linux.go feat: Add Android support for Wails v3 2025-11-28 21:06:59 +11:00
assetserver_production.go Fix default index.html serving. 2024-12-14 11:10:07 +11:00
assetserver_test.go [v3] Fix and optimise assetserver (#4049) 2025-02-09 00:02:54 +11:00
assetserver_webview.go fix: auto-disable DMA-BUF renderer on Wayland with NVIDIA to prevent crashes 2025-12-12 08:39:15 +11:00
assetserver_windows.go Refactor menu functions and streamline devtools toggle across systems 2024-01-21 20:52:32 +11:00
build_dev.go Fix default index.html serving. 2024-12-14 11:10:07 +11:00
build_production.go Fix build issue 2024-12-15 08:32:43 +11:00
bundled_assetserver.go Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples. 2024-03-17 15:08:30 +11:00
common.go Merge iOS support from v3-alpha-feature/ios-support 2025-12-10 18:34:21 +11:00
content_type_sniffer.go adding http.CloseNotifier and http.Flusher interface to assetserver.contentTypeSniffer, for Gin (and other framework) compatibility. 2025-03-09 14:38:22 +11:00
fallback_response_writer.go fallbackResponseWriter implement Flush() 2025-04-26 13:25:44 -05:00
fs.go [v3] Fix and optimise assetserver (#4049) 2025-02-09 00:02:54 +11:00
middleware.go Move assetserver to internal 2023-08-14 08:31:55 +10:00
mimecache.go Initial implementation of dev mode. 2024-01-19 21:34:49 +11:00
mimecache_test.go Move assetserver to internal 2023-08-14 08:31:55 +10:00
options.go [v3] Fix and optimise assetserver (#4049) 2025-02-09 00:02:54 +11:00
ringqueue.go Move assetserver to internal 2023-08-14 08:31:55 +10:00