Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smplayer under wayland opens mpv in a seperate window rather embedded like under x11 #369

Open
FireBurn opened this issue Feb 8, 2022 · 14 comments
Assignees
Labels
bug Something isn't working

Comments

@FireBurn
Copy link

FireBurn commented Feb 8, 2022

Describe the bug

When running under wayland smplayer opens it's window, then a second window with mpv opens and displays the video

Screenshots

Screenshot_20220208_165156

Your Enviroment

  • SMPlayer version: 21.10.0
  • OS: Gentoo Linux
  • Multimedia engine you're using with SMPlayer (preferences -> general):
    [ ] MPlayer
    [ x] MPV

Logs
Reproduce the bug in your computer and attach the smplayer log (menu View) here.

/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-3953 --msg-level=ffmpeg/demuxer=error --video-rotate=no --no-fs --vd-lavc-threads=8 --hwdec=vaapi --sub-auto=fuzzy --vo=gpu, --ao=pulse, --framedrop=vo --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=6 --monitorpixelaspect=1 --osd-level=0 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-margin-y=8 --sub-margin-x=20 --sub-codepage=ISO-8859-1 --vid=1 --sub-pos=100 --volume=110 --cache=auto --start=1079 --index=default --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/fireburn/Pictures/smplayer_screenshots --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-params/aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
 --audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4

 (+) Video --vid=1 (*) (h264 648x360 25.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
Using hardware decoding (vaapi).
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 648x360 vaapi[nv12]
INFO_VIDEO_DSIZE=648x360
MPV_VERSION=mpv 0.34.0
INFO_VIDEO_WIDTH=648
INFO_VIDEO_HEIGHT=360
INFO_VIDEO_ASPECT=1.800000
INFO_VIDEO_FPS=25.000000
INFO_VIDEO_FORMAT=h264
INFO_VIDEO_CODEC=h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
INFO_DEMUX_ROTATION=
INFO_AUDIO_FORMAT=aac
INFO_AUDIO_CODEC=aac (AAC (Advanced Audio Coding))
INFO_AUDIO_RATE=44100
INFO_AUDIO_NCH=2
INFO_LENGTH=3556.680000
INFO_DEMUXER=lavf
INFO_SEEKABLE=yes
INFO_TITLES=
INFO_CHAPTERS=0
INFO_TRACKS_COUNT=2
METADATA_TITLE=
METADATA_ARTIST=
METADATA_ALBUM=
METADATA_GENRE=
METADATA_DATE=
METADATA_TRACK=
METADATA_COPYRIGHT=
INFO_MEDIA_TITLE=Monarch Of The Glen S05E04-x6kynbc.mp4
INFO_STREAM_PATH=/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4
INFO_TRACK_0: video 1 '' '' yes
INFO_TRACK_1: audio 1 '' '' yes
Exiting... (Quit)
[16:51:28:987] global_init
[16:51:28:987] global_init: config file: '/home/fireburn/.config/smplayer/smplayer.ini'
[16:51:28:987] Preferences::load
[16:51:28:987] AssStyles::load
[16:51:28:987] Preferences::load: config_version: 5, CURRENT_CONFIG_VERSION: 5
[16:51:28:987] Translator::loadCatalog: can't load "qt_en_GB" from "/usr/share/smplayer/translations"
[16:51:28:987] Translator::loadCatalog: successfully loaded "qt_en_GB" from "/usr/share/qt5/translations"
[16:51:28:987] Translator::loadCatalog: can't load "qtbase_en_GB" from "/usr/share/smplayer/translations"
[16:51:28:987] Translator::loadCatalog: successfully loaded "qtbase_en_GB" from "/usr/share/qt5/translations"
[16:51:28:987] Translator::loadCatalog: successfully loaded "smplayer_en_GB" from "/usr/share/smplayer/translations"
[16:51:28:987] This is SMPlayer v. 21.10.0 (revision 10000) running on Linux
[16:51:28:987] Compiled with Qt v. 5.15.2, using 5.15.2
[16:51:28:987]  * application path: "/usr/bin"
[16:51:28:987]  * data path: "/usr/share/smplayer"
[16:51:28:987]  * translation path: "/usr/share/smplayer/translations"
[16:51:28:987]  * doc path: "/usr/share/doc/smplayer-21.10.0"
[16:51:28:987]  * themes path: "/usr/share/smplayer/themes"
[16:51:28:987]  * shortcuts path: "/usr/share/smplayer/shortcuts"
[16:51:28:987]  * config path: "/home/fireburn/.config/smplayer"
[16:51:28:987]  * ini path: "/home/fireburn/.config/smplayer"
[16:51:28:987]  * file for subtitles' styles: "/home/fireburn/.config/smplayer/styles.ass"
[16:51:28:987]  * current path: "/home/fireburn"
[16:51:28:987] main: hdpi_config_path: "/home/fireburn/.config/smplayer"
[16:51:28:987] SMPlayer::processArgs: arguments: 1
[16:51:28:987] SMPlayer::processArgs: 0 = smplayer
[16:51:28:987] SMPlayer::processArgs: files_to_play: count: 0
[16:51:28:987] SMPlayer::gui: changed working directory to app path
[16:51:28:987] SMPlayer::gui: current directory: /usr/bin
[16:51:28:987] ScreenHelper::setAutoHideCursor: 0
[16:51:28:988] Images::setTheme: "H2O" is an internal theme
[16:51:28:988] Images::setThemesPath: ""
[16:51:28:991] MediaSettings::reset
[16:51:28:991] Core::changeFileSettingsMethod: hash
[16:51:28:991] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:28:991] PlayerProcess::createPlayerProcess: creating MPVProcess
[16:51:28:991] MyProcess::MyProcess: bin_path: "/home/fireburn/bin"
[16:51:28:991] MyProcess::MyProcess: PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin"
[16:51:28:991] MyProcess::MyProcess: paths: ("/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/opt/bin", "/usr/lib/llvm/13/bin")
[16:51:28:991] MyProcess::MyProcess: PATH: "/home/fireburn/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin"
[16:51:28:991] MPVProcess::initializeOptionVars
[16:51:28:991] MPVProcess::MPVProcess: socket_name: "/tmp/smplayer-mpv-3953"
[16:51:28:991] MediaSettings::reset
[16:51:28:991] VideoLayer::setRepaintBackground: 1
[16:51:28:991] Preferences::monitor_aspect_double
[16:51:28:991]  warning: monitor_aspect couldn't be parsed!
[16:51:28:991]  monitor_aspect set to 0
[16:51:28:992] PowerSaving::PowerSaving: interface is valid
[16:51:29:021] Playlist::setModified: 0
[16:51:29:021] Playlist::updateWindowTitle: "Untitled playlist"
[16:51:29:036] Recents::addItem: 'http://smplayer.info/sample.m3u8'
[16:51:29:036] Playlist::setConfigPath: "/home/fireburn/.config/smplayer"
[16:51:29:036] Playlist::setConfigPath: ini file: "/home/fireburn/.config/smplayer/playlist.ini"
[16:51:29:036] Playlist::loadSettings
[16:51:29:036] Helper::qtVersion: 6502
[16:51:29:036] Playlist::updateWindowTitle: "Untitled playlist"
[16:51:29:036] Playlist::setModified: 0
[16:51:29:036] Playlist::updateWindowTitle: "Untitled playlist"
[16:51:29:038] BaseGui::BaseGui: default_style: ""
[16:51:29:038] Favorites::load
[16:51:29:038] Favorites::load
[16:51:29:039] TVList::parse_channels_conf
[16:51:29:039] VList::parse_channels_conf: /home/fireburn/.mplayer/channels.conf.ter doesn't exist
[16:51:29:039] TVList::parse_channels_conf: can't open /home/fireburn/.mplayer/channels.conf
[16:51:29:039] Favorites::load
[16:51:29:039] TVList::parse_channels_conf
[16:51:29:039] VList::parse_channels_conf: /home/fireburn/.mplayer/channels.conf.ter doesn't exist
[16:51:29:039] TVList::parse_channels_conf: can't open /home/fireburn/.mplayer/channels.conf
[16:51:29:040] BaseGui::initializeMenus
[16:51:29:040] BaseGui::updateBookmarks
[16:51:29:046] BaseGui::initializeMenus
[16:51:29:046] BaseGui::updateBookmarks
[16:51:29:046] BaseGui::updateRecents
[16:51:29:046] BaseGui::updateWidgets
[16:51:29:046] Core::changeUseCustomSubStyle: 1
[16:51:29:046] Core::changeSubVisilibity: 1
[16:51:29:046] Core::displayMessage
[16:51:29:046] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:046] BaseGui::setupNetworkProxy
[16:51:29:046] BaseGui::setupNetworkProxy: no proxy
[16:51:29:046] BaseGui::setStayOnTop: 0
[16:51:29:046] BaseGui::setStayOnTop: nothing to do
[16:51:29:046] BaseGui::updateWidgets
[16:51:29:046] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:046] BaseGui::updateRecents
[16:51:29:048] BaseGuiPlus::updateSendToScreen
[16:51:29:048] BaseGuiPlus::updateSendAudioMenu
[16:51:29:048] DeviceInfo::paDevices
[16:51:29:050] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:050] GlobalShortcuts::GlobalShortcuts
[16:51:29:050] GlobalShortcuts::setEnabled: false
[16:51:29:050] Chromecast::loadSettings
[16:51:29:051] BaseGui::initializeMenus
[16:51:29:051] BaseGui::updateBookmarks
[16:51:29:051] BaseGui::updateRecents
[16:51:29:051] BaseGuiPlus::updateWidgets
[16:51:29:051] BaseGui::updateWidgets
[16:51:29:051] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:052] BaseGuiPlus::loadConfig
[16:51:29:052] DefaultGui::createStatusBar
[16:51:29:052] StateWidget::StateWidget: supported formats for QMovie: ("ani", "gif", "mng", "webp")
[16:51:29:053] DefaultGui::createActions
[16:51:29:053] DefaultGui::createControlWidget
[16:51:29:053] DefaultGui::createControlWidgetMini
[16:51:29:053] AutohideWidget::installFilter: child name: ""
[16:51:29:053] AutohideWidget::installFilter: child name: "mplayerwindowlogo"
[16:51:29:053] AutohideWidget::installFilter: child name: ""
[16:51:29:053] DefaultGui::adjustFloatingControlSize
[16:51:29:053] DefaultGui::populateMainMenu
[16:51:29:053] BaseGuiPlus::populateMainMenu
[16:51:29:053] BaseGui::populateMainMenu
[16:51:29:053] BaseGuiPlus::initializeSystrayMenu
[16:51:29:054] BaseGui::initializeMenus
[16:51:29:054] BaseGui::updateBookmarks
[16:51:29:054] BaseGui::updateRecents
[16:51:29:054] DefaultGui::updateWidgets
[16:51:29:054] BaseGuiPlus::updateWidgets
[16:51:29:054] BaseGui::updateWidgets
[16:51:29:054] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:054] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:054] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:055] DefaultGui::loadConfig
[16:51:29:055] DesktopInfo::isInsideScreen: center point of window: QPoint(1280,678)
[16:51:29:055] DesktopInfo::isInsideScreen: virtual geometry: QRect(0,0 2560x1440)
[16:51:29:055] ToolbarEditor::load: 'toolbar1'
[16:51:29:055] ToolbarEditor::load: loading action open_file
[16:51:29:055] ToolbarEditor::load: loading action open_url
[16:51:29:055] ToolbarEditor::load: loading action favorites_menu
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action screenshot
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action show_file_properties
[16:51:29:055] ToolbarEditor::load: loading action show_playlist
[16:51:29:055] ToolbarEditor::load: loading action show_tube_browser
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action show_preferences
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action play_prev
[16:51:29:055] ToolbarEditor::load: loading action play_next
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action audiotrack_menu
[16:51:29:055] ToolbarEditor::load: loading action subtitlestrack_menu
[16:51:29:055] ToolbarEditor::load: 'controlwidget'
[16:51:29:055] ToolbarEditor::load: loading action play_or_pause
[16:51:29:055] ToolbarEditor::load: loading action stop
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action rewindbutton_action
[16:51:29:055] ToolbarEditor::load: loading action timeslider_action
[16:51:29:055] TimeSlider::setDragDelay: 100
[16:51:29:055] ToolbarEditor::load: loading action forwardbutton_action
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action fullscreen
[16:51:29:055] ToolbarEditor::load: loading action mute
[16:51:29:055] ToolbarEditor::load: loading action volumeslider_action
[16:51:29:055] ToolbarEditor::load: 'controlwidget_mini'
[16:51:29:055] ToolbarEditor::load: loading action play_or_pause
[16:51:29:055] ToolbarEditor::load: loading action stop
[16:51:29:055] ToolbarEditor::load: loading action separator
[16:51:29:055] ToolbarEditor::load: adding separator
[16:51:29:055] ToolbarEditor::load: loading action rewind1
[16:51:29:055] ToolbarEditor::load: loading action timeslider_action
[16:51:29:056] TimeSlider::setDragDelay: 100
[16:51:29:056] ToolbarEditor::load: loading action forward1
[16:51:29:056] ToolbarEditor::load: loading action separator
[16:51:29:056] ToolbarEditor::load: adding separator
[16:51:29:056] ToolbarEditor::load: loading action mute
[16:51:29:056] ToolbarEditor::load: loading action volumeslider_action
[16:51:29:056] ToolbarEditor::load: 'floating_control'
[16:51:29:056] ToolbarEditor::load: loading action play_or_pause
[16:51:29:056] ToolbarEditor::load: loading action stop
[16:51:29:056] ToolbarEditor::load: loading action separator
[16:51:29:056] ToolbarEditor::load: adding separator
[16:51:29:056] ToolbarEditor::load: loading action rewind1
[16:51:29:056] ToolbarEditor::load: loading action current_timelabel_action
[16:51:29:056] ToolbarEditor::load: loading action timeslider_action
[16:51:29:056] TimeSlider::setDragDelay: 100
[16:51:29:056] ToolbarEditor::load: loading action total_timelabel_action
[16:51:29:056] ToolbarEditor::load: loading action forward1
[16:51:29:056] ToolbarEditor::load: loading action separator
[16:51:29:056] ToolbarEditor::load: adding separator
[16:51:29:056] ToolbarEditor::load: loading action fullscreen
[16:51:29:056] ToolbarEditor::load: loading action mute
[16:51:29:056] ToolbarEditor::load: loading action volumeslider_action
[16:51:29:056] Helper::qtVersion: 6502
[16:51:29:057] DefaultGui::updateWidgets
[16:51:29:057] BaseGuiPlus::updateWidgets
[16:51:29:057] BaseGui::updateWidgets
[16:51:29:057] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:057] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:057] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:057] BaseGui::applyStyles
[16:51:29:057] BaseGui::applyStyles: stylesheet: "H2O"
[16:51:29:057] BaseGui::changeStyleSheet: "H2O"
[16:51:29:057] BaseGui::loadQss: :/default-theme/style.qss
[16:51:29:057] Images::setTheme: "H2O" is an internal theme
[16:51:29:057] Images::setThemesPath: ""
[16:51:29:057] BaseGui::changeStyleSheet: ":/H2O/style.qss"
[16:51:29:057] BaseGui::loadQss: :/H2O/style.qss
[16:51:29:057] Images::setTheme: "H2O" is an internal theme
[16:51:29:057] Images::setThemesPath: ""
[16:51:29:066] BaseGui::applyStyles: style: "Breeze"
[16:51:29:073] BaseGui::showEvent
[16:51:29:075] BaseGui::loadActions
[16:51:29:075] ActionsEditor::loadFromConfig
[16:51:29:078] BaseGui::initializeMenus
[16:51:29:078] BaseGui::updateBookmarks
[16:51:29:078] BaseGui::updateRecents
[16:51:29:078] DefaultGui::updateWidgets
[16:51:29:078] BaseGuiPlus::updateWidgets
[16:51:29:078] BaseGui::updateWidgets
[16:51:29:078] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:078] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:078] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:29:251] BaseGuiPlus::updateShortcutsContext
[16:51:37:493] WARNING: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x7f019d663b40) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x7f019d42e4f0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents
[16:51:40:958] BaseGui::openRecent: 0
[16:51:40:958] Playlist::setModified: 0
[16:51:40:958] Playlist::updateWindowTitle: "Untitled playlist"
[16:51:40:958] Playlist::addFiles
[16:51:40:958] Playlist::addFiles: latest_dir: "/home/fireburn"
[16:51:40:958] BaseGui::open: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:40:958] Core::open: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:40:958] Core::open: * identified as local file
[16:51:40:958] Core::openFile: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:40:958] Core::playNewFile: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:40:958] Core::saveMediaInfo
[16:51:40:958] MediaSettings::reset
[16:51:40:958] FileSettingsHash::existSettingsFor: "/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4"
[16:51:40:959] FileSettingsHash::existSettingsFor: config_file: "/home/fireburn/.config/smplayer/file_settings/a/a366a9b38322d9a5.ini"
[16:51:40:959] Core::playNewFile: we have settings for this file
[16:51:40:959] Core::restoreSettingsForMedia: "/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4" type: 0
[16:51:40:959] FileSettings::loadSettingsFor: "/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4" type: 0
[16:51:40:960] FileSettingsHash::loadSettingsFor: config_file: "/home/fireburn/.config/smplayer/file_settings/a/a366a9b38322d9a5.ini"
[16:51:40:960] MediaSettings::reset
[16:51:40:960] MediaSettings::load
[16:51:40:960] MediaSettings::load: demuxer_section: demuxer_lavf
[16:51:40:960] MediaSettings::load: list of video tracks:
[16:51:40:960] Tracks::list: item 1: ID: 1 lang: '' name: ''
[16:51:40:960] MediaSettings::load: list of audio tracks:
[16:51:40:960] Tracks::list: item 1: ID: 1 lang: '' name: ''
[16:51:40:960] MediaSettings::load: list of subtitle tracks:
[16:51:40:960] Core::restoreSettingsForMedia: media settings read
[16:51:40:960] BaseGui::resizeWindow: 648, 360
[16:51:40:960] BaseGui::resizeWindow: size to scale: 648, 360
[16:51:40:960] BaseGui::resizeWindow: new_width: 648 new_height: 508
[16:51:40:961] BaseGui::resizeWindow: done: window size: 648, 508
[16:51:40:961] BaseGui::resizeWindow: done: panel->size: 648, 360
[16:51:40:961] BaseGui::resizeWindow: done: mplayerwindow->size: 648, 360
[16:51:40:961] BaseGui::centerWindow
[16:51:40:961] Core::changeAspectRatio: 1
[16:51:40:961] Core::displayMessage
[16:51:40:961] Core::playNewFile: volume: 40, old_volume: 40
[16:51:40:961] Core::initPlaying
[16:51:40:961] MplayerWindow::setLogoVisible: false
[16:51:40:961] Core::startMplayer: file: "/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4" seek: 1079
[16:51:40:961] RetrieveYoutubeUrl::close
[16:51:40:961] Core::startMplayer: checking if stream is a playlist
[16:51:40:961] Core::startMplayer: url path: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:40:961] Core::startMplayer: url_is_playlist: 0
[16:51:40:961] InfoReader::setPlayerBin: mplayerbin: "/usr/bin/mpv"
[16:51:40:963] InfoReader::getInfo: sname: "mpv_1c6eb3aa4a3e3821"
[16:51:40:967] InfoReader::getInfo: loaded info from "/home/fireburn/.config/smplayer/player_info.ini"
[16:51:40:968] Core::startMplayer: hardware decoding is enabled. The video filters will be ignored
[16:51:40:969] Core::startMplayer: edl file: ''
[16:51:40:969] Core::startMplayer: extra_params: ()
[16:51:40:969] ScreenHelper::playingStarted
[16:51:40:969] ScreenHelper::setAutoHideCursor: 1
[16:51:40:969] VideoLayer::playingStarted
[16:51:40:969] Core::disableScreensaver
[16:51:40:969] PowerSaving::inhibit
[16:51:40:971] PowerSaving::inhibit: valid reply
[16:51:40:971] PowerSaving::inhibit: cookie: 14729
[16:51:40:971] Core::startMplayer: command: '/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-3953 --msg-level=ffmpeg/demuxer=error --video-rotate=no --no-fs --vd-lavc-threads=8 --hwdec=vaapi --sub-auto=fuzzy --vo=gpu, --ao=pulse, --framedrop=vo --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=6 --monitorpixelaspect=1 --osd-level=0 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-margin-y=8 --sub-margin-x=20 --sub-codepage=ISO-8859-1 --vid=1 --sub-pos=100 --volume=110 --cache=auto --start=1079 --index=default --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/fireburn/Pictures/smplayer_screenshots --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-params/aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
 --audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:40:971] MyProcess::start: environment path: "/home/fireburn/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/13/bin"
[16:51:40:971] MyProcess::start: current directory: "/usr/bin"
[16:51:41:041] MPVProcess::parseLine: " (+) Video --vid=1 (*) (h264 648x360 25.000fps)"
[16:51:41:042] MPVProcess::parseLine: " (+) Audio --aid=1 (*) (aac 2ch 44100Hz)"
[16:51:41:042] MPVProcess::parseLine: audio id: 1 lang: "" name: ""
[16:51:41:042] MPVProcess::updateAudioTrack: ID: 1
[16:51:41:096] MPVProcess::parseLine: "Using hardware decoding (vaapi)."
[16:51:41:164] MPVProcess::parseLine: "AO: [pulse] 44100Hz stereo 2ch float"
[16:51:41:164] Core::gotAO: "pulse"
[16:51:41:174] MPVProcess::parseLine: "VO: [gpu] 648x360 vaapi[nv12]"
[16:51:41:174] VideoLayer::gotVO: "gpu] 648x360 vaapi[nv12"
[16:51:41:174] Core::gotVO: "gpu] 648x360 vaapi[nv12"
[16:51:41:174] MPVProcess::sendCommand: "print_text INFO_VIDEO_DSIZE=${=dwidth}x${=dheight}"
[16:51:41:174] MPVProcess::sendCommand: state: QLocalSocket::UnconnectedState
[16:51:41:174] MPVProcess::sendCommand: error: "Unknown error"
[16:51:41:175] MPVProcess::sendCommand: state: QLocalSocket::ConnectedState
[16:51:41:191] MPVProcess::parseLine: "INFO_VIDEO_DSIZE=648x360"
[16:51:41:191] Core::gotWindowResolution: 648, 360
[16:51:41:191] BaseGui::resizeWindow: 648, 360
[16:51:41:191] BaseGui::resizeWindow: size to scale: 648, 360
[16:51:41:191] BaseGui::resizeWindow: the panel size is already the required size. Doing nothing.
[16:51:41:191] BaseGui::centerWindow
[16:51:41:198] MPVProcess::parseLine: "MPV_VERSION=mpv 0.34.0"
[16:51:41:198] MPVProcess::parseLine: mpv version: "0.34.0"
[16:51:41:199] MplayerVersion::mplayerVersion: mpv version found: "0.34.0"
[16:51:41:199] MplayerVersion::mplayerVersion: mplayer_svn: 33472
[16:51:41:199] MPVProcess::parseLine: "INFO_VIDEO_WIDTH=648"
[16:51:41:199] MPVProcess::parseLine: md.video_width set to 648
[16:51:41:199] MPVProcess::parseLine: "INFO_VIDEO_HEIGHT=360"
[16:51:41:199] MPVProcess::parseLine: md.video_height set to 360
[16:51:41:199] MPVProcess::parseLine: "INFO_VIDEO_ASPECT=1.800000"
[16:51:41:199] MPVProcess::parseLine: md.video_aspect set to 1.8
[16:51:41:199] MPVProcess::parseLine: "INFO_VIDEO_FPS=25.000000"
[16:51:41:199] MPVProcess::parseLine: "INFO_VIDEO_FORMAT=h264"
[16:51:41:199] MPVProcess::parseLine: "INFO_VIDEO_CODEC=h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)"
[16:51:41:199] MPVProcess::parseLine: md.video_codec: "h264"
[16:51:41:199] MPVProcess::parseLine: "INFO_DEMUX_ROTATION="
[16:51:41:199] Core::gotDemuxRotation: 0
[16:51:41:199] MPVProcess::parseLine: "INFO_AUDIO_FORMAT=aac"
[16:51:41:199] MPVProcess::parseLine: "INFO_AUDIO_CODEC=aac (AAC (Advanced Audio Coding))"
[16:51:41:199] MPVProcess::parseLine: md.audio_codec: "aac"
[16:51:41:199] MPVProcess::parseLine: "INFO_AUDIO_RATE=44100"
[16:51:41:199] MPVProcess::parseLine: "INFO_AUDIO_NCH=2"
[16:51:41:199] MPVProcess::parseLine: "INFO_LENGTH=3556.680000"
[16:51:41:199] MPVProcess::parseLine: md.duration set to 3556.68
[16:51:41:199] MPVProcess::parseLine: "INFO_DEMUXER=lavf"
[16:51:41:199] MPVProcess::parseLine: "INFO_SEEKABLE=yes"
[16:51:41:199] MPVProcess::parseLine: "INFO_TITLES="
[16:51:41:199] MPVProcess::parseLine: "INFO_CHAPTERS=0"
[16:51:41:199] MPVProcess::parseLine: "INFO_TRACKS_COUNT=2"
[16:51:41:199] MPVProcess::sendCommand: "print_text \"INFO_TRACK_0: ${track-list/0/type} ${track-list/0/id} '${track-list/0/lang:}' '${track-list/0/title:}' ${track-list/0/selected}\""
[16:51:41:199] MPVProcess::sendCommand: "print_text \"INFO_TRACK_1: ${track-list/1/type} ${track-list/1/id} '${track-list/1/lang:}' '${track-list/1/title:}' ${track-list/1/selected}\""
[16:51:41:199] MPVProcess::parseLine: "METADATA_TITLE="
[16:51:41:199] MPVProcess::parseLine: "METADATA_ARTIST="
[16:51:41:199] MPVProcess::parseLine: "METADATA_ALBUM="
[16:51:41:199] MPVProcess::parseLine: "METADATA_GENRE="
[16:51:41:199] MPVProcess::parseLine: "METADATA_DATE="
[16:51:41:199] MPVProcess::parseLine: "METADATA_TRACK="
[16:51:41:199] MPVProcess::parseLine: "METADATA_COPYRIGHT="
[16:51:41:199] MPVProcess::parseLine: "INFO_MEDIA_TITLE=Monarch Of The Glen S05E04-x6kynbc.mp4"
[16:51:41:199] MPVProcess::parseLine: "INFO_STREAM_PATH=/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4"
[16:51:41:199] MPVProcess::parseLine: starting sec: 1079
[16:51:41:199] Core::gotStartingTime: 1079.000000
[16:51:41:199] Core::gotStartingTime: current_sec: 1079.080000
[16:51:41:200] BaseGui::displayState: "Playing"
[16:51:41:200] DefaultGui::togglePlayAction
[16:51:41:200] BaseGui::togglePlayAction
[16:51:41:200] StateWidget::watchState: 1
[16:51:41:200] Core::changeCurrentSec: mplayer reports that now it's playing
[16:51:41:200] Core::finishRestart: --- start ---
[16:51:41:200] Core::newMediaPlaying: --- start ---
[16:51:41:200] Core::initializeMenus
[16:51:41:200] BaseGui::initializeMenus
[16:51:41:200] BaseGui::updateBookmarks
[16:51:41:200] MediaData::list
[16:51:41:200]   filename: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:41:200]   duration: 3556.680000
[16:51:41:200]   video_width: 648
[16:51:41:200]   video_height: 360
[16:51:41:200]   video_aspect: 1.800000
[16:51:41:200]   type: 0
[16:51:41:200]   novideo: 0
[16:51:41:200]   dvd_id: ''
[16:51:41:200]   initialized: 1
[16:51:41:200]   chapters: 0
[16:51:41:200]   Titles:
[16:51:41:200]   demuxer: 'lavf'
[16:51:41:200]   video_format: 'h264'
[16:51:41:200]   audio_format: 'aac'
[16:51:41:200]   video_bitrate: 0
[16:51:41:200]   video_fps: '25.000000'
[16:51:41:200]   audio_bitrate: 126208
[16:51:41:200]   audio_rate: 44100
[16:51:41:200]   audio_nch: 2
[16:51:41:200]   video_codec: 'h264'
[16:51:41:200]   audio_codec: 'aac'
[16:51:41:200] MediaSettings::list
[16:51:41:200]   current_sec: 1079.000000
[16:51:41:200]   current_subtitle_track: -1000
[16:51:41:200]   current_secondary_subtitle_track: -1000
[16:51:41:200]   current_video_id: 1
[16:51:41:200]   current_audio_id: 1
[16:51:41:200]   current_title_id: -1000
[16:51:41:200]   current_angle_id: -1000
[16:51:41:200]   aspect_ratio_id: 1
[16:51:41:200]   volume: 40
[16:51:41:200]   mute: 0
[16:51:41:200]   external_subtitles: ''
[16:51:41:200]   external_subtitles_fps: '0'
[16:51:41:200]   external_audio: ''
[16:51:41:200]   sub_delay: 0
[16:51:41:200]   audio_delay: 0
[16:51:41:200]   sub_pos: 100
[16:51:41:200]   sub_scale: 5.000000
[16:51:41:200]   sub_scale_ass: 1.000000
[16:51:41:200]   closed_caption_channel: 0
[16:51:41:200]   brightness: 0
[16:51:41:200]   contrast: 0
[16:51:41:200]   gamma: 0
[16:51:41:200]   hue: 0
[16:51:41:200]   saturation: 0
[16:51:41:200]   speed: 1.000000
[16:51:41:200]   phase_filter: 0
[16:51:41:200]   deblock_filter: 0
[16:51:41:200]   dering_filter: 0
[16:51:41:200]   gradfun_filter: 0
[16:51:41:200]   noise_filter: 0
[16:51:41:200]   postprocessing_filter: 0
[16:51:41:200]   upscaling_filter: 0
[16:51:41:200]   current_denoiser: 0
[16:51:41:200]   current_unsharp: 0
[16:51:41:200]   stereo3d_in: none
[16:51:41:200]   stereo3d_out: 
[16:51:41:200]   current_deinterlacer: 4
[16:51:41:200]   add_letterbox: 0
[16:51:41:200]   karaoke_filter: 0
[16:51:41:200]   extrastereo_filter: 0
[16:51:41:200]   volnorm_filter: 0
[16:51:41:200]   earwax_filter: 0
[16:51:41:200]   audio_use_channels: 0
[16:51:41:200]   stereo_mode: 0
[16:51:41:200]   zoom_factor: 1.000000
[16:51:41:200]   rotate: -1
[16:51:41:200]   flip: 0
[16:51:41:200]   mirror: 0
[16:51:41:200]   loop: 0
[16:51:41:200]   A_marker: -1
[16:51:41:200]   B_marker: -1
[16:51:41:200]   current_demuxer: 'lavf'
[16:51:41:200]   forced_demuxer: ''
[16:51:41:200]   forced_video_codec: ''
[16:51:41:200]   forced_audio_codec: ''
[16:51:41:200]   original_demuxer: ''
[16:51:41:200]   original_video_codec: ''
[16:51:41:200]   original_audio_codec: ''
[16:51:41:200]   mplayer_additional_options: ''
[16:51:41:200]   mplayer_additional_video_filters: ''
[16:51:41:200]   mplayer_additional_audio_filters: ''
[16:51:41:200]   win_width: 648
[16:51:41:200]   win_height: 360
[16:51:41:200]   win_aspect(): 1.800000
[16:51:41:200]   is264andHD: 0
[16:51:41:200]   Videos:
[16:51:41:200] Tracks::list: item 1: ID: 1 lang: '' name: ''
[16:51:41:200]   Audios:
[16:51:41:200] Tracks::list: item 1: ID: 1 lang: '' name: ''
[16:51:41:200]   Subtitles:
[16:51:41:200] Core::newMediaPlaying: --- end ---
[16:51:41:200] Core::changeAspectRatio: 1
[16:51:41:200] Core::displayMessage
[16:51:41:200] AudioEqualizer::setValues
[16:51:41:200] Core::changeZoom: 1.000000
[16:51:41:200] Core::displayMessage
[16:51:41:200] Core::changeSubVisilibity: 1
[16:51:41:201] MPVProcess::sendCommand: "no-osd set sub-visibility yes"
[16:51:41:201] Core::displayMessage
[16:51:41:201] DefaultGui::enableActionsOnPlaying
[16:51:41:201] BaseGui::enableActionsOnPlaying
[16:51:41:201] BaseGui::autosaveMplayerLog
[16:51:41:201] Core::sendMediaInfo
[16:51:41:201] Favorites::getCurrentMedia: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4', 'Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:41:201] Favorites::getCurrentMedia: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4', 'Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:41:201] Favorites::getCurrentMedia: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4', 'Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:41:201] BaseGuiPlus::updateMediaInfo
[16:51:41:201] BaseGui::updateMediaInfo
[16:51:41:201] TimeSliderAction::setDuration: 3556.68
[16:51:41:201] Playlist::getMediaInfo
[16:51:41:201] Core::updateWidgets
[16:51:41:201] DefaultGui::updateWidgets
[16:51:41:201] BaseGuiPlus::updateWidgets
[16:51:41:201] BaseGui::updateWidgets
[16:51:41:201] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:201] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:201] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:201] Core::finishRestart: --- end ---
[16:51:41:201] BaseGui::checkStayOnTop
[16:51:41:204] MPVProcess::parseLine: "INFO_TRACK_0: video 1 '' '' yes"
[16:51:41:204] MPVProcess::parseLine: ID: 1 type: "video" name: "" lang: "" selected: "yes"
[16:51:41:204] MPVProcess::updateVideoTrack: ID: 1
[16:51:41:204] MPVProcess::parseLine: "INFO_TRACK_1: audio 1 '' '' yes"
[16:51:41:204] MPVProcess::parseLine: ID: 1 type: "audio" name: "" lang: "" selected: "yes"
[16:51:41:204] MPVProcess::updateAudioTrack: ID: 1
[16:51:41:204] BaseGui::enterFullscreenOnPlay: arg_start_in_fullscreen: -1, pref->start_in_fullscreen: 0
[16:51:41:204] BaseGui::newMediaLoaded
[16:51:41:204] BaseGui::newMediaLoaded: mdat.stream_title: 
[16:51:41:204] Recents::addItem: '/home/fireburn/Monarch Of The Glen S05E04-x6kynbc.mp4'
[16:51:41:204] BaseGui::updateRecents
[16:51:41:204] BaseGui::checkPendingActionsToRun
[16:51:41:204] BaseGui::checkMplayerVersion
[16:51:41:204] MplayerVersion::isMplayerAtLeast: comparing 25158 with 33472
[16:51:41:204] Core::checkIfVideoIsHD
[16:51:41:243] MPVProcess::parseLine: audio_info_changed
[16:51:41:243] MPVProcess::parseLine: video_info_changed
[16:51:41:243] Core::initAudioTrack: num_items: 1 selected_id: 1
[16:51:41:243] Core::initAudioTrack: list of audios:
[16:51:41:244] Tracks::list: item 1: ID: 1 lang: '' name: ''
[16:51:41:244] Core::initializeMenus
[16:51:41:244] BaseGui::initializeMenus
[16:51:41:244] BaseGui::updateBookmarks
[16:51:41:244] Core::updateWidgets
[16:51:41:244] DefaultGui::updateWidgets
[16:51:41:244] BaseGuiPlus::updateWidgets
[16:51:41:244] BaseGui::updateWidgets
[16:51:41:244] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:244] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:244] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:244] Core::initAudioTrack: preferred audio track: 0 previous_selected_id: 1
[16:51:41:244] DefaultGui::enableActionsOnPlaying
[16:51:41:244] BaseGui::enableActionsOnPlaying
[16:51:41:244] Core::initAudioTrack: current_audio_id: 1
[16:51:41:244] Core::initVideoTrack: selected_id: 1
[16:51:41:244] Core::initializeMenus
[16:51:41:244] BaseGui::initializeMenus
[16:51:41:244] BaseGui::updateBookmarks
[16:51:41:244] Core::updateWidgets
[16:51:41:244] DefaultGui::updateWidgets
[16:51:41:244] BaseGuiPlus::updateWidgets
[16:51:41:244] BaseGui::updateWidgets
[16:51:41:244] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:244] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:51:41:244] PlayerID::Player: player_bin: "/usr/bin/mpv" filename: "mpv"
[16:52:49:090] MPVProcess::parseLine: "Exiting... (Quit)"
[16:52:49:108] MyProcess::procFinished
[16:52:49:108] MyProcess::procFinished: Bytes available:  0
[16:52:49:108] MPVProcess::processFinished: exitCode: 0, status: 0
[16:52:49:108] ScreenHelper::playingStopped
[16:52:49:108] ScreenHelper::setAutoHideCursor: 0
[16:52:49:108] VideoLayer::playingStopped
[16:52:49:108] Core::enableScreensaver
[16:52:49:108] PowerSaving::uninhibit
[16:52:49:108] PowerSaving::uninhibit: cookie: 14729
[16:52:49:108] PowerSaving::uninhibit: valid reply
[16:52:49:108] Core::processFinished
[16:52:49:108] Core::processFinished: we_are_restarting: 0
[16:52:49:108] Core::processFinished: play has finished!
[16:52:49:108] BaseGui::displayState: "Stopped"
[16:52:49:108] DefaultGui::togglePlayAction
[16:52:49:108] BaseGui::togglePlayAction
[16:52:49:109] StateWidget::watchState: 0
[16:52:49:109] Core::processFinished: exit_code: 0
[16:52:49:109] BaseGui::checkStayOnTop
[16:54:17:028] BaseGui::showMplayerLog
[16:55:11:617] BaseGui::showLog

@FireBurn FireBurn added the bug Something isn't working label Feb 8, 2022
@smplayer-dev
Copy link
Owner

@FireBurn
Copy link
Author

FireBurn commented Feb 9, 2022

I believe that just forces xwayland and doesn't allow vaapi to work in any configuration combination

@ahmadraniri1994
Copy link

Hi @FireBurn , do you still get double window on wayland ?

@FireBurn
Copy link
Author

I'll check, I still use X11 because of this

@FireBurn
Copy link
Author

It's different now, the mpv window is always full screen, with the KDE menu bar showing

Screenshot:

Screenshot_20220624_024453

@FireBurn
Copy link
Author

This is on Plasma 5.25.1 & Frameworks 5.95.0 on Qt 5.15.5

@smplayer-dev
Copy link
Owner

Install smplayer using a snap or flatpak package. Select "shared memory" as video output in preferences -> general -> video.
https://www.smplayer.info/install-snap-flatpak-appimage.php

@FireBurn
Copy link
Author

I don't have snaps or flatpaks installed, and it would be at best a clumsy workaround

Are there any plans for full wayland integration?

@smplayer-dev
Copy link
Owner

This is the best integration I could make.
You can also try the appimage package. Just be sure the multimedia engine is set to "mpv" (and not /usr/bin/mpv or similar).

eMPee584 added a commit to fsfw-dresden/usb-live-linux that referenced this issue Nov 23, 2022
because by default, this problem occurs
smplayer-dev/smplayer#369
although we're still using X11 🧐
@Thaodan
Copy link

Thaodan commented Apr 18, 2023

Install smplayer using a snap or flatpak package. Select "shared memory" as video output in preferences -> general -> video. https://www.smplayer.info/install-snap-flatpak-appimage.php

Why do you suggest the flatpak people when someone reports a bug? If the other packaging methods also use wayland that's of course a good way to ensure the local build isn't the issue but it doesn't fix the bug.

@johol
Copy link

johol commented Apr 24, 2023

You have to patch smplayer and mpv to get this working. Both patches are in the attached file.
smplayer-embedded-window.tar.gz

@FireBurn
Copy link
Author

FireBurn commented Apr 24, 2023

Thanks for that, I also had to change the meson.build too

diff --git a/meson.build b/meson.build
index acaa39f..de2fab0 100644
--- a/meson.build
+++ b/meson.build
@@ -401,7 +401,8 @@ if features['cocoa']
                      'video/out/cocoa_common.m',
                      'video/out/cocoa/events_view.m',
                      'video/out/cocoa/video_view.m',
-                     'video/out/cocoa/window.m')
+                     'video/out/cocoa/window.m',
+                     'video/out/vo_sharedbuffer.c')
 endif
 
 if posix
@@ -410,7 +411,8 @@ if posix
                      'osdep/polldev.c',
                      'osdep/subprocess-posix.c',
                      'osdep/terminal-unix.c',
-                     'sub/filter_regex.c')
+                     'sub/filter_regex.c',
+                     'video/out/vo_shm.c')
 endif
 
 if posix and not features['cocoa']

It's a shame we're having to use this rather than the dmabuff stuff though

It also isn't using vaapi, but least it's opening in the same window now without forcing xwayland

@userse31
Copy link

userse31 commented Jan 16, 2024

I was tinkering with my Dimension 2400, so when I booted up with a pci gpu plugged in (the integrated graphics in the i845 are absolutely TERRIBLE in every conceivable manner) it threw me for a loop.

Setting General->Video->Output Driver to "X11" solved the problem.

@FireBurn
Copy link
Author

This actually properly works for me if I set gpu-next with the latest MPV, everything running natively Wayland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants