SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Make sure the device is using intel iGPU and NVIDIA dGPU. 2. GPU mode is On-Demand. 3. Open dragon player and play vedio. OBSERVED RESULT There is no GPU be used for decode. (Check in intel_gpu_top and nvidia-smi) EXPECTED RESULT The video engine of GPU should be used for playing video. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION CPU: Intel Core i7 13700H GPU (In about system): Mesa Intel(R) Graphics GPU1: Intel Alderlake_p (Gen12) (RPL-P) [Intel Iris Xe Graphics] GPU2: NVIDIA GeForce RTX 4060 Laptop 8GB
Wayland or X11?
(In reply to Harald Sitter from comment #1) > Wayland or X11? X11
Please run with the following command, play a video and then collect the entire log output. Thanks. PHONON_DEBUG=5 PHONON_BACKEND_DEBUG=5 dragon
Created attachment 165693 [details] The console output.
(In reply to Harald Sitter from comment #3) > Please run with the following command, play a video and then collect the > entire log output. Thanks. > > PHONON_DEBUG=5 PHONON_BACKEND_DEBUG=5 dragon I have attached the ouput file.
Created attachment 165694 [details] iHD driver (intel-media-va-driver-non-free) vdpauinfo output
Nothing obvious sticks out to me. Whatever the problem is likely is in libvlc though, on x11 we simply tell libvlc to render onto a window, the decoding choice is entirely up to libvlc. Does this work with vlc?
(In reply to Harald Sitter from comment #7) > Nothing obvious sticks out to me. Whatever the problem is likely is in > libvlc though, on x11 we simply tell libvlc to render onto a window, the > decoding choice is entirely up to libvlc. > > Does this work with vlc? No. VLC can correctly use the GPU for decoding. (The "Video" Bar is active in intel GPU status)
(In reply to Harald Sitter from comment #7) > Nothing obvious sticks out to me. Whatever the problem is likely is in > libvlc though, on x11 we simply tell libvlc to render onto a window, the > decoding choice is entirely up to libvlc. > > Does this work with vlc? Yes, It works with VLC.
CCing jb maybe he has an idea what could be going wrong here. This will eventually resolve itself with vlc4's upcoming APIs for opengl context sharing I suspect.
Can you please get us another log of playing a file with this command: PHONON_SUBSYSTEM_DEBUG=5 dragon
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!