xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Closed 3 weeks ago

Last modified 3 weeks ago

#2000 closed defect (fixed)

nvenc fails to load on centos 7

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.5
Component: encodings Version: 2.4.x
Keywords: Cc:

Description

cannot load nvenc (nvenc encoder): Encoder missing from xpra.codecs.nvenc.encoder
Traceback (most recent call last):
  File "/usr/src/rpmbuild/BUILDROOT/xpra-2.5-0.20181023r20783.el7_5.x86_64/usr/lib64/python2.7/site-packages/xpra/codecs/loader.py", line 53, in codec_import_check
    ic =  __import__(class_module, {}, {}, classname)
  File "xpra/codecs/nvenc/encoder.pyx", line 1152, in init xpra.codecs.nvenc.encoder
  File "xpra/codecs/nvenc/encoder.pyx", line 1149, in xpra.codecs.nvenc.encoder.test_parse
  File "xpra/codecs/nvenc/encoder.pyx", line 1127, in xpra.codecs.nvenc.encoder.c_parseguid
TypeError: must be char, not unicode

Change History (2)

comment:1 Changed 3 weeks ago by Antoine Martin

Status: newassigned

Seems to work OK as of:

  • r20805: use byte strings everywhere (no matter what python / cython version is used)
  • r20806: chars vs uint8_t
  • r20808: don't use "array" module at all

comment:2 Changed 3 weeks ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Backport to v2.4 in r20810.

Last edited 3 weeks ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.