Solve the Exception “ Passthrough is not supported, GL is disabled in Python”

Python is a renowned programming language ideal for building web applications as well as web pages. It is an important part of programming and programmers can’t even work without it. Many applications can be created extensively. Even beginners and learners also know the importance of Python in programming, and that’s the reason they are trying their best to learn it. Python is an easy language with a simpler syntax that is written in English. Every programmer can easily understand the code because it is not that complex. When you are working with Python, you may encounter various errors, which is completely normal. You may experience “ Passthrough is not supported, GL is disabled in Python”.

Errors irritate every programmer and solving the bugs always seems tough. Well, we are here to assist you to solve the error efficiently. Go through the post to understand the error and the solutions. But first, you should check how the error pops up

How the error occurs

When you try to crawl a website using and selenium, you end up with the error warning. Once you crawl, the following error shows up Passthrough is not supported, GL is disabled

How To Handle the Error “ Passthrough is not supported, GL is disabled in Python”

Solution 1 – Disable NVIDIS’s Quadro

The simplest and shortest solution to sort out the error message is to disable NVIDIA’s Quadro view. It is a really effective approach to successfully remove the error.

Solution 2 – Enable WebGL

Another solution to fix the error is to enable WebGL in your Chrome. Follow the steps to successfully enable it

  • First, enable hardware acceleration
  • Open chrome://settings
  • At the page’s bottom, tap Advance
  • Here, you will find the System section, make sure the checkbox Use Hardware Acceleration When Available is checked. Relaunch chrome to adapt to the changes.
  • Next, you need to enable WebGL
  • Open chrom://flags
  • The Disable WebGL must not be activated.
  • You will not have the Disable WebGL option in the newer versions rather you need to look for WebGL 2.0.
  • In the drop drown option, switch Default to Enabled.

Once done, you can check the WebGL status. To do that, follow the below procedure

  • Open chrome://gpu
  • Tap open the Graphic Feature Status list in order to inspect the WebGL item. The status can be:
  • Software only, hardware acceleration unavailable – WebGL is enabled, but it’s executing in software.
  • Hardware accelerated – hardware is accelerated and WebGL is enabled.
  • Not available – WebGL is unavailable in software as well as hardware.

Solution 3 – Remove  –headless and –disable-gpu

Another way to solve the error, you can Remove  –headless and –disable-gpu. Both are used in Windows to function chromedriver works as a headless mode. The –disable-gpu is also used in Linux. When you can successfully disable both, you can remove the error warning. Though, you will not have your chromedriver work as a headless mode. In most cases, there is no effect on the headless chrome’s operation.

Usually, when working without GPU, Chrome falls back. However, GPU presence is required by Telemetry. Furthermore, to disable WebGL, apply the –disable-software-rasterizer option, which removes the error warning.


We discussed the solutions to handle the error warning “ Passthrough is not supported, GL is disabled in Python”. I hope you find it helpful! I wish you luck!

Leave a Reply

Your email address will not be published. Required fields are marked *