Author Topic: vlc on a simple framebuffer: is it possible?  (Read 4129 times)

0 Members and 1 Guest are viewing this topic.

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
vlc on a simple framebuffer: is it possible?
« on: March 31, 2022, 07:26:05 pm »
I am trying to compile vlc on a GNU/Linux embedded SBC that can't have any graphic acceleration, the x11 driver is a simple framebuffer (fbdev).

it seems vlc v3.0.17.3 requires egl support, and this is another no-go  :-//



The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #1 on: March 31, 2022, 09:45:17 pm »
Code: [Select]
# mpv sample.mpg
[ffmpeg/demuxer] mpegvideo: Estimating duration from bitrate, this may be inaccurate
 (+) Video --vid=1 (mpeg1video 320x200 23.976fps)
Xlib:  extension "XVideo" missing on display "192.168.1.12:0.0".
[vo/xv] Xv not supported by this X11 version/driver
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
VO: [x11] 320x200 yuv420p
[vo/x11] Shared memory not supported
[vo/x11] Reverting to normal Xlib
[vo/x11] Shared memory not supported
[vo/x11] Reverting to normal Xlib
[vo/x11] X server image format not supported, use another VO.
Could not initialize video chain.
Video: no video

Exiting... (Errors when loading file)

mpv fails. MobaXterm connected to a remote machine
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #2 on: March 31, 2022, 10:43:14 pm »
Code: [Select]
# mplayer sample.mpg
MPlayer 1.4-11.2.0 (C) 2000-2019 MPlayer Team

Playing sample.mpg.
libavformat version 58.76.100 (external)
MPEG-ES file format detected.
VIDEO:  MPEG1  320x200  (aspect 1)  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Xlib:  extension "XFree86-VidModeExtension" missing on display "192.168.1.12:0.0".
Xlib:  extension "XVideo" missing on display "192.168.1.12:0.0".
[VO_XV] Sorry, Xv not supported by this X11 version/driver
[VO_XV] ******** Try with  -vo x11  or  -vo sdl  *********
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 58.134.100 (external)
[mpeg1video @ 0x3f2c45489ab0]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.
Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1)
==========================================================================
Load subtitles in ./
Audio: no sound
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 320x200 => 320x200 Planar YV12
Shared memory not supported
Reverting to normal Xlib
[swscaler @ 0x3f2c45d552e0]bicubic scaler, from yuv420p to abgr using C
[swscaler @ 0x3f2c45d552e0]No accelerated colorspace conversion found from yuv420p to abgr.
[swscaler @ 0x3f2c45d552e0]using unscaled yuv420p -> abgr special converter
Movie-Aspect is 1.60:1 - prescaling to correct movie aspect.
VO: [x11] 320x200 => 320x200 Planar YV12
Shared memory not supported
Reverting to normal Xlib
[swscaler @ 0x3f2c45d552e0]No accelerated colorspace conversion found from yuv420p to abgr.
V:   8.4 201/201  3% 277%  0.0% 0 0


Exiting... (End of file)

MPlayer does the job, which is a good thing.
« Last Edit: April 03, 2022, 01:49:39 pm by DiTBho »
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: vlc on a simple framebuffer: is it possible?
« Reply #3 on: March 31, 2022, 11:24:26 pm »
Are you having trouble compiling or running it? It should definitely work with the XCB output plugin and no GL support. Or even to the fbdev directly without using X at all. I successfully compiled it without GL libraries, without QT (dummy UI only), and got it running under fbdev X in a VM. The Debian-supplied binary also works fine with this setup either with the default UI or the dummy UI. FWIW both binaries also work in the fb console. What exactly was the issue you ran into?
« Last Edit: March 31, 2022, 11:27:34 pm by ve7xen »
73 de VE7XEN
He/Him
 
The following users thanked this post: DiTBho

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #4 on: April 01, 2022, 08:41:55 am »
Are you having trouble compiling or running it?

I forked an ebuild from Gentoo as local overlay, and I am having trouble choosing the right flags to compile it in the way I would it to be.
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #5 on: April 01, 2022, 09:01:45 am »
What exactly was the issue you ran into?

The original ebuild forces vlc to have a setup with GL support, an it was not clear to me if the new vlc 3.* can be compiled with fbdev-directly without using X at all.

From what I see in the ebuild ... it seems not possible, but the ebuild is a bit confusing and buggy

Anyway, the "gui" flag forces { qtcore, qtgui, qtsvg, qtwidgets, qtx11extras } on the top of libX11.
I don't want qt, so I have the "gui" flag disabled. This is the easy part.

The "X" flags forces { libX11, libxcb, xcb-util, xcb-util-keysyms }, which is somehow ok, but it's not clear how to configure it with the XCB output plugin and no GL support

I think I need to rewrite the recipe into my Overlay

At least now I know that it's possible  :D

The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #6 on: April 01, 2022, 04:08:24 pm »
on an updated portage
Code: [Select]
egl_x11 gl error: cannot create EGL window surface
vlc v3.0.12.1 doesn't show anything, it simply exits with this error.

d'oh  :o :o :o

tried the same vlc v3.0.12.1 with the same configuration on a mac-mini/x86 with a 412 days old portage and it works perfectly.

I have to check what has changed in the last year.
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: vlc on a simple framebuffer: is it possible?
« Reply #7 on: April 01, 2022, 05:48:32 pm »
For some sort of embedded framebuffer implementation I would just ignore the ebuilds entirely and create your own. They are designed for normal desktop systems. Though I'm a bit surprised GL would be required at runtime even then, Debian bullseye's binaries at least (which are also 3.0.16 and include the EGL driver) just worked and fell back from default XVideo output to XCB. Maybe it thinks your system has working EGL for some reason and you just need to specify the output driver with --vout x11?

If the hardware *does* have EGL support you almost certainly want to try to get it working. fbdev is pretty awful performance-wise.

All I did was
Code: [Select]
./configure --disable-qt --disable-lua && make and it just worked. X11 and fbdev support is included by default. If you don't even want X, then add `--without-x`.
73 de VE7XEN
He/Him
 
The following users thanked this post: DiTBho

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #8 on: April 01, 2022, 06:09:57 pm »
They are designed for normal desktop systems

It's configurable according to a profile { desktop, server, hardened, embedded }, which basically tells which libraries should be considered and with with flags.

It seems that ebuild support for vlc has been a serious issue since 2018, it's really a mess, I have already made my own overlay.

but the whole profile needs to be fixed, because the configure sees this
Code: [Select]
checking for egl... yes
checking for gl... yes
checking for X... libraries , headers
which is definitively wrong but somehow auto-detected even if "egl" and "gl" have been removed from the whole profile!
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: vlc on a simple framebuffer: is it possible?
« Reply #9 on: April 01, 2022, 07:03:05 pm »
The configure script is calling on `pkg-config` to check for existence of gl and egl (and actually compiles a binary including gl, so if it's passing this test your system definitely has both the headers and library). Something must be pulling in mesa, or it's laying around orphaned for some reason... Check `pkg-config --path [gl|egl]` and if you must build without gl, temporarily moving that out of pkg-configs search path might work...

Shouldn't really be a problem at runtime if they're built-in, though I guess you may want to optimize the system. Your binaries seem to be running okay, just need to use a different output driver, so I would think you can get video output going by fiddling with --vout. It seems like the system is claiming to have working OpenGL support, but actually does not (what does `eglinfo` say?).
73 de VE7XEN
He/Him
 
The following users thanked this post: DiTBho

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #10 on: April 01, 2022, 07:05:09 pm »
Maybe it thinks your system has working EGL for some reason and you just need to specify the output driver with --vout x11?

Code: [Select]
# vlc sample.mpg --vout x11

Code: [Select]
xcb_x11 vout display error: shared memory (MIT-SHM) not available
xcb vout display error: X server failure
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: vlc on a simple framebuffer: is it possible?
« Reply #11 on: April 01, 2022, 11:01:51 pm »
Ah that makes more sense. If your X server can't support MIT-SHM (though if you are using a normal build with the fbdev backend, I believe it should...), then X11 output won't work, I don't think. You'd need to get an opengl driver working or forego X entirely and use the fbdev directly.
73 de VE7XEN
He/Him
 
The following users thanked this post: DiTBho

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #12 on: April 02, 2022, 08:18:41 am »
Code: [Select]
   /usr/lib64/pkgconfig/egl.pc    -> libglvnd
   /usr/lib64/pkgconfig/gl.pc     -> libglvnd
   /usr/lib64/pkgconfig/opengl.pc -> libglvnd

and, worse still, libglvnd also adds these

Code: [Select]
   /usr/lib64/libGLdispatch.so.0.0.0
   /usr/lib64/libEGL.so.1.1.0
   /usr/lib64/libGLX.so.0.0.0
   /usr/lib64/libGL.so.1.7.0
   /usr/lib64/libGLESv1_CM.so.1.2.0
   /usr/lib64/libGLESv2.so.2.1.0

mesa was compiled without any of those flags, there must be a family of bugs with dozen ebuilds  :o :o :o

The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #13 on: April 02, 2022, 08:28:38 am »
laying around orphaned for some reason

the stage4 comes out of building process that creates the whole rootfs from scratch, there can't be anything orphaned for some reason unless the  building process is buggy itself.

It's more likely bugs with ebuilds, something that forces egl and gl to be compiled even though they shouldn't.

what does `eglinfo` say?

At least this is correct: eglinfo is not installed, the egl flag has been banned in the profile  :D
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #14 on: April 02, 2022, 09:16:43 am »
As far as I understand, Shared Memory (MIT-SHM) extensions for X11 only work if the client and server are on the same physical box :o

Code: [Select]
.Windows                      vlc
    |                          |
X11-client  ==== net ===== X11-server
(mobaXterm)              (embedded SBC)

I am on MobaXterm from a remote of baresip
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #15 on: April 02, 2022, 11:49:23 am »
for some obscure reasons mesa pulls gbm, which tries to enable the "Graphics Buffer Manager" based EGL windowing system support, which then forces egl and at least one of gles or opengl

its flags has been banned in the profile, so ... here there is for sure something wrong  :-//

I have to investigate
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #16 on: April 03, 2022, 10:14:10 am »
I am really confused now. I don't understand what's going wrong, and I don't understand why one year ago mesa was split into two packages, so what is "libglvnd-1.4.0"? and why does it replaces these libraries
Code: [Select]
       /usr/lib64/libEGL.so
       /usr/lib64/libGL.so

what does vlc --vout opengl search for?
what exactly is x11-egl? which library is it involved? and which package?
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 6761
  • Country: pl
Re: vlc on a simple framebuffer: is it possible?
« Reply #17 on: April 03, 2022, 10:28:43 am »
Quote
libglvnd: the GL Vendor-Neutral Dispatch library. libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors. It allows multiple drivers from different vendors to coexist on the same filesystem, and determines which vendor to dispatch each API call to at runtime.

blah blah blah

NVIDIA
I wonder why ;)
 
The following users thanked this post: DiTBho

Offline gf

  • Super Contributor
  • ***
  • Posts: 1166
  • Country: de
Re: vlc on a simple framebuffer: is it possible?
« Reply #18 on: April 03, 2022, 11:38:24 am »
Code: [Select]
# mpv sample.mpg
[ffmpeg/demuxer] mpegvideo: Estimating duration from bitrate, this may be inaccurate
 (+) Video --vid=1 (mpeg1video 320x200 23.976fps)
Xlib:  extension "XVideo" missing on display "192.168.1.12:0.0".
[vo/xv] Xv not supported by this X11 version/driver
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
VO: [x11] 320x200 yuv420p
[vo/x11] Shared memory not supported
[vo/x11] Reverting to normal Xlib
[vo/x11] Shared memory not supported
[vo/x11] Reverting to normal Xlib
[vo/x11] X server image format not supported, use another VO.
Could not initialize video chain.
Video: no video

Exiting... (Errors when loading file)

mpv fails. MobaXterm connected to a remote machine

Do you mean that the display is connected to a remote machine (192.168.1.12)? Then -V x11 or  -V glx are IMO your only options (and GLX only if it is suported by the X server on the remote machine).
I were surprised if OpenGL via GLX transport to a remote X server would require EGL. Purpose of EGL is rather opening of local graphics devices for subsequent use with OpenGL ES.
But GLX requires openGL libs locally, since GLX means that the application issues OpenGL calls locally, but the rendering commands are sent to the remote X11 server for execution.

-V x11 obviously bails out here with error "[vo/x11] X server image format not supported, use another VO":

https://github.com/mpv-player/mpv/blob/master/video/out/vo_x11.c
Code: [Select]
    int mpfmt = 0;
    for (int fmt = IMGFMT_START; fmt < IMGFMT_END; fmt++) {
        struct mp_imgfmt_desc desc = mp_imgfmt_get_desc(fmt);
        if ((desc.flags & MP_IMGFLAG_HAS_COMPS) && desc.num_planes == 1 &&
            (desc.flags & MP_IMGFLAG_COLOR_MASK) == MP_IMGFLAG_COLOR_RGB &&
            (desc.flags & MP_IMGFLAG_TYPE_MASK) == MP_IMGFLAG_TYPE_UINT &&
            (desc.flags & MP_IMGFLAG_NE) && !(desc.flags & MP_IMGFLAG_ALPHA) &&
            desc.bpp[0] <= 8 * sizeof(unsigned long) &&
            p->myximage[0]->bits_per_pixel == desc.bpp[0] &&
            p->myximage[0]->byte_order == MP_SELECT_LE_BE(LSBFirst, MSBFirst))
        {
            // desc.comps[] uses little endian bit offsets, so "swap" the
            // offsets here.
            if (MP_SELECT_LE_BE(0, 1)) {
                // Except for formats that use byte swapping; for these, the
                // offsets are in native endian. There is no way to distinguish
                // which one a given format is (could even be both), and using
                // mp_find_other_endian() is just a guess.
                if (!mp_find_other_endian(fmt)) {
                    for (int c = 0; c < 3; c++) {
                        desc.comps[c].offset =
                            desc.bpp[0] - desc.comps[c].size -desc.comps[c].offset;
                    }
                }
            }
            if (p->myximage[0]->red_mask == MAKE_MASK(desc.comps[0]) &&
                p->myximage[0]->green_mask == MAKE_MASK(desc.comps[1]) &&
                p->myximage[0]->blue_mask == MAKE_MASK(desc.comps[2]))
            {
                mpfmt = fmt;
                break;
            }
        }
    }

    if (!mpfmt) {
        MP_ERR(vo, "X server image format not supported, use another VO.\n");
        return false;
    }

Maybe your X server does not support a suitable visual? Check with xdypinfo what's available
« Last Edit: April 03, 2022, 12:40:35 pm by gf »
 

Offline gf

  • Super Contributor
  • ***
  • Posts: 1166
  • Country: de
Re: vlc on a simple framebuffer: is it possible?
« Reply #19 on: April 03, 2022, 12:54:18 pm »
As far as I understand, Shared Memory (MIT-SHM) extensions for X11 only work if the client and server are on the same physical box :o

Code: [Select]
.Windows                      vlc
    |                          |
X11-client  ==== net ===== X11-server
(mobaXterm)              (embedded SBC)

I am on MobaXterm from a remote of baresip

You rather mean vice versa, i.e. MobaXterm as X server on a Windows machine, and vlc as X11 client on the embedded side?
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #20 on: April 03, 2022, 01:12:07 pm »
You rather mean vice versa, i.e. MobaXterm as X server on a Windows machine, and vlc as X11 client on the embedded side?

umm, it's always confusing for me, but for how I think about X11, for me the X11-client is the piece of software drawing and moving windows on the display and interacting with a mouse, keyboard or touchscreen, while the X11-server is the piece of software which elaborates graphics in terms of commands to be sent to the client.

It's just me, we can swap the two terms  ;D
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #21 on: April 03, 2022, 01:13:59 pm »
Do you mean that the display is connected to a remote machine (192.168.1.12)?

yes, MobaXterm is what you call X-server. It runs on a Windows-XP laptop, its IP address is 192.168.1.12

vlc, on the remote machine, has DISPLAY set this way
Code: [Select]
echo $DISPLAY
192.168.1.12:0.0

Nothing special

Maybe your X server does not support a suitable visual? Check with xdypinfo what's available

MobaXterm works with vlc on a remote macmini/x86 but for some reasons it doesn't work with the SCB

Both are using the same profile for the rootfs, so the software is configure in the same way, the differences between two are:
  • macmini/x86: 435 days old software, and x86-based, mesa-v20.0.8
  • SBC/ARM64: 1 day old software, and ARM64-based, mesa-22.0.0 + libglvnd-1.4.0

Code: [Select]
# xdpyinfo
name of display:    192.168.1.12:0.0
version number:    11.0
vendor string:    Moba/X
vendor release number:    12004000
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  PointerRoot
number of extensions:    20
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    GLX
    Generic Event Extension
    Present
    RANDR
    RECORD
    RENDER
    SHAPE
    SYNC
    Windows-DRI
    X-Resource
    XC-MISC
    XFIXES
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (271x203 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0xf4
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    32x32
  current input event mask:    0x80004
    ButtonPressMask          SubstructureNotifyMask
  number of visuals:    72
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xad
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xae
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xaf
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb0
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb1
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb2
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb3
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb4
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb5
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb6
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb7
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb8
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb9
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xba
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbb
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbc
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbd
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbe
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbf
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc0
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc1
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc2
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc3
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc4
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc5
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc6
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc7
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc8
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc9
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xca
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcb
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcc
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcd
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xce
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcf
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xda
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdb
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdc
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdd
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xde
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdf
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xea
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xeb
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x44
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xec
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xed
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xee
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xef
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xf0
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xf1
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xf2
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

SBC/ARM64
« Last Edit: April 03, 2022, 01:54:13 pm by DiTBho »
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #22 on: April 03, 2022, 01:16:05 pm »
Code: [Select]
# xdpyinfo
name of display:    192.168.1.12:0.0
version number:    11.0
vendor string:    Moba/X
vendor release number:    12004000
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  PointerRoot
number of extensions:    20
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    GLX
    Generic Event Extension
    Present
    RANDR
    RECORD
    RENDER
    SHAPE
    SYNC
    Windows-DRI
    X-Resource
    XC-MISC
    XFIXES
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1024x768 pixels (271x203 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0xf4
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    32x32
  current input event mask:    0x80004
    ButtonPressMask          SubstructureNotifyMask
  number of visuals:    72
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xad
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xae
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xaf
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb0
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb1
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb2
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb3
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb4
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb5
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb6
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb7
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb8
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xb9
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xba
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbb
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbc
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbd
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbe
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xbf
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc0
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc1
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc2
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc3
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc4
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc5
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc6
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc7
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc8
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xc9
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xca
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcb
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcc
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcd
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xce
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xcf
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xd9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xda
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdb
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdc
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdd
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xde
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xdf
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe0
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe1
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe2
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe3
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe4
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe5
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe6
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe7
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe8
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xe9
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xea
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xeb
    class:    DirectColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0x44
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xec
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xed
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xee
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xef
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xf0
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xf1
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xf2
    class:    TrueColor
    depth:    32 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits

macmini/x86
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #23 on: April 03, 2022, 01:24:55 pm »
-V x11 or  -V glx are IMO your only options

--vout x11 works neither on the macmini/x86 nor on the SBC

Code: [Select]
#vlc sample .mpg --vout x11

VLC media player 3.0.12.1 Vetinari (revision )
[80a21890] main audio output error: no suitable audio output module
[809bb4d0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
[80a1fb10] xcb_x11 vout display error: shared memory (MIT-SHM) not available
[80a379e0] blend blend error: no matching alpha blending routine (chroma: BGRA -> I420)
[80a379e0] main blend error: blending BGRA to I420 failed
[80a1fb10] xcb vout display error: X server failure


Code: [Select]
#vlc sample.mpg --vout glx
VLC media player 3.0.12.1 Vetinari (revision )
[81cea890] main audio output error: no suitable audio output module
[81c844d0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Remote control interface initialized. Type `help' for help.
[81cf8640] main video output error: video output creation failed
[b6c13a40] main decoder error: failed to create video output
[mpeg2video @ 0xb6c26dc0] get_buffer() failed
[mpeg2video @ 0xb6c26dc0] thread_get_buffer() failed
[mpeg2video @ 0xb6c26dc0] get_buffer() failed (-1 (nil))
[81cf8640] main video output error: video output creation failed
[b6c13a40] main decoder error: failed to create video output


On the macmini/x86 the only working option is
Code: [Select]
#vlc sample.mpg --vout opengl -vv
VLC media player 3.0.12.1 Vetinari (revision )
[815094d0] main libvlc debug: VLC media player - 3.0.12.1 Vetinari
[815094d0] main libvlc debug: Copyright © 1996-2020 the VideoLAN team
[815094d0] main libvlc debug: revision
[815094d0] main libvlc debug: configured with ./configure  '--prefix=/usr' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-dependency-tracking' '--disable-silent-rules' '--docdir=/usr/share/doc/vlc-3.0.12.1' '--htmldir=/usr/share/doc/vlc-3.0.12.1/html' '--with-sysroot=/' '--libdir=/usr/lib' '--disable-aa' '--disable-optimizations' '--disable-rpath' '--disable-update-check' '--enable-fast-install' '--enable-screen' '--enable-vcd' '--enable-vlc' '--disable-a52' '--disable-alsa' '--disable-aom' '--disable-archive' '--disable-aribsub' '--disable-fribidi' '--disable-harfbuzz' '--disable-bluray' '--disable-libcddb' '--disable-chromaprint' '--disable-chromecast' '--disable-microdns' '--disable-neon' '--disable-altivec' '--disable-mmx' '--disable-sse' '--disable-dav1d' '--disable-dbus' '--disable-kwallet' '--disable-dc1394' '--disable-debug' '--disable-directx' '--disable-d3d11va' '--disable-dxva2' '--disable-dca' '--enable-dvbpsi' '--disable-dvdnav' '--disable-dvdread' '--enable-sout' '--enable-vlm' '--disable-faad' '--disable-fdkaac' '--enable-avcodec' '--enable-avformat' '--enable-postproc' '--enable-swscale' '--disable-flac' '--disable-fluidsynth' '--disable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--disable-secret' '--disable-gst-decode' '--disable-dv1394' '--disable-jack' '--enable-jpeg' '--disable-kate' '--disable-libass' '--disable-caca' '--disable-notify' '--enable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-osx-notifications' '--disable-mad' '--disable-matroska' '--disable-mod' '--enable-mpg123' '--enable-libmpeg2' '--disable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-nfs' '--enable-ogg' '--disable-omxil' '--disable-omxil-vout' '--disable-optimize-memory' '--disable-opus' '--enable-png' '--disable-projectm' '--disable-pulse' '--disable-qt' '--disable-freerdp' '--enable-run-as-root' '--disable-smbclient' '--disable-sdl-image' '--disable-sftp' '--disable-shout' '--disable-sid' '--disable-skins2' '--disable-soxr' '--disable-speex' '--disable-srt' '--enable-gnutls' '--enable-svg' '--enable-svgdec' '--disable-taglib' '--disable-theora' '--disable-tremor' '--disable-twolame' '--disable-udev' '--disable-upnp' '--enable-v4l2' '--disable-libva' '--disable-vdpau' '--disable-vnc' '--enable-vorbis' '--disable-vpx' '--disable-wayland' '--with-x' '--enable-xcb' '--enable-xvideo' '--enable-x264' '--enable-x26410b' '--enable-x265' '--enable-libxml2' '--disable-avahi' '--disable-zvbi' '--enable-telx' '--with-kde-solid=/usr/share/solid/actions' '--disable-asdcp' '--disable-coverage' '--disable-cprof' '--disable-crystalhd' '--disable-decklink' '--disable-gles2' '--disable-goom' '--disable-kai' '--disable-kva' '--disable-libplacebo' '--disable-maintainer-mode' '--disable-merge-ffmpeg' '--disable-mfx' '--disable-mmal' '--disable-opencv' '--disable-opensles' '--disable-oss' '--disable-rpi-omxil' '--disable-schroedinger' '--disable-shine' '--disable-sndio' '--disable-spatialaudio' '--disable-vsxu' '--disable-wasapi' '--disable-wma-fixed' '--disable-freetype' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=i686 -pipe -fno-stack-check' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -L/usr/lib/sidplay/builders/' 'CPPFLAGS=' 'CXXFLAGS=-O2 -march=i686 -pipe -std=c++11' 'CCASFLAGS=' 'BUILDCC=i686-pc-linux-gnu-gcc'
[815094d0] main libvlc debug: searching plug-in modules
[815094d0] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat
[815094d0] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[815094d0] main libvlc debug: plug-ins loaded: 386 modules
[815094d0] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[815096f0] main logger debug: looking for logger module matching "any": 3 candidates
[815096f0] main logger debug: using logger module "console"
[815094d0] main libvlc debug: translation test: code is "C"
[8155c100] main keystore debug: looking for keystore module matching "memory": 2 candidates
[8155c100] main keystore debug: using keystore module "memory"
[815094d0] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 FPU
[815533a0] main input debug: Creating an input for 'Media Library'
[815533a0] main input debug: Input is a meta file: disabling unneeded options
[815533a0] main input debug: using timeshift granularity of 50 MiB
[815533a0] main input debug: using default timeshift path
[815533a0] main input debug: `file/directory:///root/.local/share/vlc/ml.xspf' gives access `file' demux `directory' path `/root/.local/share/vlc/ml.xspf'
[8155c020] main input source debug: creating demux: access='file' demux='directory' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[81556c60] main demux debug: looking for access_demux module matching "file": 9 candidates
[81556c60] main demux debug: no access_demux modules matched
[81556d80] main stream debug: creating access: file:///root/.local/share/vlc/ml.xspf
[81556d80] main stream debug:  (path: /root/.local/share/vlc/ml.xspf)
[81556d80] main stream debug: looking for access module matching "file": 22 candidates
[81556d80] main stream debug: using access module "filesystem"
[81557780] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 25 candidates
[81557780] cache_read stream debug: Using stream method for AStream*
[81557780] cache_read stream debug: starting pre-buffering
[81557780] cache_read stream debug: received first data after 0 ms
[81557780] cache_read stream debug: pre-buffering done 296 bytes in 0s - 4817 KiB/s
[81557780] main stream debug: using stream_filter module "cache_read"
[815580b0] main stream debug: looking for stream_filter module matching "any": 25 candidates
[815580b0] playlist stream debug: using XSPF playlist reader
[815580b0] main stream debug: using stream_filter module "playlist"
[815580b0] main stream debug: stream filter added to 0x81557780
[8155a720] main stream debug: looking for stream_filter module matching "any": 25 candidates
[8155a720] main stream debug: no stream_filter modules matched
[81559730] main stream_directory debug: looking for stream_directory module matching "any": 0 candidates
[81559730] main stream_directory debug: no stream_directory modules
[8155c020] main input source debug: attachment of directory-extractor failed for file:///root/.local/share/vlc/ml.xspf
[8155a720] main stream debug: looking for stream_filter module matching "record": 25 candidates
[8155a720] main stream debug: using stream_filter module "record"
[8155c020] main input source debug: creating demux: access='file' demux='directory' location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[81556c60] main demux debug: looking for demux module matching "directory": 47 candidates
[81556c60] main demux debug: using demux module "directory"
[815638a0] main demux meta debug: looking for meta reader module matching "any": 0 candidates
[815638a0] main demux meta debug: no meta reader modules
[815533a0] main input debug: `file/directory:///root/.local/share/vlc/ml.xspf' successfully opened
[8155c5c0] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[8155c5c0] main xml reader debug: using xml reader module "xml"
[815533a0] main input debug: EOF reached
[81556c60] main demux debug: removing module "directory"
[8155a720] main stream debug: removing module "record"
[815580b0] main stream debug: removing module "playlist"
[81557780] main stream debug: removing module "cache_read"
[81556d80] main stream debug: removing module "filesystem"
[81561a50] main playlist debug: creating audio output
[8156f920] main audio output debug: looking for audio output module matching "any": 3 candidates
[8156f920] main audio output debug: no audio output modules matched
[8156f920] main audio output error: no suitable audio output module
[b6d00690] main input debug: Creating an input for preparsing 'sample.mpg'
[815638a0] main interface debug: looking for interface module matching "hotkeys,none": 10 candidates
[815638a0] main interface debug: using interface module "hotkeys"
[815536b0] main interface debug: looking for interface module matching "globalhotkeys,none": 10 candidates
[815536b0] main interface debug: using interface module "xcb_hotkeys"
[815094d0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[81553c90] main interface debug: looking for interface module matching "any": 10 candidates
Remote control interface initialized. Type `help' for help.
[81553c90] main interface debug: using interface module "oldrc"
[81561a50] main playlist debug: processing request item: null, node: Playlist, skip: 0
[81561a50] main playlist debug: rebuilding array of current - root Playlist
[81561a50] main playlist debug: rebuild done - 1 items, index -1
[81561a50] main playlist debug: starting playback of new item
[81561a50] main playlist debug: resyncing on sample.mpg
[81561a50] main playlist debug: sample.mpg is at 0
[81561a50] main playlist debug: creating new input thread
[b6b0f720] main input debug: Creating an input for 'sample.mpg'
[81556350] main meta fetcher debug: looking for meta fetcher module matching "any": 0 candidates
[81556350] main meta fetcher debug: no meta fetcher modules
[81556350] main art finder debug: looking for art finder module matching "any": 1 candidates
[b6b0f720] main input debug: using timeshift granularity of 50 MiB
[b6b0f720] main input debug: using default timeshift path
[81556350] main art finder debug: no art finder modules matched
[81561a50] main playlist debug: requesting art for new input thread
[b6b0f720] main input debug: `file:///mnt/disk3/video-samples/sample.mpg' gives access `file' demux `any' path `/mnt/disk3/video-samples/sample.mpg'
[b66025e0] main input source debug: creating demux: access='file' demux='any' location='/mnt/disk3/src/video-samples/sample.mpg' file='/mnt/disk3/src/video-samples/sample.mpg'
[b6602730] main demux debug: looking for access_demux module matching "file": 9 candidates
[b6602730] main demux debug: no access_demux modules matched
[b6602ad0] main stream debug: creating access: file:///mnt/disk3/src/video-samples/sample.mpg
[b6602ad0] main stream debug:  (path: /mnt/disk3/src/video-samples/sample.mpg)
[b6602ad0] main stream debug: looking for access module matching "file": 22 candidates
[b6602ad0] main stream debug: using access module "filesystem"
[b6602c80] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 25 candidates
[b6602c80] cache_read stream debug: Using stream method for AStream*
[b6602c80] cache_read stream debug: starting pre-buffering
[b6602c80] cache_read stream debug: received first data after 0 ms
[b6602c80] cache_read stream debug: pre-buffering done 1024 bytes in 0s - 15625 KiB/s
[b6602c80] main stream debug: using stream_filter module "cache_read"
[b6602f50] main stream debug: looking for stream_filter module matching "any": 25 candidates
[b6602f50] main stream debug: no stream_filter modules matched
[b6603770] main stream_directory debug: looking for stream_directory module matching "any": 0 candidates
[b6603770] main stream_directory debug: no stream_directory modules
[b66025e0] main input source debug: attachment of directory-extractor failed for file:///mnt/disk3/src/video-samples/sample.mpg
[b6602f50] main stream debug: looking for stream_filter module matching "record": 25 candidates
[b6602f50] main stream debug: using stream_filter module "record"
[b66025e0] main input source debug: creating demux: access='file' demux='any' location='/mnt/disk3/src/video-samples/sample.mpg' file='/mnt/disk3/src/video-samples/sample.mpg'
[b6602730] main demux debug: looking for demux module matching "any": 47 candidates
[b6603460] main xml reader debug: looking for xml reader module matching "any": 1 candidates
[b6603460] main xml reader debug: using xml reader module "xml"
[b6602730] webvtt demux debug: subtitle demux discarded
[b6602730] ts demux debug: TS module discarded (lost sync)
[b6604bb0] main demux packetizer debug: looking for packetizer module matching "any": 23 candidates
[b6604bb0] main demux packetizer debug: using packetizer module "mpegvideo"
[b6b0f720] main input debug: selecting program id=0
[b6602730] main demux debug: using demux module "mpgv"
[b6b0f720] main input debug: looking for a subtitle file in /mnt/disk3/video-samples/
[b6604420] main packetizer debug: looking for packetizer module matching "any": 23 candidates
[b6604420] main packetizer debug: using packetizer module "mpegvideo"
[b6603e00] main decoder debug: looking for video decoder module matching "any": 12 candidates
[b6b05590] main meta fetcher debug: looking for meta fetcher module matching "any": 0 candidates
[b6b05590] main meta fetcher debug: no meta fetcher modules
[b6b05590] main art finder debug: looking for art finder module matching "any": 1 candidates
[b6b05590] main art finder debug: no art finder modules matched
[b6603e00] avcodec decoder debug: using ffmpeg Lavc58.91.100
[b6603e00] avcodec decoder debug: CPU flags: 0x00001003
[b6603e00] avcodec decoder debug: allowing 3 thread(s) for decoding
[b6603e00] avcodec decoder debug: codec (mpeg2video) started
[b6603e00] main decoder debug: using video decoder module "avcodec"
[b6603980] main demux meta debug: looking for meta reader module matching "any": 0 candidates
[b6603980] main demux meta debug: no meta reader modules
[b6b0f720] main input debug: `file:///mnt/disk3/video-samples/sample.mpg' successfully opened
[b6604bb0] mpegvideo demux packetizer debug: size 320x200/320x208 fps=23.976
[b6b0f720] main input debug: Buffering 0%
[b6604420] mpegvideo packetizer debug: size 320x200/320x208 fps=23.976
[b6b0f720] main input debug: Buffering 4%
[b6b0f720] main input debug: Buffering 8%
[b6603e00] main decoder debug: restarting module due to input format change
[b6b0f720] main input debug: Buffering 12%
[b6603e00] main decoder debug: removing module "avcodec"
[b6b0f720] main input debug: Buffering 16%
[b6603e00] main decoder debug: looking for video decoder module matching "any": 12 candidates
[b6603e00] avcodec decoder debug: using ffmpeg Lavc58.91.100
[b6603e00] avcodec decoder debug: CPU flags: 0x00001003
[b6b0f720] main input debug: Buffering 20%
[b6603e00] avcodec decoder debug: allowing 3 thread(s) for decoding
[b6603e00] avcodec decoder debug: codec (mpeg2video) started
[b6603e00] main decoder debug: using video decoder module "avcodec"
[b6b0f720] main input debug: Buffering 25%
[b6603e00] avcodec decoder debug: available software decoder output format 0 (yuv420p)
[b6b0f720] main input debug: Buffering 29%
[b6b0f720] main input debug: Buffering 33%
[b6b0f720] main input debug: Buffering 37%
[b6b0f720] main input debug: Buffering 41%
[b6d143b0] main spu text debug: looking for text renderer module matching "any": 2 candidates
[b6b0f720] main input debug: Buffering 45%
[b6b0f720] main input debug: Buffering 50%
[b6b0f720] main input debug: Buffering 54%
[b6b0f720] main input debug: Buffering 58%
[b6b0f720] main input debug: Buffering 62%
[b6b0f720] main input debug: Buffering 66%
[b6b0f720] main input debug: Buffering 70%
[b6b0f720] main input debug: Buffering 75%
[b6b0f720] main input debug: Buffering 79%
[b6b0f720] main input debug: Buffering 83%
[b6b0f720] main input debug: Buffering 87%
[b6d143b0] main spu text debug: using text renderer module "svg"
[b6d15150] main scale debug: looking for video converter module matching "any": 14 candidates
[b6b0f720] main input debug: Buffering 91%
[b6b0f720] main input debug: Buffering 95%
[b6b0f720] main input debug: Stream buffering done (1001 ms in 2 ms)
[b6d15150] swscale scale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality)
[b6d15150] main scale debug: using video converter module "swscale"
[b6d39440] main scale debug: looking for video converter module matching "any": 14 candidates
[b6d39440] yuvp scale debug: YUVP to YUVA converter
[b6d39440] main scale debug: using video converter module "yuvp"
[b6d11c80] main video output debug: Deinterlacing available
[b6d11c80] main video output debug: deinterlace -1, mode auto, is_needed 0
[b6d12070] main window debug: looking for vout window module matching "any": 2 candidates
[b6d12070] main window debug: resized to 320x200
[b6d12070] main window debug: using vout window module "xcb_window"
[b6d00a30] main inhibit debug: looking for inhibit module matching "any": 1 candidates
[b6d00a30] main inhibit debug: using inhibit module "xdg"
[b6d11c80] main video output debug: Opening vout display wrapper
[815544b0] main vout display debug: looking for vout display module matching "opengl": 9 candidates
[b6d12070] xcb_window window debug: unhandled event 19
[b6d12070] main window debug: resized to 320x200
[815544b0] main vout display debug: VoutDisplayEvent 'resize' 320x200
[815544b0] main vout display debug: VoutDisplayEvent 'resize' 320x200
[b6d12070] xcb_window window debug: unhandled event 149
[b6d12070] main window debug: resized to 320x200
[815544b0] main vout display debug: VoutDisplayEvent 'resize' 320x200
[81556750] main gl debug: looking for opengl module matching "any": 2 candidates
[81556750] egl_x11 gl debug: EGL version 1.4 by Mesa Project
[81556750] egl_x11 gl debug:  extensions: EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_get_all_proc_addresses EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_MESA_configless_context
[81556750] main gl debug: using opengl module "egl_x11"
[815544b0] main vout display debug: using vout display module "gl"
[b6d11c80] main video output debug: original format sz 320x224, of (0,0), vsz 320x200, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
[b6d143b0] main spu text debug: removing module "svg"
[b6d143b0] main spu text debug: looking for text renderer module matching "any": 2 candidates
[b6d143b0] main spu text debug: using text renderer module "svg"
[b6603e00] main decoder debug: Received first picture



None of them work on the SBC
« Last Edit: April 03, 2022, 01:51:00 pm by DiTBho »
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #24 on: April 03, 2022, 02:00:16 pm »
Code: [Select]
    if (!mpfmt) {
        MP_ERR(vo, "X server image format not supported, use another VO.\n");
        return false;
    }
That's precisely the error I was expecting, but I don't see it in the debug console.
So it's not clear what's going wrong, and why --vout x11 doesn't work
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #25 on: April 03, 2022, 07:50:41 pm »
so, this damn thing still doesn't work
I have prepared a new profile in which opengl and egl have been eliminated completely
Code: [Select]
libepoxy-1.5.9-r1  no-egl*
mesa-22.0.0  no-egl*
libcaca-0.99_beta19-r8  no-opengl*
libwebp-1.2.2  no-opengl*
ffmpeg-4.4.1-r4  no-opengl*

so now, the only option for vlc is --vout x11, which sadly doesn't work yet
I'll just focus on this

idea, suggestions, etc ... let me know  :-//
« Last Edit: April 03, 2022, 07:54:08 pm by DiTBho »
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: vlc on a simple framebuffer: is it possible?
« Reply #26 on: April 04, 2022, 07:32:36 pm »
I'm confused. You initially were talking about fbdev, but now you want it to work on a remote X server? Which is it, they are very different problems...

What's your end goal here? If you just want to play video on an embedded display, writing directly to fbdev seems like the obvious solution. Or if your platform includes OpenGL hardware, that will get you better performance. I wouldn't bother with X at all. I am not sure about VLC's implementation, but EGL should in theory enable this without X.

I don't think the existence of the OpenGL libraries is your problem. You can always choose an alternate --vout, and the defaults have a lot of fallbacks AIUI. The problem seems to be that you don't have a working underliyng mechanism to display the video.

Trying to get video working well over a remote X session is probably pretty much a non-starter, but I also don't see why this would be needed in an embedded system.
73 de VE7XEN
He/Him
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #27 on: April 04, 2022, 08:03:06 pm »
What's your end goal here?

The goal is to have that bloody vlc working on the SCB, and there are only options
- fbdev directly
- x11 locally on the same SBC
- x11 remotely exported to MobaXterm

forget opengl and egl, I only tried them because none of the above work even on the mac-mini/x86, which has the same profile of the SBC

So, I need to use vlc with --vout x11, it's not clear why it doesn't work remotely.
I haven't yet tried locally.

if your platform includes OpenGL hardware

The SCB doesn't have any OpenGL hardware, only a simple framebuffer

The problem seems to be that you don't have a working underliyng mechanism to display the video.

Exactly what? XCB? or what-else?
xterm, xclock work on the SBC exporting the display on Mobaxterm

The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline DiTBhoTopic starter

  • Super Contributor
  • ***
  • Posts: 3911
  • Country: gb
Re: vlc on a simple framebuffer: is it possible?
« Reply #28 on: April 04, 2022, 08:08:43 pm »
Quote
xcb_x11 vout display error: shared memory (MIT-SHM) not available

To me, it seems vlc --vout is only able to run locally, it cannot work remotely if it tries to use shared-memory
That error message is the only thing returned.

Are you able to run vlc --vout remotely?
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: vlc on a simple framebuffer: is it possible?
« Reply #29 on: April 04, 2022, 08:43:34 pm »
Quote
xcb_x11 vout display error: shared memory (MIT-SHM) not available

To me, it seems vlc --vout is only able to run locally, it cannot work remotely if it tries to use shared-memory
That error message is the only thing returned.

Are you able to run vlc --vout remotely?

Yeah remote video over X11 is going to be difficult to get working reliably if it's even possible. This depends on the capabilities of the X server (the host with the display) though, and only tangentially related to your SBC. I don't have a networked X server handy to play with this.

If the remote video is just for dev purposes, it's a bit of a red herring as it doesn't really tell you anything about getting video working on the SBC itself; it is trying to render the video directly on the remote X server. Work on the actual hardware and I suspect the X11 output driver will work. Running directly on the fb console should work too.
73 de VE7XEN
He/Him
 
The following users thanked this post: DiTBho


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf