Giter Club home page Giter Club logo

fbv's People

Contributors

avanc avatar getong avatar godspeed1989 avatar keithbowes avatar maherma-adg avatar neagix avatar sgerwk avatar subogero avatar thomasmarangoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fbv's Issues

Slideshow does not work if exectuted from within shell script

Running
fbv -s 100 image.jpg > /dev/null &
works with the latest commit (1f60727) as expected: The image is shown and after 10 seconds the fbv process has ended.

However, putting the same into a shell script does not work:

#! /bin/sh
fbv -s 100 image.jpg > /dev/null &

By executing this script, the image is correctly shown. However, the background process fbv never ends.
It seems that the special delay approach

fbv/main.c

Line 387 in 1f60727

struct timeval tv;

does not work and fbv wait for a user input forever. It seems that the approach uses somehow the timeout of file descriptors.
But I have to admit that I don't understand it fully. Any advice would help.

Feature: Select device

Would be nice to select the framebuffer device. I have multiple displays ( /dev/fb0 -/dev/fb2 ) and fbv always takes the first device. could u implement a switch to select the right device?

Support for webp

Thanks for this really usefull little tool, works wonderfully.

I'm not a developer, so I'm not familiar with exactly which libraries are already available for providing this support.

But I'v been seeing a lot of command line tools in my Arch Linux for dealing with webp formats lately.

For example this one:

Repository      : extra
Name            : libwebp
Version         : 1.1.0-1
Description     : WebP library and conversion tools
Architecture    : x86_64
URL             : https://developers.google.com/speed/webp/
Licenses        : BSD
Groups          : None
Provides        : None
Depends On      : libpng  libjpeg  libtiff  giflib
Optional Deps   : freeglut: vwebp viewer
Conflicts With  : None
Replaces        : None
Download Size   : 336.90 KiB
Installed Size  : 1086.44 KiB
Packager        : Jan Alexander Steffens (heftig) <[email protected]>
Build Date      : Tue 07 Jan 2020 08:35:19 PM WET
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Which is used to support webp by, fbida, this other framebuffer viewer:

Repository      : community
Name            : fbida
Version         : 2.14-2
Description     : Few applications to display and elementary edit images: fbi, fbgs, ida, exiftran
Architecture    : x86_64
URL             : https://www.kraxel.org/blog/linux/fbida/
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : giflib  libtiff  libexif  openmotif  libpng  fontconfig  curl  libepoxy  libxpm  poppler-glib  libwebp  mesa
Optional Deps   : ghostscript: to use fbgs
Conflicts With  : None
Replaces        : None
Download Size   : 184.17 KiB
Installed Size  : 569.98 KiB
Packager        : Jelle van der Waa <[email protected]>
Build Date      : Thu 07 May 2020 03:54:55 PM WEST
Validated By    : MD5 Sum  SHA-256 Sum  Signature

Any chance fbv might support webp in the future ?

Running fbv in background

I want to use fbv as slide show in background. While playing around, I discovered some unexpected problems:

  • fbv is not stopable by Ctrl-C

    • But it can be stopped using kill -INT <PID>
  • fbv cannot be started in background (fbv image.jpg &)

    • It exists with SIGTTOU
    • How can fbv be started non-interactively?

Interest in Archlinux AUR package for fbv

Archlinux has an official package for the "original" fbv, https://github.com/archlinux/svntogit-community/blob/packages/fbv/trunk/PKGBUILD

But it is still pulling from the abandoned, http://s-tech.elsat.net.pl/fbv/
That one has last released code in 2011.
The Changelog file is even older, listing entries of 2003

Since godspeed1989/fbv is actively maintained and gets a lot of pull requests from other framebuffer "experts" using Archlinux, like sgwerk, https://github.com/godspeed1989/fbv/issues?q=is%3Apr+author%3Asgerwk

I was wondering if anyone has an interest in creating an AUR package for it, or even replacing the "official" package with this source base

License

I couldn't find a license anywhere. I found that the forked program appears to be GPLv2. Is this code the same then?

Screen is not cleared before nor after the image is shown

I'm using fbv on my Raspberry Pi using a system build with buildroot. However, the screen is not cleared before nor after showing the image.
As the package in the official buildroot repo still uses the old sources from http://s-tech.elsat.net.pl/fbv, I gave this newer version a try an compiled it. But the outcome is the same: the screen is not cleared, although the documentation of the parameter "--dontclear" makes me expecting that the screen should be cleared if this parameter is not set.

My additional observations are, that "--widthonly" and "--heightonly" don't have any effect. This features were my initial reason to switch to this version :-)

Any suggestions how I can investigate deeper would be highly appreciated, as I don't know how to continue.

How to pipe image into fbv?

This project looks amazing!

I am looking for a way to display QR codes on Raspberry Pis without requiring a desktop environment.

The QR codes are generated in memory... I would like to display them to the framebuffer without having to write them to disk.

Is it possible to pipe images to fbv?

FBV not compatible with some framebuffer drivers on 6.1.13+ kernels

Hi Team,

As title says - I'm not able to use fbv on latest kernels with certain drivers.

Seems that kernel 6.1.13 (or maybe 6.2.0 and patches were backported to 6.1.x LTS kernel?) introduced changes the the framebuffer code which broke fbv:
https://lkml.org/lkml/2023/2/20/511

According to my tests some drivers work:
uvesafb
efifb

and some do not:
vboxvideo (VirtualBox)
vmwgfx (VMware)
hyperv-fb (Hyper-V gen1)
hyperv-drm (Hyper-V gen2)

I have tested it using Ubuntu-22.10 and 6.1.13 kernel from ppa mainline.

On non-working platforms, sometimes I can get the picture displayed if i send the image to /dev/fb0 using fbv and then manually "refresh" the console using e.g dmesg command (image displays then on the right side of the screen).

Other framebuffer viewers like fim, fbi are not affected (but i prefer fbv due to its simplicity).

Any chance to get it fixed?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.