Skip to content
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

[Storm] Error when rendering textures on Windows with Radeon GPU #1026

Closed
pmolodo opened this issue Nov 7, 2019 · 1 comment
Closed

[Storm] Error when rendering textures on Windows with Radeon GPU #1026

pmolodo opened this issue Nov 7, 2019 · 1 comment

Comments

@pmolodo
Copy link
Contributor

pmolodo commented Nov 7, 2019

Description of Issue

On windows, with a Radeon GPU, if I try to display a textured cube in usdview:

https://github.com/elrond79/usd_samples_shapes/raw/master/cube_texture.usdz

...I get this error:

Warning: in CompileShader at line 263 of USD\src\pxr\imaging\lib\hdSt\glslProgram.cpp -- Failed to compile shader (GL_FRAGMENT_SHADER): Fragment shader failed to compile with the following errors:
ERROR: 0:339: error(#438) Extension GL_ARB_bindless_texture is requried' by use image/sampler as output parameters'.
ERROR: error(#273) 1 compilation errors.  No code generated


ERROR: Usdview encountered an error while rendering.
        Error in 'pxrInternal_v0_19__pxrReserved__::HdSt_DrawBatch::_GetDrawingProgram' at line 241 in file USD\src\pxr\imaging\lib\hdSt\drawBatch.cpp : 'Failed to compile shader for prim /pCube1.'

Per Pol's suggestion, I tried doing

set TF_DEBUG=GLF_DEBUG_CONTEXT_CAPS

...and USD thinks I don't have GL_ARB_bindless_texture:

ARB_bindless_texture               = 0

However, consulting OpenGL Extensions Viewer (http://realtech-vr.com/admin/glview) tells me that it should be available on my GPU / driver.

As a workaround, if I manually set this env var:

set GLF_ENABLE_BINDLESS_TEXTURE=1

...then it works.

Steps to Reproduce

  1. Download https://github.com/elrond79/usd_samples_shapes/raw/master/cube_texture.usdz onto a windows machine with a Radeon GPU
  2. usdview cube_texture.usdz

System Information (OS, Hardware)

Windows 10 Pro (10.0.18362 Build 18362)
AMD Radeon R9 M370X
Radeon Graphics Drivers Crimson 15.11 2-9-2016
OpenGL Version 4.5

Package Versions

USD-0.19.11

@jilliene
Copy link

jilliene commented Nov 7, 2019

Filed as internal issue #USD-5683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants