[AMD Official Use Only - Internal Distribution Only]
Hi Daniel,
Unfortunately, I wasn't able to recreate the issue on a Polaris card, so the
issue might only be with older hardware. I'll see if there's any updated
firmware for the Carizzo devices.
Regards,
Thong Thai
From: Daniel Gomez
Sent: August 4, 2020 9:48 AM
To: Liu, Leo
Cc: mesa-dev@lists.freedesktop.org ; Zhang,
Boyuan ; Thai, Thong
Subject: Re: [Mesa-dev] VAAPI encoder and OpenGL
Hi guys,
any update on this?
Thanks
On Mon, 27 Apr 2020 at 16:23, Daniel Gomez wrote:
>
> Hi,
>
> We have also try to use VAAPI decoder + OpenGL with mpv with the same effects:
>
> VAAPI + OpenGL example:
> DISPLAY=:0 mpv --hwdec=vaapi --vo=opengl The\ Simpsons\ Movie\ -\
> 1080p\ Trailer.mp4
> Playing: The Simpsons Movie - 1080p Trailer.mp4
> [osd/libass] Error opening memory font 'fonts.conf'
> [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
> (+) Video --vid=1 (*) (h264 1920x800 23.976fps)
> Video --vid=2 [P] (png)
> (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
> File tags:
> Artist: 20th Century Fox
> Genre: Trailer
> Title: The Simpsons Movie - Trailer
> [vo/opengl/x11] XOpenIM() failed. Unicode input will not work.
> [vo/opengl/x11] XOpenIM() failed. Unicode input will not work.
> [vo/opengl/vaapi-egl] vaDeriveImage(): invalid VASurfaceID
> [vo/opengl/vaapi-egl] vaDeriveImage(): invalid VAImageFormat
> [ffmpeg] AVHWFramesContext: Failed to create surface: 2 (resource
> allocation failed).
> [ffmpeg] AVHWFramesContext: Unable to allocate a surface from internal
> buffer pool.
> [vo/opengl/vaapi-egl] vaDeriveImage(): invalid VASurfaceID
> [vo/opengl/vaapi-egl] vaDeriveImage(): invalid VAImageFormat
> [ffmpeg] AVHWFramesContext: Failed to create surface: 2 (resource
> allocation failed).
> [ffmpeg] AVHWFramesContext: Unable to allocate a surface from internal
> buffer pool.
> VO does not support requested hardware decoder, or loading it failed.
> ALSA lib ../../../alsa-lib-1.1.8/src/pcm/pcm_dmix.c:1108:(snd_pcm_dmix_open)
> unable to open slave
> [ao/alsa] Playback open error: No such file or directory
> [ao/oss] Can't open audio device /dev/dsp: No such file or directory
> [ao] Failed to initialize audio driver 'oss'
> Could not open/initialize audio device -> no sound.
> Audio: no audio
> VO: [opengl] 1920x800 yuv420p
> V: 00:00:06 / 00:02:17 (4%)
>
> Just opengl or vappi works fine.
>
> VAAPI example:
> DISPLAY=:0 mpv --hwdec=vaapi --vo=xv The\ Simpsons\ Movie\ -\ 1080p\
> Trailer.mp4
> Playing: The Simpsons Movie - 1080p Trailer.mp4
> [osd/libass] Error opening memory font 'fonts.conf'
> [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
> (+) Video --vid=1 (*) (h264 1920x800 23.976fps)
> Video --vid=2 [P] (png)
> (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
> File tags:
> Artist: 20th Century Fox
> Genre: Trailer
> Title: The Simpsons Movie - Trailer
> [vo/xv/x11] XOpenIM() failed. Unicode input will not work.
> [vo/xv] Warning: this legacy VO has bad quality and performance, and
> will in particular result in blurry OSD and subtitles. You should fix
> your graphics drivers, or not force the xv VO.
> VO does not support requested hardware decoder, or loading it failed.
> ALSA lib ../../../alsa-lib-1.1.8/src/pcm/pcm_dmix.c:1108:(snd_pcm_dmix_open)
> unable to open slave
> [ao/alsa] Playback open error: No such file or directory
> [ao/oss] Can't open audio device /dev/dsp: No such file or directory
> [ao] Failed to initialize audio driver 'oss'
> Could not open/initialize audio device -> no sound.
> Audio: no audio
> VO: [xv] 1920x800 yuv420p
> V: 00:00:09 / 00:02:17 (6%)
> Exiting... (Quit)
>
> OpenGL example:
> DISPLAY=:0 mpv --hwdec=no --vo=opengl The\ Simpsons\ Movie\ -\ 1080p\
> Trailer.mp4
> Playing: The Simpsons Movie - 1080p Trailer.mp4
> [osd/libass] Error opening memory font 'fonts.conf'
> [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
> (+) Video --vid=1 (*) (h264 1920x800 23.976fps)
> Video --vid=2 [P] (png)
> (+) Audio --aid=1 --alang=und (*) (aac 2ch 44100Hz)
> File tags:
> Artist: 20th Century Fox
> Genre: Trailer
> Title: The Simpsons Movie - Trailer
> [vo/opengl/x11] XOpenIM() failed. Unicode input will not work.
> [vo/opengl/x11] XOpenIM() failed. Unicode input will not work.
> ALSA lib ../../../alsa-lib-1.1.8/src/pcm/pcm_dmix.c:1108:(snd_pcm_dmix_open)
> unable to open slave
> [ao/alsa] Playback open error: No such file or directory
> [ao/oss] Can't open audio device /dev/dsp: No such file or directory
> [ao] Failed to initialize audio driver 'oss'
> Could not open/initialize audio device -> no sound.
> Audio: no audio
> VO: [opengl] 1920x800 yuv420p
> V: 00:00:01 / 00:02:17 (1%)
> Exiting... (Quit)
>
> On Mon, 27 Apr 2020 at 15:13, Leo Liu wrote:
> >
> > +Thong.
> >
> > On 2020-04-27 8:29 a.m., Daniel Gomez wrote:
> > > Adding Boyuan Zhang to the thread.
> > >
> > > On Mon, 27 Apr 2020 a