Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

HAL_PIXEL_FORMAT errors on Android Samsung Tab S

Discussion in 'Android' started by liortal, Apr 13, 2015.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    When we play our game (built with Unity 5.0f4) on Android, specifically on the Samsung Galaxy Tab S (SM-T700):

    04-12 18:17:23.282: E/(2209): HAL_PIXEL_FORMAT_2_V4L2_PIX::unmatched HAL_PIXEL_FORMAT color_space(0x108)
    04-12 18:17:23.282: W/hwcutils(2209): unrecognized pixel format 264

    Has anyone else encountered such an issue?
    The log (logcat) is bombed with thousands of these...
     
    zhdanov-pix likes this.
  2. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    Looks like error output from a video stream. Are you interacting with the camera somehow?
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    No, the game doesn't interact with the camera in any way.

    We do have integrations with video ad providers, maybe some of them are opening video streams in the background ?
    There's no real info where this is coming from.
     
  4. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    I guess it could be a problem with the EGL configuration we pick. See if you can reproduce the issue using an empty scene.
     
  5. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    Hi, thanks for responding.

    I tried and the same occurs also with a blank project.
    I opened a bug for this including the project, APK and logcat output. Hope it's enough for you to check out this issue.
    Note i've only seen it on this specific device.

    The case number is 689286 in case you want to check it out.

    Thanks again.
    Lior
     
  6. dbyst

    dbyst

    Joined:
    Oct 22, 2014
    Posts:
    1
    Have same issue on Samsung S5. Any ideas how to fix that ?
     
  7. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    Martin from the Android team @ unity remote connected to our device and ran a bunch of tests.
    He said he will prepare a patch with some fix, but that was a few weeks ago, so i am not sure where that stands.

    I tried pinging them by commenting on the bug report with no success...
     
    Last edited: May 19, 2015
  8. ProfDrDoom

    ProfDrDoom

    Joined:
    Aug 16, 2014
    Posts:
    1
    are there any news regarding this behaviour?
     
  9. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    Can someone check if this was ever fixed in any patch? @bitter ?
     
  10. gydronik

    gydronik

    Joined:
    Oct 20, 2012
    Posts:
    8
    HAL_PIXEL_FORMAT_2_V4L2_PIX::unmatched HAL_PIXEL_FORMAT
    Galaxy Note 3 Unity 5.1.0f2
     
  11. zhdanov-pix

    zhdanov-pix

    Joined:
    Feb 17, 2015
    Posts:
    1
    Samsung Galaxy Tab SM-T700 + Unity 5.0.2p3 = not fixed
     
  12. leni8ec

    leni8ec

    Joined:
    May 23, 2013
    Posts:
    20
    Samsung Galaxy Alpha SM-850F + Unity 5.1.1f1 Personal
    Same issue...
     
  13. agw360

    agw360

    Joined:
    Aug 21, 2014
    Posts:
    1
    Samsung Galaxy Tab S SM-T800 Unity 5.1.2f1
    Same issue...
     
  14. wuhuan

    wuhuan

    Joined:
    Mar 12, 2014
    Posts:
    9
    Same issue... Can anyone solve?
     
  15. RagemodeEntertainment

    RagemodeEntertainment

    Joined:
    Nov 8, 2014
    Posts:
    7
    Same issues here also
     
  16. khardey

    khardey

    Joined:
    Dec 10, 2012
    Posts:
    1
    I get this error when using a mobile video player I wrote. It happens on our Samsung Galaxy Tab S 8.4 which has an Exynos chip, and the videos do not play. The Galaxy S4 with a Snapdragon chip did not produce the error and played the video just fine. None of our other non-Samsung Android devices produce the error either. (Unity 5.0.1f1)
     
  17. Deleted User

    Deleted User

    Guest

    We've got the same problem on Meizu MX4 Pro with Unity 5.1.1
     
  18. hugettini

    hugettini

    Joined:
    Apr 1, 2013
    Posts:
    19
    Same with unity 5.2.1f1 and Samsung Galaxy SM-T800
     
  19. frjtrifork

    frjtrifork

    Joined:
    Mar 12, 2015
    Posts:
    29
    We are seeing the same issue on Galaxy Tab S when building from Unity 5.2.0 - we recently upgraded our app from Unity 4.6.7 and when building from 4.6.7 the issue was not there.
     
  20. PetroUnityDev

    PetroUnityDev

    Joined:
    Nov 19, 2014
    Posts:
    5
    We are seeing the same issue with two different Samsung Galaxy S5 devices using Unity 5.2.2. This makes debugging issues via logcat quite tedious. Does anyone know of a solution?
     
  21. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    5.2.2p4
     
    liortal likes this.
  22. PetroUnityDev

    PetroUnityDev

    Joined:
    Nov 19, 2014
    Posts:
    5
    Thanks, Martin. That patch does solve the issue for me!