xpra icon
Bug tracker and wiki

Opened 4 months ago

Closed 2 months ago

#1519 closed defect (fixed)

xpra-15876 and NVENC v7: init_cuda fails for h264

Reported by: Aynur Shakirov Owned by: Aynur Shakirov
Priority: major Milestone: 2.1
Component: encodings Version: trunk
Keywords: cuda h264 nvenc Cc: ajnur.shakirov@…

Description

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.

Attachments (2)

nvenc7.h264.debug.log.15876.txt (57.6 KB) - added by Aynur Shakirov 4 months ago.
xpra debug log
Screenshot_20170517_150745.png (16.9 KB) - added by Aynur Shakirov 4 months ago.
Client window screenshot

Download all attachments as: .zip

Change History (5)

Changed 4 months ago by Aynur Shakirov

xpra debug log

Changed 4 months ago by Aynur Shakirov

Client window screenshot

comment:1 Changed 4 months ago by Aynur Shakirov

Cc: ajnur.shakirov@… added

comment:2 Changed 2 months ago by Antoine Martin

Keywords: cuda,h264,nvenccuda h264 nvenc
Milestone: 2.1
Owner: changed from Antoine Martin to Aynur Shakirov

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

comment:3 Changed 2 months ago by Aynur Shakirov

Resolution: fixed
Status: newclosed

Thanks, Antoine, h264 encoding works for me.

Note: See TracTickets for help on using tickets.