Open vyncent-t opened 5 months ago
git bisect
usage next@vyncent-t and I did some debugging...
To do:
When hardware acceleration is not disabled
When disabled
electron function to return GPU info - https://www.electronjs.org/docs/latest/api/app#appgetgpuinfoinfotype
Note to self: at least implement an environment variable to turn off GPU for headlamp app. If can not detect WSL GPU error.
Running using discrete GPU doesn't have this issue. Maybe integrated (intel) driver issues?
export MESA_D3D12_DEFAULT_ADAPTER_NAME=NVIDIA
npm run dev-only-app
after upgrading mesa to version 24 it seems to work without rendering issues for me
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt upgrade
I noticed that when running headlamp in app mode there are some rendering issues with the icons. I have also tried comparing the icons to the web mode and it seems to be an app mode issue only, could be something wrong with the WSL or Electron build.
I have seen that just rendering a single svg on the app still renders a broken icon like the image below. This could impact people also using WSL as it may not be an issue for windows.
I have tried the following thus far:
Thanks to @sniok for helping me troubleshoot!
The badge icons
Images
Cluster, Network, and Security on side bar
Top right icons
Calendar Icons