[mythtv-users] Unavailable decoders: vdpau

Thomas Börkel thomas at boerkel.de
Sun Aug 23 14:54:46 UTC 2020


Hi,

I am using MythTV 0.31 on Gentoo Linux with Nvidia driver 390.138.

After upgrading MythTV to 0.31 and also some other stuff, VDPAU is not
working anymore and I get lots of buffering and slow playback.

My playback profile is looking good.

vdpauinfo looks good and also glxinfo.

When starting mythfrontend, I see:

2020-08-23 16:44:18.843053 I  Current MythTV Schema Version
(DBSchemaVer): 1361
2020-08-23 16:44:18.874879 I  VDPAUHelp: Supported/available VDPAU decoders:
2020-08-23 16:44:18.905035 I  VDPAUHelp: MPEG1 (Max size: 2048x2048)
2020-08-23 16:44:18.905046 I  VDPAUHelp: MPEG2 Simple (Max size: 2048x2048)
2020-08-23 16:44:18.905051 I  VDPAUHelp: MPEG2 Main (Max size: 2048x2048)
2020-08-23 16:44:18.905055 I  VDPAUHelp: MPEG4 Simple (Max size: 2048x2048)
2020-08-23 16:44:18.905059 I  VDPAUHelp: MPEG4 Advanced Simple (Max
size: 2048x2048)
2020-08-23 16:44:18.905063 I  VDPAUHelp: VC1 Simple (Max size: 2048x2048)
2020-08-23 16:44:18.905067 I  VDPAUHelp: VC1 Main (Max size: 2048x2048)
2020-08-23 16:44:18.905070 I  VDPAUHelp: VC1 Advanced (Max size: 2048x2048)
2020-08-23 16:44:18.905073 I  VDPAUHelp: H264 Baseline (Max size: 2048x2048)
2020-08-23 16:44:18.905077 I  VDPAUHelp: H264 Main (Max size: 2048x2048)
2020-08-23 16:44:18.905081 I  VDPAUHelp: H264 High (Max size: 2048x2048)
2020-08-23 16:44:18.905084 I  VDPAUHelp: H264 Extended (Max size: 2048x2048)
2020-08-23 16:44:18.905088 I  VDPAUHelp: H264 Constrained (Max size:
2048x2048)
2020-08-23 16:44:18.905091 I  VDPAUHelp: H264 Constrained High (Max
size: 2048x2048)
2020-08-23 16:44:18.905095 I  VDPAUHelp: H264 High 444 (Max size: 2048x2048)
2020-08-23 16:44:18.906151 E  MythCodecContext: Failed to create
hardware device 'vaapi' Error 'Eingabe-/Ausgabefehler'
2020-08-23 16:44:18.906155 I  VAAPIDec: VAAPI functionality checked failed
2020-08-23 16:44:18.906545 I  V4L2_M2M: No V4L2 decoders found
2020-08-23 16:44:18.906754 I  DRMPRIMECtx: DRM PRIME codecs supported: None
2020-08-23 16:44:18.906787 I  VDP: decoder<->render support: ffmpeg
null opengl opengl-yv12
2020-08-23 16:44:18.906790 I  VDP: decoder<->render support: vdpau
opengl-hw
2020-08-23 16:44:18.906792 I  VDP: decoder<->render support: vdpau-dec
null opengl opengl-yv12
2020-08-23 16:44:18.921705 N  VDP: Ignoring profile 157 (decoder v4l2 is
not available)
2020-08-23 16:44:18.922530 N  VDP: Ignoring profile 135 (decoder vaapi
is not available)
2020-08-23 16:44:18.923305 N  VDP: Ignoring profile 156 (decoder vaapi
is not available)


When I start playback or Live TV, I get:

