You are not logged in.

#1 Yesterday 11:13:23

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

[SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

Running on GNOME 50 wayland, running vlc with caca output fails with:

$ vlc --vout=caca video.mp4 (or even with cvlc)
VLC media player 3.0.23 Vetinari (revision 3.0.23-2-0-g79128878dd)
[000056089eaf85d0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[00007f70bc0465e0] main video output error: video output creation failed
[00007f70b1506590] main decoder error: failed to create video output
[00007f70bc0d8ee0] main video output error: video output creation failed
[00007f70b1506590] main decoder error: failed to create video output
[00007f70bc0d8ee0] main video output error: video output creation failed
[00007f70b1506590] main decoder error: failed to create video output
[h264 @ 0x7f70b02bbc80] get_buffer() failed
[h264 @ 0x7f70b02bbc80] thread_get_buffer() failed
[h264 @ 0x7f70b02bbc80] no frame!
[00007f709c045b90] main video output error: video output creation failed
[00007f70b1506590] main decoder error: failed to create video output
[h264 @ 0x7f70b03eecc0] get_buffer() failed
[h264 @ 0x7f70b03eecc0] thread_get_buffer() failed
[h264 @ 0x7f70b03eecc0] no frame!
[00007f70ac006760] main video output error: video output creation failed
[00007f70b1506590] main decoder error: failed to create video output
[h264 @ 0x7f70b043c880] get_buffer() failed
[h264 @ 0x7f70b043c880] thread_get_buffer() failed
[h264 @ 0x7f70b043c880] no frame!
[00007f70b2b56750] main video output error: video output creation failed
[00007f70b1506590] main decoder error: failed to create video output
[h264 @ 0x7f70b0537a00] get_buffer() failed
[h264 @ 0x7f70b0537a00] thread_get_buffer() failed
[h264 @ 0x7f70b0537a00] no frame!
[ ... goes on like this untill killed ... ]

I wonder if there's any pkg I missed that provides what vlc needs. Same command works when in a tty though.

Last edited by Erwin Iosef (Yesterday 22:04:20)

Offline

#2 Yesterday 12:39:37

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,374

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

caca = Ascii Art ?

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

Have you tried running

$ QT_QPA_PLATFORM=wayland vlc --vout=caca video.mp4

?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 Yesterday 14:55:44

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

> ASCII art?
Yes.

And just did, same output sad

Last edited by Erwin Iosef (Yesterday 14:56:10)

Offline

#4 Yesterday 15:04:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,597

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

You do have https://archlinux.org/packages/extra/x8 … ugin-caca/ ?
Does VLC play w/ "normal" outputs codecs?

Offline

#5 Yesterday 15:25:58

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

Yes I do, and yeah with "Output" in Preferences is set to "Automatic".

Last edited by Erwin Iosef (Yesterday 15:26:41)

Offline

#6 Yesterday 15:29:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,597

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

No, I mean whether VLC plays video when *not* using CACA but regular, normal pixels.

Offline

#7 Yesterday 15:30:21

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

Yeah

Offline

#8 Yesterday 15:35:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,597

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

Can https://archlinux.org/packages/extra/x86_64/mplayer/  play using libcaca?
(Iirc it will unconditionally run on xwayland, though)

Offline

#9 Yesterday 16:01:05

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

Yes but in very low resolution windowed and weird colours, even with -fs. It runs fullscreen in tty but in a very glitchy way.

Last edited by Erwin Iosef (Yesterday 16:02:55)

Offline

#10 Yesterday 16:31:08

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

Tried with mpv which should have caca support if I remember right, it also reports:

 mpv --vo=caca video.mp4
● Video  --vid=1  (h264 1920x820 23.976 fps) [default]
● Audio  --aid=1  (aac 2ch 48000 Hz 96 kbps) [default]
[vo] Video output caca not found!
Error opening/initializing the selected video_out (--vo) device.
Video: no video
AO: [pipewire] 48000Hz stereo 2ch floatp

Offline

#11 Yesterday 16:44:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,597

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

[vo] Video output caca not found!

mpv doesn't provide caca

mpv -vo=help

Yes but in very low resolution windowed and weird colours, even with -fs. It runs fullscreen in tty but in a very glitchy way.

Does caca work as expected on
1. Xorg (try an openbox session)
2. not gnome (weston, labwc, hyprland, niri, kwin_wayland,… pick one)

Offline

#12 Yesterday 17:50:57

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

On a VM running xfce:

[user@ArchVM ~]$ cvlc --vout=caca video.webm 
VLC media player 3.0.23 Vetinari (revision 3.0.23-2-0-g79128878dd)
[0000555e8ae544f0] dummy interface: using the dummy interface module...
TagLib: EBML: datasize too great: 55005490 > (524288 - 48)
TagLib: Failed to find Matroska segment
TagLib: Failed to find EBML head
[00007f6e4c004a20] main video output error: video output creation failed
[00007f6e54d45a70] main decoder error: failed to create video output
[00007f6e54d45a70] dav1d decoder error: Decoder feed error -1!
[00007f6e54d45a70] main decoder error: buffer deadlock prevented

Same output on labwc.

Offline

#13 Yesterday 18:07:03

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

mplayer -vo caca video.webm is still glitchy in tty, but it works in xorg, just in black and white for some reason.

EDIT: cacademo works both in wayland and xorg.

Last edited by Erwin Iosef (Yesterday 18:08:54)

Offline

#14 Yesterday 18:09:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,597

Offline

#15 Yesterday 19:26:58

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

Didn't do a thing : (
Errors remain the same.

Last edited by Erwin Iosef (Yesterday 19:27:18)

Offline

#16 Yesterday 20:37:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,597

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

https://code.videolan.org/videolan/vlc/ … tems/18104
This is ten years old but the gist is that vlc+caca only works on the console… (and you must esp. not set CACA_DRIVER)
ctrl+alt+f3, login, try - does it work there?

Offline

#17 Yesterday 22:03:40

Erwin Iosef
Member
Registered: 2024-05-22
Posts: 116

Re: [SOLVED] vlc --vout=caca fails in Wayland DE but works in tty

I've said that it works on the tty. I guess then this is normal behavior, I guess it'd have been better for a message from VLC that would tell us of this instead of just giving out an error. Thank you so much for your help both of you, I appreciate it! Marking as solved.

Last edited by Erwin Iosef (Today 06:31:18)

Offline

Board footer

Powered by FluxBB