Xpra: Ticket #1519: xpra-15876 and NVENC v7: init_cuda fails for h264

Hello all!

I have a problem with Xpra and NVEnc.

Meta

Server; OS: Arch Linux 20170517/Ubuntu 16.04.2 Xpra: 15876-svn (CFLAGS=-02 -march=sandybridge, with-nvenc7) VCard: Nvidia Quadro M2000/K620 Nvidia Driver: 381.22/378.13/375.x NVENC: 7.1.9 CUDA: 8.0.61 Encoder: H264 Xpra Command: xpra -d nvenc,scaling start --start=firefox --video-encoders=nvenc --encodings=h264

Client: OS: Arch Linux 20170517 Xpra: 15876-svn Xpra Command: xpra attach ssh/root@IP/0 --encoding=h264

Actual result

CUDA initialization fails for h264 encoder, only h265 works but very buggy as expected. As a result, if I connects to the Xpra instance with the h264 decoder I got a black screen for window.

Expected result

CUDA successfully starts for h264, client shows a app window correctly.

Logs and other files are in the attachment.

Thanks for helping.



Wed, 17 May 2017 12:41:08 GMT - Aynur Shakirov: attachment set

xpra debug log


Wed, 17 May 2017 12:41:38 GMT - Aynur Shakirov: attachment set

Client window screenshot


Wed, 17 May 2017 12:44:35 GMT - Aynur Shakirov: cc set


Tue, 18 Jul 2017 14:48:43 GMT - Antoine Martin: keywords, owner changed; milestone set

@Aynur Shakirov: this should be fixed in trunk, works for me with a GTX 1070, see ticket:1550#comment:14.


Wed, 19 Jul 2017 12:25:42 GMT - Aynur Shakirov: status changed; resolution set

Thanks, Antoine, h264 encoding works for me.


Sat, 23 Jan 2021 05:26:31 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1519