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

GLib-GIO-CRITICAL message spam when running mpv from terminal #105

Open
acarasimon96 opened this issue Apr 12, 2024 · 2 comments
Open

GLib-GIO-CRITICAL message spam when running mpv from terminal #105

acarasimon96 opened this issue Apr 12, 2024 · 2 comments

Comments

@acarasimon96
Copy link

When I run mpv from the terminal to play any video file with audio tracks, I would see these messages being outputted as soon as I hit Enter:

(process:101038): GLib-GIO-CRITICAL **: 18:20:33.467: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(process:101038): GLib-GIO-CRITICAL **: 18:20:33.467: g_dbus_connection_emit_signal: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(process:101038): GLib-GIO-CRITICAL **: 18:20:33.468: g_dbus_connection_unregister_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(process:101038): GLib-GIO-CRITICAL **: 18:20:33.468: g_dbus_connection_unregister_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

The weird thing is I had zero issues controlling mpv with playerctl or the Plasma system tray despite the above messages. This annoying behavior is very similar or identical to #11, but I decided to open this issue because the mentioned issue was closed.

Linux distro: EndeavourOS
mpv-mpris version: 1.1 (installed from extra repository, not in user directory)
mpv version: 0.37.0
GLib version: 2.80.0
D-Bus version: 1.14.10
Desktop: KDE Plasma 6.0.3

@clari7744
Copy link

Getting this as well, compiled with make install and added to ~/.config/mpv/scripts

Termux on Android 15 Beta 2 (Pixel 7a)
mpv-mpris: built just now from master
mpv: 0.37.0
GLib: 2.80.0
DBus: 1.15.6-1

@barraIhsan
Copy link

barraIhsan commented Jan 20, 2025

And sometimes it even crashes the player with an exit code of 4

2025-01-20.13-50-39.mp4

Yes I do try with a clean config with only just mpris.so file inside scripts/ directory and it resulted the same

When using mkvalidator it does show it's valid

WRN0D0: There are 5426 bytes of void data

mkvalidator 0.6.0: the file appears to be valid
        file "Violet.Evergarden.Gaiden.2019.1080..Dual.Audio.BDRip.10.bits.DD.x265-EMBER.mkv"
        created with libebml v1.4.2 + libmatroska v1.6.4 / mkvmerge v61.0.0 ('So') 64-bit

and the mediainfo shows

MediaInfo
General
Unique ID                                : 223644505515775415912222149996465077473 (0xA8405D711A2215C74703152042C7BCE1)
Complete name                            : Violet.Evergarden.Gaiden.2019.1080..Dual.Audio.BDRip.10.bits.DD.x265-EMBER.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 1.69 GiB
Duration                                 : 1 h 30 min
Overall bit rate                         : 2 667 kb/s
Frame rate                               : 23.976 FPS
Movie name                               : Violet.Evergarden.Gaiden.2019.1080..Dual.Audio.BDRip.10.bits.DD.x265-EMBER
Encoded date                             : 2021-10-18 18:39:36 UTC
Writing application                      : mkvmerge v61.0.0 ('So') 64-bit
Writing library                          : libebml v1.4.2 + libmatroska v1.6.4
Attachments                              : comic.ttf / corbelb.ttf / Dosis-Regular.ttf / Dosis-SemiBold.ttf / Gabriola.ttf / GANDHISANS-BOLD.OTF / GandhiSans-BoldItalic.otf / segoepr.ttf / ariblk.ttf / BadScript-Regular.ttf / Candara.ttf / cover.png

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main@L4@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 30 min
Bit rate                                 : 1 601 kb/s
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Bits/(Pixel*Frame)                       : 0.043
Stream size                              : 1.01 GiB (60%)
Title                                    : Presented By EMBER
Writing library                          : x265 2.5+14-2718cb5dd67f:[Windows][GCC 7.1.0][64 bit] 8bit+10bit+12bit
Encoding settings                        : cpuid=1173503 / frame-threads=2 / numa-pools=6 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x800 / interlace=0 / total-frames=130440 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / bframes=8 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / analysis-reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=abr / bitrate=1600 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=2 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=2 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=255 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / no-hdr / no-hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0
Default                                  : Yes
Forced                                   : No
Color range                              : Limited

Audio #1
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1 h 30 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 24 ms
Stream size                              : 291 MiB (17%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Dialog Normalization                     : -31 dB
compr                                    : 1.94 dB
dynrng                                   : 1.26 dB
cmixlev                                  : -3.0 dB
surmixlev                                : -3 dB
dmixmod                                  : Lo/Ro
ltrtcmixlev                              : -3.0 dB
ltrtsurmixlev                            : -3.0 dB
lorocmixlev                              : -3.0 dB
lorosurmixlev                            : -3.0 dB
dialnorm_Average                         : -31 dB
dialnorm_Minimum                         : -31 dB
dialnorm_Maximum                         : -31 dB

Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 1 h 30 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Delay relative to video                  : 24 ms
Stream size                              : 291 MiB (17%)
Language                                 : Japanese
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No
Dialog Normalization                     : -31 dB
compr                                    : 1.94 dB
dynrng                                   : 1.26 dB
cmixlev                                  : -3.0 dB
surmixlev                                : -3 dB
dmixmod                                  : Lo/Ro
ltrtcmixlev                              : -3.0 dB
ltrtsurmixlev                            : -3.0 dB
lorocmixlev                              : -3.0 dB
lorosurmixlev                            : -3.0 dB
dialnorm_Average                         : -31 dB
dialnorm_Minimum                         : -31 dB
dialnorm_Maximum                         : -31 dB

Text #1
ID                                       : 4
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 28 min
Bit rate                                 : 25.8 kb/s
Frame rate                               : 0.309 FPS
Count of elements                        : 1634
Stream size                              : 16.3 MiB (1%)
Title                                    : Dialogue@USBD
Language                                 : English
Default                                  : No
Forced                                   : No

Text #2
ID                                       : 5
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 27 min
Bit rate                                 : 164 b/s
Frame rate                               : 0.002 FPS
Count of elements                        : 8
Stream size                              : 106 KiB (0%)
Title                                    : Signs & Songs@USBD
Language                                 : English
Default                                  : No
Forced                                   : No

Text #3
ID                                       : 6
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 1 h 26 min
Bit rate                                 : 9 b/s
Frame rate                               : 0.016 FPS
Count of elements                        : 86
Compression mode                         : Lossless
Stream size                              : 6.17 KiB (0%)
Title                                    : Signs & Songs@D0ugyB0y)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #4
ID                                       : 7
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 1 h 27 min
Bit rate                                 : 71 b/s
Frame rate                               : 0.175 FPS
Count of elements                        : 919
Compression mode                         : Lossless
Stream size                              : 46.0 KiB (0%)
Title                                    : Dialogue@D0ugyB0y
Language                                 : English
Default                                  : No
Forced                                   : No

Menu
00:00:00.000                             : Chapter 01
00:05:47.347                             : Chapter 02
00:09:56.762                             : Chapter 03
00:15:15.080                             : Chapter 04
00:25:11.718                             : Chapter 05
00:34:52.548                             : Chapter 06
00:43:20.347                             : Chapter 07
00:50:49.463                             : Chapter 08
00:57:15.765                             : Chapter 09
01:04:59.645                             : Chapter 10
01:13:30.781                             : Chapter 11
01:25:46.141                             : Chapter 12
01:30:40.435                             : Chapter 13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants