Skip to content
WindowsIntermediate

Windows Stop Code 0x00000138: GPIO_CONTROLLER_DRIVER_ERROR – Causes and Troubleshooting

Quick Answer The Windows GPIO_CONTROLLER_DRIVER_ERROR (0x00000138) blue screen indicates that the Windows GPIO (General-Purpose Input/Output) class extension...

BI
Bison Technical Team Enterprise IT specialists
Updated 02 Nov 2026 8 min read 1 total views
Structured technical guidanceSafety notes included where requiredSources listed below

Quick Answer

The Windows GPIO_CONTROLLER_DRIVER_ERROR (0x00000138) blue screen indicates that the Windows GPIO (General-Purpose Input/Output) class extension encountered a fatal error. GPIO controllers manage hardware signals used by components such as buttons, sensors, interrupts, and other platform devices.

Possible causes include an unregistered GPIO controller, invalid driver requests, GPIO interrupt or input/output failures, incorrect power-state transitions, or malformed ACPI firmware data. Update the relevant chipset and platform drivers using the computer manufacturer's official support packages. If the crash continues, analyze the Windows crash dump to identify the specific violation.

Advertisement

What Is GPIO_CONTROLLER_DRIVER_ERROR?

GPIO stands for General-Purpose Input/Output. It is a hardware interface that allows the operating system and device drivers to communicate with hardware components through configurable pins.

Windows uses the GPIO framework extension (GpioClx) to provide common functionality for GPIO controller devices. Hardware manufacturers provide controller-specific drivers that work with this framework.

Bug check 0x00000138 occurs when the GPIO framework detects a fatal condition. Windows displays a blue screen to prevent continued operation after detecting the failure.

Common Causes

  • Unregistered GPIO controller: A controller responsible for a particular interrupt has not been registered.
  • Invalid driver context: A client driver provides an invalid context during a GPIO lock or unlock operation.
  • Incorrect power-state transition: An inappropriate GPIO controller F1 or F0 power-state transition occurs.
  • GPIO interrupt failure: An on-SoC GPIO interrupt operation fails.
  • GPIO input/output failure: An on-SoC GPIO input/output operation encounters an error.
  • ACPI firmware problem: An ACPI device-specific method (_DSM) returns malformed data.
  • Driver compatibility issue: A platform or peripheral driver may interact incorrectly with the GPIO framework.

These are possible failure scenarios, not proof that a particular hardware component is defective.

Understanding Bug Check Parameters

Windows records four parameters with bug check 0x138. Parameter 1 identifies the violation category. The meanings of the remaining parameters depend on its value.

Parameter 1 Meaning
1 GPIO controller managing the specified GSIV is not registered.
2 Invalid context supplied during a lock or unlock request.
3 Inappropriate F1 power-state transition.
4 Inappropriate F0 power-state transition.
5 On-SoC GPIO interrupt operation failed.
6 On-SoC GPIO input/output operation failed.
7 ACPI _DSM method returned malformed data.

For the complete definitions of Parameters 2–4, refer to Microsoft's Bug Check 0x138 documentation.

Symptoms

  • Windows displays a blue screen with GPIO_CONTROLLER_DRIVER_ERROR.
  • The computer unexpectedly restarts.
  • Windows crashes during startup.
  • The system crashes after waking from sleep or hibernation.
  • System instability occurs after a chipset or platform driver update.
  • Crashes occur during hardware initialization or power-state transitions.

How to Fix GPIO_CONTROLLER_DRIVER_ERROR

1. Restart Windows and Disconnect Recently Added Devices

  1. Restart the computer.
  2. If the problem started after connecting external hardware, shut down Windows.
  3. Disconnect recently added nonessential peripherals.
  4. Start the computer again.
  5. Check whether the blue screen returns.

If the problem disappears, investigate the disconnected device's driver, firmware, and compatibility.

2. Install Windows Updates

  1. Open Windows Settings.
  2. Select Windows Update.
  3. Click Check for updates.
  4. Install applicable updates.
  5. Restart the computer.

Review optional driver updates when available. Avoid installing an unrelated or incompatible driver simply because Windows lists it as optional.

3. Update Chipset and GPIO-Related Drivers

GPIO functionality depends on the computer's hardware platform and its associated drivers.

  1. Identify the exact computer or motherboard model.
  2. Visit the manufacturer's official support website.
  3. Locate the downloads for the installed Windows version.
  4. Check for chipset, SoC, GPIO, Serial I/O, and platform driver updates where applicable.
  5. Install the recommended packages according to the manufacturer's instructions.
  6. Restart Windows.

Some manufacturers distribute GPIO support as part of a combined chipset or platform package rather than as a separate driver.

4. Roll Back a Recently Updated Driver

If the crash started after a driver update, rolling back that driver may help determine whether the new version introduced an incompatibility.

  1. Press Windows + X.
  2. Open Device Manager.
  3. Locate the device associated with the recent update.
  4. Right-click it and select Properties.
  5. Open the Driver tab.
  6. Select Roll Back Driver if the option is available.
  7. Restart the computer.

The rollback option may be unavailable if Windows does not retain a previous driver package. Do not uninstall unidentified system devices.

Reference: Microsoft driver update and rollback guidance.

5. Check Device Manager

  1. Press Windows + X.
  2. Select Device Manager.
  3. Expand System devices and other relevant categories.
  4. Look for devices displaying a yellow warning icon.
  5. Open the affected device's Properties window.
  6. Review its Device status message.

A device without a warning icon is not necessarily free from low-level driver problems.

6. Check for BIOS or UEFI Updates

Firmware provides hardware configuration and ACPI information used by Windows during device initialization and power management.

  1. Identify the exact computer or motherboard model.
  2. Visit the manufacturer's official support website.
  3. Check the available BIOS or UEFI updates and release notes.
  4. Confirm that the update applies to the installed hardware.
  5. Back up important data and follow the manufacturer's update instructions.
Warning: An incorrect or interrupted firmware update can make a computer unbootable. Ensure reliable power and follow the manufacturer's BitLocker or device-encryption instructions before updating.

7. Use System Restore

If the issue started following a recent driver or configuration change, System Restore may help return Windows to an earlier configuration.

  1. Press Windows + R.
  2. Enter rstrui.exe.
  3. Press Enter.
  4. Select a restore point created before the problem started.
  5. Review the affected programs and drivers.
  6. Follow the instructions to complete restoration.

System Restore does not replace a personal data backup and cannot guarantee a fix for hardware or firmware failures.

Advanced Troubleshooting Using WinDbg

1. Locate the Crash Dump

Depending on Windows crash dump settings, diagnostic files may be available at:

  • C:\Windows\MEMORY.DMP
  • C:\Windows\Minidump\

Preserve the original dump file before analysis. Memory dumps may contain sensitive information and should only be shared through trusted support channels.

2. Analyze the Crash Dump

Install WinDbg from Microsoft and open the relevant dump file.

Enter these commands in the WinDbg command window:

!analyze -v
.bugcheck
  • !analyze -v performs a verbose automatic crash analysis.
  • .bugcheck displays the bug check code and parameters.

Confirm that the reported bug check is 0x138 and record all four parameters.

Reference: Microsoft WinDbg kernel-mode dump analysis.

3. Interpret the Diagnostic Results

Parameter 1 Investigation area
1 GPIO controller registration and GSIV.
2 Client driver lock/unlock requests and context.
3 or 4 GPIO power-state transitions.
5 GPIO interrupt operation and NTSTATUS.
6 GPIO input/output operation and NTSTATUS.
7 ACPI _DSM firmware method and associated revision and function information.

These diagnostic directions do not automatically identify the defective component. Additional driver, firmware, and platform debugging may be necessary.

Reference: Microsoft GPIO Driver Support Overview.

Recovering Windows When It Cannot Start

  1. Enter Windows Recovery Environment (WinRE), or boot using compatible Windows installation media.
  2. Select Troubleshoot.
  3. Open Advanced options.
  4. Choose an appropriate recovery option, such as System Restore or Startup Settings.
  5. If available, start Windows in Safe Mode.
  6. Investigate recently installed drivers and software.

If BitLocker is enabled, certain recovery operations may require the recovery key. Keep it available before proceeding.

Reference: Microsoft Windows stop code troubleshooting.

How to Verify the Fix

  1. Restart Windows normally.
  2. Confirm that startup completes without a blue screen.
  3. Test the operations that previously triggered the crash.
  4. Check Device Manager for hardware or driver warnings.
  5. Monitor the computer for recurring stop codes.
  6. If another crash occurs, preserve and compare its dump file and parameters.

A successful restart alone does not prove that the underlying issue has been permanently resolved.

When to Contact the Manufacturer

Contact the computer or motherboard manufacturer if:

  • The error continues after supported driver updates.
  • Crash dumps repeatedly identify the same GPIO violation.
  • The problem started after a firmware update.
  • Multiple platform devices experience initialization or power-management failures.
  • The computer continues crashing without external peripherals connected.

Provide the device model, Windows version and build, BIOS version, driver versions, crash timestamp, and bug check parameters.

Frequently Asked Questions

What does GPIO_CONTROLLER_DRIVER_ERROR 0x138 mean?

It indicates a fatal error detected by the Windows GPIO class extension. The failure may involve controller registration, driver context, power transitions, GPIO operations, or ACPI firmware data.

Is GPIO_CONTROLLER_DRIVER_ERROR a hardware or software problem?

It can involve hardware, firmware, or software components. The bug check alone does not establish the root cause.

Can an outdated chipset driver cause error 0x138?

An incompatible platform driver may contribute to GPIO-related failures, but outdated chipset drivers are not a confirmed universal cause of this bug check.

What is the difference between GPIO and GpioClx?

GPIO is the hardware input/output interface. GpioClx is the Windows framework extension that provides common functionality for GPIO controller drivers.

Can a BIOS update fix this blue screen?

A manufacturer firmware update may correct a relevant ACPI or platform issue. It is not a guaranteed fix for every GPIO-related crash.

How can I identify the driver responsible?

Use WinDbg to analyze the crash dump, examine the bug check parameters, and investigate the driver stack. A module appearing in the report is not automatically the root cause.

Should I disable the GPIO controller?

No. Disabling a GPIO controller without understanding its hardware dependencies can cause additional device problems. Diagnose the violation and use supported driver or firmware corrections.

Sources

YOUR FEEDBACK

Was this guide useful?

Your answer helps us keep BISONKB accurate and practical.

Links are permitted only to published BISONKB articles.
THE BISON BRIEF

Practical IT knowledge, once a week.

New troubleshooting guides, scripts and infrastructure notes. No noise.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.