Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796644 - media-video/smplayer-20.6.0 will not play double-clicked video under Wayland
Summary: media-video/smplayer-20.6.0 will not play double-clicked video under Wayland
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-18 20:36 UTC by Phil Rigby
Modified: 2021-06-20 14:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Rigby 2021-06-18 20:36:27 UTC
Using KDE Plasma 5.22.1/Frameworks 5.83.0, running under Wayland.  Double-clicking any type of movie file (mkv, wmv, avi, mpg, whatever) launches SMplayer however the video will not play.  Error displayed:
"Ooops, something went wrong.  Mplayer/mpv has finished unexpectedly.  Exit code: 1"
The same issue occurs if you open a file manually in SMPlayer or drag a file onto the viewing area.

Under xorg it works just fine.
Other video players (VLC) are not affected.

The only version available in Portage is 20.6.0 but 21.1.0 has been released, highlighting it now has Wayland support.

Can the version in Portage be updated to the currently-released version please?

Reproducible: Always

Steps to Reproduce:
1.Open SMPlayer or double-click movie file (while running under Wayland)
2.Try to play video
Under X, works as expected.
Actual Results:  
SMPlayer aborts attempted playback.  Error log from crash dialog:

/usr/bin/mplayer -noquiet -slave -identify -nofs -sub-fuzziness 1 -vo xv, -nodr -double -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 8 -monitorpixelaspect 1 -osdlevel 0 -subfont-osd-scale 2 -progbar-align 80 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/phil/.config/smplayer/styles.ass -subcp ISO-8859-1 -subpos 100 -volume 100 -ss 2082 -vf-add screenshot=/home/phil/Pictures/smplayer_screenshots/shot -noslices -af-add scaletempo -softvol -softvol-max 110 /mnt/raid/data/Gang.Related.1997.PROPER.720p.BluRay.X264-AMIABLE [NORAR]/Gang.Related.1997.PROPER.720p.BluRay.X264-AMIABLE.mkv

MPlayer 1.4-10.2.0 (C) 2000-2019 MPlayer Team
Terminal type `unknown' is not defined.

Playing /mnt/raid/data/Gang.Related.1997.PROPER.720p.BluRay.X264-AMIABLE [NORAR]/Gang.Related.1997.PROPER.720p.BluRay.X264-AMIABLE.mkv.
libavformat version 58.76.100 (external)
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
[lavf] stream 1: audio (dca), -aid 0, -alang eng
ID_SUBTITLE_ID=0
ID_SID_0_LANG=eng
[lavf] stream 2: subtitle (srt), -sid 0, -slang eng
ID_SUBTITLE_ID=1
ID_SID_1_LANG=eng
ID_SID_1_NAME=SDH
[lavf] stream 3: subtitle (srt), -sid 1, -slang eng, SDH
VIDEO:  [H264]  1280x544  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[ass] Track has custom format line(s). 'ScaledBorderAndShadow' will default to 'yes'.
[ass] Track has custom format line(s). 'ScaledBorderAndShadow' will default to 'yes'.
X11 error: BadMatch (invalid parameter attributes)
Opening video filter: [ass auto=1]
[ass] auto-open
Opening video filter: [screenshot=/home/phil/Pictures/smplayer_screenshots/shot]
[ass] libass API version: 0x1501000
[ass] libass source: tarball: 0.15.1
[ass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.8.1 (COMPLEX)
[ass] Using font provider fontconfig
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.134.100 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
Clip info:
 encoder: no_variable_data
ID_CLIP_INFO_NAME0=encoder
ID_CLIP_INFO_VALUE0=no_variable_data
 creation_time: 1970-01-01T00:00:00.000000Z
ID_CLIP_INFO_NAME1=creation_time
ID_CLIP_INFO_VALUE1=1970-01-01T00:00:00.000000Z
ID_CLIP_INFO_N=2
Load subtitles in /mnt/raid/data/Gang.Related.1997.PROPER.720p.BluRay.X264-AMIABLE [NORAR]/
ID_FILENAME=/mnt/raid/data/Gang.Related.1997.PROPER.720p.BluRay.X264-AMIABLE [NORAR]/Gang.Related.1997.PROPER.720p.BluRay.X264-AMIABLE.mkv
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=544
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8193
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
ID_START_TIME=0.00
ID_LENGTH=6676.36
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, floatle, 1536.0 kbit/16.67% (ratio: 192000->1152000)
ID_AUDIO_BITRATE=1536000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffdca
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=2.3529
[swscaler @ 0x7fe3079fc120]bicubic scaler, from yuv420p to rgb24 using MMXEXT
[swscaler @ 0x7fe3079fc120]using unscaled yuv420p -> rgb24 special converter
VO: [xv] 1280x544 => 1280x544 Planar YV12 
X11 error: BadWindow (invalid Window parameter)
X11 error: BadWindow (invalid Window parameter)
X11 error: BadDrawable (invalid Pixmap or Window parameter)
X11 error: BadWindow (invalid Window parameter)
X11 error: BadDrawable (invalid Pixmap or Window parameter)
X11 error: BadWindow (invalid Window parameter)


MPlayer interrupted by signal 8 in module: filter video
ID_SIGNAL=8
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.


Expected Results:  
Movie plays.

emerge --info
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.1.0, glibc-2.33-r1, 5.12.10-gentoo x86_64)
=================================================================
System uname: Linux-5.12.10-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.33
KiB Mem:    32868904 total,  22897888 free
KiB Swap:   34052416 total,  34052416 free
Timestamp of repository gentoo: Thu, 17 Jun 2021 13:30:01 +0000
Head commit of repository gentoo: 39c12693d5372029f54a3b853179bf4c7fada1c3
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p10::gentoo, 3.8.8_p1::gentoo, 3.9.5_p2::gentoo, 3.10.0_beta2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.20.4::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo, 11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-max-age: 24
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1

brave-overlay
location: /var/lib/layman/brave-overlay
masters: gentoo
priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=znver1"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=znver1"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 apic app-indicator appindicator archive bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdr cli comic crypt css cups dbus declarative dri dtsdvd dvdr emboss encode encoder exif flac fortran fuse gdbm gentoo-syntax geolocation gif gles2 gnome-keyring gnuefi gphoto2 gpm gtk gtk3 gui heic heif iconv icu ios jpeg jumbo-build kde kipi kwallet lcms libglvnd libnotify libtirpc lm-sensors lzma mad mng modplug mp3 mp4 mpeg mtp multilib ncurses nls nptl numa ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 raw rdp readline samba sdl seccomp semantic-desktop spell spice split-usr ssh ssl startup-notification svg symlink systemd tcpd tga tiff truetype udev udisks unicode upnp upower usb vaapi vdpau vim vim-syntax vorbis vulkan wayland webengine widgets wifi win32codecs wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_aliasauthn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vesa amdgpu fbdev radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS