raspberrypi / noobs

NOOBS (New Out Of Box Software) - An easy Operating System install manager for the Raspberry Pi

Home Page:http://www.raspberrypi.org/downloads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shall README 'Setup' mention that Pi 4B may get video only in one HDMI port?

aszasz opened this issue · comments

Once the Setup section of the README.md is thoughtful enough to say "Please note that in some cases it may extract the files into a folder, if this is the case then please copy across the files from inside the folder rather than the folder itself."

I think it would be equally worth to mention that "For Pi 4 Model B, it has been reported that switching to HDMI port closer to the power supply has solved the lack of video response"

That is because it took me long to try the swicth, as well as other reported here ( https://raspberrypi.stackexchange.com/questions/101842/noobs-stuck-at-rainbow-screen-raspberry-pi-4 )

(I also requested raspberrypi.org to mention it on the set-up guide)

A side-effect of #572 not being done (yet?) 😉

May I submit a pull request adding the followng line to README.md (it would be the first line of Setup section)?
Raspberry Pi 4 Model B: display must be connected to HDMI port closest to power jack.

You can use either port, UNLESS you want 4kp60, when you need to use HDMI0. I think that is the only limitation. EDIT: Hold on, we are talking about NOOBS, sorry, that might be different.

@JamesH65 - Yes, it's using the legacy driver. Tell me how to mirror the screen to both HDMI ports in Qt and I'll put it in PINN too.

Mirroring on the legacy driver is possible I think, but not sure currently. A way to do it would be the same same bitmaps for each output, but that would encounter problem if you had two displays of differing resolution. But why mirror, don't you just use the attached display? Where ever it is connected? tvservice -l will list the attached displays and their ID's, so whatever you are using for final output (after QT) can just use that?

With NOOBS being written in QT, I think QT takes care of all the video output, which is managed by including various QT libraries and setting the output modes with help of the QWS_DISPLAY environment variable. I worked out how to alter this to output to both the default display (usually HDMI0) and VNC simultaneously, but I've not worked out how to output to dual HDMI with Qt (see also #572).

I suppose for dual displays with the same resolution, it would be possible to use some external fb copy program, like is done for some of the smaller spi type displays, but I think using qt's facilities would provide a better solution - I think it should be possible, I just don't know how to do it.

@aszasz - Anyone can submit a PR. I don't see a problem with this suggestion to update the README, especially as it will help avoid user frustration. But it will be up to the maintainers whether it is ultimately merged or not.

@procount I don't have time to look at this myself, but have you already looked at https://doc.qt.io/archives/qt-4.8/qt-embedded-displaymanagement.html ?

@lurch - Thanks, but I think I read that some time ago, which is why I added my comments at #572 (comment), but I didn't get it to work.

Fixed by #578