2020-08-23 16:46:04.928454 I  VDP: Accepting: cmp() w(>=0) h(>=0)
framerate() codecs() dec(vdpau) cpus(2) skiploop(enabled)
rend(opengl-hw) deint(medium:shader:driver,medium:shader:driver)
2020-08-23 16:46:04.928472 I  Player(0): Stretch Factor 1, allow passthru
2020-08-23 16:46:04.928481 I  VideoOutput: Allowed renderers for  ffmpeg
(Decoder: dummy): 'opengl,opengl-yv12'
2020-08-23 16:46:04.928487 I  VDP: Safe renderers for 'dummy':
null,opengl,opengl-yv12,opengl-hw
2020-08-23 16:46:04.928491 I  VideoOutput: Allowed renderers (filt:
dummy): opengl,opengl-yv12
2020-08-23 16:46:04.929528 I  VDP: Accepting: cmp() w(>=0) h(>=0)
framerate() codecs() dec(vdpau) cpus(2) skiploop(enabled)
rend(opengl-hw) deint(medium:shader:driver,medium:shader:driver)
2020-08-23 16:46:04.929536 I  VDP: LoadBestPreferences(720x576, 25.000, )
2020-08-23 16:46:04.929629 I  VDP: LoadBestPreferences result:
priority:1 width:>=0 height:>=0 fps: codecs:
2020-08-23 16:46:04.929633 I  VDP: decoder:vdpau renderer:opengl-hw
deint0:medium:shader:driver deint1:medium:shader:driver cpus:2
2020-08-23 16:46:04.929641 I  VideoOutput: No preferred renderer for
decoder 'dummy' - profile renderer: 'opengl-hw'
2020-08-23 16:46:04.929645 I  VideoOutput: Trying video renderer:
'opengl-yv12'
2020-08-23 16:46:04.935937 I  GLVid: Chroma upsampling filter disabled
2020-08-23 16:46:04.935961 I  Clearing OpenGL painter cache.
2020-08-23 16:46:04.937474 I  VideoWin: Window using screen DVI-I-1
1920x1200
2020-08-23 16:46:04.937480 I  VideoWin: Window Rect:  1920x1200+0+0
2020-08-23 16:46:04.937486 I  VideoWin: Display Rect: 1547x1200+186+0
Aspect: 1.55114
2020-08-23 16:46:04.937493 I  VideoWin: Video Rect:   720x576+0+0
Aspect: 1.25
2020-08-23 16:46:04.937504 I  ColourSpace: PictureAttributes:
Brightness,Contrast,Colour,Hue,Range
2020-08-23 16:46:04.937513 I  VideoOutput: Display aspect ratio: 1.55114
(Detected)
2020-08-23 16:46:04.940372 I  Created 16 YUV420P (720x576) video buffers
2020-08-23 16:46:04.942370 I  Player(0): Decoder thread starting.
2020-08-23 16:46:04.945418 I  OSD: Loaded window osd_message
2020-08-23 16:46:04.948086 I  OSD: Loaded window osd_input
2020-08-23 16:46:04.953337 I  OSD: Loaded window program_info
2020-08-23 16:46:04.956427 I  OSD: Loaded window browse_info
2020-08-23 16:46:04.959241 I  OSD: Loaded window osd_status
2020-08-23 16:46:04.962200 I  OSD: Loaded window osd_program_editor
2020-08-23 16:46:04.967373 I  OSD: Loaded window osd_debug
2020-08-23 16:46:04.967379 I  OSD: Loaded OSD: size 1920x1200 offset 0+0
2020-08-23 16:46:04.967442 I  OSD: Created window aa_OSD_SUBTITLES
2020-08-23 16:46:04.967465 I  Player(0): ClearAfterSeek(0)
2020-08-23 16:46:04.967514 I  VideoOutput: SetDeinterlacing (Doublerate
1): Single Medium|CPU|GLSL|DRIVER Double Medium|CPU|GLSL|DRIVER
2020-08-23 16:46:04.967523 I  Player(0): Display Refresh Rate: 59.948
Video Frame Rate: 25.000
2020-08-23 16:46:04.967537 I  Player(0): SetFrameInterval Interval:40000
Speed:1 Scan:Interlaced Scan (Multiplier: 1)
2020-08-23 16:46:04.968014 I  playCtx: StartPlaying(): took 0 ms to
start player.
2020-08-23 16:46:04.968028 I  TV::StartPlayer(): Created player.
2020-08-23 16:46:04.968044 I  TV::HandleStateChange(): Changing from
None to WatchingLiveTV
2020-08-23 16:46:04.968049 I  TV::HandleStateChange(): State is LiveTV &
mctx == ctx
2020-08-23 16:46:04.968725 I  TV::HandleStateChange(): UpdateOSDInput done
2020-08-23 16:46:04.968733 I  TV::HandleStateChange(): UpdateLCD done
2020-08-23 16:46:04.969026 I  TV::HandleStateChange(): ITVRestart done
2020-08-23 16:46:04.969504 I  TV::HandleStateChange(): Main UI disabled.
2020-08-23 16:46:04.969518 I  TV::StartTV(): Entering main playback loop.
2020-08-23 16:46:12.506537 I
LiveTVChain(live-linux-2020-08-23T14:46:04Z): ReloadAll(): Added 1
recording(s)
2020-08-23 16:46:12.506556 I
LiveTVChain(live-linux-2020-08-23T14:46:04Z): LiveTVChain has 2 entries
*  DUMMY: 63205 (14:46:04 to 14:46:12)
     DVB: 63205 (14:46:12 to 15:13:41) discontinuous

2020-08-23 16:46:12.506597 I
LiveTVChain(live-linux-2020-08-23T14:46:04Z): SwitchTo(1)
2020-08-23 16:46:12.506604 I  Player(0): JumpToProgram - start
2020-08-23 16:46:12.513464 I  Player(0): Play speed: rate: 25 speed: 0
skip: 0 => new interval 40000
2020-08-23 16:46:12.513482 I  VidOutGL: (1): AAAAAAAAAAAAAAAA
2020-08-23 16:46:12.513491 I  VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAA
2020-08-23 16:46:12.513499 I  VideoBuffers::DiscardFrames(1):
AAAAAAAAAAAAAAAA -- done
2020-08-23 16:46:12.513565 I
FileRingBuf(myth://linux/63205_20200823144604.ts):
OpenFile(myth://linux/63205_20200823144612.ts, 10000 ms)
2020-08-23 16:46:12.521472 I  Player(0): Opening
'myth://linux/63205_20200823144612.ts'
2020-08-23 16:46:12.735088 I  VDP: Accepting: cmp() w(>=0) h(>=0)
framerate() codecs() dec(vdpau) cpus(2) skiploop(enabled)
rend(opengl-hw) deint(medium:shader:driver,medium:shader:driver)
2020-08-23 16:46:12.735738 I  AFD: PlayerFlags: 0xc0, AudioReadAhead:
1000 msec
2020-08-23 16:46:12.736343 I  Player(0): Stretch Factor 1, allow passthru
2020-08-23 16:46:12.737233 I  AFD: Buffer size: 32768 Streamed 1
Seekable 1 Available 327680
2020-08-23 16:46:12.885458 I  AFD: Stream #0: ID: 0x5ff Codec ID: H264
Type: Video(1920x1080) Bitrate: 0
2020-08-23 16:46:12.885466 I  AFD: Stream #1: ID: 0x603 Codec ID: AC3
Type: Audio Bitrate: 384000
2020-08-23 16:46:12.885471 I  AFD: codec AC3 has 2 channels
2020-08-23 16:46:12.885474 I  AFD: Looking for decoder for AC3
2020-08-23 16:46:12.885629 I  AFD: Opened codec 0x55ec9b073400, id(AC3)
type(Audio)
2020-08-23 16:46:12.885668 I  AFD: Stream #2: ID: 0x25 Codec ID: DVB_VBI
Type: Data Bitrate: 0
2020-08-23 16:46:12.885678 I  AFD: Teletext stream #0 (Menu) is in the
German language on page 1 0.
2020-08-23 16:46:12.885680 I  AFD: data codec (Data)
2020-08-23 16:46:12.885684 I  AFD: Stream #3: ID: 0x36 Codec ID:
DVB_SUBTITLE Type: Subtitle Bitrate: 0
2020-08-23 16:46:12.885686 I  AFD: subtitle codec (Subtitle)
2020-08-23 16:46:12.885688 I  AFD: Looking for decoder for DVB_SUBTITLE
2020-08-23 16:46:12.885734 I  AFD: Opened codec 0x55ec9ae78800,
id(DVB_SUBTITLE) type(Subtitle)
2020-08-23 16:46:12.885739 I  AFD: Subtitle track #1 is A/V stream #3
and is in the German language(6776178).
2020-08-23 16:46:12.885742 I  AFD: Trying to select best video track
2020-08-23 16:46:12.885754 I  AFD: Selected track #0: ID: 0x5ff Codec
ID: H264 Profile: High Type: Video(1920x1080) Bitrate: 0
2020-08-23 16:46:12.885787 I  AFD: Selected FPS: 25 (Avg:25 Mult:1
Codec:0 Container:90000 Estimated:25)
2020-08-23 16:46:12.885796 I  VDP: LoadBestPreferences(1920x1080,
25.000, h264)
2020-08-23 16:46:12.885940 I  VDP: LoadBestPreferences result:
priority:1 width:>=0 height:>=0 fps: codecs:
2020-08-23 16:46:12.885945 I  VDP: decoder:vdpau renderer:opengl-hw
deint0:medium:shader:driver deint1:medium:shader:driver cpus:2
2020-08-23 16:46:12.885958 I  OpenGLInterop: Checking interop support
for VDPAU
2020-08-23 16:46:12.885974 W  OpenGLInterop: No render support for frame
type 'VDPAU'
2020-08-23 16:46:12.885981 I  AFD: Unavailable decoders: vdpau
2020-08-23 16:46:12.885986 I  VDP: LoadBestPreferences(1920x1080,
25.000, h264)
2020-08-23 16:46:12.886109 I  VDP: No useable profile. Using defaults.


Attaching outputs of glxinfo and vdpauinfo.

Thanks,
Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: glxinfo.txt.gz
Type: application/gzip
Size: 8709 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200823/3ef2f775/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdpauinfo.txt.gz
Type: application/gzip
Size: 962 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200823/3ef2f775/attachment-0001.gz>


More information about the mythtv-users mailing list