unable to decode 1080p60 with hardware acceleration

*nix specific usage questions
bred.sun
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Apr 2018 09:06

unable to decode 1080p60 with hardware acceleration

Postby bred.sun » 28 Apr 2018 09:58

Hi

i encountered some problems with vlc-4.0.0.

the one of them is unable to decode 1080p60 with hardware acceleration, but 1080p30 or 1080i is ok.

this is vlc log
https://drive.google.com/open?id=17U4ek ... J4iFZ_WTA2

this is vdpauinfo output
https://drive.google.com/open?id=1X52CT ... IdTlgme0B8

this is what happened when i opened a 1080p60 file
https://drive.google.com/open?id=1FxeJu ... KPDxqRv0R1

this is 1080p60 sample file
https://drive.google.com/open?id=1HWVIc ... KCGZvg9q3e

how can i fix this? thanks.

os: ubuntu 16.04
gpu: nvidia gt610
gpu driver: nvidia proprietary driver 390.48
libdvbpsi version: 1.3.2
ffmpeg version: N-90848-g8ea8be5
libvdpau version: 1.1.1
Last edited by bred.sun on 28 Apr 2018 10:33, edited 2 times in total.

bred.sun
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Apr 2018 09:06

Re: unable to decode 1080p60 with hardware acceleration

Postby bred.sun » 28 Apr 2018 10:06

another problem is unable to watch dvb-t digital tv with vlc-4.0.0

cpu usage is unreasonable high while opening a dvb-t channel

dvb-t tv works fine with vlc 3.0.2, but vlc-4.0.0

this is vlc log
https://drive.google.com/open?id=1luirY ... 20Cb8gySRj

this is what happened while opening a dvb-t channel
https://drive.google.com/open?id=1rGNCz ... Q4Q6M88WgD

please tell me what i can do to solve these problems, thanks a lot!

bred.sun
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Apr 2018 09:06

Re: unable to decode 1080p60 with hardware acceleration

Postby bred.sun » 02 May 2018 06:32

Today I found that most H264 1080p30 cannot be decoded with hardware acceleration neither.

The error message is the same: avcodec error: existing hardware acceleration cannot be reused

Only few 1080p30 or 1080p60 clips can be hardware decoded.

Can someone fix this issue? Thanks.

bred.sun
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Apr 2018 09:06

Re: unable to decode 1080p60 with hardware acceleration

Postby bred.sun » 05 May 2018 19:49

tried vlc-4.0.0-dev-2787-g2175a7d and DVB-T TV works now. Thanks for quick fix.

But hardware decoding for some 1080p30/p60 clips is still not working.

The following is the log while opening the sample mentioned above (imaqtpie.mp4).

