Bug 481110 - Unsupport hardware acceleration
Summary: Unsupport hardware acceleration
Status: RESOLVED WORKSFORME
Alias: None
Product: dragonplayer
Classification: Applications
Component: general (show other bugs)
Version: 24.01.95
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-09 07:10 UTC by Levi Marvin
Modified: 2024-03-14 03:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The console output. (57.63 KB, text/plain)
2024-02-09 10:35 UTC, Levi Marvin
Details
iHD driver (intel-media-va-driver-non-free) vdpauinfo output (4.73 KB, text/plain)
2024-02-09 10:45 UTC, Levi Marvin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Levi Marvin 2024-02-09 07:10:35 UTC
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
Comment 1 Harald Sitter 2024-02-09 10:02:24 UTC
Wayland or X11?
Comment 2 Levi Marvin 2024-02-09 10:16:26 UTC
(In reply to Harald Sitter from comment #1)
> Wayland or X11?

X11
Comment 3 Harald Sitter 2024-02-09 10:21:16 UTC
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
Comment 4 Levi Marvin 2024-02-09 10:35:44 UTC
Created attachment 165693 [details]
The console output.
Comment 5 Levi Marvin 2024-02-09 10:36:07 UTC
(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.
Comment 6 Levi Marvin 2024-02-09 10:45:27 UTC
Created attachment 165694 [details]
iHD driver (intel-media-va-driver-non-free) vdpauinfo output
Comment 7 Harald Sitter 2024-02-09 11:15:49 UTC
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?
Comment 8 Levi Marvin 2024-02-09 11:50:30 UTC
(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)
Comment 9 Levi Marvin 2024-02-09 11:50:55 UTC
(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.
Comment 10 Harald Sitter 2024-02-09 12:18:02 UTC
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.
Comment 11 Harald Sitter 2024-02-13 06:55:31 UTC
Can you please get us another log of playing a file with this command:

PHONON_SUBSYSTEM_DEBUG=5 dragon
Comment 12 Bug Janitor Service 2024-02-28 03:46:37 UTC
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!
Comment 13 Bug Janitor Service 2024-03-14 03:47:04 UTC
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!