-
Notifications
You must be signed in to change notification settings - Fork 24
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
Any idea to implement hardware encoding/decoding support? #52
Comments
You're saying that GRD uses hardware accelerated JPEG compression? XRDP has a version that's in prototyping that supports H264 with hardware acceleration for both Nvidia's NVENC and Intel's QuickSync encoder: neutrinolabs/xrdp#1422 (comment) |
I've checked the code, the Gnome-Remote-Desktop is using freerdp's rfx codec. |
What are you looking at that convinces you that RFX is in use here? I have never heard of hardware accelerated encode/decode, it's got to be H264. |
Oh, maybe my mistake. The source code in Gnome-Remote-Desktop reports following codecs available:
So the first one can make use of the H.264 as the following code suggests:
Which means we need to implement H.264 in xrdp. Is that the reason Gnome-Remote-Desktop is faster than xrdp? |
@Nexarian Is it possible to use H.264 with CPU only? At least the client can benefit from hardware decoding. I've tried the script you provide, it tells should configure PCI Bus for framebuffer. |
After doing some research, the "graphics_pipeline" is feature used in RDP 8+ and xrdp not implement yet. So this is why Gnome-Remote-Desktop is faster than xrdp, not because it uses H.264. Is that correct? |
Sorry for the delay in getting back to you. To answer your questions: Yes, GRD uses H264 with NVENC encoding, and that is why it is faster than the devel branch of XRDP. However, there is a version of XRDP that exists that uses H264, it's the script I provided above. I maintain a branch that factors in all the work that @jsorg71 has done on this and rebase if off of devel.
|
Understood, Thanks @Nexarian ! |
This rfxcodec is a compatible mode which send compressed jpeg data stream to client which is out of date and can not make use of hardware decoding in client site.
I've noticed the Gnome-Remote-Desktop project has fully implemented the remotefx codec and support hardware acceleration. Is it possible to transmit the codecs used there to this project?
The text was updated successfully, but these errors were encountered: