[BUG] [GLSL] [Nexus Player] Unreachable return statements cause garbage

This topic contains 5 replies, has 2 voices, and was last updated by  martontamas 10 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #55066

    Paul
    Member
    #55067

    Hi Paul,

    thank you for reporting this. We could reproduce the problem on the nexus player here in the office. I’ll try to check it on a device with more recent drivers. If it still fails I’ll forward it to the appropriate people.

    bests,
    Marton

    #55069

    Paul
    Member

    Thanks Marton. Please let us know how you get on. Will you be testing on an internal (private) device? We also have an Asus Zenpad 3S 10 we can test on in case that has more recent drivers. Or perhaps we should get the image for the Nexus Player that has Vulkan support (if that has more recent drivers)?

    #55070

    Hi Paul,

    we tried this on a Nexus Player with the latest drivers, the image corruption seems to be gone.
    I attached a screenshot, let me know if it looks ok.
    Yes, it’s an internal device with the latest drivers.
    No, the latest official Nexus Player image still only has 1.6 drivers.

    bests,
    Marton

    Attachments:
    You must be logged in to view attached files.
    #55076

    Paul
    Member

    Thanks Marton. As long as both the recipient and variant shaders produce a similar image, then the bug is fixed 🙂
    In this case, I assume the bug is probably fixed, although comparing both images is the easiest way to know for sure.

    Just to confirm: the latest official Nexus Player image is build NMF26J. But I understand we can request an image with Vulkan drivers via pvrsupport.imgtec.com. I assume this technically has “newer” drivers, but maybe the same OpenGL driver code? I just wanted to check whether *any* image we can request would have newer OpenGL drivers. So we can report bugs that are useful to you.

    Also: you mention 1.6 drivers. Is there a good way to check the version number of the drivers on the Nexus Player? I think we can get root access if that helps.

    By the way, this work is part of a research project for fuzzing GLSL compilers at Imperial College London, UK. Our tool, GLFuzz, produces fragment shaders that are likely to expose bugs in GLSL compilers and then reduces/simplifies the buggy shaders so they are suitable for use in bug reports. We are fuzzing many different vendors’ GLSL compilers and reporting the bugs to the vendors to help them improve their compilers and to demonstrate the effectiveness of our techniques. Some vendors are keen to integrate our tool into their testing infrastructure, which is exciting for us. Hopefully this explains why we are really keen to use the latest drivers! 🙂

    #55078

    Hi Paul,

    Unfortunately you can only update your drivers on your stock Nexus Player if you flash a new system image provided by Google. Since the part where the drivers are stored is read-only and encrypted you can’t upgrade your driver directly without installing a new system image.

    The latest system image from Google contains the latest publicly available drivers.

    You can check the drivers version number easily using AIDA64.

    I must say this is an awesome work! It sounds very exciting. 🙂

    Even thought you won’t be able to use the latest drivers, you can still use the current one and you can still report the bugs. We’ll try to replicate them using the latest drivers and if they are still an issue we’ll forward it to the appropriate people (and the bugs will get fixed of course).
    We really appreciate these bug reports, keep them coming 🙂

    bests,
    Marton

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.