This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] How do I disable the GPU driver from loading?

I need to disable the GPU driver from automatically loading when I boot Linux, how can I disable the auto-loading of the driver?

  • For debug purposes, the GPU driver might need to be loaded manually. This is usually done to enable more verbose logging which can only be configured before the GPU driver is loaded. Other times, there might be an issue when the GPU driver is loaded and it needs to be disabled.

    The GPU driver is automatically loaded through two initialization scripts. In order to disable the auto-loading, the following settings have shown to stop the loading of the GPU driver to allow the user to load it manually.

    Step 1: Blacklist the GPU kernel driver from loading

    Create the file /etc/modprobe.d/blacklist.conf and add the following to blacklist the GPU driver: `blacklist pvrsrvkm`

    Example:blacklist.conf

    Step 2: Remove the GPU init script

    Remove the rc.pvr file from /etc/init.d. Move the rc.pvr outside of /etc/init.d so that it does not get automatically launched. Moving it to /home/root is recommended so that you can load the driver manually.

    Load the Driver Manually

    To run the GPU driver manually once it has been blacklisted, simply run `./rc.pvr start`, which will run the initialization script and load the GPU driver and initialize it.