Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display png to the /dev/fb1 #32

Open
levelKro opened this issue Apr 17, 2021 · 0 comments
Open

Display png to the /dev/fb1 #32

levelKro opened this issue Apr 17, 2021 · 0 comments

Comments

@levelKro
Copy link

Hello, I try to fix a problem with "PNGVIEW", If I use the HDMI output, is easy to add a png on the display, but with a LCD on SPI, is not easy.

I try with the "-d" parameter, I have tested many combinaison, nothing work, the code have already worked with another LCD (on HDMI).

My LCD output use the Framebuffer ; /dev/fb1, I have tested to use PNGVIEW with -d and many values, no one working;

Values tested;

  • value 1 or 1.0 make an error (DISPLAY != 0)
  • 0, 0.0, 0.1, 0.2, :0, 0:0, :0.1, 0:1, 0:0.1 no error msg, but see anything on screen
  • 1.1, 1.2, :1, 1:0, :1.1, 1:1, 0:1.1 no error msg, but see anything on screen
  • tested also with "2", "3", "4", and "5", no error message, no output on screen
  • tested with "/dev/fb0", "/dev/fb1", "fb1", no error, no output on screen

What is the right value for this parameter ? The RaspiDMX report wrongly good or bad the value ?

With FBI, for send to the LCD output, parameter is "-T 2 -d /dev/fb1" (previously just "-T 1" when output is on HDMI port)

Using Raspbian OS lite with Chromium in Kiosk mode on a Raspberry Pi Zero WH with a SPI LCD 3.5" display.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant