Windows 7 UEFI GOP driver

Discussion in 'Windows 7' started by nasirfoxx, Nov 6, 2026.

  1. nasirfoxx

    nasirfoxx MDL Novice

    Oct 5, 2024
    7
    4
    0
  2. nasirfoxx

    nasirfoxx MDL Novice

    Oct 5, 2024
    7
    4
    0
    (made an oopsie, the vga.sys file needed to be test signed, whoops.. the release has been updated, sorry for the inconvenience!)
     
  3. Gr3YM3rlin25

    Gr3YM3rlin25 MDL Novice

    Nov 6, 2026
    11
    1
    0
    Hi So, does that mean there's no need to sign the file?
     
  4. nasirfoxx

    nasirfoxx MDL Novice

    Oct 5, 2024
    7
    4
    0
    It'll still need a proper signature since a test signature is different than a production signature. The test signature is just needed so the testsigning BCD option can work so you can use the driver without using F8 all the time.
     
  5. shewdew

    shewdew MDL Novice

    Oct 11, 2017
    3
    1
    0
    #5 shewdew, Nov 15, 2026
    Last edited: Nov 15, 2026
    Tried with partial success. Listing steps taken for clarity in case I've done something wrong here:
    1: Create fresh GPT table on USB drive, and a single FAT32 partition spanning the full length
    2: Extracted an original ISO (en_windows_7_enterprise_with_sp1_x64_dvd_u_677651.iso) to the root of the drive
    3: Mount sources\boot.wim with Dism, index 2 (Microsoft Windows Setup x64)
    4: Copy vga.sys into boot.wim\Windows\System32\drivers, overwriting
    5: Copy boot.wim\Windows\Boot\bootmgfw.efi to efi\boot\bootx64.efi
    6: Unmount boot.wim, committing changes

    Test System 1:
    CPU: i5-9400F
    Motherboard: CyberPowerPC B360M Xtreme (re-skinned ASrock B360M Pro4)
    GPU: ASUS GTX 1050 Ti 4GB

    Test System 2:
    CPU: R7 5800X
    Motherboard: ASUS PRIME X570-P
    GPU 1: MSI RTX 3080 10GB
    GPU 2: Dell OEM RX 550 4GB

    Test System 3:
    CPU: Celeron N2840
    Motherboard: Dell Inspiron 15 3531
    GPU: Intel HD ??? (Bay Trail?)

    System 1 and 3 each got one test run, and system 2 twice with the monitor plugged into different GPUs each time, CSM off on all attempts. Both NVIDIA GPUs and the Intel iGPU froze on the flag animation as if I had only copied bootmgfw.efi, however the AMD GPU successfully displayed the installer, granted with no input from lack of USB 3.0 drivers. Unsure of what AMD does differently, but that seems to be the winner here.
     
  6. nasirfoxx

    nasirfoxx MDL Novice

    Oct 5, 2024
    7
    4
    0
    Thanks for the multi-system test! Yeah it's still very hardware dependent as I thought..

    I think it doesn't work on NVIDIA because according to some sites I found online (don't have enough posts so I can't post links here :|), they have equally sized memory registers in both BAR0 & BAR1. Since they are both large enough to contain the size of a 1024x768 framebuffer, the GOP driver incorrectly picks BAR0 even though it should have picked BAR1 as that's where the VRAM is in the case of NVIDIA. I imagine the setup with Intel is similar.

    I have two ideas on how I could solve this:

    - 1. make separate versions of the GOP driver for each card vendor, where a specific PCI BAR used by that vendor is assumed to be the framebuffer
    - 2. inspect the contents of the mapped memory region of the BAR and check if most of the data equates to black pixels (because the Starting Windows screen is mostly black). I think this method is such a big hack, very goofy but maybe, just maybe it will increase the chances of this working by a long shot

    I'll make another version using number 2 in a bit, hope you could test that again for me?
     
  7. nasirfoxx

    nasirfoxx MDL Novice

    Oct 5, 2024
    7
    4
    0
    ..actually, how exactly did the flag animation freeze? did it stop animating entirely, or was the animation still playing/glowing?
    If it stopped animating that most definitely means the driver found a memory region, but it wasn't the framebuffer, if it's still animating that means the driver either didn't find any memory regions or was unloaded..
     
  8. nasirfoxx

    nasirfoxx MDL Novice

    Oct 5, 2024
    7
    4
    0
    Okay, new release uploaded! Wonder if this will improve anything..
     
  9. shewdew

    shewdew MDL Novice

    Oct 11, 2017
    3
    1
    0
    #9 shewdew, Nov 15, 2026
    Last edited: Nov 15, 2026
    Re-ran all of the tests, and am happy to report that it boots all previously tested systems now, including both the 3080 and 550 on the X570-P system. Added the backported W8 USB 3.0 drivers to make sure it was really alive and it is, no NVMe disks detected but that's to be expected. I tried two more test systems as well, a Lenovo H430 (i3-2320/Intel HD 2000) and an Acer Nitro AN515-45-RN92M (R7 5800H/Vega iGPU), but those didn't even get to the "Windows is loading files..." bar, complaining about a corrupt BCD store with 0xc000000d. Probably not anything to do with your driver as they do it with the unmodified boot.wim too.

    It stopped playing on the frame where the orbs come back to pass each other for the first time, remaining with that still image. About same as it does without the patched vga.sys
     
  10. nasirfoxx

    nasirfoxx MDL Novice

    Oct 5, 2024
    7
    4
    0
    Oh wow that really did the trick! I wasn't expecting my weird solution to work so wonderfully, to be honest :D

    Thanks again for testing! Also that BCD error is interesting, wonder if it's related to BIOS settings on those particular systems?
     
  11. shewdew

    shewdew MDL Novice

    Oct 11, 2017
    3
    1
    0
    My first guess would be that the boot manager can't find the volume with the loader on it due to missing drivers, but what's strange about that is how the Acer laptop from 2021 and the Lenovo board all the way from 2013 both exhibit the issue while the Cyberpower/ASrock and ASUS boards from 2018 and 2019 don't. Of course turning on CSM on the Lenovo fixes the issue while the Acer is a class 3 machine, so, can't really do that there. I wish I knew what flashboot was actually doing because that's worked every time I've tried it. Their vague "research" details (from the article titled "Windows 7 UEFI Install Without CSM" on the PrimeExpert website) claim they somehow patch the kernel on the fly with just a preloader, but even if they have their own INT 10H handler a la UefiSeven they've clearly done something beyond that for the more problematic systems to not show the BCD error with it.