Nvidia card hibernation problem

My device has amd core graphics card and nvidia graphics card。

Opening chormium or electron will always wake up nvidia。It greatly affects the standby life of the notebook。What should i do?

Can you please post a content of this file?

cat /var/lib/chwd/local/pci/graphic_drivers/profiles.toml | paste-cachyos

of course!

Hmm, RTD3 workaround looks like it should be installed. It’s possible that Chromium, due to the presence of Vulkan backend, may be iterates over drivers to use, which triggers dGPU to come out from sleep. You could try run it in terminal to force iGPU usage and see if that works:

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json chromium

It would also be nice if you could also attach a link from sudo cachyos-bugreport.sh so I can check your system specs.

First of all, thank you sir for your help🙏!
I tried running vs code with this command (‘VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json’), but it still wakes up the nvidia graphics card.
This is my system configuration:7a525ba

Before this, I also encountered an egl initialization error when starting the electron program, but I added an ‘amdgpu’ to the ‘MODULES=()’ of ‘/etc/mkinitcpio.conf’, and the problem was solved. To be honest, I really don’t know why this can solve the problem. After that, I found that starting the electron program or chormim program will automatically wake up the dormant nvidia graphics card.

Sir, have you found the problem?

Sorry for the wait, but no progress so far. I was able to reproduce issue on my AMD+NVIDIA laptop, but have not been able to find a workaround yet. I’ve tried disabling GPU acceleration via --disable-gpu and other Chromium flags, but it doesn’t seem to help, nor does isolation via Firejail with its attendant GPU usage restrictions. I’m assuming it might be because Chromium uses its own versions of libvulkan.so and libGLES.so/libEGL.so, but I can’t say for sure.

I’ll let you know if I make any progress.

Thanks for the update! Let me know if you need any further help. Looking forward to hearing from you!