Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 03:40:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 220444] x11-servers/xorg-server crashes on attempt to play a video using VDPAU
Message-ID:  <bug-220444-7141-d7Kjx4BZ8b@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220444-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220444-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220444

--- Comment #13 from Mikhail Teterin <mi@FreeBSD.org> ---
I'm now seeing this again -- mplayer starts, the audio begins and the video
window comes up. But then Xorg crashes:

Thread 1 received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) where
#0  0x00000000 in ?? ()
#1  0x28ef186d in ?? () from /opt/lib/libgbm.so.1
#2  0x28ef0f33 in gbm_bo_import () from /opt/lib/libgbm.so.1
#3  0x28ec7a1d in glamor_back_pixmap_from_fd ()
   from /opt/lib/xorg/modules/libglamoregl.so
#4  0x28ec7af1 in glamor_pixmap_from_fd ()
   from /opt/lib/xorg/modules/libglamoregl.so
#5  0x081c5646 in ?? ()
#6  0x081c4d98 in ?? ()
#7  0x081c51dc in ?? ()
#8  0x0807303b in ?? ()
#9  0x0807db97 in ?? ()
#10 0x080662fe in ?? ()
#11 0x08066164 in ?? ()
#12 0x08066038 in _start ()

Mplayer says:

Requested audio codec family [mpg123] (afm=3Dmpg123) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 384.0 kbit/12.50% (ratio: 48000->384000)
Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and lay=
er-2
audio)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1440x1080 =3D> 1440x1080 Planar YV12=20
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1440x1080 =3D> 1920x1080 Planar YV12=20
A: 776.0 V: 775.7 A-V:  0.287 ct:  0.000   2/  2 ??% ??% ??,?% 1 0=20
Select error: Bad file descriptor

The computer is an older laptop running today's 12.0/i386 with:

      drmn0: <ATI Mobility Radeon HD 4670> on vgapci0

The problem strikes regardless of whether I use the stock kernel drm2/radeo=
nkms
modules or those from drm-legacy-kmod-g20190523.

Unfortunately, the old "DRI 2" trick is not helping this time -- I dropped =
the
following dri.conf into /etc/X11/xorg.conf.d

Section "Device"
        Option "DRI" "2"
        Identifier "Card0"
EndSection

to no avail. mpv seems to work -- but it is not using vdpau.

Please, advise...

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220444-7141-d7Kjx4BZ8b>