-- logger module started --
main debug: VLC media player - 4.0.0-dev Otto Chriek
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 4.0.0-dev-2787-g2175a7d
main debug: configured with ./configure '--disable-wayland' '--disable-a52' '--prefix=/opt/vlc' '--disable-nls' '--enable-dvbpsi' '--disable-chromecast' '--enable-vdpau' 'PKG_CONFIG_PATH=/opt/ffmpeg/lib/pkgconfig/:/opt/libvdpau/lib/pkgconfig/:/opt/libdvbpsi/lib/pkgconfig'
main debug: searching plug-in modules
main debug: loading plugins cache file /opt/vlc/lib/vlc/plugins/plugins.dat
main debug: recursively browsing `/opt/vlc/lib/vlc/plugins'
main debug: plug-ins loaded: 385 modules
main debug: opening config file (/home/elo/.config/vlc/vlcrc)
main debug: looking for logger module matching "any": 3 candidates
file debug: opening logfile `/tmp/vlc.log'
main debug: using logger module "file"
main debug: translation test: code is "C"
main debug: looking for keystore module matching "memory": 2 candidates
main debug: using keystore module "memory"
main debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSE4A 3DNow! FPU
main debug: Creating an input for 'Media Library'
main debug: Input is a meta file: disabling unneeded options
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `file/directory:///home/elo/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/home/elo/.local/share/vlc/ml.xspf'
main debug: creating access: file:///home/elo/.local/share/vlc/ml.xspf
main debug: (path: /home/elo/.local/share/vlc/ml.xspf)
main debug: looking for access module matching "file": 31 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache": 25 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 296 bytes in 0s - 14453 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 25 candidates
playlist debug: using XSPF playlist reader
main debug: using stream_filter module "playlist"
main debug: stream filter added to 0xcb0e80
main debug: looking for stream_filter module matching "any": 25 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 0 candidates
main debug: no stream_directory modules
main debug: attachment of directory-extractor failed for file:///home/elo/.local/share/vlc/ml.xspf
main debug: looking for stream_filter module matching "record": 25 candidates
main debug: no stream_filter modules matched
main warning: cannot insert stream filter record
main debug: creating demux "directory", URL: file:///home/elo/.local/share/vlc/ml.xspf, path: /home/elo/.local/share/vlc/ml.xspf
main debug: looking for demux module matching "directory": 46 candidates
main debug: using demux module "directory"
main debug: looking for meta reader module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/elo/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /opt/vlc/libexec/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /opt/vlc/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: `file/directory:///home/elo/.local/share/vlc/ml.xspf' successfully opened
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: removing module "xml"
main debug: EOF reached
main debug: removing module "directory"
main debug: removing module "playlist"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: creating audio output
main debug: looking for audio output module matching "any": 4 candidates
alsa debug: Available ALSA PCM devices:
alsa debug: null: Discard all samples (playback) or generate zero samples (capture)
alsa debug: default:CARD=DAC: USB AUDIO DAC, USB Audio Default Audio Device
alsa debug: sysdefault:CARD=DAC: USB AUDIO DAC, USB Audio Default Audio Device
alsa debug: front:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio Front speakers
alsa debug: surround21:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio 2.1 Surround output to Front and Subwoofer speakers
alsa debug: surround40:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio 4.0 Surround output to Front and Rear speakers
alsa debug: surround41:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio 4.1 Surround output to Front, Rear and Subwoofer speakers
alsa debug: surround50:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio 5.0 Surround output to Front, Center and Rear speakers
alsa debug: surround51:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
alsa debug: surround71:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
alsa debug: iec958:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio IEC958 (S/PDIF) Digital Audio Output
alsa debug: dmix:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio Direct sample mixing device
alsa debug: dsnoop:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio Direct sample snooping device
alsa debug: hw:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio Direct hardware device without any conversions
alsa debug: plughw:CARD=DAC,DEV=0: USB AUDIO DAC, USB Audio Hardware device with all software conversions
alsa debug: hdmi:CARD=NVidia,DEV=0: HDA NVidia, HDMI 0 HDMI Audio Output
alsa debug: hdmi:CARD=NVidia,DEV=1: HDA NVidia, HDMI 1 HDMI Audio Output
alsa debug: dmix:CARD=NVidia,DEV=3: HDA NVidia, HDMI 0 Direct sample mixing device
alsa debug: dmix:CARD=NVidia,DEV=7: HDA NVidia, HDMI 1 Direct sample mixing device
alsa debug: dsnoop:CARD=NVidia,DEV=3: HDA NVidia, HDMI 0 Direct sample snooping device
alsa debug: dsnoop:CARD=NVidia,DEV=7: HDA NVidia, HDMI 1 Direct sample snooping device
alsa debug: hw:CARD=NVidia,DEV=3: HDA NVidia, HDMI 0 Direct hardware device without any conversions
alsa debug: hw:CARD=NVidia,DEV=7: HDA NVidia, HDMI 1 Direct hardware device without any conversions
alsa debug: plughw:CARD=NVidia,DEV=3: HDA NVidia, HDMI 0 Hardware device with all software conversions
alsa debug: plughw:CARD=NVidia,DEV=7: HDA NVidia, HDMI 1 Hardware device with all software conversions
alsa debug: default: Default
main debug: using audio output module "alsa"
main debug: keeping audio output
main debug: looking for interface module matching "hotkeys,none": 13 candidates
main debug: using interface module "hotkeys"
main debug: looking for interface module matching "globalhotkeys,none": 13 candidates
main debug: no interface modules matched
main error: no suitable interface module
main error: interface "globalhotkeys,none" initialization failed
main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main debug: looking for interface module matching "any": 13 candidates
main debug: looking for extension module matching "any": 1 candidates
lua debug: Opening Lua Extension module
lua debug: Trying Lua scripts in /home/elo/.local/share/vlc/lua/extensions
lua debug: Trying Lua scripts in /opt/vlc/libexec/vlc/lua/extensions
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/extensions/VLSub.luac
lua debug: Scanning Lua script /opt/vlc/libexec/vlc/lua/extensions/VLSub.luac
lua debug: Script /opt/vlc/libexec/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5
lua debug: Trying Lua scripts in /opt/vlc/share/vlc/lua/extensions
main debug: using extension module "lua"
main debug: using interface module "qt"
main: playlist is empty
main debug: nothing to play
main debug: processing request item: imaqtpie.mp4, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index 0
main debug: starting playback of new item
main debug: resyncing on imaqtpie.mp4
main debug: imaqtpie.mp4 is at 0
main debug: creating new input thread
main debug: Creating an input for 'imaqtpie.mp4'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `file:///home/elo/Downloads/imaqtpie.mp4' gives access `file' demux `any' path `/home/elo/Downloads/imaqtpie.mp4'
main debug: creating access: file:///home/elo/Downloads/imaqtpie.mp4
main debug: (path: /home/elo/Downloads/imaqtpie.mp4)
main debug: looking for access module matching "file": 31 candidates
main debug: using access module "filesystem"
main debug: looking for stream_filter module matching "prefetch,cache": 25 candidates
cache_read debug: Using stream method for AStream*
cache_read debug: starting pre-buffering
cache_read debug: received first data after 0 ms
cache_read debug: pre-buffering done 1024 bytes in 0s - 32258 KiB/s
main debug: using stream_filter module "cache_read"
main debug: looking for stream_filter module matching "any": 25 candidates
lua debug: Trying Lua scripts in /home/elo/.local/share/vlc/lua/playlist
lua debug: Trying Lua scripts in /opt/vlc/libexec/vlc/lua/playlist
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/anevia_streams.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/anevia_xml.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/appletrailers.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/bbc_co_uk.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/cue.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/dailymotion.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/jamendo.luac
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/elo/.local/share/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /opt/vlc/libexec/vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /opt/vlc/share/vlc/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/elo/.local/share/vlc/lua/meta/art
lua debug: Trying Lua scripts in /opt/vlc/libexec/vlc/lua/meta/art
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: skipping script (unmatched scope) /opt/vlc/libexec/vlc/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /opt/vlc/libexec/vlc/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/meta/art/02_frenchtv.luac
qt debug: IM: Setting an input
lua debug: skipping script (unmatched scope) /opt/vlc/libexec/vlc/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/meta/art/03_lastfm.luac
lua debug: skipping script (unmatched scope) /opt/vlc/libexec/vlc/lua/meta/art/03_lastfm.luac
lua debug: Trying Lua scripts in /opt/vlc/share/vlc/lua/meta/art
main debug: no art finder modules matched
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/koreus.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/liveleak.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/newgrounds.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/rockbox_fm_presets.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/soundcloud.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/twitch.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/vimeo.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/vocaroo.luac
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/playlist/youtube.luac
lua debug: Trying Lua scripts in /opt/vlc/share/vlc/lua/playlist
main debug: no stream_filter modules matched
main debug: looking for stream_directory module matching "any": 0 candidates
main debug: no stream_directory modules
main debug: attachment of directory-extractor failed for file:///home/elo/Downloads/imaqtpie.mp4
main debug: looking for stream_filter module matching "record": 25 candidates
main debug: using stream_filter module "record"
main debug: creating demux "any", URL: file:///home/elo/Downloads/imaqtpie.mp4, path: /home/elo/Downloads/imaqtpie.mp4
main debug: looking for demux module matching "mp4": 46 candidates
main debug: looking for xml reader module matching "any": 1 candidates
main debug: using xml reader module "xml"
main debug: removing module "xml"
ts debug: Standard set to Auto
ts debug: first packet for pid=0 cc=0xa
ts debug: PATCallBack called
ts debug: new PAT ts_id=1 version=0 current_next=1
ts debug: * number=1 pid=4096
ts debug: temporary receiving program 1
ts debug: first packet for pid=4096 cc=0xa
ts debug: PMTCallBack called for program 1
ts debug: new PMT program number=1 version=0 pid_pcr=257
ts debug: * PMT descriptor: Metadata Pointer (0x25)
ts debug: * pid=256 type=0xf ISO/IEC 13818-7 Audio with ADTS transport
ts debug: - SL/FMC descriptor not found/matched
ts debug: => pid 256 has now es fcc=mp4a
ts debug: * pid=257 type=0x1b AVC video stream as defined in ITU-T Rec. H.264
ts debug: => pid 257 has now es fcc=h264
ts debug: * pid=258 type=0x15 Metadata carried in PES packets
ts debug: - ES descriptor tag 0x26
ts debug: - found Metadata_descriptor type ID3 with service_id=0x0
ts debug: => pid 258 content is *unknown*
ts debug: * pid=17 listening for SDT
ts debug: enabling pid 256 from program 1
ts debug: enabling pid 257 from program 1
ts debug: enabling pid 258 from program 1
ts debug: enabling pcr pid 257 from program 1
ts debug: EOF at 56959488
ts debug: first packet for pid=258 cc=0x4
ts warning: No PCR received for program 1, set up workaround using pid 256
ts debug: enabling pid 256 from program 1
ts debug: enabling pid 257 from program 1
ts debug: enabling pid 258 from program 1
ts debug: enabling pcr pid 256 from program 1
main debug: using demux module "ts"
main debug: looking for a subtitle file in /home/elo/Downloads/
ts debug: DEMUX_SET_GROUP 0 (nil)
main debug: looking for meta reader module matching "any": 1 candidates
lua debug: Trying Lua scripts in /home/elo/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /opt/vlc/libexec/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /opt/vlc/libexec/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /opt/vlc/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: `file:///home/elo/Downloads/imaqtpie.mp4' successfully opened
ts debug: first packet for pid=257 cc=0xa
ts debug: Creating delayed ES
main debug: selecting program id=1
main debug: looking for packetizer module matching "any": 19 candidates
main debug: using packetizer module "h264"
main debug: looking for video decoder module matching "any": 7 candidates
avcodec debug: using ffmpeg Lavc58.19.100
avcodec debug: CPU flags: 0x0000107f
avcodec debug: allowing 3 thread(s) for decoding
avcodec debug: codec (h264) started
avcodec debug: using frame thread mode with 3 threads
main debug: using video decoder module "avcodec"
ts debug: Default program is 1
main debug: looking for packetizer module matching "any": 19 candidates
mpeg4audio debug: running MPEG4 audio packetizer
mpeg4audio debug: ADTS Mode
main debug: using packetizer module "mpeg4audio"
main debug: looking for audio decoder module matching "any": 11 candidates
avcodec debug: using ffmpeg Lavc58.19.100
avcodec debug: CPU flags: 0x0000107f
avcodec debug: codec (aac) started
main debug: using audio decoder module "avcodec"
main debug: changing rate: 1000.000000
main debug: changing rate: 1000.000000
ts debug: enabling pid 256 from program 1
ts debug: enabling pid 257 from program 1
ts debug: enabling pid 258 from program 1
ts debug: enabling pcr pid 256 from program 1
h264 debug: found NAL_SPS (sps_id=0)
h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: restarting module due to input format change
main debug: removing module "avcodec"
main debug: looking for video decoder module matching "any": 7 candidates
avcodec debug: using ffmpeg Lavc58.19.100
avcodec debug: CPU flags: 0x0000107f
avcodec debug: allowing 3 thread(s) for decoding
ts debug: first packet for pid=256 cc=0x6
ts debug: Program 1 PCR prequeue fixup 2501822880->2501704860
avcodec debug: codec (h264) started
avcodec debug: using frame thread mode with 3 threads
main debug: Buffering 0%
main debug: using video decoder module "avcodec"
mpeg4audio: AAC channels: 1 samplerate: 44100
main debug: restarting module due to input format change
main debug: removing module "avcodec"
main debug: looking for audio decoder module matching "any": 11 candidates
avcodec debug: using ffmpeg Lavc58.19.100
avcodec debug: CPU flags: 0x0000107f
avcodec debug: codec (aac) started
main debug: using audio decoder module "avcodec"
main debug: reusing audio output
avcodec debug: available hardware decoder output format 100 (vdpau)
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec debug: trying format vdpau
main debug: looking for text renderer module matching "any": 1 candidates
main debug: using text renderer module "tdummy"
main debug: looking for video converter module matching "any": 21 candidates
swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video converter module "swscale"
main debug: looking for video converter module matching "any": 21 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video converter module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace -1, mode yadif2x, is_needed 0
main debug: looking for vout window module matching "qt,any": 3 candidates
qt debug: requesting video window...
alsa debug: using ALSA device: default
alsa debug: Plug PCM: Direct Stream Mixing PCM
Hardware PCM card 0 'USB AUDIO DAC' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 48000
exact rate : 48000 (48000/1)
msbits : 16
buffer_size : 16384
period_size : 1024
period_time : 21333
tstamp_mode : ENABLE
tstamp_type : MONOTONIC
period_step : 1
avail_min : 1024
period_event : 0
start_threshold : 1
stop_threshold : 4611686018427387904
silence_threshold: 0
silence_size : 4611686018427387904
boundary : 4611686018427387904
appl_ptr : 0
hw_ptr : 0
alsa debug: device name : USB Audio
alsa debug: device ID : USB Audio
alsa debug: subdevice name: subdevice #0
alsa debug: initial hardware setup:
ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED
FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE
SUBFORMAT: STD
SAMPLE_BITS: [4 64]
FRAME_BITS: [4 640000]
CHANNELS: [1 10000]
RATE: 48000
PERIOD_TIME: (21333 21334)
PERIOD_SIZE: 1024
PERIOD_BYTES: [512 81920000]
PERIODS: [2 16]
BUFFER_TIME: (42666 341334)
BUFFER_SIZE: [2048 16384]
BUFFER_BYTES: [1024 1310720000]
TICK_TIME: ALL
alsa debug: using channels map 0, type 1, 2 channel(s)
alsa debug: final HW setup:
ACCESS: RW_INTERLEAVED
FORMAT: FLOAT_LE
SUBFORMAT: STD
SAMPLE_BITS: 32
FRAME_BITS: 64
CHANNELS: 2
RATE: 48000
PERIOD_TIME: (21333 21334)
PERIOD_SIZE: 1024
PERIOD_BYTES: 8192
PERIODS: 16
BUFFER_TIME: (341333 341334)
BUFFER_SIZE: 16384
BUFFER_BYTES: 131072
TICK_TIME: 0
alsa debug: initial software parameters:
tstamp_mode: NONE
tstamp_type: MONOTONIC
period_step: 1
avail_min: 1024
start_threshold: 1
stop_threshold: 16384
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
alsa debug: final software parameters:
tstamp_mode: NONE
tstamp_type: MONOTONIC
period_step: 1
avail_min: 1024
start_threshold: 1
stop_threshold: 16384
silence_threshold: 0
silence_size: 0
boundary: 4611686018427387904
alsa warning: device cannot be paused
main debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "float_mixer"
main debug: input 'f32l' 44100 Hz Mono frame=1 samples/4 bytes
main debug: looking for audio filter module matching "scaletempo": 15 candidates
scaletempo debug: format: 44100 rate, 1 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1323.000 stride_in, 1323 stride_out, 1059 standing, 264 overlap, 617 search, 2204 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Mono->Mono
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'f32l' 44100 Hz->44100 Hz Mono->Stereo
main debug: looking for audio converter module matching "any": 6 candidates
main debug: using audio converter module "trivial"
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 1 candidates
main debug: using audio resampler module "ugly"
main debug: Buffering 27%
main debug: Buffering 65%
main debug: Stream buffering done (314 ms in 12 ms)
main debug: using vout window module "qt"
main debug: looking for inhibit module matching "any": 1 candidates
main debug: using inhibit module "xdg"
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "gl": 10 candidates
main debug: VoutDisplayEvent 'resize' 1920x1080
main debug: looking for opengl module matching "glx": 2 candidates
main debug: resized to 667x295
main debug: VoutDisplayEvent 'resize' 667x295
main debug: resized to 667x295
main debug: VoutDisplayEvent 'resize' 667x295
glx debug: using GLX extension version 1.4
main debug: using opengl module "glx"
main debug: looking for glconv module matching "any": 1 candidates
main debug: using glconv module "glconv_vdpau"
main debug: using vout display module "gl"
main debug: A filter to adapt decoder VDV0 to display VDOR is needed
main debug: looking for video converter module matching "any": 21 candidates
vdpau_chroma debug: using video mixer temporal-spatial deinterlace feature
vdpau_chroma debug: using video mixer sharpness feature
vdpau_chroma debug: using video mixer 5
main debug: using video converter module "vdpau_chroma"
main debug: Filter 'VDPAU' (0x7f475c6a8ad0) appended to chain
main debug: original format sz 1920x1088, of (0,0), vsz 1920x1080, 4cc VDV0, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "tdummy"
main debug: looking for text renderer module matching "any": 1 candidates
main debug: using text renderer module "tdummy"
main debug: looking for hw decoder module matching "vdpau_avcodec": 1 candidates
main debug: resized to 667x295
main debug: VoutDisplayEvent 'resize' 667x295
main debug: using hw decoder module "vdpau_avcodec"
avcodec: Using NVIDIA VDPAU Driver Shared Library 390.48 Wed Mar 21 23:47:29 PDT 2018 for hardware decoding
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec debug: available software decoder output format 0 (yuv420p)
avcodec error: existing hardware acceleration cannot be reused
main debug: removing module "vdpau_chroma"
main debug: Filter 0x7f475c6a8ad0 removed from chain
main debug: removing module "gl"
main debug: removing module "glconv_vdpau"
main debug: removing module "glx"
main debug: deinterlace -1, mode yadif2x, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "gl": 10 candidates
main debug: VoutDisplayEvent 'resize' 667x295
main debug: looking for opengl module matching "glx": 2 candidates
main debug: resized to 667x295
main debug: VoutDisplayEvent 'resize' 667x295
glx debug: using GLX extension version 1.4
main debug: using opengl module "glx"
gl debug: MAP_PERSISTENT support (direct rendering) enabled
main debug: using vout display module "gl"
main debug: original format sz 1920x1090, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
qt debug: Qt: Fullscreen state changed
main debug: reusing provided vout
main debug: Received first picture
main debug: resized to 667x295
main debug: VoutDisplayEvent 'resize' 667x295
main debug: Decoder wait done in 328 ms
main debug: inserting 1532 zeroes
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: auto hiding mouse cursor
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: resized to 667x317
main debug: VoutDisplayEvent 'resize' 667x317
main warning: picture is too late to be displayed (missing 16 ms)
main debug: picture might be displayed late (missing 0 ms)
main debug: resized to 667x295
main debug: VoutDisplayEvent 'resize' 667x295
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: EsOutProgramMeta: number=1
main debug: auto hiding mouse cursor
main debug: exiting
main debug: exiting
main debug: removing all interfaces
main debug: removing module "qt"
main debug: deactivating the playlist
main debug: incoming request - stopping current input
main debug: picture might be displayed late (missing 4 ms)
main debug: killing decoder fourcc `h264'
main debug: removing module "avcodec"
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "h264"
main debug: killing decoder fourcc `mp4a'
main debug: removing module "avcodec"
main debug: removing module "ugly"
main debug: removing module "scaletempo"
main debug: removing module "trivial"
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "mpeg4audio"
main debug: removing module "ts"
main debug: Program doesn't contain anymore ES
main debug: removing module "record"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: dead input
main debug: nothing to play
main debug: destroying useless vout
qt debug: IM: Deleting the input
main debug: removing module "gl"
main debug: removing module "glx"
main debug: removing module "xdg"
qt debug: releasing video...
qt debug: Video is not needed anymore
main debug: removing module "tdummy"
main debug: removing module "yuvp"
main debug: removing module "swscale"
main debug: removing module "alsa"
qt debug: requesting exit...
qt debug: waiting for UI thread...
qt debug: QApp exec() finished
qt debug: Video is not needed anymore
qt debug: Killing extension dialog provider
qt debug: ExtensionsDialogProvider is quitting...
main debug: removing module "lua"
main debug: removing module "hotkeys"
main debug: destroying
main debug: saving media library to file /home/elo/.local/share/vlc/ml.xspf.tmp32385
main debug: looking for playlist export module matching "export-xspf": 4 candidates
main debug: using playlist export module "export"
main debug: removing module "export"
main debug: deleting item `Media Library'
main debug: deleting item `imaqtpie.mp4'
main debug: deleting item `Playlist'
main debug: removing module "memory"
-- logger module stopped --

bred.sun
Blank Cone
Blank Cone
Posts: 14
Joined: 28 Apr 2018 09:06

Re: unable to decode 1080p60 with hardware acceleration

Postby bred.sun » 24 May 2018 15:22

Hi,

Is this bug fixable? Will it be fixed in the future?

Or it is an issue not related to VLC?
tried vlc-4.0.0-dev-2787-g2175a7d and DVB-T TV works now. Thanks for quick fix.

But hardware decoding for some 1080p30/p60 clips is still not working.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: unable to decode 1080p60 with hardware acceleration

Postby Jean-Baptiste Kempf » 17 Jun 2018 23:29

Disable yadif(2) deinterlacing.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 46 guests