-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--hwdec=auto --gpu-context=wayland
keeps my dGPU awake.
#15237
Comments
Closing. No response so I'll assume it |
I doubt it is ffmpeg issue. It is probably that we create hwcontext during hwdec probe and they are not removed and this for some reason keeps dGPU alive. Could you try |
this option only has any effect if you use vaapi-copy. cuda is proved before vaapi, can you see if your issue reproduces with |
The issue doesn't occur with those settings, here some logs, and video evidence: video-Wed.06.Nov.2024.06.26.27.PM.+04.mp4 |
I don't usually touch this option; because of the ergonomic of *-copy decoding, so I always avoid *-copy decoding, also as per manual: Here from my setup: ~ at 18:26:03
❯ ls -l /dev/dri/by-path
total 0
lrwxrwxrwx 1 root root 8 Nov 6 17:06 pci-0000:00:02.0-card -> ../card0
lrwxrwxrwx 1 root root 13 Nov 6 17:06 pci-0000:00:02.0-render -> ../renderD128
lrwxrwxrwx 1 root root 8 Nov 6 17:07 pci-0000:01:00.0-card -> ../card1
lrwxrwxrwx 1 root root 13 Nov 6 17:07 pci-0000:01:00.0-render -> ../renderD129 also: ~ at 18:41:15
❯ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev a1) If it worth the shot I'll gladly try it. |
Shouldn't it be |
Here: video-Wed.06.Nov.2024.07.15.48.PM.+04.mp4log file: |
mpv Information
Other Information
Reproduction Steps
Just run:
in my case
vaapi
was shown as the decoder.But when I check the dGPU status through:
the counter stops indicating that my dGPU is currently running.
Now if I directly switch to
--hwdec=vaapi
, and ran the above command the dGPU is suspended.Expected Behavior
If
--hwdec=auto
andvaapi
is the decoding method, you expect the iGPU to be utilized, and dGPU is free to suspend/sleep.Actual Behavior
Actually I don't fully understand how
--hwdec=auto
works, so I don't know if this an expected behavior or not, but the dGPU should not be running if not used.Log File
output.txt
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: