You are not logged in.
When I start vlc with double-clicking on video in dolphin or select vlc in the start menu:
$ LOCALE=C journalctl -xe
авг 17 13:19:34 boris-hp systemd[735]: Started Медиаплеер VLC - Медиаплеер.
░░ Subject: Запуск юнита UNIT завершен
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ Процесс запуска юнита UNIT был завершен.
░░
░░ Результат: done.
авг 17 13:19:34 boris-hp kded6[947]: Registering ":1.87/StatusNotifierItem" to system tray
авг 17 13:19:34 boris-hp vlc[3155]: [000055ff4dc4f590] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
авг 17 13:19:34 boris-hp vlc[3155]: [000055ff4dd53040] qt interface error: cannot start Qt multiple times
авг 17 13:19:34 boris-hp vlc[3155]: [000055ff4dce6070] main playlist: playlist is empty
авг 17 13:19:34 boris-hp vlc[3155]: [000055ff4dd53040] [cli] lua interface: Listening on host "*console".
авг 17 13:19:34 boris-hp vlc[3155]: VLC media player 3.0.21 Vetinari
авг 17 13:19:34 boris-hp vlc[3155]: Command Line Interface initialized. Type `help' for help.
авг 17 13:19:34 boris-hp vlc[3155]: > Shutting down.
авг 17 13:19:34 boris-hp vlc[3155]: [000055ff4dd53040] [cli] lua interface: Requested shutdown.
авг 17 13:19:34 boris-hp kwin_wayland[782]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
авг 17 13:19:34 boris-hp kded6[947]: Service ":1.87" unregisteredWhen I start vlc from console everything works (but there is an qt error):
$ vlc
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000558aa9514590] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
[0000558aa96182e0] qt interface error: cannot start Qt multiple times
[0000558aa95aafa0] main playlist: playlist is empty
[0000558aa96182e0] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.21 Vetinari
Command Line Interface initialized. Type `help' for help.
> How can I fix it?
Last edited by borgch (2025-08-27 00:18:02)
Offline
авг 17 13:19:34 boris-hp vlc[3155]: > Shutting down. doesn't look like a "crash"
The difference is probably some bogus environment you fix only in your bashrc, compare
printenv | sort
tr '\0' '\n' < /proc/$(pidof kwin_wayland)/environ | sortOffline
Yes, it differs - can you explain, please, what to fix?
$ printenv | sort
COLORFGBG=15;0
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
DESKTOP_SESSION=plasma
DISPLAY=:1
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/boris/.gtkrc-2.0:/home/boris/.config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/boris/.gtkrc:/home/boris/.config/gtkrc
HOME=/home/boris
ICEAUTHORITY=/run/user/1000/iceauth_EQHyVp
INVOCATION_ID=2c0534133eb44c4197df0b066950a2fc
JOURNAL_STREAM=9:10780
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=6
KONSOLE_DBUS_SERVICE=:1.48
KONSOLE_DBUS_SESSION=/Sessions/1
KONSOLE_VERSION=250800
LANG=ru_RU.UTF-8
LANGUAGE=
LOGNAME=boris
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MAIL=/var/spool/mail/boris
MANAGERPID=735
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.yakuake@autostart.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
MOTD_SHOWN=pam
OLDPWD=/home/boris/.cache/yay
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
PATH=/home/boris/.local/bin:/home/boris/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PROFILEHOME=
PWD=/home/boris/.cache/yay/outline-client-appimage
QT_WAYLAND_RECONNECT=1
SESSION_MANAGER=local/boris-hp:@/tmp/.ICE-unix/945,unix/boris-hp:/tmp/.ICE-unix/945
SHELL_SESSION_ID=b490289891be48c1a48d120285f043e8
SHELL=/usr/bin/bash
SHLVL=1
SYSTEMD_EXEC_PID=1187
TERM=xterm-256color
USER=boris
_=/usr/bin/printenv
WAYLAND_DISPLAY=wayland-0
WINDOWID=94163903082704
XAUTHORITY=/run/user/1000/xauth_GzwbiW
XDG_CONFIG_DIRS=/home/boris/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_MENU_PREFIX=plasma-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=wayland
XDG_VTNR=1# tr '\0' '\n' < /proc/$(pidof kwin_wayland)/environ | sort
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
DESKTOP_SESSION=plasma
HOME=/home/boris
INVOCATION_ID=b7fb780ca215463e9d2bf5e84dd624c3
JOURNAL_STREAM=9:1810
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=6
LANG=ru_RU.UTF-8
LOGNAME=boris
MAIL=/var/spool/mail/boris
MANAGERPID=735
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
MOTD_SHOWN=pam
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
PATH=/home/boris/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=/home/boris
QT_WAYLAND_RECONNECT=1
SHELL=/usr/bin/bash
SYSTEMD_EXEC_PID=777
USER=boris
XDG_CONFIG_DIRS=/home/boris/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_MENU_PREFIX=plasma-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=wayland
XDG_VTNR=1Offline
The biggest difference seems xwayland, maybe better check
tr '\0' '\n' < /proc/$(pidof plasmashell)/environ | sortbut also whether
grep -i exec /usr/share/applications/vlc.desktopruns any parameters…
Offline
Thanks you for the helping)
$ tr '\0' '\n' < /proc/$(pidof plasmashell)/environ | sort
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
DESKTOP_SESSION=plasma
DISPLAY=:1
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/boris/.gtkrc-2.0:/home/boris/.config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/boris/.gtkrc:/home/boris/.config/gtkrc
HOME=/home/boris
ICEAUTHORITY=/run/user/1000/iceauth_EQHyVp
INVOCATION_ID=6665f46a77f046c2b4d757047378c7ca
JOURNAL_STREAM=9:13391
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=6
LANG=ru_RU.UTF-8
LOGNAME=boris
MAIL=/var/spool/mail/boris
MANAGERPID=735
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service/memory.pressure
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
MOTD_SHOWN=pam
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
PATH=/home/boris/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
PWD=/home/boris
QT_WAYLAND_RECONNECT=1
SESSION_MANAGER=local/boris-hp:@/tmp/.ICE-unix/945,unix/boris-hp:/tmp/.ICE-unix/945
SHELL=/usr/bin/bash
SYSTEMD_EXEC_PID=983
USER=boris
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/xauth_GzwbiW
XDG_CONFIG_DIRS=/home/boris/.config/kdedefaults:/etc/xdg
XDG_CURRENT_DESKTOP=KDE
XDG_MENU_PREFIX=plasma-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=KDE
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=wayland
XDG_VTNR=1$ grep -i exec /usr/share/applications/vlc.desktop
Exec=/usr/bin/vlc --started-from-file %U
TryExec=/usr/bin/vlcOffline
Does running
vlc --started-from-fileor
vlc --started-from-file ~/myvideos/notporn/okitsporn.mp4work?
Offline
Yes, it works:
[boris@boris-hp ~]$ vlc --started-from-file
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[000055d918ab8590] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте 'cvlc' для запуска vlc без интерфейса.
[000055d918bbbe20] qt interface error: cannot start Qt multiple times
[000055d918b4f070] main playlist: playlist is empty
[000055d918bbbe20] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.21 Vetinari
Command Line Interface initialized. Type `help' for help.
> $ LC_ALL=C vlc --started-from-file Шпильки.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[00005633e3f2f470] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005633e3fdbc30] qt interface error: cannot start Qt multiple times
[00005633e3fdbc30] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.21 Vetinari
Command Line Interface initialized. Type `help' for help.
> [00007f8fa0001f90] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007f8fa0001f90] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
Xlib: extension "DRI2" missing on display ":1".
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
libva error: /usr/lib/dri/nouveau_drv_video.so init failed
[00007f8fa0001f90] glconv_vaapi_drm gl error: vaInitialize: resource allocation failed
libva error: /usr/lib/dri/nouveau_drv_video.so init failed
[00007f8fa0001f90] glconv_vaapi_drm gl error: vaInitialize: resource allocation failed
Xlib: extension "DRI2" missing on display ":1".
libva error: vaGetDriverNames() failed with operation failed
[00007f8fa0001f90] glconv_vaapi_drm gl error: vaInitialize: operation failed
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directoryOffline
The first version is equivalent to the output in the OP except not
> Shutting down.
[000055ff4dd53040] [cli] lua interface: Requested shutdown.The only not terminal relevant additions in konsole are
LANGUAGE=
PROFILEHOME=which I doubt is causing this shutdown.
Can you
vlc >/dev/null 2>&1 </dev/nullor
vlc >/dev/null 2>&1 <&-(this sends stdout to /dev/null but more importantly reads stdin from there or just closes it)
Offline
The first one causes immediately exit
$ vlc >/dev/null 2>&1 </dev/nullThe second one opens vlc correctly
$ vlc >/dev/null 2>&1 <&-Offline
And it is very strange for me - I don't have desktop entry in menu even after reinstalling package with
$ sudo pacman -Rns vlc
$ sudo pacman -Syu vlc

