question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test failure on Nvidia Quadro card

See original GitHub issue

This is a bit of a corner case but worth documenting. The test Scene/Primitive shader validation fails with Expected function to throw DeveloperError. only when running with the Quadro M1200/PCIe/SSE2 card. It works fine whens witching to the embedded Intel renderer.

The expected error is:

Appearance/Geometry mismatch.  The appearance requires vertex shader attribute input 
'tangent', which was not computed as part of the Geometry.  
Use the appearance's vertexFormat property when constructing the geometry

The difference comes right here:

https://github.com/AnalyticalGraphicsInc/cesium/blob/64cc4dca3db7f460b420cdaaef6d10947ea2ca8b/Source/Renderer/ShaderProgram.js#L450-L454

It correctly passes a shader program with a vertex shader that has a tangent attribute, and on Intel it correctly returns 9 attributes, but on Nvidia it returns only 6 (potentially stripping away unused attributes?) which then causes the test to fail.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
likangning93commented, Sep 4, 2019

Also this was Linux

0reactions
IanLilleyTcommented, Sep 18, 2019

Basically I think that function is the problem code. The vertex format mismatch could be detected much sooner (I think!) and then you don’t have to go so far as to compile the shader and rely on the vendor’s shader compiler to preserve unused attributes in order to detect a mismatch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Nvidia Graphics Card Problem in Simple Steps - Stellar
Check if the graphics card is properly placed in the PCI slot. It should be fitted properly and shouldn?t be loose. You may...
Read more >
What causes error: Source - NVWMI | Level - Warning
The NVIDIA Graphics Driver is not installed correctly ; The NVIDIA Graphics Driver is not uninstalled correctly ; Verify that the GPU is...
Read more >
NVIDIA's Manufacturer's Warranty
Warranty covers any manufacturing defects or hardware component failures in your NVIDIA® branded Graphics Card that is still within warranty along with any ......
Read more >
To change the ECC state - NVIDIA
From the NVIDIA Control Panel Select a Task pane, under Workstation, click Manage GPU Utilization. · For each Quadro and Tesla card, select...
Read more >
Chapter 8. Common Problems - NVIDIA
If the displays are attached to the same GPU, and one of them is out of sync ... If the NVIDIA kernel module...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found