Problem:
I found that when I start the Electron program, the NVIDIA graphics card is always unexpectedly woken up. Since it takes time to wake up the NVIDIA graphics driver, it also delays the start of the Electron program.
Solution Attempt:
I specified flags for the Electron program to enable native Wayland operation:
--enable-features=WaylandWindowDecorations
--ozone-platform-hint=auto
--enable-wayland-ime
Hardware Information:
- lspci output:
lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix3 (rev c5)
- glxinfo output:
glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon Graphics (radeonsi, gfx1103_r1, LLVM 19.1.7, DRM 3.59, 6.13.0-2-cachyos)
- vulkaninfo output:
vulkaninfo | grep "driverName"
driverName = radv
Issue:
Despite my efforts, starting the Electron program still wakes up the NVIDIA graphics card.
Screenshot of the issue: