You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am changing Zed to run on my intel graphics. This works fine but it still keeps my nvidia graphics active and therefore creates extra heat, power consumption and fan noise
Steps to trigger the problem:
Run 'ENABLE_DEVICE_CHOOSER_LAYER=1 VULKAN_DEVICE_INDEX=1 zeditor' to force Zed to run on iGPU
Check with nvidia-smi -q -d POWER to confirm nvidia card being active (see note below)
Actual Behavior:
nvidia card won't sleep despite nothing running on it while Zed is running on iGPU. Closing Zed will have Nvidia card go to sleep again
Expected Behavior:
nvidia card should not be forced out of sleep when running Zed on iGPU
Vulkan Device Chooser Layer has been the only way I managed to even force Zed to run on iGPU and all the documented ways do not work on my install. Zed runs better on iGPU than on Nvidia like for example window resizing on Nvidia Wayland is choppy and laggy, while it is smooth on Intel iGPU. So all the extra effort to even get it onto the iGPU has been frustrating.
I don't really managed to find a command that shows me the actual power mode the nvidia card is in, sorry. But if it is sleeping a command like nvidia-smi will take up several seconds, before the card wakes up and then will list very large unrealistic power draw (590W in my case) as its reading is not accurate right on wake. While Zed is running I get a normal read instantly from nvidia-smi and it shows the typical draw when active but in its lowest power mode (3.25 Watt in my system).
The main reason why forcing the Nvidia card to stay active for me is that this will prevent fans to ever stop spinning, while otherwise the system would operate in silence.
I am sorry, but I am not the most technical or linux knowledgeable person, but I tried my best to provide the information necessary (I hope). Thank you
Can confirm this affects me as well. I've been able to work around it by setting VK_ICD_FILENAMES, however there should exist a better solution than this.
Summary
I am changing Zed to run on my intel graphics. This works fine but it still keeps my nvidia graphics active and therefore creates extra heat, power consumption and fan noise
Steps to trigger the problem:
nvidia-smi -q -d POWER
to confirm nvidia card being active (see note below)Actual Behavior:
Expected Behavior:
Vulkan Device Chooser Layer has been the only way I managed to even force Zed to run on iGPU and all the documented ways do not work on my install. Zed runs better on iGPU than on Nvidia like for example window resizing on Nvidia Wayland is choppy and laggy, while it is smooth on Intel iGPU. So all the extra effort to even get it onto the iGPU has been frustrating.
I don't really managed to find a command that shows me the actual power mode the nvidia card is in, sorry. But if it is sleeping a command like nvidia-smi will take up several seconds, before the card wakes up and then will list very large unrealistic power draw (590W in my case) as its reading is not accurate right on wake. While Zed is running I get a normal read instantly from nvidia-smi and it shows the typical draw when active but in its lowest power mode (3.25 Watt in my system).
The main reason why forcing the Nvidia card to stay active for me is that this will prevent fans to ever stop spinning, while otherwise the system would operate in silence.
I am sorry, but I am not the most technical or linux knowledgeable person, but I tried my best to provide the information necessary (I hope). Thank you
Zed Version and System Specs
Zed: v0.174.5 (Zed)
OS: Linux Wayland endeavouros unknown
Memory: 31 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics (RPL-P) || Intel open-source Mesa driver || Mesa 24.3.4-arch1.1
The text was updated successfully, but these errors were encountered: