Unfortunately, I don't believe so.
Arduino App Lab is built on the excellent open source Wails framework:
https://wails.io/
Wails does indeed use this flag internally when the WebviewGpuIsDisabled application option is set to true:
(note the application options are defined in the application source code, not command line flags)
However, this is Windows-specific (and also not done in the Arduino App Lab application options ).
There is a GPU-related option for Linux: linux.WebviewGpuPolicy . I see this has a default value of linux.WebviewGpuPolicyNever, and that was explicitly done as a workaround for a bug described similarly to the one you experienced in Arduino App Lab :
opened 11:04AM - 11 Oct 23 UTC
closed 07:29PM - 14 Mar 24 UTC
Workaround Available
External Issue
### Description
Yesterday my app worked just fine. This morning, after making… no changes to the code, I executed `wails dev` and it resulted in a full gray window. However when I randomly move my mouse on the window I can see the tooltips of my app.
Can't even open the dev tools in the wails window. Works in the browser though (`wails dev --browser`).
My `main.go` does correctly include the assets:
```
//go:embed frontend/dist
var assets embed.FS
```
Wails dev output:
```
INF | Serving assets from frontend DevServer URL: http://localhost:5173/
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
DEB | [DevWebServer] Serving DevServer at http://localhost:34115
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x800: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x800: Permission `denied`
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x800: Permission denied
```
When I try to run the binary after building:
```
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x800: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x800: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
Failed to create GBM buffer of size 800x800: Permission denied
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
dom ready
```
My coworker's output:
```
└──>>> Wed Oct 11 - 12:44:28 $ ./build/bin/testwebkit
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 1024x768: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 1024x768: Invalid argument
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create): DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Failed to create GBM buffer of size 1024x768: Invalid argument
Failed to create EGL images for DMABufs with file descriptors -1, -1 and -1
```
### To Reproduce
```
wails init -n testwebkit
wails dev
```
### Expected behaviour
I expect a properly working Wails app window
### Screenshots
`wails dev --browser`

### Attempted Fixes
Remove webkit packages. Break my system. Cry. Reinstall webkit. Reinstall Gnome. No solution.
### System Details
Me:
Kubuntu 22.04
Wails v2.4.1
Vite v3.1.8
Webkit: libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
My co-worker who has the same issue:
Arch Linux (kernel: 6.5.6-arch2-1)
Wails v2.6.0
Webkit: webkit2gtk 2.42.1-1 webkit2gtk-4.1 2.42.1-1 webkitgtk-6.0 2.42.1-1
### Additional context
Similar to #2975 and [#9](https://github.com/EliasStar/DashD/issues/9)
master ← db47h:master
opened 05:14PM - 03 Nov 23 UTC
# Description
In NewWindow, set options.Linux.WebviewGpuPolicy to WebviewGpuP… olicyNever if options.Linux is nil, disabling GPU acceleration by default on linux until the upstream bugs https://bugs.webkit.org/show_bug.cgi?id=228268 and https://bugs.webkit.org/show_bug.cgi?id=261874 are fixed.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
# How Has This Been Tested?
```sh
wails dev
wails build
./build/bin/demo-app
```
- [x] Linux
## Test Configuration
```
# Wails
Version | v2.6.0
Package Manager | pacman
# System
┌──────────────────────────────────────────────────────────────────────────────────┐
| OS | Manjaro Linux |
| Version | Unknown |
| ID | manjaro |
| Go Version | go1.21.3 |
| Platform | linux |
| Architecture | amd64 |
| CPU | AMD FX(tm)-6300 Six-Core Processor |
| GPU | GP107 [GeForce GTX 1050 Ti] (NVIDIA Corporation) - Driver: nvidia |
| Memory | 8GB |
└──────────────────────────────────────────────────────────────────────────────────┘
# Dependencies
┌─────────────────────────────────────────────────────┐
| Dependency | Package Name | Status | Version |
| *docker | docker | Available | 1:24.0.6-1 |
| gcc | gcc | Installed | 13.2.1-3 |
| libgtk-3 | gtk3 | Installed | 1:3.24.38-1 |
| libwebkit | webkit2gtk | Installed | 2.42.1-1 |
| npm | npm | Installed | 10.2.0-1 |
| pkg-config | pkgconf | Installed | 1.8.1-1 |
└────────────── * - Optional Dependency ──────────────┘
SUCCESS Your system is ready for Wails development!
```
# Checklist:
- [ ] I have updated `website/src/pages/changelog.mdx` with details of this PR
- [x] My code follows the general coding style of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
However, this option is set to linux.WebviewGpuPolicyAlways in the Arduino App Lab application options:
If you are interested in performing an experiment, you could try changing that option and then making a build of Arduino App Lab from source. There is some information on that subject here:
https://github.com/arduino/arduino-app-lab/tree/main?tab=readme-ov-file#building-local-machine
I have been able to reproduce this fault:
I encounter the 'NO BOARDS FOUND FOR ""'problem the second time I attempt to use the "Select Other Board and Port" dialog.
Once you type a query in the search field, it will show results. And if you then delete the query it will show the full list of boards as expected.
I don't remember encountering this problem historically, so I suspect it is a regression introduced in a recent version of Arduino IDE (e.g., 2.3.5/2.3.6).
Note that the 'NO BOARDS FOUND FOR ""'problem is not caused by a lack …
It is tracked here:
opened 11:00PM - 21 Sep 23 UTC
topic: code
type: imperfection
### Describe the problem
When I write the name of my board in the "**Select boa… rd**" field of the "**Select Other Board and Port**" dialog, the boards list field only shows the message:
> NO BOARDS FOUND FOR ""
### To reproduce
I am not sure if i am the only one on which this happened
### Expected behavior
The dialog shows the list of boards matching the query.
If the "**Select board**" field is empty, it shows the full list of boards.
### Arduino IDE version
2.2.1
### Operating system
Windows
### Operating system version
Windows 10
### Additional context
#### Additional reports
- https://github.com/arduino/arduino-ide/issues/2235#issuecomment-2899236848
- https://forum.arduino.cc/t/ffmpeg-dll-not-found-zip-install-2-3-6/1389259/10
- https://forum.arduino.cc/t/after-upgrading-to-v2-3-3-stuck-downloading-index/1305575/28
- https://forum.arduino.cc/t/not-detecting-arduino-uno-port/1408232/1
### Issue checklist
- [x] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [x] My report contains all necessary details