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

getting "WebGL: INVALID_OPERATION: getUniformLocation: program not linked #4

Open
karthikma opened this issue Apr 27, 2015 · 8 comments

Comments

@karthikma
Copy link

Hi,
We are trying to bring up some answers to our Big data visualizations for which we tried to understand your approach. We tried to use the code base and execute it. When I run it with the latest browsers like chrome and Firefox, I get WebGL errors like below almost on all WebGL functions called. Can you kindly clarify me what should be done to make it execute properly?

WebGL: INVALID_OPERATION: getUniformLocation: program not linked

Picture of entire error screenshots attached

image

@zcliu
Copy link
Contributor

zcliu commented Apr 28, 2015

Could you provide information on operating system and browser version?

@karthikma
Copy link
Author

Hi,
Thank you for taking this up. Please find the details below. Kindly help us as soon as possible. Thanks again.

System:
Operating System : Windows 7 Enterprise 32 bit (Service Pack 1)
Processor : Intel core i5-3230M CPU @ 2.60 GHz
RAM : 4 GB

Browsers:
Chrome browser version : 42.0.2311.90 m
Firefox Browser version : 37.0.2

Java:
JDK : 1.8
JRE : 1.8

Regards,
Karthik M
GTO – Data Visualization CoE
Ph : 04442096000 Extn : 433927

From: Zhicheng Liu [mailto:notifications@github.com]
Sent: Tuesday, April 28, 2015 10:50 PM
To: uwdata/imMens
Cc: Vellaichamy Masilamani, Karthik Kumar (Cognizant)
Subject: Re: [imMens] getting "WebGL: INVALID_OPERATION: getUniformLocation: program not linked (#4)

Could you provide information on operating system and browser version?


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-97142337.

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.

@zcliu
Copy link
Contributor

zcliu commented Apr 30, 2015

The demo runs well in Firefox and Chrome on Mac OS, it has not been tested on Windows machines. Please make sure that your machine has a decent graphics card. Are you able to run other WebGL applications such as those found on https://www.chromeexperiments.com/webgl ?

@karthikma
Copy link
Author

Hi,
I supposedly believe that if the graphics card is not adequate, the performance of the demo should be deteriorated rather than showing program linking compilation errors. Can you help us to find why there is a compilation error rather than performance? is there any difference in programming for mac and windows? I don't have mac with me to test.
Also, I am not able to get any hint from internet on the error to its deep. All comments I see is related to shaders.js update or correction for newer versions of browsers. I am not that technical enough to debug that coding. Kindly advice us some on this.

Thanks in advance.

Regards,
Karthik M


From: Zhicheng Liu [notifications@github.com]
Sent: Friday, May 01, 2015 1:30 AM
To: uwdata/imMens
Cc: Vellaichamy Masilamani, Karthik Kumar (Cognizant)
Subject: Re: [imMens] getting "WebGL: INVALID_OPERATION: getUniformLocation: program not linked (#4)

The demo runs well in Firefox and Chrome on Mac OS, it has not been tested on Windows machines. Please make sure that your machine has a decent graphics card. Are you able to run other WebGL applications such as those found on https://www.chromeexperiments.com/webgl ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-97951043.

This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.

@karthikma
Copy link
Author

Hi,
today I tried with another machine running windows 7 and Chrome browser with the dedicated graphics card of 2GB memory. Still getting the same linking error of shader program. Don't know how to correct it. Kindly help. Also everything in https://www.chromeexperiments.com/webgl works fine in my old as well as the current one.

@zcliu
Copy link
Contributor

zcliu commented May 6, 2015

I tried to run the demo on a Windows 8.1 machine with a dedicated graphics card and it works. Please note that I just updated the repo a few days ago to ensure precision match between the fragment shader and vertex shader. Sometimes a mismatch of precision between shaders can cause "program not linked" errors. Please use the latest code and try again.

If the problem persists, can you post the webgl parameters for your machine by visiting http://www.doesmybrowsersupportwebgl.com/ ? The Windows machine that I used for testing has the following specs:

webgl

@karthikma
Copy link
Author

Hi,
Thanks so much for the reply. Ya I still get the same set of errors with the new code. But one surprising fact is that even the old code is working in my manager's Mac book air. It's a problem in win 7 alone it seems. Pasting below the webgl parameters as requested.
webgl_properties

@karthikma
Copy link
Author

Hi,
I would like to update that last week I tried in my home pc with Windows 8.1 pro which had dedicated graphics card of 1 GB memory. The code worked without any problem. I faced only performance issues in rendering with hiccups. At least I am happy that it worked there. Not able to arrive the problem in my Win 7 Laptop.

Thanks for all the support you had extended. Really appreciate it. Now I require your help and support in creating all the tiles and visuals for my own data. You had noted that the instructions development is in progress. If you can provide and guide us with that soon, We will be greatful. PLease provide us some help in that regard.

Regards,
Karthik M

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

2 participants