Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10720: mythfrontend cannot play videos using vaapi

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

May 13, 2012, 12:28 PM

Post #1 of 7 (251 views)
Permalink
Ticket #10720: mythfrontend cannot play videos using vaapi

#10720: mythfrontend cannot play videos using vaapi
-------------------------------------+-------------------------------------
Reporter: Martin Konopka | Type: Bug Report -
<martin.konopka@…> | General
Status: new | Priority: minor
Milestone: unknown | Component: MythTV - Video
Version: 0.25-fixes | Playback
Keywords: vaapi amd | Severity: medium
| Ticket locked: 0
-------------------------------------+-------------------------------------
Using mythfrontend v0.25-84-g9ccfac1 playback of HD videos and livetv
doesn't work with vaapi.

Output of vainfo:

libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API -
0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD


Output of the mythfrontend logs:

E CoreContext vaapicontext.cpp:311 (CreateDisplay) VAAPI: Invalid display
E CoreContext videoout_openglvaapi.cpp:145 (CreateVAAPIContext)
VidOutGLVAAPI: Failed to create VAAPI context.

This happens on ubuntu 12.04 with the fglrx driver (8.960) provided by the
distribution.

The same bug was already reported here:
http://www.mythtvtalk.com/myth-0-25-vaapi-e350-15487/

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10720>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 13, 2012, 1:27 PM

Post #2 of 7 (292 views)
Permalink
Re: Ticket #10720: mythfrontend cannot play videos using vaapi [In reply to]

#10720: mythfrontend cannot play videos using vaapi
-----------------------------------------------+---------------------------
Reporter: Martin Konopka <martin.konopka@…> | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version:
Severity: medium | 0.25-fixes
Keywords: vaapi amd | Resolution:
| Ticket locked: 0
-----------------------------------------------+---------------------------
Description changed by wagnerrp:

Old description:

> Using mythfrontend v0.25-84-g9ccfac1 playback of HD videos and livetv
> doesn't work with vaapi.
>
> Output of vainfo:
>
> libva: VA-API version 0.32.0
> Xlib: extension "XFree86-DRI" missing on display ":0.0".
> libva: va_getDriverName() returns 0
> libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
> libva: va_openDriver() returns 0
> vainfo: VA-API version: 0.32 (libva 1.0.15)
> vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API
> - 0.7.8
> vainfo: Supported profile and entrypoints
> VAProfileH264High : VAEntrypointVLD
> VAProfileVC1Advanced : VAEntrypointVLD
>

> Output of the mythfrontend logs:
>
> E CoreContext vaapicontext.cpp:311 (CreateDisplay) VAAPI: Invalid display
> E CoreContext videoout_openglvaapi.cpp:145 (CreateVAAPIContext)
> VidOutGLVAAPI: Failed to create VAAPI context.
>
> This happens on ubuntu 12.04 with the fglrx driver (8.960) provided by
> the distribution.
>
> The same bug was already reported here:
> http://www.mythtvtalk.com/myth-0-25-vaapi-e350-15487/

New description:

Using mythfrontend v0.25-84-g9ccfac1 playback of HD videos and livetv
doesn't work with vaapi.

Output of vainfo:

{{{
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API -
0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
}}}

Output of the mythfrontend logs:

{{{
E CoreContext vaapicontext.cpp:311 (CreateDisplay) VAAPI: Invalid display
E CoreContext videoout_openglvaapi.cpp:145 (CreateVAAPIContext)
VidOutGLVAAPI: Failed to create VAAPI context.
}}}

This happens on ubuntu 12.04 with the fglrx driver (8.960) provided by the
distribution.

The same bug was already reported here:
http://www.mythtvtalk.com/myth-0-25-vaapi-e350-15487/

--

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10720#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 18, 2012, 4:14 AM

Post #3 of 7 (249 views)
Permalink
Re: Ticket #10720: mythfrontend cannot play videos using vaapi [In reply to]

#10720: mythfrontend cannot play videos using vaapi
-----------------------------------------------+---------------------------
Reporter: Martin Konopka <martin.konopka@…> | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version:
Severity: medium | 0.25-fixes
Keywords: vaapi amd | Resolution:
| Ticket locked: 0
-----------------------------------------------+---------------------------

Comment (by linuxrider@…):

I get this too when using v0.25-94-gec51a97 on Ubuntu 12.04 with fglrx
8.960 and intel965.
I tested it on notebook TM8472TG and on ASUS E45M1-I DELUXE. With vlc it
works. On the Zacate platform SD "works" because myth can't find a
suitable VA profile.

I also tested the development builds from mythbuntu ppa and some time in
december it worked but stopped after an update.

Output of vainfo:

{{{
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API -
0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
}}}

{{{
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Intel i965 driver - 1.0.15
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
}}}
mythfrontend log: same as in previous post.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10720#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jun 3, 2012, 3:05 AM

Post #4 of 7 (233 views)
Permalink
Re: Ticket #10720: mythfrontend cannot play videos using vaapi [In reply to]

#10720: mythfrontend cannot play videos using vaapi
-----------------------------------------------+---------------------------
Reporter: Martin Konopka <martin.konopka@…> | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version:
Severity: medium | 0.25-fixes
Keywords: vaapi amd | Resolution:
| Ticket locked: 0
-----------------------------------------------+---------------------------

Comment (by robert.hogberg@…):

To use vaapi you have to use the OpenGL paint engine. Are you using
OpenGL?

I run Ubuntu 12.04, MythTV v0.25-137-g3b2103f, and fglrx 8.960 driver
(from Ubuntu repository) on a motherboard using the AMD E-350 chipset and
with the QT paint engine I get the same error as you, but switching to
OpenGL paint engine I can get vaapi to run (but I'm seeing #10113).

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10720#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jun 3, 2012, 11:48 AM

Post #5 of 7 (230 views)
Permalink
Re: Ticket #10720: mythfrontend cannot play videos using vaapi [In reply to]

#10720: mythfrontend cannot play videos using vaapi
-----------------------------------------------+---------------------------
Reporter: Martin Konopka <martin.konopka@…> | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version:
Severity: medium | 0.25-fixes
Keywords: vaapi amd | Resolution:
| Ticket locked: 0
-----------------------------------------------+---------------------------

Comment (by Martin Konopka <martin.konopka@…>):

Replying to [comment:3 robert.hogberg@…]:
> To use vaapi you have to use the OpenGL paint engine. Are you using
OpenGL?
>
> I run Ubuntu 12.04, MythTV v0.25-137-g3b2103f, and fglrx 8.960 driver
(from Ubuntu repository) on a motherboard using the AMD E-350 chipset and
with the QT paint engine I get the same error as you, but switching to
OpenGL paint engine I can get vaapi to run (but I'm seeing #10113).

Thanks Robert, switching the paint engine to OpenGL fixes the issue, but
I'm also getting wrong picture dimensions as reported in #10113. I think
it would be a good idea to give the user a hint to also switch the paint
engine when using vaapi.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10720#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 5, 2012, 2:03 AM

Post #6 of 7 (181 views)
Permalink
Re: Ticket #10720: mythfrontend cannot play videos using vaapi [In reply to]

#10720: mythfrontend cannot play videos using vaapi
-----------------------------------------------+---------------------------
Reporter: Martin Konopka <martin.konopka@…> | Owner: beirdo
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version:
Severity: medium | 0.25-fixes
Keywords: vaapi amd | Resolution:
| Ticket locked: 0
-----------------------------------------------+---------------------------
Changes (by beirdo):

* owner: => beirdo
* status: new => assigned


Comment:

Glad to hear your problem is solved. This ticket will remain open for the
moment to remind me to look at adding a check for OpenGL painter on VAAPI.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10720#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Nov 8, 2012, 11:23 AM

Post #7 of 7 (120 views)
Permalink
Re: Ticket #10720: mythfrontend cannot play videos using vaapi [In reply to]

#10720: mythfrontend cannot play videos using vaapi
-----------------------------------------------+---------------------------
Reporter: Martin Konopka <martin.konopka@…> | Owner: beirdo
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version:
Severity: medium | 0.25-fixes
Keywords: vaapi amd | Resolution:
| Ticket locked: 0
-----------------------------------------------+---------------------------

Comment (by brad@…):

I'm having the same issue using the opengl painter.

{{{
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:153 (Create) VAAPI: Version: 0.32
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:154 (Create) VAAPI: Driver : Intel i965 driver - 1.0.15
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: MPEG2Simple
Entrypoints: VLD
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: MPEG2Main Entrypoints:
VLD
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: H264Base Entrypoints:
VLD EncSlice (UNSUPPORTED)
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: H264Main Entrypoints:
VLD EncSlice (UNSUPPORTED)
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: H264High Entrypoints:
VLD EncSlice (UNSUPPORTED)
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: VC1Simple Entrypoints:
VLD
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: VC1Main Entrypoints:
VLD
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
vaapicontext.cpp:522 (InitProfiles) VAAPI: Profile: VC1Advanced
Entrypoints: VLD
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
videooutbase.cpp:1858 (CalcHueBase) VideoOutput: CalcHueBase(Intel i965
driver - 1.0.15): Unknown adaptor, hue may be wrong.
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
videooutbase.cpp:1860 (CalcHueBase) VideoOutput: Please open a ticket if
you need to adjust the hue.
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
mythpainter_ogl.cpp:27 (MythOpenGLPainter) OpenGL painter using existing
OpenGL context.
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
mythpainter_ogl.cpp:29 (MythOpenGLPainter) OpenGL painter using existing
QGLWidget.
Nov 4 20:22:31 basement mythfrontend[1388]: I CoreContext
openglvideo.cpp:223 (Init) GLVid: Using raw RGBA input textures.
Nov 4 20:22:31 basement mythfrontend[1388]: E CoreContext
vaapicontext.cpp:311 (CreateDisplay) VAAPI: Invalid display
Nov 4 20:22:31 basement mythfrontend[1388]: E CoreContext
videoout_openglvaapi.cpp:145 (CreateVAAPIContext) VidOutGLVAAPI: Failed to
create VAAPI context.
Nov 4 20:22:31 basement mythfrontend[1388]: E CoreContext
videoout_openglvaapi.cpp:98 (InputChanged) VidOutGLVAAPI: Failed to re-
initialise video output.
Nov 4 20:22:31 basement mythfrontend[1388]: E CoreContext
mythplayer.cpp:582 (ReinitVideo) Player(e): Failed to Reinitialize Video.
Exiting..
}}}

Here's my vainfo:
{{{
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.16.pre1)
vainfo: Driver version: Intel i965 driver - 1.0.15
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10720#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.