Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,881
    • Issues 2,881
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 916
    • Merge requests 916
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #5932

Closed
Open
Created Jan 26, 2022 by Alejandro Piñeiro@apinheiroDeveloper

v3d/vc4: drm noop shim drivers not working

So for the case of v3d, if you try to execute it you get an DRM exception. So for example, on the case of trying to use it for shader-db:

[jhbuild-infapi00]@atanagildo:~/mesa/source/shader-db$ ./run shaders/anholt/12.shader_test 
ATTENTION: default value of option allow_glsl_extension_directive_midshader overridden by environment.
ATTENTION: default value of option allow_glsl_builtin_variable_redeclaration overridden by environment.
DRM_SHIM: unhandled core DRM ioctl 0xB2 (0xc02064b2)
Segmentation fault (core dumped

For the case of vc4, although it was included with !8736 (merged), it is not really doing anything (so more noop that intended). It is pending to update vc4 shaderdb debug option to print the outcome in the current shaderdb expected format, and add support for precompile shaders (as v3d) so it really compiles shaders when used. I tried it using some old patches that I had around last time I tried it, but I also get a DRM exception. In this case I think that it would be better to fix the DRM exception with the v3d drm-shim noop driver, and then going to vc4.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking