Closed wenerme closed 5 months ago
what are you trying to do with https://github.com/deniskropp/DirectFB ?
what sort of system are you running (why are you using the framebuffer video)
what does "ldd ./uxplay" show it is linked to?
what is LibFusion for?
?????
I dont see anything connected to uxplay in the trace
If you are trying to use the framebuffer for some strange reason (no desktop no X11) use KMS
./uxplay -vs kmssink
gstreamer has a fbdevsink but I think its deprecated.
again: WHY use framebuffer video???? is this some embedded system, not X86_64?
seems the directfb is introduced by using qemu, tring to test this in vm, no segfault in real box.
when start uxplay by ssh session, will cause the segfault, maybe video not init or somthing, start uxplay under logined startx session is ok.
but when using uxplay in lightdm autologin +xface, after boot up, connect uxplay will cause lightdm session crash, after relogin by password, the connect is ok, but nothing show up
ldd
/lib/ld-musl-x86_64.so.1 (0x7f2a58567000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x7f2a583d6000)
libplist-2.0.so.4 => /usr/lib/libplist-2.0.so.4 (0x7f2a583c0000)
libcrypto.so.3 => /lib/libcrypto.so.3 (0x7f2a57e00000)
libdns_sd.so.1 => /usr/lib/libdns_sd.so.1 (0x7f2a583b6000)
libgstvideo-1.0.so.0 => /usr/lib/libgstvideo-1.0.so.0 (0x7f2a582f2000)
libgstapp-1.0.so.0 => /usr/lib/libgstapp-1.0.so.0 (0x7f2a582dd000)
libgstreamer-1.0.so.0 => /usr/lib/libgstreamer-1.0.so.0 (0x7f2a57cb5000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x7f2a58280000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x7f2a57b69000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f2a57800000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f2a5825c000)
libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0x7f2a58567000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x7f2a58235000)
libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x7f2a58225000)
libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x7f2a57b5c000)
libgstbase-1.0.so.0 => /usr/lib/libgstbase-1.0.so.0 (0x7f2a57ad5000)
liborc-0.4.so.0 => /usr/lib/liborc-0.4.so.0 (0x7f2a57782000)
libintl.so.8 => /usr/lib/libintl.so.8 (0x7f2a57ac3000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x7f2a5821e000)
libffi.so.8 => /usr/lib/libffi.so.8 (0x7f2a57ab9000)
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x7f2a576db000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x7f2a57ab4000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x7f2a57aac000)
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x7f2a57696000)
libbsd.so.0 => /usr/lib/libbsd.so.0 (0x7f2a57a99000)
libmd.so.0 => /usr/lib/libmd.so.0 (0x7f2a57688000)
I am not sure what you are trying to do. What kind of system do you want to have? an X11 desktop or something else?
ldd shows that uxplay does not link to direcfb
presumably gstrreamer selected dfbvideosink for some reason?
see https://gstreamer.freedesktop.org/documentation/directfb/index.html?gi-language=c
To get more info, try
export GST_DEBUG=4 ./uxplay -d
to see what is going on.
have you tried
./uxplay -d -vs xvimagesink
or
./uxplay -d -vs waylandsink
or
./uxplay -d -vs glimagesink
?
glimagesink works, thanks
My setup flow is here https://github.com/wenerme/wener/blob/master/notes/os/linux/desktop/uxplay.md , but -fs not works for glimagesink 😞
yes, glimagesink does not support full screen. waylandsink does.
framebuffer video with kmssink works (used on raspberrypi without X11) your issues with dfbvideosink are gstreamer issues on alpine
ximagesink is works too, seems autovideosink choose xvimagesink.
ximagesink use less cpu than glimagesink(about 20% of glimagesink), works with -fs.
dmesg
libfusion come from this https://github.com/deniskropp/DirectFB ?
strace output
My desktop setup https://github.com/wenerme/wener/blob/master/story/2021/2021-02-26-alpinelinux-setup-xfce.md