-
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
Expected behaviour of "graphics_get_display_size" in bcm_host? #14
Comments
It was fixed on 21 April in our source tree, so you need a libbcm_host.so newer than that.
|
Brilliant :) Thanks! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling "graphics_get_display_size" seems to always return 1920x1080, regardless of the current display size. Is this expected behaviour?
Is there a way to get the true output resolution, in the same manner as the tvservice utility?
eg
#include "bcm_host.h"
...
success = graphics_get_display_size(0 /* LCD */, &width, &height);
width and height seem to return 1920 and 1080 respectively, regardless to output mode. My HDMI is currently set to "state 0x12001a, 1280x720 @ 50Hz, progressive". It returns 1920x1080 even when using composite out.
The text was updated successfully, but these errors were encountered: