Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

Chrome / Linux WebGL

IhabIhab Member Posts: 4 ✭✭
Hi folks,

When I go to cad.onshape.com, I get a message saying my computer does not support WebGL.

I am using Google Chrome on Linux with the following specific versions:

Linux - Ubuntu 22.04.1 LTS
Chrome - Version 108.0.5359.94 (Official Build) (64-bit)
Computer - Thinkpad P16S https://www.lenovo.com/us/en/p/laptops/thinkpad/thinkpadp/thinkpad-p16s-(16-inch-amd)/21ck0020us

I have turned on "override software rendering list" and ensured that hardware acceleration is enabled.

I have gone to http://get.webgl.org/ and verified that I see a spinning 3D cube.

My browser sends the User-agent string:

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Kiind regards,

Ihab

Comments

  • Options
    dave_lapthornedave_lapthorne Member, Onshape Employees, csevp Posts: 14
    Try this in Chrome:
    1. Go to about:flags
    2. Press Ctrl-F or Cmd-F and search for webgl 2.0
    3. Find WebGL 2.0 Prototype and click enable
    4. restart Chrome
  • Options
    IhabIhab Member Posts: 4 ✭✭
    Thank you! I looked and there was no such flag in my Chrome. With the below, I still get the error in OnShape.




    Ihab
  • Options
    IhabIhab Member Posts: 4 ✭✭
    Another data point: This site, on my browser, says that I do have WebGL 2 support:

    https://webglreport.com/?v=2

    Ihab


  • Options
    NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,396
    Try Firefox to see if it is browser specific. 
    Senior Director, Technical Services, EMEAI
  • Options
    alnisalnis Member, Developers Posts: 449 EDU
    I've been having issues with Chrome on Linux lately. Seems something got borked in a recent Chrome update. Firefox works fine though.
    Student at University of Washington | Get in touch: contact@alnis.dev | My personal site: https://alnis.dev
  • Options
    IhabIhab Member Posts: 4 ✭✭
    It is browser specific. The default Firefox installed with my operating system works just fine.

    Consider me unblocked for working with OnShape on Linux, then! But I hope the issues with Chrome get figured out!

    Thank you!

    Ihab

  • Options
    emsitemsit Member Posts: 3
    I have the same problem. After updating chrome, onshape stopped working :(


  • Options
    emsitemsit Member Posts: 3
    Deleting the file helped solve my problem :) :

    "/home/$USER/.config/google-chrome/Local State"

  • Options
    Will_BeckwithWill_Beckwith Member Posts: 2
    emsit said:
    Deleting the file helped solve my problem :) :

    "/home/$USER/.config/google-chrome/Local State"

    THANK YOU.  This was the solution for me.  I have had this problem since.... Um... Maybe sometime in May 2023.  I can only guess that some saved configuration did not play nicely with an updated rendering library within Chrome... or something like that.  But it lines up perfectly with the fact that Onshape worked fine in Chromium for me... which is the same rendering engine without Google's "special sauce".
    You have made me, and a bunch of folks who work with me, very happy.
  • Options
    john_denverjohn_denver Member Posts: 5
    the deleting of "/home/johnd/.config/google-chrome/Local State"

    doesn't solved the problem for me :(
    I'm shure, the issue comes with an chrome update (firefox works fine, WebGL is reported ok by all means)
    any other ideas?
    Thank you
  • Options
    serhii_sevriuhinserhii_sevriuhin Member Posts: 2
    Who can help in my situation?
    Ubuntu 22.04
    in FF everything works
    on wayland it works, but I don't like it
    on X11 have this artifacts =(

  • Options
    NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,396
    @serhii_sevriuhin the solution would be to use FF - those others things are not supported.
    Senior Director, Technical Services, EMEAI
Sign In or Register to comment.