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
Wlfreerdp uanble to use hardware acceleration #10008
Comments
check |
Thanks for the reply @akallabeth ,
Which flag for other accelerators?? because the only flag that I can see in I am using Basically I have following pieces working with me:
Am I missing something in configuring freerdp or in understanding? I want to integrate these individual pieces to get |
@S-Bhavin there is currently only the |
Thanks for the reply @akallabeth, |
|
Hi @akallabeth, But when I am playing any mp4 video, it plays using cpu and loads it up. Now if I use some older version supporting |
@S-Bhavin well, just as I told you, patch the file above for support of these accelerators? |
Hi @akallabeth Could really use some help for this modification. |
|
I am using
wlfreerdp
to access remote desktop and render it onweston
onrockchip (rk3328 SoC)
. Now, what I have been trying to do is get wlfreerdp to use hardware accelerator so that it doesn't loads up the cpu.For this reason I have built
FreeRDP (version-2.6.1)
usingyocto (kirkstone)
with-DWITH_H264=ON , -DWITH_WAYLAND=ON, -DWITH_GSTREAMER_1_0=ON, -DWITH_VULKAN=ON, -DWITH_WINPR=ON, -DWITH_SWSCALE=ON, -DWITH_FFMPEG=ON, -DWITH_VAAPI=OFF
configurations.Also I have built FFMPEG (version-6.1) with
--enable-libdrm, --enable-shared, --enable-v4l2-request. --enable-libudev, --enable-sdl2
configurations.
I tested FFMPEG separately with
-hwaccel
and got the logs of VPU (HANTRO) being used during that test. Below are the commands that I used to test ffmpeg and their results :Witnessing the logs of VPU I was able to deduce that FFMPEG is able to use hardware acceleration, but when I access remote desktop using wlfreerdp it doesn't . I added some debug prints and found that wlfreerdp is using ffmpeg but not hardware accelerator.
Below are the logs of that:
The above command does access the remote desktop server but it lags over the display. The CPU usage exceeds over 100% and the rendered desktop keeps blinking. My guess is, it is because of hardware acceleration not being used.
So I want to know if wlfreerdp does support hardware acceleration. If it does, then what could I be doing wrong here?
The text was updated successfully, but these errors were encountered: