Opened 3 years ago

Last modified 3 years ago

#2380 new defect

Ubuntu 20.04 - AMDGPU - VDPAU - Loop - X11 Error BadIDChoice

Reported by: Rich Johnson Owned by: beastd
Priority: normal Component: undetermined
Version: unspecified Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:
OS: Ubuntu 20.04 (server building running nodm & matchbox-window-manager)
MPlayer Version: Latest (Sep. 20, 2021) SVN Build (also happens with 1.4)
Hardware: AMD Ryzen 3 3300U w/ Radeon Vega Mobile Gfx

After a couple of hours of looping the same exact file, Big Buck Bunny for example, MPlayer freezes with the following 2 lines of error message:

X11 error: BadIDChoice (invalid resource ID chosen for this connection
X11 error: 140

I have tested both MPV & VLC with the same VDPAU drivers & Codecs and it either doesn't occur, or hasn't occurred yet, but those ran for the past week in testing just fine.

How to reproduce:

% mplayer -vo vdpau -vc ffh264vdpau, -rootwin -osdlevel 0 bigbuckbunny.mp4 -loop 0
MPlayer UNKNOWN-9 (C) 2000-2021 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/media/bigbuckbunny.mp4.
libavformat version 58.29.100 (external)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f15e992e600]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO:  [H264]  1920x1080  24bpp  29.970 fps  11647.8 kbps (1421.8 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.54.100 (external)
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf57.83.100
Load subtitles in /home/media/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 317.4 kbit/10.33% (ratio: 39671->384000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration 
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 H.264 VDPAU acceleration

Patches should be submitted to the mplayer-dev-eng mailing list and not this bug tracker.

Change History (2)

comment:1 by beastd, 3 years ago

This bug reports seems relevant.

Unfortunately I couldn't reproduce the error.

Can you still reproduce this?

comment:2 by Rich Johnson, 3 years ago

Yes, it is still reproducible on 20.04. I haven't tried on 22.04 yet.

Note: See TracTickets for help on using tickets.