[Bug 220444] x11-servers/xorg-server crashes on attempt to play a video using VDPAU

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220444

--- Comment #13 from Mikhail Teterin <[email protected]> ---
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=mpg123) 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 layer-2
audio)
==========================================================================
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 => 1440x1080 Planar YV12 
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1440x1080 => 1920x1080 Planar YV12 
A: 776.0 V: 775.7 A-V:  0.287 ct:  0.000   2/  2 ??% ??% ??,?% 1 0 
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/radeonkms
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...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.