JMRI on Raspberry Pi3 B+

french_guy Oct 18, 2021

  1. french_guy

    french_guy TrainBoard Member

    693
    559
    31
    Hello
    I'm running JMRI on a Raspberry Pi3 B+, using Steve Todd image
    It works just fine, and have done already several updates
    However, I've noticed that when I start the Raspberry, the screen remains black. When I unplug and replug the hdmi cable, I can see the JMRI interface for 1 sec, then the screen goes black again
    Sometime I can get the display after 1 unplug/re-plug, but sometimes it takes several iterations before i can get the display and use it normaly
    Any idea where it comes from?
     
    Mark Ricci likes this.
  2. Mark Ricci

    Mark Ricci TrainBoard Member

    1,167
    4,021
    47
    Hi,

    Seen this with a variety of OS's and causes can include;
    1-Old Cable and/or monitor (1 PC one would have to shut off and back on monitor for display...
    2-Raspberry Pi's current video resolution is unsupported by monitor

    3-Video - Monitor and - or HDMI Configuration on Pi
    Mr. Todd's image uses the Raspian OS. You may want to check the article about 1/2 down the link
    https://learn.sparkfun.com/tutorials/setting-up-raspbian-and-doom/setup-raspbian

    Also, I'm currently using a headless Pi 4 access totally remote using VNC (sometimes from windows and sometimes from IOS-VNC supports numerous platforms or OSs). If you have time, try installing VNC on another device, attach to same network as Pi, remote to Pi, and see how the Pi's Desktop and JMRI is displayed. If appears normal, I'd definitely explore the 3 items above.

    Hope this helps...
     
    SteamDonkey74 likes this.
  3. french_guy

    french_guy TrainBoard Member

    693
    559
    31
    I know it's an old post, but here are some updates
    First, I forgot to mention that my monitor doesn't have an HDMI port, but DVI. So I've been using an adapter (an old one)
    Yesterday, I tried with a new HDMI-DVI cable but same issue
    So I did update the config file by adding "hdmi_safe=1".......and it works, with my "old" HDMI-DVI adapter
    Thanks Mark for sharing the link
     
    Mark Ricci likes this.
  4. Mark Ricci

    Mark Ricci TrainBoard Member

    1,167
    4,021
    47
    Happy to hear the info helped. :)
     
  5. french_guy

    french_guy TrainBoard Member

    693
    559
    31
    Update: I was still having issues with my monitor and its DVI input
    Despite the additional line in the config.txt file, I was experiencing a black screen after seeing something for only a few seconds
    So I replaced the monitor with another one with a HDMI input................and problem solved
     
    Glenn Butcher, Mark Ricci and Sumner like this.
  6. Mark Ricci

    Mark Ricci TrainBoard Member

    1,167
    4,021
    47
    That's why I suspect monitor (especially older ones) and/or cable as it was first on the list above. Happy to hear all is good.
     
    Glenn Butcher likes this.
  7. Glenn Butcher

    Glenn Butcher TrainBoard Member

    239
    601
    14
    Just a guess, I use DVI->HDMI cables on my desktop computer, driven from a NVIDIA GPU, so lots of power for the signals and whatever HDMI to DVI transition logic needs to be driven. RPi doesn't have a lot of power, so it could be the HDMI out doesn't have the amperage behind it to drive all that.
     
    Mark Ricci likes this.
  8. french_guy

    french_guy TrainBoard Member

    693
    559
    31
    I tried different HDMI cables and also different adapters...I guess my RPI with this specific monitor are just not compatible
    Because the monitor works fine on a computer with the same adapter and cable :unsure:
     
    Mark Ricci likes this.
  9. Mark Ricci

    Mark Ricci TrainBoard Member

    1,167
    4,021
    47
    I've encountered those strange incompatibilities on certain combinations of monitor, adapters if used, and cables when connected to a given computer. Glenn mentioned a good point too especially if the monitor is older. Good to hear the replacement monitor is working out.
     

Share This Page