-
Notifications
You must be signed in to change notification settings - Fork 1.1k
DISPMANX_MODEINFO_T transform value sometimes correct #348
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
Comments
Are you happy just getting the value of display_rotate back? |
Yup, that'd be perfect. I've had a look at raspi2png's source code while I'm at it and it seems to work around the issue by using |
Test firmware you can try: https://www.dropbox.com/s/oo5f4ztfozgeg06/firmware_ip.zip?dl=0 |
Many thanks - that works nicely! |
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: #667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: raspberrypi/firmware#667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: #667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: raspberrypi/firmware#667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
- firmware: isp: Add isp and isp_ilc to standard Pi variant as a cheap resize - firmware: MMAL: Add parameters to configure source pattern - firmware: IL Camera: Minor tidy up in RGB output handling - firmware: Video_render: Support YV12 and NV21 (YVU formats - firmware: IL Source: Add support for YV12 output (YVU420PackedPlanar) - firmware: IL ISP: Major updates - firmware: mmal_ril: Relay buffer alignment from RIL to MMAL - firmware: ldconfig: Increase line buffer length from 80 to 100 - firmware: h264: Fix skipping of SPSX in header bytes See: https://discourse.osmc.tv/t/video-does-not-work-with-hardware-acceleartion/6629/11 - firmware: display: Allow display blanking to affect DPI output See: #672 - firmware: Video_decode: Check licenced codecs at component create - firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 - firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: #667 - firmware: mmal: improvements to mmal_queue code - firmware: arm_dt: Silence system-supplied dtparams - firmware: vc_image: Remove obsolete processor support using _VC_VERSION - firmware: vc_image: Include colourspace in RGB to YUV conversions - firmware: OV5647/IMX219: Shutdown lines in reverse order to opening See: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=138290#p1052932 - firmware: logging: Fix issue when logging end is at 1G - firmware: hello_pi: Add hello_mmal_encode example See: raspberrypi/userland#349 - firmware: IL ISP: Update to support opaque input - firmware: IL ISP: Fix for opaque EOS and excessive finalise calls - firmware: khronos: Use low 256M allocations for bin allocations - firmware: logging: Fix issue when logging end is at 1G part 2 - firmware: arm_loader: Ensure mbox failure paths return failure - firmware: arm_loader: Add options for setting shared buffers from kernel driver - firmware: vcdbg: Use dma driver to access gpu memory - firmware: dispmanx: Support framebuffer_aspect=-1 for ignore aspect ratio See: #638 - firmware: Raspistill: Only fail setting restart int if not 0 - firmware: RaspiVid: -sg option could try opening null file - firmware: RaspiVid: Segment PTS file too if set See: raspberrypi/userland#354 - firmware: RaspiVid: Add raw (YUV420, RGB or grayscale) video output See: raspberrypi/userland#342 - firmware: Add support for EGL images allocated by VCSM See: raspberrypi/userland#344 - firmware: egl_client: Avoid missing return value warning - firmware: debug_sym: Use pointer type for user address - firmware: Video_splitter: store and pass on frame rate information - firmware: TC358762: Fix broken backlight ratelimiting
kernel: Support for Blokas Labs pisound board See: raspberrypi/linux#1684 firmware: Video_decode: Check licenced codecs at component create firmware: dispmanx: Report transform or display as the display_rotate variable See: raspberrypi/userland#348 firmware: arm_loader: Don't lose force_turbo when initial_turbo completes See: raspberrypi#667 firmware: mmal: improvements to mmal_queue code firmware: arm_dt: Silence system-supplied dtparams firmware: vc_image: Remove obsolete processor support using _VC_VERSION firmware: vc_image: Include colourspace in RGB to YUV conversions
@popcornmix Did this get merged? |
Yes (you can see the firmware updates that link to this issue above) |
Cool, closing. |
I've been working on adding screenshot capabilities to picamera and ran across something a little odd in the result of
vc_dispmanx_display_get_info
. Whendisplay_rotate
(in/boot/config.txt
) is set to 0, 1, or 3 (no rotation, 90 degrees, or 270 degrees), the info returned byvc_dispmanx_display_get_info
is as expected:width
andheight
are all correct (swapped in the case of 90 or 270 degree rotation), and thetransform
field reports the display rotation (0, 1, or 3).However, when
display_rotate
is set to2
(180 degree rotation),width
andheight
are correct (same as unrotated), buttransform
reads0
(the display is definitely rotated though). The same happens for 65536 and 131072 (horizontal and vertical flip) too, but I'm not sure if those are documented use-cases.The following little snippet of C should demonstrate things:
The text was updated successfully, but these errors were encountered: