Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to crawl a website by selenium and I am using selenium and webdriver_manager.chrome But after crawling, the following error message appears ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled in python. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled Error Occurs ?
I am trying to crawl a website by selenium and I am using selenium and webdriver_manager.chrome But after crawling, the following error message appears
ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled
How To Solve ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled Error ?
- How To Solve ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled Error?
To Solve ERROR:gpu_init.cc(426) Passthrough is not supported, GL is disabled Error I just enable WebGL in chrome. To enable WebGL you just need to follow the below all steps.
Solution 1: enable WebGL
In my case, I solved this error by just enable WebGL in chrome
- First of all we will enable hardware acceleration
- Just Go to
chrome://settings
- Then Click the Advanced ▼ button at the bottom of the page
- There is System section, ensure the Use hardware acceleration when available checkbox is checked (you’ll need to relaunch Chrome for any changes to take effect)
- Now we will enable WebGL
- Go to
chrome://flags
- Make Sure that Disable WebGL is not activated (you’ll need to relaunch Chrome for any changes to take effect)
- In newer versions, this option of Disable WebGL will not be available, you will instead have to search for WebGL 2.0.
- Here you will have to change
Default
toEnabled
in the drop down.
Now we will check the status of WebGL
- Go to
chrome://gpu
- Inspect the WebGL item in the Graphics Feature Status list. The status will be one of the following:
- Hardware accelerated — WebGL is enabled and hardware-accelerated (running on the graphics card).
- Software only, hardware acceleration unavailable — WebGL is enabled, but running in software. See here for more info: “For software rendering of WebGL, Chrome uses SwiftShader, a software GL rasterizer.”
- Unavailable — WebGL is not available in hardware or software.
Summery
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also Read