cant get fbi to work

fishb
fishb New Member Posts: 9

I'm using ubuntu server (no X) on an UPsquared logging in to command line via SSH. I'd like to send images to the built-in display to be viewed over the HDMI port. I tried using fbi like so:
fbi -d /dev/fb0 myimage.jpg
but I just get:
ioctl VT_GETSTATE: Inappropriate ioctl for device (not a linux console?)
and no signal at all from HDMI - monitor in power-save.
Any help greatly appreciated.
Thanks.

Tagged:

Comments

  • fishb
    fishb New Member Posts: 9

    Additional:
    I also tried: fbi -T 1 myimage.jpg
    which works fine on a Raspberry Pi, but yields nothing at all on the Up2, the monitor just stays in power-save.
    The HDMI port & monitor both work because the monitor briefly comes to life during the boot process but quickly dives back into power-save half way through.
    Be very glad of any help - I'm sure this something very simple.

  • fishb
    fishb New Member Posts: 9

    Additional:
    After loading some intel fb drivers & various dependencies I'm seeing this in dmesg:
    [ 2.090148] i915 0000:00:02.0: Direct firmware load for i915/bxt_dmc_ver1_07.bin failed with error -2
    [ 2.090164] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power management.
    [ 2.092782] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem

  • fishb
    fishb New Member Posts: 9

    Additional:
    installed more dmc firmwares to remove the above errors, to no avail. Now I see in dmesg:
    [ 3.078326] [drm] failed to retrieve link info, disabling eDP
    [ 3.079941] [drm] GuC firmware load skipped
    [ 3.082091] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
    [ 3.082731] acpi device:10: registered as cooling_device4
    [ 3.082818] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4
    [ 3.083026] [drm] Initialized i915 1.6.0 20161121 for 0000:00:02.0 on minor 0
    [ 3.167821] [drm] Cannot find any crtc or sizes - going 1024x768
    [ 3.168227] fbcon: inteldrmfb (fb0) is primary device
    [ 3.241143] Console: switching to colour frame buffer device 128x48
    [ 3.243732] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device

  • fishb
    fishb New Member Posts: 9

    Additional:
    Captured a video of the boot sequence flashing past on the monitor, here's the last few lines visible on the display before it powers-down:
    [ 2.044339] mmc1: SDHCI controller on PCI [0000:00:1e.0] using ADMA 64-bit
    [ 2.054091] SSE version of gcm_enc/dec engaged.
    [ 2.055598] [drm] Memory usable by graphics device = 4096M
    [ 2.056594] usb 1-2: new low-speed USB device number 2 using xhci_hcd
    [ 2.058088] checking generic (80000000 300000) vs hw (80000000 10000000)
    [ 2.058089] fb: switching to inteldrmfb from EFI VGA

  • fishb
    fishb New Member Posts: 9

    Additional:
    $ grep -E "(drm|fb0)" /var/log/syslog
    Jun 2 09:04:49 ubuntu kernel: [ 1.691965] fb0: EFI VGA frame buffer device
    Jun 2 09:04:49 ubuntu kernel: [ 2.008496] [drm] Initialized
    Jun 2 09:04:49 ubuntu kernel: [ 2.055598] [drm] Memory usable by graphics device = 4096M
    Jun 2 09:04:49 ubuntu kernel: [ 2.058089] fb: switching to inteldrmfb from EFI VGA
    Jun 2 09:04:49 ubuntu kernel: [ 2.059445] [drm] Replacing VGA console driver
    Jun 2 09:04:49 ubuntu kernel: [ 2.059806] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    Jun 2 09:04:49 ubuntu kernel: [ 2.059813] [drm] Driver supports precise vblank timestamp query.
    Jun 2 09:04:49 ubuntu kernel: [ 2.062639] [drm] Finished loading i915/bxt_dmc_ver1_07.bin (v1.7)
    Jun 2 09:04:49 ubuntu kernel: [ 3.045727] [drm] failed to retrieve link info, disabling eDP
    Jun 2 09:04:49 ubuntu kernel: [ 3.047341] [drm] GuC firmware load skipped
    Jun 2 09:04:49 ubuntu kernel: [ 3.091335] [drm] Initialized i915 1.6.0 20161121 for 0000:00:02.0 on minor 0
    Jun 2 09:04:49 ubuntu kernel: [ 3.132867] [drm] Cannot find any crtc or sizes - going 1024x768
    Jun 2 09:04:49 ubuntu kernel: [ 3.133217] fbcon: inteldrmfb (fb0) is primary device
    Jun 2 09:04:49 ubuntu kernel: [ 3.203930] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
    Jun 2 09:04:49 ubuntu kernel: [ 4.813609] [drm] RC6 on

  • fishb
    fishb New Member Posts: 9

    Finally:
    SOLVED: piece of $hit monitor!
    Sorry if I've wasted anybody's time, perhaps this'll be of use to some one else with a similar issue.
    If anyone knows how I could change the video mode so that it does work with my very old monitor that would be good to know.
    Thanks again.

  • ccalde
    ccalde New Member Posts: 348 ✭✭✭

    Hi @fishb ,

    Cloud you please redefine the title as [RESOLVED] cant get fbi to work ?

    Thank you

Tagged