[GH-ISSUE #80] GOP full-prepare fails with EFI_ACCESS_DENIED #54

Open
opened 2026-10-31 07:01:05 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @y1chenk on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/issues/80

[Compatibility Issue] RTX 3060 Ti / MSI Z690-A WIFI DDR4 — GOP full-prepare fails with EFI_ACCESS_DENIED

Hi Siselea,

First of all, thank you for developing and sharing this project!

I'm not very fluent in English. This issue report was written with the assistance of ChatGPT, based on diagnostic logs collected from my own computer.

I'm also not very experienced with UEFI development, so some of the technical analysis may be incorrect. Please feel free to correct anything I've misunderstood.

I hope the information below can help improve compatibility with additional hardware configurations.

1. My hardware

Component Specification
Motherboard MSI PRO Z690-A WIFI DDR4 (MS-7D25)
BIOS 1.H0 / E7D25IMS.1H0
CPU Intel Core i5-13600KF
GPU Gigabyte GeForce RTX 3060 Ti (GA104)
GPU PCI ID 10DE:2489
Subsystem ID 1458:4076
VRAM 8 GB
PCI location 0000:01:00.0
Operating system Windows 11
Secure Boot Disabled
Display configuration RTX 3060 Ti handles display output; no integrated GPU

2. The problem

The unlocker successfully detects my RTX 3060 Ti and completes its initial checks.

However, it consistently stops during the GOP preparation stage:

CANCELLED_OR_REFUSED stage=full-prepare
status=0x800000000000000f
touched=0

The error corresponds to EFI_ACCESS_DENIED.

I reproduced the same failure twice, in RUN00 and RUN01.

According to the logs, the unlock transaction never starts. No PCIe FLR or GPU selector modification is performed.

3. What I found in the diagnostic logs

I used the read-only GOP ownership diagnostic to inspect my UEFI environment.

Two separate captures, RUN02 and RUN03, show the same relevant ownership relationships.

GPU PCI controller:

Handle: 0x73240918

PCI_IO:
  BY_DRIVER
  Agent: 0x75976c98

DevicePath:
  BY_CHILD_CONTROLLER
  Agent: 0x75976c98
  Child: 0x72204d98

Physical GOP / TextOut handle:

Handle: 0x72204d98

GOP:
  BY_DRIVER
  Agent: 0x7563c318

  BY_CHILD_CONTROLLER: none observed

TextOut:
  BY_DRIVER
  Agent: 0x7563d998

  BY_CHILD_CONTROLLER
  Agent: 0x7563d998
  Child: 0x7563c218

System console:

Handle: 0x7563c218

ConsoleOut = 1
ConsoleIn  = 1
StdErr     = 1

The observed topology appears to be:

NVIDIA PCI Controller
        |
        | DevicePath BY_CHILD_CONTROLLER
        v
Physical GOP + TextOut
     (same handle)
        |
        | TextOut BY_CHILD_CONTROLLER
        v
System Console

In other words, the GOP and TextOut protocols are present on the same physical handle, while the console child relationship is associated with TextOut rather than GOP.

4. Possible cause (AI-assisted analysis)

While examining the upstream craftingmod/rtx30-unlock source code, ChatGPT identified a possible incompatibility in:

src/gop/leaf.c

Specifically, GcLeafPrepare() calls GcLeafPair() for the physical GOP.

The function expects:

owners == 1
children == 1
*agent == child_agent

However, my actual GOP ownership records show:

GOP BY_DRIVER           = 1
GOP BY_CHILD_CONTROLLER = 0

This suggests that the current implementation may not support my motherboard's GOP/TextOut shared-handle topology.

The existing 0001-gop-single-display-child.patch appears to address the number of vendor display children, but it may not cover this particular arrangement.

Please note: This is only a hypothesis based on the source code and diagnostic logs. I cannot conclusively identify the exact failing function without additional instrumentation.

I also noticed that impacifist/Windows-GPU-UNLOCK has an aggregate-console implementation in PR #5, which might be relevant.

5. Questions

I would really appreciate your advice on a few things:

  1. Is this type of GOP/TextOut shared-handle topology currently supported?
  2. Could this be the reason why full-prepare returns EFI_ACCESS_DENIED?
  3. Would it be possible to add compatibility for this AMI UEFI configuration?
  4. Is there any additional diagnostic information I could provide?

I am not asking to bypass the safety checks. I would prefer to find a proper compatibility solution that preserves the existing protection and recovery mechanisms.

6. Diagnostic logs available

I can provide the following files if needed:

  • RUN00/GOP.TXT — First failed attempt
  • RUN01/GOP.TXT — Second failed attempt
  • RUN02/GOP.TXT — Read-only ownership tree
  • RUN03/GOP.TXT — Repeated ownership tree
  • PROBE00/REPORT.TXT — Hardware diagnostic report
  • PROBE00/INVENTORY.TXT — PCI and GOP inventory

All diagnostic captures were completed without modifying GPU firmware.

7. Although I haven't been able to get the unlock working on my own computer yet, my friend was able to use it successfully on his PC.

He told me the performance improvement was so impressive that it felt like he'd upgraded to a completely new graphics card!
Even though it doesn't work on my hardware yet, I really appreciate the time and effort you've put into this project.
You're the GOAT!
Thank you again for your amazing work!

Originally created by @y1chenk on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/windows-GPU-UNLOCK/Windows-GPU-UNLOCK/issues/80 # [Compatibility Issue] RTX 3060 Ti / MSI Z690-A WIFI DDR4 — GOP full-prepare fails with EFI_ACCESS_DENIED Hi Siselea, First of all, thank you for developing and sharing this project! I'm not very fluent in English. This issue report was written with the assistance of ChatGPT, based on diagnostic logs collected from my own computer. I'm also not very experienced with UEFI development, so some of the technical analysis may be incorrect. Please feel free to correct anything I've misunderstood. I hope the information below can help improve compatibility with additional hardware configurations. ## 1. My hardware | Component | Specification | |---|---| | Motherboard | MSI PRO Z690-A WIFI DDR4 (MS-7D25) | | BIOS | 1.H0 / E7D25IMS.1H0 | | CPU | Intel Core i5-13600KF | | GPU | Gigabyte GeForce RTX 3060 Ti (GA104) | | GPU PCI ID | `10DE:2489` | | Subsystem ID | `1458:4076` | | VRAM | 8 GB | | PCI location | `0000:01:00.0` | | Operating system | Windows 11 | | Secure Boot | Disabled | | Display configuration | RTX 3060 Ti handles display output; no integrated GPU | ## 2. The problem The unlocker successfully detects my RTX 3060 Ti and completes its initial checks. However, it consistently stops during the GOP preparation stage: ```text CANCELLED_OR_REFUSED stage=full-prepare status=0x800000000000000f touched=0 ``` The error corresponds to `EFI_ACCESS_DENIED`. I reproduced the same failure twice, in `RUN00` and `RUN01`. According to the logs, the unlock transaction never starts. No PCIe FLR or GPU selector modification is performed. ## 3. What I found in the diagnostic logs I used the read-only GOP ownership diagnostic to inspect my UEFI environment. Two separate captures, `RUN02` and `RUN03`, show the same relevant ownership relationships. **GPU PCI controller:** ```text Handle: 0x73240918 PCI_IO:   BY_DRIVER   Agent: 0x75976c98 DevicePath:   BY_CHILD_CONTROLLER   Agent: 0x75976c98   Child: 0x72204d98 ``` **Physical GOP / TextOut handle:** ```text Handle: 0x72204d98 GOP:   BY_DRIVER   Agent: 0x7563c318   BY_CHILD_CONTROLLER: none observed TextOut:   BY_DRIVER   Agent: 0x7563d998   BY_CHILD_CONTROLLER   Agent: 0x7563d998   Child: 0x7563c218 ``` **System console:** ```text Handle: 0x7563c218 ConsoleOut = 1 ConsoleIn  = 1 StdErr     = 1 ``` The observed topology appears to be: ```text NVIDIA PCI Controller         |         | DevicePath BY_CHILD_CONTROLLER         v Physical GOP + TextOut      (same handle)         |         | TextOut BY_CHILD_CONTROLLER         v System Console ``` In other words, the GOP and TextOut protocols are present on the same physical handle, while the console child relationship is associated with TextOut rather than GOP. ## 4. Possible cause (AI-assisted analysis) While examining the upstream `craftingmod/rtx30-unlock` source code, ChatGPT identified a possible incompatibility in: `src/gop/leaf.c` Specifically, `GcLeafPrepare()` calls `GcLeafPair()` for the physical GOP. The function expects: ```c owners == 1 children == 1 *agent == child_agent ``` However, my actual GOP ownership records show: ```text GOP BY_DRIVER           = 1 GOP BY_CHILD_CONTROLLER = 0 ``` This suggests that the current implementation may not support my motherboard's GOP/TextOut shared-handle topology. The existing `0001-gop-single-display-child.patch` appears to address the number of vendor display children, but it may not cover this particular arrangement. **Please note:** This is only a hypothesis based on the source code and diagnostic logs. I cannot conclusively identify the exact failing function without additional instrumentation. I also noticed that `impacifist/Windows-GPU-UNLOCK` has an aggregate-console implementation in PR #5, which might be relevant. ## 5. Questions I would really appreciate your advice on a few things: 1. Is this type of GOP/TextOut shared-handle topology currently supported? 2. Could this be the reason why `full-prepare` returns `EFI_ACCESS_DENIED`? 3. Would it be possible to add compatibility for this AMI UEFI configuration? 4. Is there any additional diagnostic information I could provide? I am not asking to bypass the safety checks. I would prefer to find a proper compatibility solution that preserves the existing protection and recovery mechanisms. ## 6. Diagnostic logs available I can provide the following files if needed: - `RUN00/GOP.TXT` — First failed attempt - `RUN01/GOP.TXT` — Second failed attempt - `RUN02/GOP.TXT` — Read-only ownership tree - `RUN03/GOP.TXT` — Repeated ownership tree - `PROBE00/REPORT.TXT` — Hardware diagnostic report - `PROBE00/INVENTORY.TXT` — PCI and GOP inventory All diagnostic captures were completed without modifying GPU firmware. ## 7. Although I haven't been able to get the unlock working on my own computer yet, my friend was able to use it successfully on his PC. He told me the performance improvement was so impressive that it felt like he'd upgraded to a completely new graphics card! Even though it doesn't work on my hardware yet, I really appreciate the time and effort you've put into this project. You're the GOAT! Thank you again for your amazing work!
Author
Owner

@DeclanFrampton commented on GitHub (Oct 27, 2026):

Thanks for the detailed report. The first thing to clarify is that the RTX 3060 Ti is not currently a supported/validated configuration in this port.

The compatibility guide lists exact card + motherboard + BIOS profiles. The reported RTX 3060 successes are 3060 12GB configurations, not 3060 Ti. The GA104 3060 profile is 10DE:2487 / 10DE:1530 with 12GB VRAM; your card is 10DE:2489 / 1458:4076 with 8GB. Sharing GA104 does not make these profiles interchangeable. Detection by a diagnostic or initial check does not establish unlock support.

There are two separate points here:

  • Your reported full-prepare / EFI_ACCESS_DENIED / touched=0 is an early preparation refusal, before the unlock transaction. The GOP/TextOut ownership layout you describe is a plausible explanation for a topology check refusing the configuration, but the excerpt alone does not establish the exact failing function.
  • Resolving that preparation failure would still leave the need for a separately reviewed and hardware-validated 3060 Ti/MSI Z690 profile. PR #5 added a specific ASUS B660M/3070 Ti aggregate-console configuration; it does not provide generic support for every AMI console topology.

Please attach the complete GOP.TXT files from RUN00–RUN03, REPORT.TXT and INVENTORY.TXT, along with the exact source commit, selected build profile and build command used for the failing EFI. That will let us distinguish the upstream GcLeafPrepare() hypothesis from the code actually running on your system.

Please don't substitute another profile's PCI IDs/PROM hash or remove the ownership checks to get past this. At present this is unsupported hardware requiring investigation, rather than a supported 3060 Ti setup with a confirmed single GOP bug. It does not establish that the card can never work.

<!-- gh-comment-id:6444905817 --> @DeclanFrampton commented on GitHub (Oct 27, 2026): Thanks for the detailed report. The first thing to clarify is that the **RTX 3060 Ti is not currently a supported/validated configuration in this port**. The [compatibility guide](https://github.com/impacifist/Windows-GPU-UNLOCK/blob/main/docs/COMPATIBILITY.en.md) lists exact card + motherboard + BIOS profiles. The reported RTX 3060 successes are **3060 12GB** configurations, not 3060 Ti. The GA104 3060 profile is `10DE:2487 / 10DE:1530` with 12GB VRAM; your card is `10DE:2489 / 1458:4076` with 8GB. Sharing GA104 does not make these profiles interchangeable. Detection by a diagnostic or initial check does not establish unlock support. There are two separate points here: - Your reported `full-prepare / EFI_ACCESS_DENIED / touched=0` is an early preparation refusal, before the unlock transaction. The GOP/TextOut ownership layout you describe is a plausible explanation for a topology check refusing the configuration, but the excerpt alone does not establish the exact failing function. - Resolving that preparation failure would still leave the need for a separately reviewed and hardware-validated 3060 Ti/MSI Z690 profile. PR #5 added a specific ASUS B660M/3070 Ti aggregate-console configuration; it does not provide generic support for every AMI console topology. Please attach the complete `GOP.TXT` files from RUN00–RUN03, `REPORT.TXT` and `INVENTORY.TXT`, along with the exact source commit, selected build profile and build command used for the failing EFI. That will let us distinguish the upstream `GcLeafPrepare()` hypothesis from the code actually running on your system. Please don't substitute another profile's PCI IDs/PROM hash or remove the ownership checks to get past this. At present this is **unsupported hardware requiring investigation**, rather than a supported 3060 Ti setup with a confirmed single GOP bug. It does not establish that the card can never work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
windows-GPU-UNLOCK/Windows-GPU-UNLOCK#54
No description provided.