When I try to go to the skins tab in my launcher, it sais that my device(Lenovo Laptop) does not support WebGL. I searched it and clicked on get.webgl.org, which sais my Laptop supports WebGL. Does anyone know how can I fix it? I restarted my launcher and it's still broken.
This happened while I was duplicating my skins to put them in order.
Linked issues
is duplicated by 13
Attachments
Comments 41
Same here
i solved it by updating my graphic drivers
Hey, Isaac!
Can you please tell me how to do that, because I'm not good at computer stuff and I would appreciate the help!
I have the same issue on Ubunutu and I do have WebGL as well but it says I dont please help me what do i do
This issue may be related to out of date drivers. See if Community Support can help at all:
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
I have the same issue, both on Xubuntu 19.10 and Manjaro.
Same issue on Ubuntu 18.04
Same issue on osx 10.14, webgl works fine in a browser but fails in Minecraft.
Also having the same issue on the Linux port of the launcher.
(I realize this ticket is for the Windows environment, but enough Linux users have responded to it, didn't think it was worth opening a new one. I can go ahead and do that if a moderator would prefer that.)
Environment:
Fedora 32 Workstation
Kernel 5.6.6
Gnome 3.36.1 on X11
GPU: AMD Radeon VII (Vega 20)
Mesa 20.0.4 driver stack
xorg-x11-drv-amdgpu 19.1.0
llvm 10.0.0
When the launcher is run from a terminal, the following errors are observed where the launcher is expecting to find SwiftShader - yet this directory does not exist within the launcher's tar ball.
$ /opt/minecraft-launcher/minecraft-launcher
[0426/102138.810404:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102138.811222:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0426/102139.149091:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102139.150088:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0426/102139.495702:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102139.496677:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0426/102139.829939:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102139.830821:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization$ /opt/minecraft-launcher/minecraft-launcher
[0426/102138.810404:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102138.811222:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0426/102139.149091:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102139.150088:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0426/102139.495702:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102139.496677:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
[0426/102139.829939:ERROR:gl_implementation.cc(241)] Failed to load /opt/minecraft-launcher/swiftshader/libGLESv2.so: /opt/minecraft-launcher/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory
[0426/102139.830821:ERROR:gpu_child_thread.cc(254)] Exiting GPU process due to errors during initialization
Outside of this, OpenGLES does work on the system:
Looking for a Workaround:
I've managed to partially get it working by building swiftshader from it's sources (master branch) and linking the swiftshader/build/Linux directory to /opt/minecraft-launcher/swiftshader. So you can at least see the Steve and Alex skins, but the current skin, as well as the editor do not load in.
At this point, the following can be observed in the terminal:
$ /opt/minecraft-launcher/minecraft-launcher
[0426/111632.955297:ERROR:cache_util.cc(134)] Unable to move cache folder GPUCache to old_GPUCache_000
[0426/111632.955339:ERROR:disk_cache.cc(172)] Unable to create cache
[0426/111632.955352:ERROR:shader_disk_cache.cc(601)] Shader Cache Creation failed: -2
[0426/111635.229242:INFO:CONSOLE(2)] "THREE.WebGLRenderer: EXT_frag_depth extension not supported.", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)
[0426/111635.232404:INFO:CONSOLE(2)] "THREE.WebGLRenderer: EXT_shader_texture_lod extension not supported.", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)
[0426/111635.865092:INFO:CONSOLE(2)] "THREE.WebGLProgram: shader error: ", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)
[0426/111635.866566:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.867221:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.867609:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.867819:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.868235:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.879549:INFO:CONSOLE(0)] "WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost", source: mojang://java-launcher/index.html (0)
[0426/111635.895824:INFO:CONSOLE(2)] "THREE.WebGLRenderer: Context Lost.", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)$ /opt/minecraft-launcher/minecraft-launcher
[0426/111632.955297:ERROR:cache_util.cc(134)] Unable to move cache folder GPUCache to old_GPUCache_000
[0426/111632.955339:ERROR:disk_cache.cc(172)] Unable to create cache
[0426/111632.955352:ERROR:shader_disk_cache.cc(601)] Shader Cache Creation failed: -2
[0426/111635.229242:INFO:CONSOLE(2)] "THREE.WebGLRenderer: EXT_frag_depth extension not supported.", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)
[0426/111635.232404:INFO:CONSOLE(2)] "THREE.WebGLRenderer: EXT_shader_texture_lod extension not supported.", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)
[0426/111635.865092:INFO:CONSOLE(2)] "THREE.WebGLProgram: shader error: ", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)
[0426/111635.866566:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.867221:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.867609:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.867819:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.868235:INFO:CONSOLE(2)] "WebGL: INVALID_OPERATION: useProgram: program not valid", source: mojang://java-launcher/static/js/5.c254c539.chunk.js (2)
[0426/111635.879549:INFO:CONSOLE(0)] "WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost", source: mojang://java-launcher/index.html (0)
[0426/111635.895824:INFO:CONSOLE(2)] "THREE.WebGLRenderer: Context Lost.", source: mojang://java-launcher/static/js/3.02917d33.chunk.js (2)
Not sure if it's a basic incompatibility, or if the swiftshader sub-directory should expect more than just libEGL.so and libGLESv2.so. Here's the directory permissions in case they can be of use:
[flagcourier@landondesktop minecraft-launcher]$ ll
total 182344
-rw-r--r--. 1 root root 621568 Apr 17 20:55 cef_100_percent.pak
-rw-r--r--. 1 root root 730195 Apr 17 20:55 cef_200_percent.pak
-rw-r--r--. 1 root root 3381507 Apr 17 20:55 cef_extensions.pak
-rw-r--r--. 1 root root 4115814 Apr 17 20:55 cef.pak
-rwxr-xr-x. 1 root root 23688 Apr 17 20:55 chrome-sandbox
-rw-r--r--. 1 root root 10196592 Apr 17 20:55 icudtl.dat
-rwxr-xr-x. 1 root root 125944136 Apr 17 20:55 libcef.so
-rw-r--r--. 1 root root 37855864 Apr 17 20:55 liblauncher.so
drwxr-xr-x. 2 root root 4096 Apr 26 09:46 locales
-rwxr-xr-x. 1 root root 120976 Apr 17 20:55 minecraft-launcher
-rwxr-xr-x. 1 root root 218275 Apr 17 20:55 natives_blob.bin
-rwxr-xr-x. 1 root root 1530292 Apr 17 20:55 snapshot_blob.bin
drwxr-xr-x. 2 root root 4096 Apr 26 11:16 swiftshader
-rwxr-xr-x. 1 root root 1948168 Apr 17 20:55 v8_context_snapshot.bin
[flagcourier@landondesktop minecraft-launcher]$ ll swiftshader/
total 20
lrwxrwxrwx. 1 root root 68 Apr 26 11:15 libEGL.so -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libEGL.so
lrwxrwxrwx. 1 root root 71 Apr 26 11:15 libGLESv2.so -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libGLESv2.so
lrwxrwxrwx. 1 root root 79 Apr 26 11:15 libvk_swiftshader.so -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libvk_swiftshader.so
lrwxrwxrwx. 1 root root 73 Apr 26 11:15 libvulkan.so.1 -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libvulkan.so.1
lrwxrwxrwx. 1 root root 82 Apr 26 11:16 vk_swiftshader_icd.json -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/vk_swiftshader_icd.json[flagcourier@landondesktop minecraft-launcher]$ ll
total 182344
-rw-r--r--. 1 root root 621568 Apr 17 20:55 cef_100_percent.pak
-rw-r--r--. 1 root root 730195 Apr 17 20:55 cef_200_percent.pak
-rw-r--r--. 1 root root 3381507 Apr 17 20:55 cef_extensions.pak
-rw-r--r--. 1 root root 4115814 Apr 17 20:55 cef.pak
-rwxr-xr-x. 1 root root 23688 Apr 17 20:55 chrome-sandbox
-rw-r--r--. 1 root root 10196592 Apr 17 20:55 icudtl.dat
-rwxr-xr-x. 1 root root 125944136 Apr 17 20:55 libcef.so
-rw-r--r--. 1 root root 37855864 Apr 17 20:55 liblauncher.so
drwxr-xr-x. 2 root root 4096 Apr 26 09:46 locales
-rwxr-xr-x. 1 root root 120976 Apr 17 20:55 minecraft-launcher
-rwxr-xr-x. 1 root root 218275 Apr 17 20:55 natives_blob.bin
-rwxr-xr-x. 1 root root 1530292 Apr 17 20:55 snapshot_blob.bin
drwxr-xr-x. 2 root root 4096 Apr 26 11:16 swiftshader
-rwxr-xr-x. 1 root root 1948168 Apr 17 20:55 v8_context_snapshot.bin
[flagcourier@landondesktop minecraft-launcher]$ ll swiftshader/
total 20
lrwxrwxrwx. 1 root root 68 Apr 26 11:15 libEGL.so -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libEGL.so
lrwxrwxrwx. 1 root root 71 Apr 26 11:15 libGLESv2.so -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libGLESv2.so
lrwxrwxrwx. 1 root root 79 Apr 26 11:15 libvk_swiftshader.so -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libvk_swiftshader.so
lrwxrwxrwx. 1 root root 73 Apr 26 11:15 libvulkan.so.1 -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/libvulkan.so.1
lrwxrwxrwx. 1 root root 82 Apr 26 11:16 vk_swiftshader_icd.json -> /home/flagcourier/Documents/GitHub/swiftshader/build/Linux/vk_swiftshader_icd.jsonUsing official linux launcher on Ubuntu 20.04. I was able to work around the issue by linking my Google Chrome swiftshader directory into my minecraft launcher directory:
ln -s /opt/google/chrome/swiftshader /opt/minecraft-launcher/swiftshaderln -s /opt/google/chrome/swiftshader /opt/minecraft-launcher/swiftshader
same issue on Pop_OS! 20.04 LTS
I fixed this same issue by unchecking "Use Beta Version of Launcher"
OpenSUSE Tumbleweed here. EZ solution : get the precompiled binaries from here, rename them to libEGL.so and libGLESv2.so, and put them in a folder named "swiftshader" in the launcher's directory.
Thanks, MinePro120, for the working solution! Now I can access my skins again.
Could it be that they simply forgot to add the "swiftshader" folder in the launcher's directory? The fix seems pretty easy and straightforward, since the launcher searches for the 2 files in that folder. If we run the launcher from a terminal and head to the "Skins" section the outcome would be :
How do i open the launchers directory?
Where is the swiftshaders directory? I don't spot anything similar, and I looked in individual folders.
I was talking about GNU/Linux, not Windows. Never had this issue on Windows. Anyways, my solution was to create the swiftshader folder where the launcher (not .minecraft) is located and paste the binaries from the link I provided above. But the issue could be very different on Windows. Run the launcher from the cmd prompt for some output.
We've recently made some changes to the Skins page. Is this still an issue in the latest version of Minecraft Launcher?
v2.1.17417, latest I could find from minecraft.net right now, still an issue.
A few months ago I used the workaround of downloading the precompiled swiftshaders and putting them in the launcher folder to have the Skins page working, and it did, the only thing that wasn't working was adding skins to the library and setting the skin from the launcher. I have updated the launcher to version 2.1.17417 the library works too, I'm going to ask my friend (who didn't download swiftshaders manually) to see if it's fixed for her, too.
I can also confirm that v2.1.17417 doesn't correctly recognize WebGL on a GNU/Linux machine.
i hope this problem can be fixed as fast as possible, ive asked 1 of the servers i play on and i still didnt get any responses. im waiting
Had the same issue using an AMD Graphics Card on Windows 10 here.
Reinstall didn't work. But the following did
AMD Settings
Create a profile for Minecraft Launcher
Set Shader Cache to "On" instead of "AMD Optimized"
The Skins Tab is now working for me. Hope this helps.
The workaround proposed by @Mikal Houston worked for me, using the swiftshader directory from the chromium browser. On kUbuntu 20.04:
sudo ln -s /snap/chromium/current/usr/lib/chromium-browser/swiftshader /opt/minecraft-launcher/swiftshadersudo ln -s /snap/chromium/current/usr/lib/chromium-browser/swiftshader /opt/minecraft-launcher/swiftshaderCan confirm this exists on Windows too. Details below:
OS: Windows 10 Pro 20H2 (build 19042.610)
Launcher version: 2.1.17784
This never worked since first install of Minecraft Java launcher since 2 months.
get.webgl.org says WEBGL is supported on all my browsers - Chrome, Firefox and Edge.
Edit: My issue is on an Intel processor, unlike AMD like others. It's an Intel i5-5200U.
The issue persists with Minecraft version 1.16.4 .
Putting it out there that this exists on Arch Linux as well. Funny enough, it seems to be a bug with AMD rather than a bug with Linux, as people have pointed out that it exists on Windows too, and that the solution there is to change the AMD Catalyst shader from Optimized to On.
Specs:
OS: Arch Linux (bleeding edge distro, no "older version" support)
CPU: AMD Ryzen 5 2600
GPU: AMD Radeon RX 580
WebGL website says that it is working but the launcher does not think that way
✔ Browse to System > Display > Graphics settings > Browse for a Classic app > added Minecraft Launcher > Choose Power saving ✔ 👍
I've tried updating my graphic card already and it didn't work, can anyone help me?
Have this problem as well recently
I finally managed to get it working, Turns out I bought a dell universall docker and it has its own graphics card, so all I have to do is open minecraft while my notebook is open. Yeah... It's weird and I have no real explanation aside from the different graphics card thing
Oh, nevermind. As soon as I restarted it stopped working again... Does anybody know what's happening?
I had the same issue on my PC- I use Lenovo port replicator on daily basis and it was causing an issue. When monitors are connected directly to my PC, launcher works as intended.
Yeah, I noticed that too ^ It works for me whenever I disable the Dock driver, but it's still very inconvenient and annoying...
Managed to get it working again, (I'm almost positive this fix works for dock users, I'm on a Dell Laptop)
What I had to do was open minecraft while my notebook monitor was open, and it had to be the main monitor
An attachment with a disallowed file extension has been removed from this ticket.
Executable files and documents are not allowed as attachments.
Please attach crash reports, log files and screenshots as they are instead of pasting them into a document.
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit
Bruno I have the same problem on my dell Can u help me im a kid btw
Bruno Tried Your fix for my dell it waorks Thanks
Same (Linux debian 10 on a HP xw8400 workstation, webgl5 installed)
Also having this issue!
I have the exact same problem.