$ head /usr/share/applications/vlc.desktop
[Desktop Entry]
Version=1.0
Name=VLC media player
GenericName=Media player
Comment=Read, capture, broadcast your multimedia streams
Name[af]=VLC-mediaspeler
GenericName[af]=Mediaspeler
Comment[af]=Lees, vang, send u multimediastrome
Name[am]=የ ቪኤልሲ መገናኛ ማጫወቻ
GenericName[am]=የ መገናኛ ማጫወቻ$ ls -l /usr/share/applications/vlc.desktop
-rw-r--r-- 1 root root 14904 июл 24 03:35 /usr/share/applications/vlc.desktopLast edited by borgch (2025-08-18 03:10:36)
Offline
Might require a kbuildsycoca6 run to update the database/cache, but
The first one causes immediately exit
it would seem that this is caused by the way kstart handles the input
kstart vlcfails, too?
/usr/local/share/applications/vlc.desktop
…
Exec=/usr/local/bin/vlc --started-from-file %U
…/usr/local/bin/vlc
#!/bin/sh
exec /usr/bin/vlc "$@" <&- # close stdinDon't forget to chmod +x /usr/local/bin/vlc
Offline
Sorry, I have just noticed, that this command only opens vlc, but if I try to select and play any video/audio it exits:
$ vlc >/dev/null 2>&1 <&-
$ LC_ALL=C journalctl -xe
Aug 18 23:57:54 boris-hp systemd[750]: Started <D0><9C><D0><B5><D0><B4><D0><B8><D0><B0><D0><BF><D0><BB><D0><B5><D0><B5><D1><80> VLC - <D0><9C><D0><B5><D0><B4><D0><B8><D0><B0><D0><BF><D0><BB><D0><B5><D0><B5><D1>>
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit UNIT has finished successfully.
--
-- The job identifier is 972.
Aug 18 23:57:54 boris-hp kded6[959]: Registering ":1.78/StatusNotifierItem" to system tray
Aug 18 23:57:54 boris-hp vlc[7889]: [000055864ea91590] main libvlc: <D0><97><D0><B0><D0><BF><D1><83><D1><81><D0><BA> vlc <D1><81> <D0><B8><D0><BD><D1><82><D0><B5><D1><80><D1><84><D0><B5><D0><B9><D1><81><D0><BE>>
Aug 18 23:57:54 boris-hp vlc[7889]: [000055864eb95190] qt interface error: cannot start Qt multiple times
Aug 18 23:57:54 boris-hp vlc[7889]: [000055864eb28070] main playlist: playlist is empty
Aug 18 23:57:54 boris-hp vlc[7889]: [000055864eb95190] [cli] lua interface: Listening on host "*console".
Aug 18 23:57:54 boris-hp vlc[7889]: VLC media player 3.0.21 Vetinari
Aug 18 23:57:54 boris-hp vlc[7889]: Command Line Interface initialized. Type `help' for help.
Aug 18 23:57:54 boris-hp kwin_wayland[797]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Aug 18 23:58:01 boris-hp vlc[7889]: > Shutting down.
Aug 18 23:58:01 boris-hp vlc[7889]: [000055864eb95190] [cli] lua interface: Requested shutdown.kstart vlc fails too.
So these actions did not help:
$ grep Exec /usr/share/applications/vlc.desktop
Exec=/usr/local/bin/vlc --started-from-file %U
TryExec=/usr/local/bin/vlc
$ cat /usr/local/bin/vlc
#!/bin/sh
exec /usr/bin/vlc "$@" <&- # close stdinLast edited by borgch (2025-08-18 17:07:48)
Offline
Does
vlc >/dev/null 2>&1 </dev/null work?
If not try
#!/bin/sh
/usr/bin/vlc "$@" & disownHowever, this is ridiculous, file a bug at https://code.videolan.org/videolan/vlc/-/issues/ about vlc turning suicidal when it doesn't like the stdin.
Offline
I agree, this is ridiculous)
1)
vlc >/dev/null 2>&1 </dev/nulldoes'nt work.
2)
/usr/bin/vlc "$@" & disownworks, if I run it directly in in console.
3)
#!/bin/sh
/usr/bin/vlc "$@" & disownor
sh -exec '/usr/bin/vlc "$@" & disown'or
sh -exec "/usr/bin/vlc & disown"don't work.
Last edited by borgch (2025-08-19 10:29:11)
Offline
Meh, the first one should have been
vlc >/dev/null 2>&1 </dev/zero(muscle memory) the second one will still inherit the closed stdin.
Offline
It doesn't work if I start vlc from menu:
$ LC_ALL=C journalctl -xe
Aug 19 21:45:14 boris-hp systemd[767]: Started <D0><9C><D0><B5><D0><B4><D0><B8><D0><B0><D0><BF><D0><BB><D0><B5><D0><B5><D1><80> VLC - <D0><9C><D0><B5><D0><B4><D0><B8><D0><B0><D0><BF><D0><BB><D0><B5><D0><B5><D1>>
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit UNIT has finished successfully.
--
-- The job identifier is 389.
Aug 19 21:45:14 boris-hp systemd[1]: systemd-hostnamed.service: Deactivated successfully.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit systemd-hostnamed.service has successfully entered the 'dead' state.
Aug 19 21:45:17 boris-hp systemd[1]: dbus-:1.1-org.kde.powerdevil.backlighthelper@0.service: Deactivated successfully.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit dbus-:1.1-org.kde.powerdevil.backlighthelper@0.service has successfully entered the 'dead' state.
Aug 19 21:45:23 boris-hp systemd[1]: systemd-localed.service: Deactivated successfully.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit systemd-localed.service has successfully entered the 'dead' state.But it works if I run
$ /usr/local/bin/vlcAlso I add "$@" at the end of the command. But without it it also doesn't work, unfortunately
Offline
Add some tracker to /usr/local/bin/vlc, eg "date > /tmp/myvlc.proof" to check that the custom script actually gets invoked by the menu entry.
Offline
Yes, this file appears after about one minute after start:
$ cat /tmp/myvlc.proof
Ср 20 авг 2025 03:36:16 +07Aug 20 03:35:12 boris-hp systemd[767]: Started <D0><9C><D0><B5><D0><B4><D0><B8><D0><B0><D0><BF><D0><BB><D0><B5><D0><B5><D1><80> VLC - <D0><9C><D0><B5><D0><B4><D0><B8><D0><B0><D0><BF><D0><BB><D0><B5><D0><B5><D1>>
-- Subject: A start job for unit UNIT has finished successfully
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit UNIT has finished successfully.
--
-- The job identifier is 1642.
Aug 20 03:35:32 boris-hp systemd[767]: app-org.kde.kmenuedit@b850b24b1034401a97134b8c20a96319.service: Consumed 1.413s CPU time, 115.8M memory peak, 15.6M memory swap peak.
-- Subject: Resources consumed by unit runtime
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit UNIT completed and consumed the indicated resources.
Aug 20 03:35:36 boris-hp kernel: cgroup: fork rejected by pids controller in /user.slice/user-1000.slice/user@1000.service/app.slice/app-vlc@0b7675b56a264d23a4ebdb57a9638229.service
Aug 20 03:36:16 boris-hp systemd[767]: app-vlc@0b7675b56a264d23a4ebdb57a9638229.service: Consumed 48.649s CPU time, 5.5G memory peak, 2.1G memory swap peak.
-- Subject: Resources consumed by unit runtime
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit UNIT completed and consumed the indicated resources.
lines 1041-1081/1081 (END)$ find / -name vlc.desktop 2>&-
/usr/share/applications/vlc.desktop
$ grep Exec /usr/share/applications/vlc.desktop
Exec=/usr/local/bin/vlc --started-from-file %U
TryExec=/usr/local/bin/vlc
$ cat /usr/local/bin/vlc
#!/bin/sh
vlc >/dev/null 2>&1 </dev/zero "$@"
date > /tmp/myvlc.proofOffline
Yes, this file appears after about one minute after start:
SO VLC actually runs fro ~60 before it quits?
#!/bin/sh
strace -f -tt -o /tmp/vlc.strace vlc "$@" </dev/zeroThen wait and
cat /tmp/vlc.strace | curl -F 'file=@-' 0x0.stOffline
Yes, there is delay.
The result: http://0x0.st/Kifn.bin
Offline
meh, that redirected /dev/zero into the strace, not only the vlc process (rendering the strace useless)
strace -f -tt -o /tmp/vlc.strace bash -c 'vlc "$@" </dev/zero'Offline
New result:
http://0x0.st/KiDR.binOffline
This is a strace of bash but not the vlc process inside (and still reads /dev/zero into the strace) - sure that's the correct file and from the exact command in #21?
Did you btw file a bug against vlc?
Offline
Try:
vlc --gl {egl_wl} file.mp4
cvlc --gl {egl_wl} file.mp4Offline
Try:
vlc --gl {egl_wl} file.mp4 cvlc --gl {egl_wl} file.mp4
$ vlc --gl {egl_wl} ./Шпильки.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
vlc: unknown option or missing mandatory argument `--gl'
Try `vlc --help' for more information.
$ cvlc --gl {egl_wl} ./Шпильки.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
vlc: unknown option or missing mandatory argument `--gl'
Try `vlc --help' for more information.Offline