FS#40246 - [xbmc] fails to play video using libav/vdpau
Attached to Project:
Community Packages
Opened by Edouard (madko) - Tuesday, 06 May 2014, 19:38 GMT
Last edited by Ike Devolder (BlackEagle) - Wednesday, 07 May 2014, 07:18 GMT
Opened by Edouard (madko) - Tuesday, 06 May 2014, 19:38 GMT
Last edited by Ike Devolder (BlackEagle) - Wednesday, 07 May 2014, 07:18 GMT
|
Details
Description:
XBMC on nvidia systems with vdpau HW acceleration can't play video. See upstream bug at https://bugzilla.libav.org/show_bug.cgi?id=674 Additional info: * xbmc 13.0-1 * extra/nvidia 337.12-1 * extra/libvdpau 0.7-1 Steps to reproduce: - install nvidia drivers and libvdpau - install xbmc - try to play a video with xbmc Xbmc UI is fine, subtitles are also displayed correctly, but video is garbage. |
This task depends upon
Closed by Ike Devolder (BlackEagle)
Wednesday, 07 May 2014, 07:18 GMT
Reason for closing: Not a bug
Additional comments about closing: update glitch
Wednesday, 07 May 2014, 07:18 GMT
Reason for closing: Not a bug
Additional comments about closing: update glitch
what is the input file you use, container/codecs/...
before xbmc13 you had the choice to use exteral ffmpeg, but that got removed you can only use internal ffmpeg these days
debian-bugs-dist@lists.debian.org/msg1212485.html"> https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1212485.html
at the end of this thread, they point to the upstream bug.
What I have in the xbmc log which seems to be relevant is:
ERROR: GLX: Same window as before, refreshing
and error about CLinuxRendererGL::UploadVAAPITexture
I will try to attach a complete xbmc log but since I have downgraded to xbmc 12.
08:26:24 T:139839546574592 NOTICE: Opening video stream: 1 source: 256
08:26:24 T:139839546574592 NOTICE: Creating video codec with codec id: 28
08:26:24 T:139839546574592 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
08:26:24 T:139839546574592 NOTICE: Creating video thread
08:26:24 T:139838740076288 NOTICE: Thread DVDPlayerVideo start, auto delete: false
08:26:24 T:139839546574592 NOTICE: Opening audio stream: 0 source: 256
08:26:24 T:139839546574592 NOTICE: Finding audio codec for: 86019
08:26:24 T:139839546574592 NOTICE: Creating audio thread
08:26:24 T:139838740076288 NOTICE: running thread: video_thread
08:26:24 T:139838731683584 NOTICE: Thread DVDPlayerAudio start, auto delete: false
08:26:24 T:139839546574592 NOTICE: Opening Subtitle stream: 2 source: 256
08:26:24 T:139838731683584 NOTICE: running thread: CDVDPlayerAudio::Process()
08:26:24 T:139838731683584 NOTICE: Creating audio stream (codec id: 86019, channels: 2, sample rate: 48000, no pass-through)
08:26:26 T:139838740076288 NOTICE: fps: 23.976024, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
08:26:26 T:139838740076288 NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 23.97Hz (20) (weight: 0.000)
08:26:26 T:139840509601856 NOTICE: Using GL_TEXTURE_2D
08:26:26 T:139840509601856 NOTICE: GL: Using VAAPI render method
08:26:26 T:139840509601856 NOTICE: GL: NPOT texture support detected
08:26:26 T:139840509601856 NOTICE: GL: Using GL_ARB_pixel_buffer_object
08:26:26 T:139838740076288 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
08:26:27 T:139840509601856 WARNING: Previous line repeats 21 times.
08:26:27 T:139840509601856 ERROR: GLX: Same window as before, refreshing context
08:26:27 T:139838740076288 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
08:26:27 T:139840509601856 WARNING: Previous line repeats 4 times.
08:26:27 T:139840509601856 NOTICE: Using GL_TEXTURE_2D
08:26:27 T:139840509601856 NOTICE: GL: Using VAAPI render method
08:26:27 T:139840509601856 NOTICE: GL: NPOT texture support detected
08:26:27 T:139840509601856 NOTICE: GL: Using GL_ARB_pixel_buffer_object
08:26:27 T:139838740076288 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
08:26:27 T:139840509601856 WARNING: Previous line repeats 1 times.
08:26:27 T:139840509601856 ERROR: CLinuxRendererGL::UploadVAAPITexture - failed to copy surface to glx 2 - resource allocation failed
08:26:27 T:139838740076288 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
08:26:27 T:139840509601856 WARNING: Previous line repeats 7 times.
08:26:27 T:139840509601856 ERROR: CLinuxRendererGL::UploadVAAPITexture - failed to copy surface to glx 2 - resource allocation failed
08:26:28 T:139840509601856 ERROR: CLinuxRendererGL::UploadVAAPITexture - failed to copy surface to glx -1 - unknown libva error
08:26:28 T:139840509601856 ERROR: Previous line repeats 10 times.
08:26:28 T:139840509601856 ERROR: CLinuxRendererGL::UploadVAAPITexture - failed to copy surface to glx 2 - resource allocation failed
08:26:28 T:139840509601856 ERROR: CLinuxRendererGL::UploadVAAPITexture - failed to copy surface to glx -1 - unknown libva error
08:26:37 T:139840509601856 ERROR: Previous line repeats 210 times.
08:26:37 T:139840509601856 NOTICE: CDVDPlayer::CloseFile()
08:26:37 T:139840509601856 NOTICE: DVDPlayer: waiting for threads to exit
08:26:37 T:139839546574592 NOTICE: CDVDPlayer::OnExit()
08:26:37 T:139839546574592 NOTICE: DVDPlayer: closing audio stream
08:26:37 T:139839546574592 NOTICE: Closing audio stream
08:26:37 T:139839546574592 NOTICE: Waiting for audio thread to exit
08:26:37 T:139838731683584 NOTICE: thread end: CDVDPlayerAudio::OnExit()
08:26:37 T:139839546574592 NOTICE: Closing audio device
08:26:37 T:139839546574592 NOTICE: Deleting audio codec
08:26:37 T:139839546574592 NOTICE: DVDPlayer: closing video stream
08:26:37 T:139839546574592 NOTICE: Closing video stream
However I still have no sound, no passthrough... but nothing to do with this bug. This bug can be closed.
for your settings, they have revamped many things so it is very likely you have to reconfigure a great deal of things, i know i had to re-enable passthrough
http://wiki.xbmc.org/index.php?title=XBMC_v13_(Gotham)_FAQ#Where_did_most_of_the_settings_go.3F
put your settings level to expert and you will be able to configure passthrough again