-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
HDMI to DVI output possibly broken #471
Comments
Any non-default settings in config.txt? cmdline.txt? Can you confirm that TV is completely blank on boot with recent firmware? |
Default cmdline.txt and config.txt. Latest Raspbian image (05-05-15) fully updated, latest firmware. omxplayer is launched via a script on the system. I'm rebuilding a Pi 2 now to test older firmware. I'll report back with results. I've concocted a "boot animation" with omxplayer so that as soon as the kernel loads it displays a video while the rest of the system boots. It plays the video and any others just fine but doesn't appear to display any output from X11. I see identical behavior on a clean Raspbian install. For what it's worth, it seems to behave exactly the same way if I run I'm eager to try a variety of things to debug this because I want to help you all fix the issue. Thanks! |
Are you making omxplayer adjust the refresh rate (e.g. with -r)? That might explain why omxplayer can produce an image. |
As I test on more and more displays, I'm finding that this is actually only an issue on a few Dell monitors (that aren't made anymore) but works on other Dell monitors. At this point, I'm content with considering this a non-issue since we can simply assume that certain models of monitors are not compatible with the new firmware. If you are interested in chasing down this bug, I'll happily provide the results of any tests, but we can consider this issue moot to free up your time to chase down more important issues. The answers to your questions are below. I'm only running Firmware version: 8521fd34c8f66b6d109acce943f6e25ec93ec005 (with a reboot between switching displays) Firmware version: cacc0a7989178d5f4aa9333820bc92dd1771419c |
I would like to understand this in case it is affecting other users. |
I'll continue to see this through. I'm coming down with something and I'll get back to you in a few days. |
Have you had a chance to do the test I suggested? |
Sorry, not yet. Just getting back to work. I will try to get you some results tomorrow. |
Both of those commits behave the same way. Here's what I'm seeing:
On any commit newer than 8521fd3 (even the very next one 03b4437) I get nothing but omxplayer output. Even the 4 raspberries in the splash screen are not visible. Please advise on what you'd like to see next. |
I've tried forcing that mode (with latest firmware):
And my monitor displays an image fine. What does |
Just in case it was a problem with the FB being set to 1920x1080, I changed it to the screen's native resolution and rebooted. Same symptoms, but
|
What does |
On Version |
Hmmm. I did ask in the second post if you had any non-default config.txt settings.
which may well be relevant. I'll see if I can reproduce the issue with those added. |
Sorry about that. I should have checked over that more thoroughly. |
Can you say why you have those settings? They look nonsensical to me. |
The overscan setting is critical on many displays in order to get images to fill the entire screen. However, on these particular displays it looks like it is ok without them. The professional Samsung LFDs are bad about this. The framebuffer setting is being set by a script. We have found several displays that default to 1280x720 without that line so I created a script that will configure that setting automatically. It turns out that removing the overscan setting corrects the issue. The frambuffer setting has no apparent effect on the problem. Thank you again very much for your time and effort in to looking in to this. |
Overscan only makes sense on CEA (TV) modes, not DMT (monitor modes). So, for you, with a DMT mode with no default overscan, you are setting the values to a negative value. A positive settings would increase the black border around your framebuffer, a negative value will actually zoom the framebuffer in so it will be impossible to see the edges of the framebuffer. Even with a CEA mode, it never makes sense to set overscan values below -48, which will effectively disable the overscan adjustment. I'd suggest you start with
I wouldn't recommend specifying frame_buffer_width/frame_buffer_height without a very good reason. It will introduce a scaling of the framebuffer and so make the text more blurry. There was a change in behaviour with the identified firmware when specifying overscan coordinates that end up negative that wasn't intended. I will fix that. However anyone who is hitting that issue has unwanted settings and would be better correcting them. |
Absolutely excellent. I agree that these settings should have been more thoroughly thought through. Thanks for the info regarding overscan below -48. That actually explains some of the behavior that we were seeing. Again, thank you very much for you time and effort in this. We can consider the issue resolved. |
kernel: Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708" See: raspberrypi/linux#1132 kernel: bcm2835-mmc: Don't overwrite MMC capabilities from DT kernel: BCM270X_DT: Use fixed-factor-clock for uart1 See: raspberrypi/linux#1008 kernel: vchiq: fix NULL pointer dereference when closing driver See: raspberrypi/linux#1123 firmware: Fix touchscreen I2C to only read from i2c in smaller bursts to avoid a fifo overrun problem with the i2c peripheral See: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=120642 firmware: arm_display: Fix issue with nonsensical negative overscan settings See: #471 firmware: arm_loader: Enable the i2c_arm and i2c_vc aliases for CM See: raspberrypi/linux#1129 firmware: di_adv: Allow the v3d priority boost to be modified See: http://forum.kodi.tv/showthread.php?tid=231092&pid=2103200#pid2103200
kernel: Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708" See: raspberrypi/linux#1132 kernel: bcm2835-mmc: Don't overwrite MMC capabilities from DT kernel: BCM270X_DT: Use fixed-factor-clock for uart1 See: raspberrypi/linux#1008 kernel: vchiq: fix NULL pointer dereference when closing driver See: raspberrypi/linux#1123 firmware: Fix touchscreen I2C to only read from i2c in smaller bursts to avoid a fifo overrun problem with the i2c peripheral See: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=120642 firmware: arm_display: Fix issue with nonsensical negative overscan settings See: raspberrypi/firmware#471 firmware: arm_loader: Enable the i2c_arm and i2c_vc aliases for CM See: raspberrypi/linux#1129 firmware: di_adv: Allow the v3d priority boost to be modified See: http://forum.kodi.tv/showthread.php?tid=231092&pid=2103200#pid2103200
No problem. I've included a fix in latest rpi-update code that gets the old behaviour back with too negative overscan. I think pixels lost off the edge is better than black screen, so it's useful to fix it anyway, even if the best solution is to change config.txt. |
Thanks! I can confirm that the latest firmware reverts that behavior. I appreciate it. Don |
kernel: Revert "BCM270X_DT: mz61581: Revert to spi-bcm2708" See: raspberrypi/linux#1132 kernel: bcm2835-mmc: Don't overwrite MMC capabilities from DT kernel: BCM270X_DT: Use fixed-factor-clock for uart1 See: raspberrypi/linux#1008 kernel: vchiq: fix NULL pointer dereference when closing driver See: raspberrypi/linux#1123 firmware: Fix touchscreen I2C to only read from i2c in smaller bursts to avoid a fifo overrun problem with the i2c peripheral See: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=120642 firmware: arm_display: Fix issue with nonsensical negative overscan settings See: raspberrypi#471 firmware: arm_loader: Enable the i2c_arm and i2c_vc aliases for CM See: raspberrypi/linux#1129 firmware: di_adv: Allow the v3d priority boost to be modified See: http://forum.kodi.tv/showthread.php?tid=231092&pid=2103200#pid2103200
Hello,
I've found that using a passive HDMI to DVI adapter/cable does not work on the Pi 2 starting at commit 03b4437 (May 13, 2015). I've tested this across multiple Pi 2s, montiors, and cables/adapters. The behavior that I see is that omxplayer is able to display output video, but nothing else (including the X session) is visible. If I use the previous commit everything works just fine.
Hot-swapping monitors yields the same results; HDMI works, DVI does not.
I've tried about every combination of hdmi_drive, hmdi_group, hdmi_mode, hdmi_boost and the like to attempt to work around this issue. Right now the only thing that I've found that works is using rpi-update 8521fd34c8f66b6d109acce943f6e25ec93ec005
Thanks.
The text was updated successfully, but these errors were encountered: