Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2024 00:00:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 281908] www/firefox: VP9/H264 hardware acceleration stopped working "WARNING: pipe error: Operation not supported"
Message-ID:  <bug-281908-21738-MQTIsr215L@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281908-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281908-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 281908: www/firefox: VP9/H264 hardware acceleration stopped working
"WARNING: pipe error: Operation not supported"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281908



--- Description ---
Hi,

Hardware acceleration on my Intel CPU was working well in Firefox for awhil=
e,
and as of a few weeks ago stopped working. In about:support, they are liste=
d as
green and supported with HW supported. When I load
https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_10=
80_1
0s_2MB.mp4
however, it says  "Video can't be played because the file is corrupt."


The log reveals some interesting information:

[RDD 53438: Main Thread]: D/PlatformDecoderModule PDMInitializer, Init PDMs=
 in
RDD process
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, ma=
cro:
60, micro: 102, isFFMpeg: yes
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFMPEG: version: 0x80, ma=
cro:
61, micro: 101, isFFMpeg: yes
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFVPX: Link result: Succe=
ss
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects
requested type 'video/avc'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/avc'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/avc'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/vp9'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/vp9'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/vp8'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/vp8'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/av1'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'video/av1'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects
requested type 'video/hevc'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects
requested type 'video/hevc'
[RDD 53438: Main Thread]: D/PlatformDecoderModule Agnostic decoder rejects
requested type 'video/hevc'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder rejects
requested type 'audio/mp4a-latm'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/mp4a-latm'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/mp4a-latm'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/mpeg'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/mpeg'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/opus'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/opus'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/vorbis'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/vorbis'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/flac'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/flac'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/x-wav'
[RDD 53438: Main Thread]: D/PlatformDecoderModule FFmpeg decoder supports
requested type 'audio/x-wav'
[Parent 99449: Main Thread]: D/PlatformDecoderModule Broadcast support from
'RDD', support=3DH264 SW
VP9 SW
VP8 SW
AV1 SW
HEVC NONE
AAC SW
MP3 SW
Opus SW
Vorbis SW
FLAC SW
Wave SW
[RDD 53438: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder rej=
ects
requested type 'video/avc'
[RDD 53438: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder
supports requested type 'video/avc'
[RDD 53438: MediaSupervisor #1]: D/PlatformDecoderModule FFmpeg decoder
supports requested type 'video/avc'
[Child 37834: RemVidChild]: D/PlatformDecoderModule
RemoteMediaDataDecoder[2ed69e08f260] ::RemoteMediaDataDecoder: 2ed69e08f260=
 is
created
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/local/lib/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[Child 37834: RemVidChild]: D/PlatformDecoderModule
RemoteMediaDataDecoder[2ed69e08f260] ::operator(): 2ed69e08f260
RemoteDecoderChild has been initialized - description: ffmpeg video decoder
(RDD remote), process: rdd, codec: h264
[RDD 53438: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode:
mDuration=3D16666=C2=B5s ; mTime=3D0=C2=B5s ; mTimecode=3D0=C2=B5s
[RDD 53438: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode:
mDuration=3D16666=C2=B5s ; mTime=3D116666=C2=B5s ; mTimecode=3D16666=C2=B5s
[RDD 53438: MediaPDecoder #1]: V/PlatformDecoderModule ProcessDecode:
mDuration=3D16666=C2=B5s ; mTime=3D50000=C2=B5s ; mTimecode=3D33333=C2=B5s
[RDD 53438, MediaSupervisor #1] WARNING: pipe error: Operation not supporte=
d:
file
/wrkdirs/usr/ports/www/firefox/work/firefox-130.0.1/ipc/chromium/src/chrome=
/com
mon/ipc_channel_posix.cc:702
[RDD 53438, MediaSupervisor #1] WARNING: pipe error: Operation not supporte=
d:
file
/wrkdirs/usr/ports/www/firefox/work/firefox-130.0.1/ipc/chromium/src/chrome=
/com
mon/ipc_channel_posix.cc:702
[Child 37834, MediaDecoderStateMachine #1] WARNING: Decoder=3D2ed6befcad00 =
Decode
error: NS_ERROR_DOM_MEDIA_REMOTE_DECODER_CRASHED_RDD_OR_GPU_ERR (0x806e0010=
) -
HandleRejectionError: file
/wrkdirs/usr/ports/www/firefox/work/firefox-130.0.1/dom/media/MediaDecoderS=
tate
MachineBase.cpp:167
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: VideoBridgeParent rece=
ives
IPC close with reason=3DAbnormalShutdown (t=3D6.6972) |[1][GFX1-]:
VideoBridgeParent receives IPC close with reason=3DAbnormalShutdown (t=3D6.=
9072)
|[2][GFX1-]: VideoBridgeParent receives IPC close with reason=3DAbnormalShu=
tdown
(t=3D7.1272) |[3][GFX1-]: VideoBridgeParent receives IPC close with
reason=3DAbnormalShutdown (t=3D407.187) |[4][GFX1-]: VideoBridgeParent rece=
ives IPC
close with reason=3DAbnormalShutdown (t=3D407.417) |[5][GFX1-]: VideoBridge=
Parent
receives IPC close with reason=3DAbnormalShutdown (t=3D407.657) |[6][GFX1-]:
VideoBridgeParent receives IPC close with reason=3DAbnormalShutdown (t=3D41=
3.777)
|[7][GFX1-]: VideoBridgeParent receives IPC close with reason=3DAbnormalShu=
tdown
(t=3D413.997) |[8][GFX1-]: VideoBridgeParent receives IPC close with
reason=3DAbnormalShutdown (t=3D414.227) |[9][GFX1-]: VideoBridgeParent rece=
ives IPC
close with reason=3DAbnormalShutdown (t=3D436.917) |[10][GFX1-]: VideoBridg=
eParent
receives IPC close with reason=3DAbnormalShutdown (t=3D437.147) |[11][GFX1-=
]:
VideoBridgeParent receives IPC close with reason=3DAbnormalShutdown (t=3D43=
7.387)
[GFX1-]: VideoBridgeParent receives IPC close with reason=3DAbnormalShutdown



I was about to find https://github.com/jiixyj/epoll-shim/issues/23 from a f=
ew
years ago, but it doesn't seem to be valid anymore.

I am running releng/13.4. firefox-130.0.1,2.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281908-21738-MQTIsr215L>